//this function displays a warning that the user is leaving the Freedom internet site.
//<HEAD>
//<script language="JavaScript" type="text/javascript" src="popscript.js"></script>
//</HEAD>
//<a href="javascript:show_warning('http://www.theurl.com/');">textlink</a>
//script modified by M. Shell 10-1-2007



function show_warning(url){
	//content creation
	var content = new Array();
        var index = 0;
	content[index++] = '<h1>Third Party Site Disclaimer</h1><br>By accessing the noted link, you will be leaving Freedom FCU\'s website and entering a website hosted by another party. Freedom FCU does not operate this alternate site, nor is Freedom FCU responsible for the content of the site you are about to enter. We encourage you to read and evaluate the privacy and security policies of the site you are entering, as they may differ from those practiced by Freedom FCU.';
	content[index++] = '<br><br><br>';
	content[index++] = '<div align="center"><a href="javascript:void(\'0\');" onclick="window.open(\''+url+'\');document.getElementById(\'ex_dis\').style.display = \'none\'">Continue</a>&nbsp;&nbsp;<a href="javascript:void(\'0\');" onclick="document.getElementById(\'ex_dis\').style.display = \'none\'">Decline</a></div></div>';	
	document.getElementById("ex_dis").innerHTML = content.join("");
	document.getElementById("ex_dis").style.display = "block";
    scrollTo(0,0);
}
var posX = Math.ceil((parseInt(screen.width) - 350) / 2);
var posY = Math.ceil((parseInt(screen.height) - 400) / 2);
document.write('<div id="ex_dis" style="background-color: #ffffff; font-family: Arial, Helvetica, sans-serif; font-size: 8pt; font-weight: normal; color: #000000; text-align: center; position:absolute; border: 2px solid #203A5D; padding: 15px; display:none; z-index: 300; width:350px;  top:'+posY+'px; left:'+posX+'px; FILTER: progid:DXImageTransform.Microsoft.dropShadow( Color=203A5D,offX=3,offY=4,positive=true); "></div>');

