// JavaScript Document function checkform(){ var iagreeID=document.applicationform.iagree //if ((iagreeID.checked == 0)||(iagreeID.value=="")){ // alert("You must check the box to agree to our Terms and Conditions in order to proceed.") // return false //} return true } function opencvv2() { window.open('','cvv2','location=no,directory=no,resizable=no,scrollbars=no,toolbar=no,status=no,height=320,width=750'); } function opengold() { window.open('','gold','location=no,directory=no,resizable=no,scrollbars=no,toolbar=no,status=no,height=350,width=500'); } function opensilver() { window.open('','silver','location=no,directory=no,resizable=no,scrollbars=no,toolbar=no,status=no,height=350,width=500'); } function ShowOrHide(d1, d2) { if (d1 != 'payment') DoDiv(d1); if (d1 != 'CC') DoDiv(d1); } function DoDiv(id) { var item = null; if (document.getElementById) { item = document.getElementById(id); } else if (document.all){ item = document.all[id]; } else if (document.layers){ item = document.layers[id]; } if (!item) { } else if (item.style) { if (item.style.display == "none"){ item.style.display = ""; } else {item.style.display = "none"; } }else{ item.visibility = "show"; } } function setMultipleValuesConviction(y,m,d) { document.forms['application_form'].conviction_year.value=y; document.forms['application_form'].conviction_month.selectedIndex=m; for (var i=0; i0&&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