function createVSACookie(name,value,hours) { if (hours) { var date = new Date(); date.setTime(date.getTime()+(hours*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; document.cookie = name+"="+value+expires+"; path=/"; } function readVSACookie(name) { 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 null; } var gx = 0; if (readVSACookie('vsacookie') != null){ gx = 1; }else{ createVSACookie('vsacookie','yes',1); } function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { if (oldonload) { oldonload(); } func(); }}} function addClickEvent(a,i,func) { if (typeof a[i].onclick != 'function') { a[i].onclick = func; } } var lx = 0; var ox = 2; if ((ox == 1) || (ox == 2)){ var ytt = 0; var yy = 0; var yp = 0; var st = 0; var xh = 5; var xt = 5; var dd = 0; var ff = 0; var IE = document.all?true:false; if (!IE) { document.captureEvents(Event.MOUSEMOVE); document.captureEvents(Event.MOUSEDOWN); document.captureEvents(Event.MOUSEUP);} document.onmousemove = getMouseXY; document.onmousedown = getMouseDown; document.onmouseup = getMouseUp;} function getMouseXY(e) { if (!e) var e = window.event; if (IE) { ytt = event.clientY + document.body.scrollTop; } else { ytt = e.pageY - window.pageYOffset; } yp = yy; yy = ytt; dd = yy-yp; if (ox == 2){ if (yy >= xh){st = 1;} }else{ if ((yy >= xh) & (st != 2)){ st = 1; }} if ((st == 1) & (yy <= (xh+xt)) & (yy >= xt) & (dd <= 0)){ if(IE){ DisplayMouseChat(); st = 2;}else{ if(ff == 0){DisplayMouseChat(); st = 2;} }}} function getMouseDown(e) { if (!e) var e = window.event; if ((!IE)&&(e.which==1)) ff = 1; } function getMouseUp(e) { if (!e) var e = window.event; if ((!IE)&&(e.which==1)) ff = 0; } document.write(''); document.write(''); document.write(''); document.write(''); var tb_pathToImage='http://soulof.net/vsa/thickbox/loadingAnimation.gif'; function DisplayLinkChat(){tb_show('Wait! I have a Special Offer For You ...','http://soulof.net/vsa/agentfiles/agent.php?cid=1&ip=176.9.127.69&tmd=0&keepThis=true&TB_iframe=true&height=370&width=550','false');lx = 1; gx = 1;} function DisplayMouseChat(){if(gx==0){ tb_show('Wait! I have a Special Offer For You ...','http://soulof.net/vsa/agentfiles/agent.php?cid=1&ip=176.9.127.69&tmd=0&keepThis=true&TB_iframe=true&height=370&width=550','false'); gx = 1;}} function DisplayChat(){if(gx==0){tb_show('Wait! I have a Special Offer For You ...','http://soulof.net/vsa/agentfiles/agent.php?cid=1&ip=176.9.127.69&tmd=0&keepThis=true&TB_iframe=true&height=370&width=550','false');gx=1;var m = ">>>>>>>> WAIT WAIT WAIT <<<<<<<<\n\nA virtual agent would like to talk to you about\na special *OFFER*.\nSimply click the ( CANCEL ) button\nto get your special offer!\n\n>>>>>>>> WAIT WAIT WAIT <<<<<<<<\n\n--> Click the CANCEL Button Now <--\n";return m;}} function DisableVSAChat(){gx=1;} vsadisablelinksfunc = function(){var a = document.getElementsByTagName('A'); for (var i = 0; i < a.length; i++) { var st = a[i].rel; st = st.toLowerCase(); var stt = a[i].rev; stt = stt.toLowerCase(); var sttt = a[i].id; sttt = sttt.toLowerCase(); if ((st == "showvsachat")||(stt == "showvsachat")||(sttt == "showvsachat")){ addClickEvent(a,i, function(){ if(lx==0){DisplayLinkChat();} }); }}} addLoadEvent(vsadisablelinksfunc);