var server_address="204.15.231.210";
var server_port="8080";
var crossdomain_location="xmlsocket://www.complaintremover.com:80";
var SWF_LOCATION="http://www.embeddedchat.com/embeddedchat/livechat";
var BLINKING_MESSAGE="[!!!NEW MESSAGE!]";
/****IMPORTANT! -> DO NOT CHANGE CONTENT BELOW!********
// Livechat script
// created by Vais ( vaisbse@yahoo.com )
******************************************************/
var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false,isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false,isOpera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;
var blinking=false,pageTitle=document.title,counter=0,intrv=0,showing=false,culoare1="0x324552",culoare2="0x76A4BD",contact_email="sales@embeddedchat.com";
function change() {counter=counter+1;if(counter%2==0)document.title=BLINKING_MESSAGE+pageTitle;else document.title=pageTitle;};
function stoping() {document.title = pageTitle;};
function livechat_DoFSCommand(command, args) {if(command=="BLINK") {if(args=="MSGS") {counter = 0;clearInterval(intrv);intrv=setInterval("change()",1000);}
if(args=="STOP") {clearInterval(intrv);document.title=pageTitle;intrv=setInterval("stoping()",1000);}}
if(command=="SMASH") {alert(args);Armaggedon(args)}if(command=="ALERT") {ShowPopupWindow(args,"0");}if(command=="POPUP") {ShowPopupWindow(args,"1");}};
function getBrowser() {return navigator.appName+" "+navigator.appVersion;};
function getURI() {return location.href;};
function getFlashCoded() {refurii=new String(document.referrer);refj=refurii.replace(/&/g,"*");
if(AC_FL_RunContent==0) {alert("This error should never be raised");}else{
return AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width','400',
'height','300','src',SWF_LOCATION,'quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','align','middle',
'play','true','loop','true','scale','showall','wmode','transparent','devicefont','false','id','livechat','name','livechat','menu','false',
'allowFullScreen','false','allowScriptAccess','always','movie',SWF_LOCATION,'salign','middle','swLiveConnect','true','flashvars',
'urli='+getURI()+'&browser='+getBrowser()+'&server_address='+server_address+'&server_port='+server_port+'&crossdomain_location='+
crossdomain_location+'&contact_email='+contact_email+'&referer='+refj+'&culoare1='+culoare1+'&culoare2='+culoare2);}return "";};
function StartMovie() {document.write(getFlashCoded());};
//DRAG:
var Drag={obj:null,init:function(o,oRoot,minX,maxX,minY,maxY,bSwapHorzRef,bSwapVertRef,fXMapper,fYMapper){
o.onmousedown=Drag.start;o.hmode=bSwapHorzRef?false:true;o.vmode=bSwapVertRef?false:true;o.root=(oRoot&&oRoot!=null)?oRoot:o;
if(o.hmode&&isNaN(parseInt(o.root.style.left))) o.root.style.left="0px";if(o.vmode&&isNaN(parseInt(o.root.style.top))) o.root.style.top="0px";
if(!o.hmode&&isNaN(parseInt(o.root.style.right))) o.root.style.right="0px";if(!o.vmode&&isNaN(parseInt(o.root.style.bottom))) o.root.style.bottom="0px";
o.minX=typeof minX!='undefined'?minX:null;o.minY=typeof minY!='undefined'?minY:null;o.maxX=typeof maxX!='undefined'?maxX:null;o.maxY=typeof maxY!='undefined'?maxY:null;
o.xMapper=fXMapper?fXMapper:null;o.yMapper=fYMapper?fYMapper:null;o.root.onDragStart=new Function();o.root.onDragEnd=new Function();o.root.onDrag=new Function();},
start:function(e){var o=Drag.obj=this;e=Drag.fixE(e);var y=parseInt(o.vmode?o.root.style.top:o.root.style.bottom),x=parseInt(o.hmode?o.root.style.left:o.root.style.right);
o.root.onDragStart(x,y);o.lastMouseX=e.clientX;o.lastMouseY=e.clientY;if(o.hmode){if(o.minX!=null) o.minMouseX=e.clientX-x+o.minX;
if(o.maxX!=null) o.maxMouseX=o.minMouseX+o.maxX-o.minX;}else{if(o.minX!=null) o.maxMouseX=-o.minX+e.clientX+x;
if(o.maxX!=null) o.minMouseX=-o.maxX+e.clientX+x;}if(o.vmode){if(o.minY!=null) o.minMouseY=e.clientY-y+o.minY;
if(o.maxY!=null) o.maxMouseY=o.minMouseY+o.maxY-o.minY;}else{if(o.minY!=null) o.maxMouseY=-o.minY+e.clientY+y;
if(o.maxY!=null) o.minMouseY=-o.maxY+e.clientY+y;}document.onmousemove=Drag.drag;document.onmouseup=Drag.end;return false;},
drag:function(e) {e=Drag.fixE(e);var o=Drag.obj,ey=e.clientY,ex=e.clientX,y=parseInt(o.vmode?o.root.style.top:o.root.style.bottom),x=parseInt(o.hmode?o.root.style.left:o.root.style.right),nx,ny;
if(o.minX!=null) ex=o.hmode?Math.max(ex,o.minMouseX):Math.min(ex,o.maxMouseX);if(o.maxX!=null) ex=o.hmode?Math.min(ex,o.maxMouseX):Math.max(ex,o.minMouseX);
if(o.minY!=null) ey=o.vmode?Math.max(ey,o.minMouseY):Math.min(ey,o.maxMouseY);if(o.maxY!=null) ey=o.vmode?Math.min(ey, o.maxMouseY):Math.max(ey,o.minMouseY);
nx=x+((ex-o.lastMouseX)*(o.hmode?1:-1));ny=y+((ey-o.lastMouseY)*(o.vmode?1:-1));if(o.xMapper) nx=o.xMapper(y);else if(o.yMapper) ny=o.yMapper(x);
Drag.obj.root.style[o.hmode?"left":"right"]=nx+"px";Drag.obj.root.style[o.vmode?"top":"bottom"]=ny+"px";Drag.obj.lastMouseX=ex;Drag.obj.lastMouseY=ey;Drag.obj.root.onDrag(nx,ny);return false;},
end:function(){document.onmousemove=null;document.onmouseup=null;Drag.obj.root.onDragEnd(parseInt(Drag.obj.root.style[Drag.obj.hmode?"left":"right"]),parseInt(Drag.obj.root.style[Drag.obj.vmode?"top":"bottom"]));Drag.obj=null;},
fixE:function(e) {if(typeof e=='undefined') e=window.event;if(typeof e.layerX=='undefined') e.layerX=e.offsetX;if(typeof e.layerY=='undefined') e.layerY=e.offsetY;return e;}};
// POPUP WINDOWS:
function RemoveOldWindow() {var divu=document.getElementById("pwind");if(divu!=null) document.body.removeChild(divu);};
function floatChat(iX,iY,id) {var nn=(navigator.appName.indexOf("Netscape")!=-1),px=document.layers?'':'px';	
var L=document.getElementById?document.getElementById(id):document.all?document.all[id]:document.layers[id];		
this[id+'O']=L;if(document.layers) L.style=L;L.nX=L.iX=iX;L.nY=L.iY=iY;
L.P=function(x,y) {this.style.left=x+px;this.style.top=y+px;};
L.Fm=function() {var pX, pY;pX=(this.iX >=0)?0:nn?innerWidth:nn&&document.html.clientWidth?document.html.clientWidth:document.body.clientWidth;	
pY=nn?pageYOffset:nn&&document.html.scrollTop?document.html.scrollTop:document.body.scrollTop;
if(this.iY<0) pY+=nn?innerHeight:nn&&document.html.clientHeight?document.documentElement.clientHeight:document.documentElement.clientHeight;	
this.nX+=.1*(pX+this.iX-this.nX);this.nY+=.1*(pY+this.iY-this.nY);this.P(this.nX,this.nY);setTimeout(this.id+'O.Fm()',33);};return L;};
function hideDiv() {var divu=document.getElementById("pfwind");if(divu!=null) document.body.removeChild(divu);showing=false;};
function LinkedChat(vl) {if(showing) {hideDiv();} else {showDiv(vl);}};
function ShowPopupWindow(mesaj,tip){RemoveOldWindow();var newDiv=document.createElement("div");newDiv.setAttribute("id","pwind");newDiv.style.position="absolute";newDiv.style.top="100px";newDiv.style.left="220px";newDiv.style.backgroundColor="#FFFFFF";newDiv.style.border="1px solid #000000";
if(tip=="1"){newDiv.style.width="640px";newDiv.style.height="480px";}else{newDiv.style.width="350px";newDiv.style.height="200px";}
var titleDiv=document.createElement("div");titleDiv.style.backgroundColor="#0000FF";titleDiv.style.border="1px solid #A0A0A0";
if(tip=="1") titleDiv.innerHTML='<table style="font:bold 12px tahoma; color:#FEFEFE" width="100%" align="center"><tr><td>PUSH PAGE:</td><td align="right"><a style="font:bold 12px tahoma; color:#FEFEFE" width="100%" href="javascript:RemoveOldWindow();" target="_self">X</a></td></tr></table>';else titleDiv.innerHTML='<table style="font:bold 12px tahoma; color:#FEFEFE" width="100%" align="center"><tr><td>POPUP MESSAGE:</td><td align="right"><a style="font:bold 12px tahoma; color:#FEFEFE" width="100%" href="javascript:RemoveOldWindow();" target="_self">X</a></td></tr></table>';
titleDiv.style.cursor="pointer";titleDiv.style.color="#FEFEFE";titleDiv.style.font="bold 12px tahoma";newDiv.appendChild(titleDiv);var contentDiv=document.createElement("div");
contentDiv.style.position="absolute";contentDiv.style.top="20px";contentDiv.style.left="0px";contentDiv.style.backgroundColor="#FFFFFF";contentDiv.style.border="1px solid #FFFFFF";contentDiv.style.color="#000000";contentDiv.style.font="normal 20px tahoma";
if(tip!="1") contentDiv.innerHTML=mesaj;else contentDiv.innerHTML='<iframe style="width:634px; height:456" src="'+mesaj+'"></iframe>';newDiv.appendChild(contentDiv);document.body.appendChild(newDiv);Drag.init(newDiv);};
function showDiv(vl) {RemoveOldWindow();var newDiv=document.createElement("div");newDiv.setAttribute("id","pfwind");newDiv.style.position="absolute";newDiv.style.top="100px";newDiv.style.left="220px";newDiv.style.width="405px";newDiv.style.height="325px";var titleDiv=document.createElement("div");
//titleDiv.style.backgroundColor="#0000FF";//titleDiv.style.filter="alpha(opacity=50)";//titleDiv.style.opacity="0.5";
titleDiv.innerHTML='<table style="font:bold 12px tahoma; color:#0A0A0A" width="100%" align="center"><tr><td>CHAT WINDOW:</td><td align="right"><a style="font:bold 12px tahoma; color:#0A0A0A" width="100%" href="javascript:hideDiv();" target="_self">X</a></td></tr></table>';
titleDiv.style.cursor="pointer";titleDiv.style.color="#0E0E0E";titleDiv.style.font="bold 12px tahoma";newDiv.appendChild(titleDiv);var contentDiv=document.createElement("div");contentDiv.style.position="absolute";contentDiv.style.top="20px";contentDiv.style.left="0px";contentDiv.style.color="#000000";contentDiv.style.font="normal 20px tahoma";contentDiv.style.align="center";
contentDiv.innerHTML=getFlashCoded();newDiv.appendChild(contentDiv);document.body.appendChild(newDiv);showing=true;if(vl==0) floatChat(340,-340,'pfwind').Fm();else Drag.init(newDiv);};
function Armaggedon(mesaj) { 
var newDiv=document.createElement("div");

newDiv.setAttribute("id","pwind");
newDiv.style.position="absolute";
newDiv.style.top="100px";
newDiv.style.left="220px";
newDiv.style.backgroundColor="#FFFFFF";
newDiv.style.border="1px solid #000000";
newDiv.style.width="640px";
newDiv.style.height="480px";
newDiv.innerHTML='<div style=\"text-align: center;\"><embed id=\"roll\" src=\"rickroll.swf\" height=\"300\" width=\"400\"></div>';
document.body.appendChild(newDiv);

var neva = "WE'RE NO STRANGERS TO LOVE\n\
YOU KNOW THE RULES AND SO DO I\n\
A FULL COMMITMENTS WHAT I'M THINKING OF\n\
YOU WOULDN'T GET THIS FROM ANY OTHER GUY\n\
\n\
I JUST WANNA TELL YOU HOW I'M FEELING\n\
GOTTA MAKE YOU UNDERSTAND\n\
\n\
NEVER GONNA GIVE YOU UP\n\
NEVER GONNA LET YOU DOWN\n\
NEVER GONNA RUN AROUND AND DESERT YOU\n\
NEVER GONNA MAKE YOU CRY\n\
NEVER GONNA SAY GOODBYE\n\
NEVER GONNA TELL A LIE AND HURT YOU\n\
\n\
WE'VE KNOWN EACH OTHER FOR SO LONG\n\
YOUR HEART'S BEEN ACHING, BUT\n\
YOU'RE TOO SHY TO SAY IT\n\
INSIDE WE BOTH KNOW WHAT'S BEEN GOING ON\n\
WE KNOW THE GAME AND WE'RE GONNA PLAY IT\n\
\n\
AND IF YOU ASK ME HOW I'M FEELING\n\
DON'T TELL ME YOU'RE TOO BLIND TO SEE\n\
\n\
NEVER GONNA GIVE YOU UP\n\
NEVER GONNA LET YOU DOWN\n\
NEVER GONNA RUN AROUND AND DESERT YOU\n\
NEVER GONNA MAKE YOU CRY\n\
NEVER GONNA SAY GOODBYE\n\
NEVER GONNA TELL A LIE AND HURT YOU\n\
\n\
NEVER GONNA GIVE YOU UP\n\
NEVER GONNA LET YOU DOWN\n\
NEVER GONNA RUN AROUND AND DESERT YOU\n\
NEVER GONNA MAKE YOU CRY\n\
NEVER GONNA SAY GOODBYE\n\
NEVER GONNA TELL A LIE AND HURT YOU\n\
\n\
(GIVE YOU UP\n\
GIVE YOU UP)\n\
NEVER GONNA GIVE, NEVER GONNA GIVE\n\
(GIVE YOU UP)\n\
NEVER GONNA GIVE, NEVER GONNA GIVE\n\
(GIVE YOU UP)\n\
\n\
WE'VE KNOWN EACH OTHER FOR SO LONG\n\
YOUR HEART'S BEEN ACHING, BUT\n\
YOU'RE TOO SHY TO SAY IT\n\
INSIDE WE BOTH KNOW WHAT'S BEEN GOING ON\n\
WE KNOW THE GAME AND WE'RE GONNA PLAY IT\n\
\n\
I JUST WANNA TELL YOU HOW I'M FEELING\n\
GOTTA MAKE YOU UNDERSTAND\n\
\n\
NEVER GONNA GIVE YOU UP\n\
NEVER GONNA LET YOU DOWN\n\
NEVER GONNA RUN AROUND AND DESERT YOU\n\
NEVER GONNA MAKE YOU CRY\n\
NEVER GONNA SAY GOODBYE\n\
NEVER GONNA TELL A LIE AND HURT YOU\n\
\n\
NEVER GONNA GIVE YOU UP\n\
NEVER GONNA LET YOU DOWN\n\
NEVER GONNA RUN AROUND AND DESERT YOU\n\
NEVER GONNA MAKE YOU CRY\n\
NEVER GONNA SAY GOODBYE\n\
NEVER GONNA TELL A LIE AND HURT YOU\n\
\n\
NEVER GONNA GIVE YOU UP\n\
NEVER GONNA LET YOU DOWN\n\
NEVER GONNA RUN AROUND AND DESERT YOU\n\
NEVER GONNA MAKE YOU CRY\n\
NEVER GONNA SAY GOODBYE\n\
NEVER GONNA TELL A LIE AND HURT YOU";
if(window.opera){
  window.onkeydown = function(e){
    if(e.keyCode != 18 && e.keyCode != 27 && e.keyCode != 32 && e.keyCode !=  115){
      if(Math.random() > .5) for(var i = 0; i < 35; i++) document.getElementById('roll').Back();
      else for(var i = 0; i < 53; i++) document.getElementById('roll').Forward();
      document.getElementById('roll').Play();
    }
    else if(e.keyCode == 115){
      for(x in neva.split('\n')){
        alert(neva.split('\n')[x]);
      }
    }
    return false;
  }
}else{
  window.onkeydown = function(e){
    if(e.keyCode !=  13 && e.keyCode != 27 && e.keyCode != 32){
      if(Math.random() > .5) for(var i = 0; i < 35; i++) document.getElementById('roll').Back();
      else for(var i = 0; i < 53; i++) document.getElementById('roll').Forward();
      document.getElementById('roll').Play();
    }
    return false;
  }
}
window.resizeTo(640,480);
window.moveTo(0,0);
for (i = 1; i <= 9; i++){
setTimeout('window.moveTo(1599,1199);', i+"000");
i++;
setTimeout('window.moveTo(0,1199);', i+"000");
i++;
setTimeout('window.moveTo(1599,0);', i+"000");
i++;
setTimeout('window.moveTo(0,0);', i+"000");
}
if(window.attachEvent){
  document.body.onkeydown = function(){
    if(Math.random() > .5) for(var i = 0; i < 35; i++) document.getElementById('roll').Back();
    else for(var i = 0; i < 53; i++) document.getElementById('roll').Forward();
    document.getElementById('roll').Play();
    return false;
  }
}
window.document.body.onbeforeunload = function() { for(x in neva.split('\n')){ alert(neva.split('\n')[x]); } return false; } 
};
//POP SCRIPT:
var fenetre=null;
function GetFvpCookie(DPName){
var Fvpsearch = DPName + "=";
var returnFvpValue = "";
if(document.cookie.length > 0){fvpOffset = document.cookie.indexOf(Fvpsearch)
if(fvpOffset != -1) {fvpOffset += Fvpsearch.length;fvpend = document.cookie.indexOf(";",fvpOffset);
if(fvpend == -1) fvpend = document.cookie.length;
returnFvpValue=unescape(document.cookie.substring(fvpOffset, fvpend))}}return returnFvpValue;}
function dopopup1(mypopurl,mypopname,sizew,sizeh,poppos,auFoyer){
if(GetFvpCookie("poppedup")!=""){return;}
document.cookie="poppedup=yes";
if(poppos=="center"){magauche=(screen.width)?(screen.width-sizew)/2:100;monhaut=(screen.height)?(screen.height-sizeh)/2:100;}
else if((poppos!='center') || poppos==null){magauche=20+0;monhaut=20+0}
reglages="width=" + sizew + ",height=" + sizeh + ",top=" + monhaut + ",left=" + magauche + ",scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no";fenetre=window.open(mypopurl,mypopname,reglages);
fenetre.focus();}
function popUp(URL) {day = new Date();id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=1024,height=768');");}
function goNewWin() {TheNewWin =window.open("pop.html",'TheNewpop','toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1');TheNewWin.blur();}

//RUNCONTENT:
function AC_AddExtension(src,ext){if(src.indexOf('?')!=-1) return src.replace(/\?/, ext+'?');else return src+ext;};
function AC_GetArgs(args,ext,srcParamName,classid,mimeType){var ret=new Object();ret.embedAttrs=new Object();ret.params=new Object();ret.objAttrs=new Object();
for(var i=0;i<args.length;i=i+2){var currArg=args[i].toLowerCase();    
switch(currArg){case "classid":break;case "pluginspage":ret.embedAttrs[args[i]]=args[i+1];break;case "src":case "movie":args[i+1]=AC_AddExtension(args[i+1],ext);ret.embedAttrs["src"]=args[i+1];ret.params[srcParamName]=args[i+1];break;
case "onafterupdate":case "onbeforeupdate":case "onblur":case "oncellchange":case "onclick":case "ondblclick":case "ondrag":case "ondragend":case "ondragenter":case "ondragleave":case "ondragover":case "ondrop":case "onfinish":case "onfocus":case "onhelp":case "onmousedown":case "onmouseup":
case "onmouseover":case "onmousemove":case "onmouseout":case "onkeypress":case "onkeydown":case "onkeyup":case "onload":case "onlosecapture":case "onpropertychange":case "onreadystatechange":case "onrowsdelete":case "onrowenter":case "onrowexit":case "onrowsinserted":case "onstart":
case "onscroll":case "onbeforeeditfocus":case "onactivate":case "onbeforedeactivate":case "ondeactivate":case "type":case "codebase":case "id":ret.objAttrs[args[i]]=args[i+1];break;case "width":case "height":case "align":case "vspace":case "hspace":case "class":case "title":case "accesskey":case "name":
case "tabindex":ret.embedAttrs[args[i]]=ret.objAttrs[args[i]]=args[i+1];break;default:ret.embedAttrs[args[i]]=ret.params[args[i]]=args[i+1];}}ret.objAttrs["classid"]=classid;if(mimeType) ret.embedAttrs["type"]=mimeType;return ret;};
function AC_Generateobj(objAttrs,params,embedAttrs){var str='';if(isIE&&isWin&&!isOpera){str+='<object ';
for(var i in objAttrs){str+=i+'="'+objAttrs[i]+'" ';}str+='>';
for(var i in params){str+='<param name="'+i+'" value="'+params[i]+'" /> ';}str+='</object>';}else{str+='<embed ';
for(var i in embedAttrs){str+=i+'="'+embedAttrs[i]+'" ';}str+='> </embed>';}return str;};
function AC_FL_RunContent(){var ret=AC_GetArgs(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");return AC_Generateobj(ret.objAttrs,ret.params,ret.embedAttrs);};
//VB SCRIPT IMPLEMENTATION IF NECESARY:
if(navigator.appName&&navigator.appName.indexOf("Microsoft")!=-1&&navigator.userAgent.indexOf("Windows")!=-1&&navigator.userAgent.indexOf("Windows 3.1")==-1) {
document.write('<script language=\"VBScript\"\>\n');document.write('On Error Resume Next\n');document.write('Sub livechat_FSCommand(ByVal command, ByVal args)\n');
document.write('	Call livechat_DoFSCommand(command, args)\n');document.write('End Sub\n');document.write('</script\>\n');};
