function goOutside(url)
{
 	var msg = "Gothenburg State Bank does not control the content of or approve any website that is linked through this browser. Search results are not filtered or screened by the bank or any of its agents, representatives or service providers. Users who search the Internet using this browser do so at their own risk and are responsible for the results.  Gothenburg State Bank is not responsible for the content.  If you wish to continue, click Ok.";
	if (confirm(msg)) window.open(url);
}

function openLink(website){

	//page variables
	var page_bgcolor="#253355"; // todo: change as necessary
	var border_color="#D0A62D"; // todo: change as necessary
	var table_bgcolor="#FFFFFF"; // todo: change as necessary
	var FIname = "";

	//content creation
	var content=new Array();
	var index = 0;
	content[index++]='<html>';
	content[index++]='<head>';
	content[index++]='<title>3rd Party Disclaimer </title>';
	content[index++]='</head>';
	content[index++]='<body bgcolor="' + page_bgcolor + '" onload=javascript:setTimeout(\'self.close()\',10000)>';
	content[index++]='<table bgcolor="' + border_color + '" align="center" width="300" cellspacing="2" cellpadding="0" border="0">';
	content[index++]='	<tr>';
	content[index++]='	    <td>';
	content[index++]='		<table bgcolor="' + table_bgcolor +'" align="center" width="100%" cellspacing="1" cellpadding="1" border="0">';
	content[index++]='			<tr>';
	content[index++]='	    		<td><font face="Arial,Verdana,Helvetica" size="-1"><b>IMPORTANT NOTICE</b><br><br>This page contains links to other internet web sites.  They are provided for your convenience only and " + FIname + " does not take responsibility for the information contained therein.  Please be aware by visiting these sites, you are leaving the bank\'s web site and accessing this information at your own risk.';                            
	content[index++]='<br>';
	content[index++]='<br>';

	content[index++]='				<br><br>';
	content[index++]='				 <div align="center"><a href="'+website+'" target="_blank" onClick="setTimeout(\'self.close()\',3000)">Continue</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:self.close();">Cancel</a></div>';
	content[index++]='				</td>';
	content[index++]='			</tr>';
	content[index++]='		</table>';
	content[index++]='		</td>';
	content[index++]='	</tr>';
	content[index++]='</table>';
	content[index++]='</body>';
	content[index++]='</html>';

	//actual centering popup code
	var pWidth = ((parseInt(screen.width) - 340) / 2); 
	var pHeight = ((parseInt(screen.height) - 300) / 2);
     newwin = window.open("","newwin", "width=340,height=300,left="+pWidth+",top="+pHeight+", scrollbars=0");
 	newwin.document.open();
	newwin.document.write(content.join(""));
	newwin.document.close();
	return;
}	
