

function footerOnlineAgreement(){
	open ("https://www.landmands.com/jcommon/policydocs/onlineagree.html", "OnlineAgreement", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=450,height=500");
}

function footerPrivacy(){
	open ("https://www.landmands.com/jcommon/policydocs/privacypolicy.html", "PrivacyPolicy", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=450,height=500");
}

function footerSecurity(){ 
	open ("https://www.landmands.com/jcommon/policydocs/security.html", "SecurityStatment", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=450,height=500");
}

function faqP(){ 
	open ("/014/html/en/personal/faqs/index.html", "HelpFAQsPersonal", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=500,height=500");
}

function creditcard(){ 
	open ("http://www.landmands.com/creditcards/", "CreditCards", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=500,height=500");
}

function demoP(){ 
	open ("/014/html/en/demo/", "Demo", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=800,height=600");
}

function getSSL(page) {
	return "https://" + window.location.hostname + page;
}

//BEGIN LINK DISCLOSURE ALERT
function siteDisclosure( linktype, ourSite, newSite, newSiteURL, newWindow ){
	switch ( linktype ) {
		// Linking to an FNNI family site
		case "affiliate":
			confirmValue = confirm( "You are leaving " + ourSite + "'s Web site.\nThe products and services provided by the site you are entering are part of the Landmands Bank Corporate family." );
			break;
		case "bankcard":		
			confirmValue = confirm( "You are leaving " + ourSite + "'s Web site.\nThe products and services provided by the site you are entering are part of the Landmands Bank Corporate family.  " + newSite + " may have a different privacy policy than " + ourSite + ". Please review " + newSite + "'s privacy policy." );
			break;
		// e.g., Microsoft, Adobe, Netscape
		case "nonaffiliate":
			confirmValue = confirm( "You are leaving " + ourSite + "'s Web site.\nAny products and services accessed through this link are not provided, endorsed or guaranteed by " + ourSite + ".  " + newSite + " may have a privacy policy that is different than " + ourSite + ".  Please review the " + newSite + " privacy policy." );
			break;
		// e.g., Visa
		case "strategicaffiliate":
			confirmValue = confirm( "You are leaving " + ourSite + "'s Web site.\nProducts and services accessed through this link are not provided or guaranteed by " + ourSite + ". " + newSite + " may have a privacy policy that is different than " + ourSite + ".\n\nPlease review the " + newSite + " privacy policy." );
			break;
	}//end switch
	
	if ( confirmValue ) {
		if (newWindow != "yes") {
			document.location=newSiteURL;
		}//end nested if
		else {
			window.open(newSiteURL);
		}//end else
	}//end if

}//end siteDisclosure

function spawnNewWindowOneOfaCard()
{
	open ("http://www.oneofacard.com/generalinfo.asp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=720,height=520");
}
function spawnSecondOneOfaCard()
{
	open ("http://www.oneofacard.com/generalinfo2.asp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=720,height=520");
}
function spawnNewWindowCheck21()
{
	open ("/iws_help/substitutecheck_disclosure.htm","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=420,height=500");
}
function spawnNewCCWindow(bank, jumpto, applynow, customCard, plasticCode)
{
	open ("/welcome/DynamicApp?bank=" + bank + "&jumpto=" + jumpto + "&applynow_=" + applynow + "&Custom_Card=" + customCard + "&Plastic_Indicator=" + plasticCode,"", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=600,height=450");
}
function popWin(url,width,height) {
	open (url,"", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=" + width + ",height=" + height);
}
function spawnTerm(product, siteID){
	var location = "https://" + window.location.hostname + "/welcome/DynamicApp?jumpto=" + product + "&goterms=Y&bank=" + siteID;
	open (location, "", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=800,height=600");
}

//BEGIN IMAGE ROLLOVERS
function MM_swapImgRestore() 
{ //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() 
{ //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) 
{ //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_swapImage() 
{ //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function FooterDate()
{
	var ftrDate=new Date();
	var ftrYear=ftrDate.getYear();
	if (ftrYear < 1000) {
	ftrYear = ftrYear + 1900;
}
	document.write(ftrYear);
}