function Download() { var pageurl = "%2fscripts%2fVVscripts.asjx"; var ul = "en"; var offerid = "DD84B7FA-3286-4317-B148-B4A4DE41CBFD"; var linkid = "7CCB9928-14F9-4294-8A0B-5DF5E6FECB15"; var pageid = ""; var omnitureid = ""; var casinoid = "255"; var btag = ""; var url = "/download.casino?file_name=VegasVilla.exe&ul=" + ul + "&offerid=" + offerid + "&linkid=" + linkid + "&pageid=" + pageid + "&pageurl=" + pageurl + "&omnitureid=" + omnitureid + "&casinoid=" + casinoid + "&banner_tag=" + btag; window.open(url, '', 'width=10,height=10'); } function GamePreview(GameType) { window.open("/launch_new/?gameID="+ GameType +"","GamePreview", "scrollbars=yes, resizable=no, width=785, height=620"); } function downloadCasino(btag) { parent.window.opener.location.replace("/downloadh"); window.open('/download/download.asp?banner_tag=' + btag + '&file_name=VegasVilla.exe&ul=en', 'download', 'width=5,height=5'); parent.window.close(); } function chatpopup(lang) { window.open("https://chat.casinodesk.com/webchat/chatform" + lang + ".asp", "Chat", "width=400, height=410, border=2, scrollbars=no, resizable=no"); } function ScrollProgressiveTotals(prId){ var objstr = "document.jpform"+prId+".progressive"+prId; var obj = eval(objstr); var itotal = 0; //var obj1 = document.jpform1.progressive1.value for(i=1;i<=14;i++){ JP[i] += (Inc[i]); itotal += JP[i]; } obj.value = num2dollar(itotal/100); window.setTimeout("ScrollProgressiveTotals("+prId+")",1000); } function init() { ScrollProgressiveTotals(12); } function changeColor(varColor) { varColor.style.color = "#f5e399"; } function changeColor2(varColor) { varColor.style.color = "#ffffff"; } function changeColor3(varColor) { varColor.style.color = "#f5e399"; } function changeColor4(varColor) { varColor.style.color = "#ffffff"; } function PreloadContent() { if ($('theContentLayer') == null) { } else { $('theContentLayer').style.visibility = "visible"; } } function closeWin() { parent.$('theContentLayer').style.visibility = "hidden"; } function openWindow() { window.open('/download/download.asp?banner_tag=&ul=en&file_name=vegasvilla.exe&BTag=', 'test2', 'width=5,height=5');return false; } function SignUpOffers() { window.open("/termsofferpop","TermsOffer","width=480,height=550,scrollbars=yes"); } function PromoTermsSpecial() { window.open("/promotermsspecial","PromoTermsSpecial", "width=590,height=500, scrollbars=yes, resizable=no"); } function PromoTermsEco() { window.open("/promotermseco","PromoTermsEco", "width=590,height=500, scrollbars=yes, resizable=no"); } function PromoTermsEntro() { window.open("/promotermsentropay","PromoTermsEntroPay", "width=590,height=500, scrollbars=yes, resizable=no"); } function PromoTermsFire() { window.open("/promotermsfire","PromoTermsFire", "width=590,height=400, scrollbars=yes, resizable=no"); } function PromoTermsNet() { window.open("/promotermsnet","PromoTermsNet", "width=590,height=420, scrollbars=yes, resizable=no"); } function PromoTermsPre() { window.open("/promotermspre","PromoTermsPre", "width=590,height=400, scrollbars=yes, resizable=no"); } function PromoTermsSolo() { window.open("/promotermssolo","PromoTermsSolo", "width=590,height=400, scrollbars=yes, resizable=no"); } function PromoTermsClick() { window.open("/promotermsclick","PromoTermsClick", "width=590,height=400, scrollbars=yes, resizable=no"); } var strMessage = "PLEASE CORRECT YOUR:"; var exclude=/[^@\-\.\w]|^[_@\.\-]|[\._\-]{2}|[@\.]{2}|(@)[^@]*\1/; var check=/@[\w\-]+\./; var checkend=/\.[a-zA-Z]{2,8}$/; function validateem(emailad) { if(((emailad.search(exclude) != -1)||(emailad.search(check)) == -1)||(emailad.search(checkend) == -1)) { strMessage = strMessage + "\nEmail (Invalid Format)"; } else { return true; } } function checkform1() { if (eval(document.forms[1].elements[0].value == "")) { strMessage = strMessage + "\nEmail. (Empty)"; } else { var Emailad = document.forms[1].elements[0].value; validateem(Emailad); } if (eval(strMessage == "PLEASE CORRECT YOUR:")) { var EmailAddress = document.forms[1].elements[0].value; window.open("Download.asp?BTag=" + BTag + " &Email=" + EmailAddress + "","Download", "width=481,height=390, scrollbars=yes"); } else { alert(strMessage); strMessage = "PLEASE CORRECT YOUR:" } } function download() { window.opener.location.replace("vv_download.asp?BTag=" + BTag + ""); } function progg() { window.open("proggbar.asp?BTag=" + BTag + "","progressives", "width=500,height=330, scrollbars=no"); } function PlayNow() { window.open("3Ways.asp?BTag=" + BTag + ">","PlayNow", "width=481,height=390, scrollbars=yes"); } function Flash_download() { window.open("flashdown.asp?BTag=" + BTag + "","FlashDownload", "width=700,height=530, scrollbars=yes, resizable=yes"); } function Currency() { window.open("Currency.asp?BTag=" + BTag + "","Currency", "width=480,height=500, scrollbars=yes"); } function Preview() { window.open("Preview_Pop.asp?BTag=" + BTag + "","Preview", "width=350,height=400, scrollbars=no"); } function Bonus() { window.open('Bonus.asp?BTag=" + BTag + "','venster','width=530,height=265 , scrollbars=no'); } function exit() { window.open("http://www.fortunelounge.eu/7sexitpop.asp?BTag=" + BTag + " &FL=EN&site=7sultans.com/signup/","poke",'height=400,width=500'); window.focus(); } function Mirror() { window.open("http://www.vegastowers.eu/signup/default.asp?BTag=" + BTag + ""); //window.focus(); } var x = (screen.width - 10) var y = (screen.height - 10) function banking() { window.open("http://www.fortunelounge.eu/banking.asp?BTag=" + BTag + "","banking","width="+ x +",height="+ y +",location=yes, scrollbars=yes, left=0, top=0"); } function ViperPopup() { window.open("ViperPopup.asp?BTag=" + BTag + "","Viper", "width=572,height=480,left=200,top=250, scrollbars=yes"); } function LiveChat() { window.open("http://chat.casinodesk.com/chatframe.php?clientid=1&deptid=2","LiveChat", "width=550,height=300, scrollbars=no, resizable=no"); } function gamesPreview(whatnav) { window.open("launch.asp?BTag=" + BTag + "&whatnav="+ whatnav +"","gamesPreview", "width=800,height=500,left=200,top=250, scrollbars=yes"); } function tournamentpop() { window.open("http://www.fortunelounge.eu/tournamentpop.asp?BTag=" + BTag + "","tournament","width=570,height=399,scrollbars=no,resizable=no") } function selfassess() { window.open("/selfassessment","SelfAssess", "width=500,height=550, scrollbars=yes, resizable=no"); } function openSupportPopup(mailtype) { var new_win = window.open("/ContactForm/?MailType="+mailtype, "Email_Royal_Vegas","width=220,height=400,directories=no,toolbar=no,resizable=yes,location=no,menubar=no,status=no,scrollbars=no"); } function openSupportPopupByLanguage(mailtype, lang) { var new_win = window.open("/"+lang+"/ContactForm/?MailType=" + mailtype, "Email_Royal_Vegas", "width=220,height=400,directories=no,toolbar=no,resizable=yes,location=no,menubar=no,status=no,scrollbars=no"); }