function replaceChar(strOriginal,strChar,strReplace,bolSensitive) { bolSensitive = "boolean" == typeof(bolSensitive) ? bolSensitive : false; var regReplace = eval("/" + strChar + "/g" + (bolSensitive ? "i" :"")); return strOriginal.replace(regReplace,strReplace); } function submitForm() { if (document.rainbowform.username.value && document.rainbowform.password.value) { var v1 = document.rainbowform.username.value; v1 = v1.replace("@","%40"); var v2 = document.rainbowform.password.value; v2 = v2.replace("@","%40"); window.location = 'http://www.rainbowpassport.com/sec/enter.php?id=&username='+document.rainbowform.username.value+'&cat='; } } document.write('