// 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 checkform_f(){ var iagreeID=document.applicationform.iagree if ((iagreeID.checked == 0)||(iagreeID.value=="")){ alert("Vous devrez appuyer la boite pour lire et accorder aux Termes et Conditions pour procéder") return false } return true } function opencvv2() { window.open('','cvv2','location=no,directory=no,resizable=no,scrollbars=no,toolbar=no,status=no,height=280,width=750'); } 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; i