
function email_disclaimer(mailto_address){
	message = 'Notice: Because there is a small risk that information transmitted\n';
	message += 'via Internet email could fall into the wrong hands, we suggest that\n';
	message += 'confidential information, such as account numbers or social security\n';
	message += 'numbers, not be transmitted via email. Instead, please contact us\n';
	message += 'directly at your nearest Forest Park National Bank & Trust branch. Thank you.';
	
	alert(message);
	window.open('mailto:' + mailto_address);
}


function external_disclaimer(goHere){
	message = 'Forest Park National Bank & Trust has no control over information at any site hyperlinked\n';
	message += 'to from this Site. Forest Park National Bank & Trust makes no representation concerning\n';
	message += 'and is not responsible for the quality, content, nature, or reliability\n';
	message += 'of any hyperlinked site and is providing this hyperlink to you only as a\n';
	message += 'convenience. The inclusion of any hyperlink does not imply any endorsement,\n';
	message += 'investigation, verification or monitoring by Forest Park National Bank & Trust of any\n';
	message += 'information in any hyperlinked site. In no event shall Forest Park National Bank & Trust\n';
	message += 'be responsible for your use of a hyperlinked site.';
	
	if (confirm(message)){
		window.open(goHere, '_blank');
	}
}

function modelesswin(url,mwidth,mheight){

	var fromLeft = (screen.availwidth - mwidth) / 2;
	var fromTop = (screen.availheight - mheight) / 2;
	
	var cip = window.open(url, "cip", "width=" + mwidth + ",height=" + mheight + ",screenX=" + fromLeft + ",screenY=" + fromTop + ",left=" + fromLeft + ",top=" + fromTop + ",resizable=0,scrollbars=1");
	
	cip.focus();
}

function printdate() {
        days = new Array();
        days[0] = "Sun.";
        days[1] = "Mon.";
        days[2] = "Tue.";
        days[3] = "Wed.";
        days[4] = "Thu.";
        days[5] = "Fri.";
        days[6] = "Sat.";
        months = new Array();
        months[0] = "Jan.";
        months[1] = "Feb.";
        months[2] = "Mar.";
        months[3] = "Apr.";
        months[4] = "May";
        months[5] = "June";
        months[6] = "July";
        months[7] = "Aug.";
        months[8] = "Sept.";
        months[9] = "Oct.";
        months[10] = "Nov.";
        months[11] = "Dec.";
        var agt=navigator.userAgent.toLowerCase(); 

        today = new Date();
        document.write(days[today.getDay()]+" ");
        document.write(months[today.getMonth()]+" ");
        document.write(today.getDate()+", ");
        if (agt.indexOf('msie')!=-1) 
                document.write(today.getYear());
        else
        {
                var yr = parseInt(today.getYear());
                yr = yr + 1900*1;
                document.write(yr);
        }               
}


