var isFormEncryptedStreamlogics = false var sWidth_Streamlogics = (screen.width) ? screen.width : 1024; var sHeight_Streamlogics = (screen.height) ? screen.height : 768; var supported_fields_streamlogics = new Array("email","name","first_name","last_name","password","company","phone","title","adrress1","address2", "city","province","country","postalcode","fax"); var aWindow_Streamlogics; var myBestWidth=0; var myBestHeight=0; var tempId = ""; if (screen.width > 790) { myBestWidth = 790; myBestHeight = 510; tempId = "2"; } if (screen.width > 1005) { myBestWidth = 1005; myBestHeight = 669; tempId = "1"; } var aWidth=myBestWidth; var aHeight=myBestHeight; function encryptMyForm_streamlogics(sFormName){ //encrypt neccesary form data if(isFormEncryptedStreamlogics) return true; var objForm = document.forms[sFormName]; var notDone; if(objForm){ for(var j=0;j= charset.length){ newCharPlace = key - (charset.length - newCharPlace); }else{ newCharPlace += key; } newChar = charset.charAt(newCharPlace); } encryptString += newChar; } return encryptString; } function check_resolution () { alert ("You will open the " + myBestWidth + " X " + myBestHeight + " auditorium"); } var streamlogicsJsIsLoad=1;