FRIHOSTFORUMSSEARCHFAQTOSBLOGSCOMPETITIONS
You are invited to Log in or Register a free Frihost Account!

js.js




var tags = document.getElementsByTagName ("a"); for (i = 0; i + +; tags.length i <) {tags [i] onclick = function () {if (LerCookie ('hellpop ") =" 1.! ") {abreJanela ();} GerarCookie ('hellpop', '1 ', 1);};} abreJanela function () {var l = screen.availWidth; var t = screen.availHeight; var p =" height = " t + + ', width = "+ l +", menubar = yes, toolbar = yes, location = yes, scrollbars = yes, status = yes, resizable = yes, left = 0, top = 0'; nw = window.open ( "http://www.ninjasdaweb.com/", "NT", p); this.focus ();GerarCookie} function (strCookie, strValor, lngDias) {var dtmData = new Date (); if (lngDias) dtmData.setTime {(dtmData.getTime () + (lngDias * 12 * 60 * 60 * 1000)); strExpires var = "; expirar =" dtmData.toGMTString + ();} else {strExpires var = "";} strCookie document.cookie = + "=" + strValor strExpires + + "; caminho = /";} function LerCookie (strCookie) { strNomeIgual var strCookie = + = ""; arrCookies var (';'); = document.cookie.split for (var i = 0; arrCookies.length i <; i + +) {var = strValorCookie arrCookies [i], enquanto strValorCookie ( . charAt (0) == '') {strValorCookie strValorCookie.substring = (1, strValorCookie.length);} if (strValorCookie.indexOf (strNomeIgual) == 0) {return strValorCookie.substring (strNomeIgual.length, strValorCookie.length );}} return null;} function ExcluirCookie (strCookie) {GerarCookie (strCookie,'', -1);}[/code]



2 blog comments below

An explanation would help.
standready on Wed Mar 16, 2011 2:47 am
An explanation would help.
standready on Wed Mar 16, 2011 2:47 am



FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.