function go2Verisign(lang){ var domain = document.domain; var newURL; if (domain.indexOf("www.") == 0) {domain = domain.replace("www.","secure.");} else if (domain.indexOf(".") == domain.indexOf(".co")) {domain = "secure."+domain;} else {domain = "secure" + domain.slice(domain.indexOf("."));} newUrl = 'https://seal.verisign.com/splash?form_file=fdf/splash.fdf&dn=' + domain + '&lang=' + lang; window.open(newUrl,'verisign','width=520,height=450,resizable=yes'); //sends the user to Verisign } document.write('Online Casino Security');