
// JavaScript Document
function workaround(swf,w,h){
	document.write("    <object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' ");
if (window.homepage) {	
	document.write("codebase='//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='" + w + "' height='" + h + "'>");
	}
else {
	document.write("codebase='//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='" + w + "' height='" + h + "'>");
	}
	document.write("      <param name='movie' value='/home/diFiles/skins/default/images/" + swf + ".swf' />");
	document.write("      <param name='quality' value='high' />");
	document.write("      <param name='wmode' value='transparent' />");
	document.write("      <embed src='/home/diFiles/skins/default/images/" + swf + ".swf' width='" + w + "' height='" + h + "' quality='high' "); 
if (window.homepage) {		
	document.write("pluginspage='//www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' wmode='transparent'></embed>");
	}
else {
	document.write("pluginspage='//www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' wmode='transparent'></embed>");
	}
	document.write("    </object>");
}

function show_warning2(URL2)
{

	//page variables
	var page_bgcolor="#FFFFFF";
	var border_color="#4F8A10";
	var table_bgcolor="#BFD7A5";
	var time_visible=15000; //automatically closes after this time

	//content creation
	var content=""
	content+='<html>';
	content+='<head>';
	content+='<title>3rd Party Disclaimer</title>';
	content+='</head>';
	content+='<body bgcolor="' + page_bgcolor + '" onload=javascript:setTimeout(\'self.close()\','  + time_visible + ')>';
	content+='<table bgcolor="' + border_color + '" align="center" width="300" cellspacing="2" cellpadding="0" border="0">';
	content+='	<tr>';
	content+='	    <td>';
	content+='		<table bgcolor="' + table_bgcolor +'" align="center" width="100%" cellspacing="1" cellpadding="6" border="0">';
	content+='			<tr>';
	content+='	    		<td><font color="#000000" face="Arial,Verdana,Helvetica" size="-1">First Federal does not endorse or guarantee the products, information, or recommendations provided by linked sites and First Federal is not liable for any products or services advertised on these sites. Each third party may have a privacy policy that differs from First Federal. Any linked site may provide less security than First Federal\'s web site.';                            
	content+='				<br><br>';
	content+='				 <div align="center"><a href="'+URL2+'" target="_blank" onClick="setTimeout(\'self.close()\',3000)">CONTINUE</a></div>';
	content+='				</td>';
	content+='			</tr>';
	content+='		</table>';
	content+='		</td>';
	content+='	</tr>';
	content+='</table>';
	content+='</body>';
	content+='</html>';

	//actual centering popup code
	outsideURL=URL2;
	var pWidth = ((parseInt(screen.width) - 340) / 2); 
	var pHeight = ((parseInt(screen.height) - 300) / 2);
    newwin = window.open("","newwin", "width=340,height=200,left="+pWidth+",top="+pHeight+", scrollbars=1 resizable='yes'");
 	newwin.document.open();
	newwin.document.write(content);
	newwin.document.close();
}	
