//JAVASCRIPT FUNTIONS no browser detection

//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];}
}


//BEGIN SPAWN CHILD WINDOW FOR FOOTER
function spawnNewWindow2()
{
	open ("http://www.firstnational.com/iws_help/privacy.html","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=500");
}


function spawnNewWindow3()
{
	open ("/mark/misc/security.html","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=450,height=500");
}

function spawnNewWindow4()
{
	open ("/mark/misc/terms.htm","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=450,height=500");
}

function spawnPatriot()
{
	open ("/mark/misc/patriotAct.htm","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=450,height=500");
}

//BEGIN SPAWN CHILD WINDOW FOR FOOMP CONTENT added 12.28.01
function quote()
{
	open ("https://www.firstnationalmerchants.com/applications/freeQuote.htm","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=440,height=400");
}

function spawnNewWindowN1()
{
	open ("/mark/misc/News/N_pop_up1.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function spawnNewWindowN2()
{
	open ("/mark/misc/News/N_pop_up2.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function spawnNewWindowN3()
{
	open ("/mark/misc/News/N_pop_up3.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function spawnNewWindowN4()
{
	open ("/mark/misc/News/N_pop_up4.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function spawnNewWindowN5()
{
	open ("/mark/misc/News/N_pop_up5.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function spawnNewWindowN6()
{
	open ("/mark/misc/News/N_pop_up6.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function popNews(pageNum)
{
	open ("/mark/misc/News/N_pop_up" + pageNum + ".jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}
function popCB(pageNum)
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up" + pageNum + ".jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function popPS(pageNum)
{
	open ("/mark/misc/ProductsAndServices/PS_pop_up" + pageNum + ".jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function spawnNewWindowPS1()
{
	open ("/mark/misc/ProductsAndServices/PS_pop_up1.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function spawnNewWindowPS2()
{
	open ("/mark/misc/ProductsAndServices/PS_pop_up2.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowPS3()
{
	open ("/mark/misc/ProductsAndServices/PS_pop_up3.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowPS4()
{
	open ("/mark/misc/ProductsAndServices/PS_pop_up4.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowPS5()
{
	open ("/mark/misc/ProductsAndServices/PS_pop_up5.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowPS6()
{
	open ("/mark/misc/ProductsAndServices/PS_pop_up6.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowPS7()
{
	open ("/mark/misc/ProductsAndServices/PS_pop_up7.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowPS8()
{
	open ("/mark/misc/ProductsAndServices/PS_pop_up8.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowPS9()
{
	open ("/mark/misc/ProductsAndServices/PS_pop_up9.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowPS10()
{
	open ("/mark/misc/ProductsAndServices/PS_pop_up10.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowPS11()
{
	open ("/mark/misc/ProductsAndServices/PS_pop_up11.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowPS12()
{
	open ("/mark/misc/ProductsAndServices/PS_pop_up12.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowPS13()
{
	open ("/mark/misc/ProductsAndServices/PS_pop_up13.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowPS14()
{
	open ("/mark/misc/ProductsAndServices/PS_pop_up14.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowPS15()
{
	open ("/mark/misc/ProductsAndServices/PS_pop_up15.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowPS16()
{
	open ("/mark/misc/ProductsAndServices/PS_pop_up16.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function spawnNewWindowPS17()
{
	open ("/mark/misc/ProductsAndServices/PS_pop_up17.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function spawnNewWindowPS18()
{
	open ("/mark/misc/ProductsAndServices/PS_pop_up18.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function spawnNewWindowPS19()
{
	open ("/mark/misc/ProductsAndServices/PS_pop_up19.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}
function spawnNewWindowPS20()
{
	open ("/mark/misc/ProductsAndServices/PS_pop_up20.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}
function spawnNewWindowPS21()
{
	open ("/mark/misc/ProductsAndServices/PS_pop_up21.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function spawnNewWindowCU()
{
	open ("/mark/misc/contactus.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

//fraud and loss popups

function spawnNewWindowFL1()
{
	open ("/mark/misc/FraudAndLoss/FL_pop_up1.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function spawnNewWindowFL2()
{
	open ("/mark/misc/FraudAndLoss/FL_pop_up2.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function spawnNewWindowFL3()
{
	open ("/mark/misc/FraudAndLoss/FL_pop_up3.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

//services popups

function spawnNewWindowS1()
{
	open ("/mark/misc/Service/S_pop_up1.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function spawnNewWindowS2()
{
	open ("/mark/misc/Service/S_pop_up2.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

//financial products popups

function spawnNewWindowFP1()
{
	open ("/mark/misc/FinancialProducts/FP_pop_up1.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

//ancilliary services

function spawnNewWindowAS1()
{
	open ("/mark/misc/AncillaryServices/AS_pop_up1.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function spawnNewWindowAS2()
{
	open ("/mark/misc/AncillaryServices/AS_pop_up2.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function spawnNewWindowAS3()
{
	open ("/mark/misc/AncillaryServices/AS_pop_up3.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

//12 elements of ecommerce popups
function spawnNewWindowE1()
{
	open ("/mark/misc/ReferenceDesk/eCommerceTutorial/TwelveElements/E_pop_up1.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function spawnNewWindowE2()
{
	open ("/mark/misc/ReferenceDesk/eCommerceTutorial/TwelveElements/E_pop_up2.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowE3()
{
	open ("/mark/misc/ReferenceDesk/eCommerceTutorial/TwelveElements/E_pop_up3.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowE4()
{
	open ("/mark/misc/ReferenceDesk/eCommerceTutorial/TwelveElements/E_pop_up4.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function spawnNewWindowE5()
{
	open ("/mark/misc/ReferenceDesk/eCommerceTutorial/TwelveElements/E_pop_up5.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function spawnNewWindowE6()
{
	open ("/mark/misc/ReferenceDesk/eCommerceTutorial/TwelveElements/E_pop_up6.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowE7()
{
	open ("/mark/misc/ReferenceDesk/eCommerceTutorial/TwelveElements/E_pop_up7.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowE8()
{
	open ("/mark/misc/ReferenceDesk/eCommerceTutorial/TwelveElements/E_pop_up8.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowE9()
{
	open ("/mark/misc/ReferenceDesk/eCommerceTutorial/TwelveElements/E_pop_up9.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowE10()
{
	open ("/mark/misc/ReferenceDesk/eCommerceTutorial/TwelveElements/E_pop_up10.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowE11()
{
	open ("/mark/misc/ReferenceDesk/eCommerceTutorial/TwelveElements/E_pop_up11.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowE12()
{
	open ("/mark/misc/ReferenceDesk/eCommerceTutorial/TwelveElements/E_pop_up12.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

//chargeback case studies popups

function spawnNewWindowCB1()
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up1.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function spawnNewWindowCB2()
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up2.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowCB3()
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up3.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowCB4()
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up4.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowCB5()
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up5.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowCB6()
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up6.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function spawnNewWindowCB7()
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up7.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function spawnNewWindowCB8()
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up8.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowCB9()
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up9.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowCB10()
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up10.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowCB11()
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up11.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowCB12()
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up12.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowCB13()
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up13.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowCB14()
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up14.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowCB15()
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up15.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowCB16()
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up16.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowCB17()
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up17.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowCB18()
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up18.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowCB19()
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up19.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowCB20()
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up20.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowCB21()
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up21.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowCB22()
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up22.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowCB23()
{
	open ("/mark/misc/ReferenceDesk/ChargebackCaseStudies/CB_pop_up23.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

//news archive

function spawnNewWindowNA1()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up1.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

function spawnNewWindowNA2()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up2.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowNA3()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up3.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}



function spawnNewWindowNA4()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up4.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowNA5()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up5.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowNA6()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up6.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowNA7()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up7.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowNA8()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up8.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowNA9()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up9.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowNA10()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up10.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowNA11()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up11.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowNA12()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up12.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowNA13()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up13.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowNA14()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up14.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowNA15()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up15.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowNA16()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up16.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowNA17()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up17.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}


function spawnNewWindowNA18()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up18.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}
function spawnNewWindowNA19()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up19.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}
function spawnNewWindowNA20()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up20.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}
function spawnNewWindowNA21()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up21.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}
function spawnNewWindowNA22()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up22.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}
function spawnNewWindowNA23()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up23.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}
function spawnNewWindowNA24()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up24.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}
function spawnNewWindowNA25()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up25.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}
function spawnNewWindowNA26()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up26.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}
function spawnNewWindowNA27()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up27.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}function spawnNewWindowNA28()
{
	open ("/mark/misc/News/NewsArchive/NA_pop_up28.jsp","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}

//new function for new disclosures

function disclosurePop(url, bookmark, relation){
window.open('/mark/disclosure/default.jsp?url=' + url + '&bookmark=' + bookmark + '&relation=' + relation, '', 'scrollbars=no,menubar=no,resizable=1,copyhistory=1,width=500,height=325');
}

function disclosurePopUnused(url,company,relation){
window.open('/mark/disclosure/default.jsp?url=' + url + '&company=' + company + '&relation=' + relation, '', 'scrollbars=no,menubar=no,resizable=1,copyhistory=1,width=500,height=325');
}

//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 First National Bank of Nebraska Corporate family." );
			break;
		case "website":
			confirmValue = confirm( "This website contains links to a third party website. When clicking on a link, you are leaving " + ourSite + "'s website. Any products, services, or information accessed through these links are not provided or guaranteed by " + ourSite + ". The websites accessed through these links may have privacy and security policies that are different than " +  ourSite + ". Please review privacy and security policies when visiting third party websites." );
			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 First National Bank of Nebraska 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 enrollPop (location) {
	open (location,"", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=500,height=300");
}


function enter(location) 
{
	open(location,"", "scrollbars=yes,menubar=yes,resizable=1,copyhistory=1,width=597,height=415");
}

function spawnNewWindowEnroll()
{
open ("/mark/misc/registerApp.html","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=600,height=500");
}

function enterSignup(location) {open(location,"", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=500,height=220");
}

function browserCheck()
{
open("/mark/misc/browserInfo.htm","", "scrollbars=yes,menubar=no,resizable=yes,copyhistory=1,width=550,height=550");
}
function payfuseDemo(){
open('/mark/misc/FlashDemo/payfuse/intro.html','','width=620,height=450,scrollbars=yes');
}
function popUp(URL) {
window.open (URL, 'Window', 'menubar=no,scrollbars=yes,width=500,height=335,');
}

function popXY(URL, x, y) {
window.open (URL, 'Window', 'menubar=no,scrollbars=no,width=' + x + ',height=' + y + ',');
}

function popXYWithScroll(URL, x, y) {
window.open (URL, 'Window', 'menubar=no, resizable=yes, scrollbars=yes,width=' + x + ',height=' + y + ',');
}

function spawnFROdemo()
{
	open ("/mark/demo/fro.html","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=618,height=450");
}



//more js


function spawnNewWindowZl()
{
	open ("http://www.firstnationalmerchants.com/mark/misc/chk_zl.html","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=600,height=450");
}	

function spawnNewWindowC()
{
	open ("http://www.firstnationalmerchants.com/mark/misc/comments.html","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=600,height=450");


}

function spawnNewWindowATM()
{
	open ("http://www.firstnationalmerchants.com/welcome/jsp/banking/customerservice/deposits/locator/location.jsp?siteid=MS","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=600,height=600");


}

function spawnNewWindowApp(location) {
	open (location,"", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=800,height=600" );
}

function spawnNewWindowRates(location) {
	open ("http://www.firstnationalmerchants.com/" + location,"", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=800,height=600");


}

function spawnNewWindowApp2(location1, location2, location3) {
	open ("http://www.firstnationalmerchants.com/" + location1 + "http://www.firstnationalmerchants.com/" + location2 + "http://www.firstnationalmerchants.com/" + location3, "", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=800,height=600");
	

}

function spawnNewWindowPlat(promo, siteid) {
	open ("http://www.firstnationalmerchants.com/" + "welcome/Marketing?bank_promo_code=" + promo + "&siteid=" + siteid + "M&term=platinum&product=Platinum%20Edition%20Card&alignment=main&brand_img=" + "http://www.firstnationalmerchants.com/" + "/mark/images/app_img.gif&ref_url=" + "http://www.firstnationalmerchants.com/" + "welcome/jsp/products/close.jsp", "", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=800,height=600");
		
}

function spawnNewPlatinumWindow(siteID) {
	var domain = "http://www.firstnationalmerchants.com/";
	var term = "platinum";
	var bankPC = "VISAPV"
	var product = "Platinum%20Edition%20Visa%20Card";
	var location1 = "welcome/Marketing?siteid=" + siteID + "&term=" + term + "&bank_promo_code=" + bankPC + "&alignment=main&ref_url="
	var location2 = "welcome/jsp/products/close.jsp&product=" + product + "&brand_img="
	var location3 = "mark/images/app_img.gif"

	open (domain + location1 + domain + location2 + domain + location3, "", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=800,height=600");
}//end spawnNewPlatinumWindow


function spawnNewPlatinumTermsWindow(siteID) {
	spawnTerm("Platinum", siteID);
}//end spawnNewPlatinumTermsWindow

function spawnNewGoldTermsWindow(siteID) {
	spawnTerm("Gold", siteID);
}//end spawnNewGoldTermsWindow

function spawnNewCollegeTermsWindow(siteID) {
	spawnTerm("College", siteID);
}//end spawnNewCollegeTermsWindow

function spawnTerm(product, siteID){
	var location = "https://www.firstnationalmerchants.com/welcome/DynamicApp?jumpto=" + product + "&goterms=Y&bank=" + siteID;
	open (location, "", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=800,height=600");
}



function spawnNewGoldWindow(siteID) {
	var domain = "http://www.firstnationalmerchants.com/";
	var product = "GoldEditionVisaCard";
	var bankPC = "VISAGV"
	var location1 = "welcome/Marketing?bank_promo_code=" + bankPC + "&siteid=" + siteID + "&product=" + product + "&alignment=DynamicNationalMarketing&brand_img=";
	var location2 = "/mark/images/app_img.gif&ref_url=";
	var location3 = "welcome/jsp/products/close.jsp";

	open (domain + location1 + domain + location2 + domain + location3, "", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=800,height=600");
}
function go (location) {
	open (location,"", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=600,height=600");
}

function spawnNewCollegeWindow(siteID) {
	var domain = "http://www.firstnationalmerchants.com/";
	var product = "CollegeEditionVisaCard";
	var bankPC = "VISACV";
	var location1 = "welcome/Marketing?bank_promo_code=" + bankPC + "&siteid=" + siteID + "&product=" + product + "&alignment=DynamicNationalMarketing&brand_img="
	var location2 = "/mark/images/app_img.gif&ref_url="
	var location3 = "welcome/jsp/products/close.jsp"

	open (domain + location1 + domain + location2 + domain + location3, "", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=800,height=600");
}//end spawnNewPlatinumWindow

function FooterDate()
{
	var ftrDate=new Date();
	var ftrYear=ftrDate.getYear();
	if (ftrYear < 1000) {
	ftrYear = ftrYear + 1900;
}
	document.write(ftrYear);
}

//site specific
function spawnNewWindowLeaving(site)
{
	open ("/mark/disclosure/default.jsp?url="+site+"&bookmark=&relation=affiliate","", "scrollbars=yes,menubar=no,resizable=1,copyhistory=1,width=460,height=400");
}
function displayFlash(flashLocation, flashWidth, flashHeight)
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="' + flashWidth + '" height="' + flashHeight + '">\n');
    document.write('<param name="movie" value="' + flashLocation + '">\n');
    document.write('<param name="quality" value="high">\n');
    document.write('<embed src="' + flashLocation + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + flashWidth + '" height="' + flashHeight + '"></embed>\n');
    document.write('</object>\n');
};
