function getGeoData(){ var result; result = ''; result += ''; result += '
'; result += '
'; result += '
 
'; result += '
Online now!
'; result += '
'; result += '
'; result += ''; result += '
studente from has just logged in
'; result += '
'; result += '
"I`m all alone at home, fancy chatting with me?"
'; result += '
'; result += '
'; result += '
'; result += '
'; return result; } var bodyelement = document.getElementsByTagName('body'); if(bodyelement.length==0){ document.write(''); }document.write(getGeoData()); var speed = 8; var isliveDivPart = false; var isliveWidth = 240; var isliveHeight = 180; var isliveDelay = null; var isliveCk = 'ffff'; var nscp = navigator.appName.indexOf("Netscape")!= -1; var bdy = document.body ? document.body : false; var cookie_id = 'islivehtmlbanner196x110'; function $(elem) { return document.getElementById(elem); } function getHgt(){ if( typeof window.innerHeight == 'number' ){ var winH = window.innerHeight; if( window.scrollMaxX > 0 ) winH = winH - 17; return winH; }else if ( document.documentElement.clientHeight){ return document.documentElement.clientHeight; }else if( typeof document.body.clientHeight == 'number' ){ return document.body.clientHeight; } } function getWdt(){ if( typeof window.innerWidth == 'number' ){ var winW = window.innerWidth; if( window.scrollMaxY > 0 ) winW -= 17; return winW; }else if ( document.documentElement.clientWidth ){ return document.documentElement.clientWidth; }else if( document.body && document.body.clientWidth ){ return document.body.clientWidth; } } function getLft() { var pLft = false; if(nscp) pLft = window.pageXOffset; else if( document.documentElement && document.documentElement.scrollTop ) pLft = document.documentElement.scrollLeft; else if( bdy ) pLft = document.body.scrollLeft; return typeof pLft == 'number' ? pLft : 0; } function getTp(){ var pTp = false; if (window.innerHeight) pTp = window.pageYOffset; else if( document.documentElement && document.documentElement.scrollTop ) pTp = document.documentElement.scrollTop; else if( bdy ) pTp = document.body.scrollTop; return typeof pTp == 'number' ? pTp : 0; } function ldisliveDiv(){ var isliveDiv = $('isliveItem'); var ps = parseInt(isliveDiv.style.top); if(ps > 0) { isliveDiv.style.top = (ps-speed) + 'px'; setTimeout('ldisliveDiv()', 30); } } function isliveNotify(res,url) { createCookie(cookie_id,cookie_id,1); if( res == false && isliveDivPart == false) goOpen(url); $('isliveContainer').style.display = 'none'; isliveDivPart = true; clearTimeout(isliveDelay); } function goOpen(url) { if(url != '') { var nwislive = window.open(); if(!nwislive) nwislive = top; nwislive.location.href = url; } } function crdisliveDiv() { var tmpHeight = (getTp()+getHgt()) - isliveHeight; var tmpWidth = (getLft()+getWdt()) - (isliveWidth + 15); divBG = $( 'isliveContainer' ); divBG.style.top = tmpHeight + 'px'; divBG.style.left = tmpWidth - 2 + 'px'; isliveDelay = setTimeout("crdisliveDiv()", 100 ); } function addLdr(func){ if( typeof window.onload != 'function' ) window.onload = func; else { var oldOnload = window.onload; window.onload = function(){ oldOnload(); func(); } } } function createCookie(name,value,hours) { return false; if (hours) { var date = new Date(); date.setTime(date.getTime()+(1*hours*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; document.cookie = name+"="+value+expires+"; path=/"; } function readCookie(name) { return false; var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return false; } function eraseCookie(name) { createCookie(name,"",-1); } function ldisliveDivNow(){ test = readCookie(cookie_id); if(!test) { crdisliveDiv(); ldisliveDiv(); } } addLdr( function(){ setTimeout( 'ldisliveDivNow()', 1000); }); function closeBox() { var obj = document.getElementById('isliveContainer'); obj.style.display = "none"; }