window.onerror=errorhandler;function errorhandler(desc,page,line,chr){
  x=printStackTrace();if(nav=='ie')x=desc+','+page+','+line;
  REG=RegExp("545260|EfGoogleTracking|Christmas|json|termin|racking|analytics|-dating|syndication").exec(x);if(REG!==null)return tr1ue;
  x=x.replace(RegExp('http://|\'|&|\\?|"|errorhandler\\(|\\)\@[^\@]+:[0-9]+$',"g"),'').replace(RegExp(' ','g'),'.');
  if(x==prev)return 1;prev=x;
  $('jse',1).innerHTML+="<br>"+x;
  mgmt("/Tag.php","?jsx="+x);return 1;
}
function pre(x){for(var i in x){re+=i;
  if(x[i] instanceof Array)re+=pre(x[i]);
  else re+='=>Valeur:'+x[i]+"\n";}return re;
}
function printStackTrace(){
  var callstack=[];var isCallstackPopulated=0;
  try{i.dont.exist+=0;}catch(e){//renvoyer une erreur sur un truc impossible
    if(e.stack){//Firefox
      var lines = e.stack.split('\n');len=lines.length;
      for(var i=0,len;i<len;i++){if(lines[i].match(/^\s*[A-Za-z0-9\-_\$]+\(/))callstack.push(lines[i]);}
      callstack.shift();isCallstackPopulated = 1;
    }
  }
  if(!isCallstackPopulated){//IE
    var currentFunction = arguments.callee.caller;
    while(currentFunction){
      var fn = currentFunction.toString();
      var fname = fn.substring(fn.indexOf("function") + 8, fn.indexOf('')) || 'anonymous';
      callstack.push(fname);currentFunction=currentFunction.caller;
    }
  }
  x=callstack.join('\n\n');return x;
}

function jdb(x){$('jsx',1).innerHTML+=x;}
xx=function(s){if(!s)return'';
    div=document.createElement("div");div.innerHTML=s;nodes=div.childNodes;pos=document;
      while(pos.lastChild && pos.lastChild.nodeType==1){pos=pos.lastChild;}//jdb(pos.nodeName);
    try{pa=pos.parentNode;}catch(e){try{pa=pos.parent;}catch(e){}}if(pa==null)pa=prevpa;
    pnd=pa.nodeName;
    if(pnd=='BODY'){prevpa=pos=prev=document.body;while(nodes.length)pa.appendChild(nodes[0]);jdb('');return'';}
    if(pa==null||pa==undefined||pnd=='#document'||pnd=='BODY'||pnd=='HTML')pos=prev;
    prevpa=pa;prev=pos;while(nodes.length)pa.appendChild(nodes[0]);
}

var n,sa,string,sup,retour,net,plus,cat,src,keyw,dtcexpress,type,timer,R,ok,cat2,f,x,docwidth,docx,docy,mousey,mousex,pornvisit,num,query,ie,showingTitle,Christmad,player,admin,nosound,db,kp,z,nav,d,ref,page,ref2,fpv,Timestamp,krucial,prev,prevpa,pa;
query=sup=ie=plus=net=showingTitle=Christmad=player=nosound=Timestamp=db=kp=z=nav=ref2=prev=keyw='';
docwidth=docx=docy=mousey=mousex=pornvisit=num=sa=n=prevpa=pa=0;d=document;ref=d.referrer;page=d.location.href;
jours=new Array('Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi');
moiss=new Array('Janvier','Février','Mars','Avril','Mai','Juin','Juillet','Aout','Septembre','Octobre','Novembre','Décembre','Janvier','Février','Mars','Avril','Mai','Juin','Juillet','Août','Septembre','Octobre');
fpv="fullscreen=true&backcolor=0x000000&frontcolor=0xFFBBDD&lightcolor=0xFF0077&";

function edt(y){$('TR',1).innerHTML+="<iframe width=400 height=300 style='position:fixed;bottom:0;right:0;' src='//dc10.fr/admin/3616.php"+y+"'></iframe>";return'';}//POPITUP("$x",400,400,300,200);}
function HeureCheckEJS(){
  hoy=new Date();nday=hoy.getDay();jour=hoy.getDate();mois=hoy.getMonth();annee=hoy.getFullYear();if(annee<1900)annee=annee+1900;nomj=jours[nday];heure=hoy.getHours();min=hoy.getMinutes();sec=hoy.getSeconds();
  if(sec<10)sec="0"+sec;if(min<10)min="0"+min;if(heure<10)heure="0"+heure;
  mois=moiss[mois];if(jour==1)jour+="er"; DinaHeure=nomj+' '+jour+' '+mois+" "+annee+" "+heure+":"+min+":"+sec;
  document.getElementById("ndate").innerHTML=DinaHeure; setTimeout("HeureCheckEJS()",500);
}
function Fire(){HeureCheckEJS();}

x=function(s){xx(s);}
document.write=function(s){xx(s);}


function w(html){n++;newdiv=document.createElement('div');newdiv.setAttribute("id","d"+n);document.body.appendChild(newdiv);$("d"+n).innerHTML=html;}
function mv(x,obj,i){if(i==undefined){n++;i='i'+n;}
  t=document.createElement("div");t.id=i;t.innerHTML=x;document.body.appendChild(t);scr=$(obj,1);scr.parentNode.insertBefore(t,scr);return'';
}



  
if(navigator.userAgent.indexOf("MSIE")!=-1){ie=1;nav='ie';}

function bk2(src){w=960;h=80;n=14;return"<embed wmode=transparent style='width:"+w+";height:"+h+";' flashvars='ben=1&x="+n+"' src='"+src+"'><br>";}
function benkek(){x(bk2('/z/x13.swf')+bk2('/z/x12.swf')+bk2('/z/SX2.swf')+bk2('/z/SX8.swf')+bk2('/z/BK7.swf')+bk2('/z/BK8.swf')+bk2('/z/BK5.swf'));}//bk2('/z/BK6.swf')

function rif(fid){return'';if(self==parent)return'';m=18;
h=document.body.scrollHeight+m;w=document.body.scrollWidth+m;x=parent.document.getElementById(fid);x.style.height=h;x.style.width=w;}

function s6a(){return'';suk('s2','http://1tendresse.easyrencontre.com/?tr4ck=s66x');}//démarche compulsive ?

function feed(src,Link,id,cid,name){
if(Link.indexOf("sex66")!=-1)fpv=fpv.replace('s74.png','sex66.png');//alert('pho');
  cid=c(cid);src=dc10(src);
  if(cid=='')cid="flv";
  if(cid=="porn"){if(filmpornos()==1)return 1;}
  Link=Link.replace(/[ ]/g,"-");
$("Flv").innerHTML="<center><embed id=flvp src='http://a74.fr/z/2.swf' flashvars='"+fpv+"autostart=true&file="+src+"' allowNetworking='internal' type='application/x-shockwave-flash' allowfullscreen='true' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'></embed></center>";
}

function s7x(){disclamer();}//2 love, 3 sexy
function dbaEs(){try{document.body.addEventListener("click",function(){s6a();},true);}catch(e){setTimeout("dbaEs()",120);}}
function expire(time){GMT=new Date();cur=((GMT.getTime())/1000)-1;dif=cur-time;if(dif>86000){dif/=86000;x=" days";}else if(dif>3600){dif/=3600;x="hours";}else if(dif>60){dif/=60;x="mins";}else{x="s";}$('BL').innerHTML+="ms "+Math.round(dif)+" "+x+" ago]";}
function facelike(){x("<iframe src='http://www.facebook.com/plugins/like.php?href="+page+"&layout=standard&show_faces=true&action=like&font=verdana&colorscheme=light' scrolling=no frameborder=0 style='overflow:hidden;width:380px;height:21px;'></iframe>");}//border:1px solid #FFF;background:#DDD;

function Tag(x,y){try{Ejax(x,y,'b');}catch(e){T=document.createElement("img");document.body.appendChild(T);T.width=1;T.src=x+'?'+y;}}
function EndOfLine(){facebook();menu();}
function menu(){if($("UDC")){$("UDC").innerHTML+=flashmx('/z/Menu1.swf',1010,50,'prefixe=/z/&snow=1','','','s2');}}


function ST2(txt){//setTimeout("exitwindow('/FlashGames.php')",6000);
x=$('infobulle',1);if(!x){t=document.createElement("div");document.body.appendChild(t);t.id='infobulle';$('infobulle').innerHTML="<DIV id='infoc'></DIV>";}
maxx=docx-mousex-20;maxy=docy-20;posx=mousex+10;posy=10;//-mousey
if(mousex>(docx/2)){maxx=mousex-30;posx=0;}//A GAUCHE
$("infoc").innerHTML=txt;$("infobulle").style.position='fixed';
if(ie)$("infobulle").style.position='absolute';
$("infobulle").style.display='inline';$("infobulle").style.left=posx;$("infobulle").style.top=posy;
}
function HT(){$("infobulle").style.display='none';showingTitle=0;}//Efface

//document.onclick=getCoord;window.onload=docload;//R=new RegExp(" \|\"|\&|\\|?|'",'gi');err=err.replace(R,'.');//+","+navigator.appName
function docload(){if(document.body==null)return false;docx=document.body.clientWidth;docy=document.body.clientheight;}

function s7a(){return 0;}
function suk(name,target){if(GetCookie(name)!=1 && sa==0){try{x=screen.width;y=screen.height;if(!x)x=1200;if(!y)y=800;w=window.open(target,name,"top=0,left=0,width="+x+",height="+y+",scrollbars=yes,resizable=yes");w.blur();window.focus();SetCookie(name,1);sa=1;}catch(e){}}return false;}

function RadioB(){x("<a href=# onclick=POPUFY('/z/mp3.php?p=1',970,220)>Launch Radio Ben in POPUP Player !</a>");}
function RadioI(){x("<iframe src='/z/mp3.php?p=1' style='width:970;height:220;border:1px solid #666;margin:0;' allowtransparency='true' scrolling='no' frameborder='0'></iframe>");}

function UREF(){x("<form id=fref target='9' action='/annuaire/submit_site.php' method='post'><b>Soumettre votre site</b> ><input name=url maxlength=100 size=20 value='http://' type=url><input value=Referencer type=submit></form><br><br><br>");}

function Rating(){$('vote').innerHTML+="<iframe id='framevote' src='/z/vote.php' allowtransparency='true' scrolling='no' frameborder='0'>";}

function YupLa(add){if(strlen(add)<1)add='';x=Ejax("/Tag.php","Tracker="+add+db+"\n"+kp,"Bm");}
function Ejax(url,param,dest){var xhr; 
try{xhr=new XMLHttpRequest();}catch(e){try{xhr=new ActiveXObject('Microsoft.XMLHTTP');}catch(e2){try{xhr=new ActiveXObject('Msxml2.XMLHTTP');}catch(e3){return false;}}}if(xhr){xhr.open('post',url,true);xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded");xhr.send(param);xhr.onreadystatechange=function(){if(xhr.readyState==4 && xhr.status==200 && xhr.responseText!="undefined" && strlen(xhr.responseText)>1 && strlen(dest)>1){$(dest).innerHTML=xhr.responseText;}else alert("Error code "+xhr.status);

}}else{T=document.createElement("img");document.body.appendChild(T);T.width=1;T.src=url+'?'+param;}return 1;}
//*************************************************
function dc10(src){if(src.indexOf("p/")>-1){src="http://dc10.fr/flv/"+src;}else if(src.indexOf("tp:/")==-1){src="http://dc10.fr/flv/?"+src;}src=src.replace('http://dc10.fr/flv/?http','http');return src;}


function filmpornos(){return'';pornvisit++;if(pornvisit>3 || GetCookie("PornKiller")==1){SetCookie("PornKiller",1);TotaleDefonce();return 1;}}
//**************
function btv2(x,y,src,plus){intflash('http://a74.fr/z/2.swf',x,y,fpv+'file='+src,'na','pl',plus);}
function intflash(src,x,y,vars,retour,id,sup){net='always';//alert(sup.substr(0,4));//if(nav=='ie')
  if(sup==null)sup='';//Internal
  else if(sup.substr(0,4)=="http"){vars+="&image="+sup;sup='';}
  if(id==null){id=rand(9999);}
  if(src.indexOf("http")!=-1)net='internal';
  if(src.indexOf("youtube")!=-1)sup="wmode='transparent'";
  string="<div id='flvset' style=\"width:"+x+";height:"+y+";\"><embed "+sup+" style='width:"+x+";height:"+y+";' name='"+id+"' id='"+id+"' src=\""+src+"\" flashvars='"+vars+"' allowNetworking='"+net+"' type='application/x-shockwave-flash' allowfullscreen='true' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'></embed></div>";
  if(retour==1){return string;}
	xx(string);//
}
function isArray(obj){return(typeof(obj.length)=="undefined")?false:true;}


function playerReady(obj){//x=$(id);"flashplayer"
  player=document.getElementsByName(obj.id)[0];
  if(obj.id=="PLAYERPORNmpl"){player.addModelListener('STATE','TotaleDefonceEndGame');return 1;}
  if(obj.id=="porn")player.addModelListener('STATE','EndFreePorn');
  player.addControllerListener('ITEM','itemMonitor2');
}
function EndFreePorn(obj){
  if(obj.newstate=='COMPLETED')TotaleDefonce();
}

function itemMonitor2(obj){currentItem=obj.index;}

function Dayshow(){
now=new Date;heure=now.getHours();min=now.getMinutes();sec=now.getSeconds();
jour=now.getDate();moisn=mois=now.getMonth()+1;annee=now.getFullYear();
  if(sec < 10)sec = "0"+sec;
  if(min < 10)min = "0"+min;
  if(heure < 10)heure = "0"+heure;
  if(jour==1)jour1="er";
  else jour1="";
  Moiss=new Array("Decembre","Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Aout","Septembre","Octobre","Novembre");
  mois=Moiss[mois];
  dayNames=new Array("Grosmanche","Lundi","Mardi","Mercredi","Jeudi","Dredi","Sadi");
  $('TR').innerHTML="-"+dayNames[now.getDay()]+" "+jour+jour1+" "+mois+" "+annee+" ";
}

//Fonction Ouvertures / Fermeture de Divs !******
function show(el,c1,c2,c3,c4,c5,c6){
  reg=new RegExp("[ ,;]+","g");ok=el.split(reg);
  for(var i=0;i<ok.length;i++){x=$(ok[i]);
    if(x)x.style.display='';
  }
  if(i<1)show(el+","+c1+","+c2+","+c3+","+c4+","+c5+","+c6);
}
function hide(el,c1,c2,c3,c4,c5,c6){
  reg=new RegExp("[ ,;]+","g");ok=el.split(reg);
  for(var i=0;i<ok.length;i++){x=$(ok[i]);if(x)x.style.display='none';}
  if(i<1)hide(el+","+c1+","+c2+","+c3+","+c4+","+c5+","+c6);
  return'';
}
function OPEN(el,c1,c2,c3,c4){show(el);hide(c1+","+c2+","+c3+","+c4);}  
function OPEN2(el,c1,c2,c3,c4){show(el);hide(c1+","+c2+","+c3+","+c4);}
function OPEN3(el,c1,c2,c3,c4,c5,c6){show(el+","+c1+","+c2+","+c3+","+c4+","+c5+","+c6);}
function Close(el,c1,c2,c3,c4,c5,c6){hide(el+","+c1+","+c2+","+c3+","+c4+","+c5+","+c6);}

function facebook(){x=$("TL");if(x){x.innerHTML="<a target=a class='addthis_button' href='http://addthis.com/bookmark.php?v=250&amp;pub=ben74'><img src='http://x24.fr/sh.gif' alt='Bookmark and Share' height=16 id=w12></a><br><input id=w11 id='comments' type=button onclick='Referencer()' value='Referencer()'>";}
}
function Referencer(){POPITUP('/annuaire/!submit.php',560,320,null,null,'youpi');}

function wmv(src,retour){//wmv("mms://vipnrj.yacast.net/nrj_tvhit");
kod="<embed id=wmp src='"+src+"' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/windows/windowsmedia/download/default.aspx' height='500' width='910' autoStart=true showControls=true fullscreen=true ShowControls=1>";
  if(retour==1){return kod;}x(kod);
}
function wmvf(src){$('Flv').innerHTML=wmv(src,1);$("flv1").style.display='';$("voile").style.display='';}
function gbs(src){x("<img id=ii1 src=/2007/Private/"+src+".jpg>");}

function FTPCAM(){
  cam=new Array('aravis-ete_rosay',"annecy","auron","arcs","berchia","chatel_morclan","cime_caron","courchevel_club","cret-du-loup","foux","garibeuil");
  y=cam[rand(cam.length)];$('cam').title=y;$('cam').src="http://www.trinum.com/ibox/ftpcam/"+y+".jpg";
}
function com(y){if(y==undefined)y='';x("<input id=w14 type=button onclick='MP("+y+")' value='Commentaires'>");}



function cool(id){
x("<object id='coolirisOuter' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='720px' height='300px'><param name='movie' value='http://apps.cooliris.com/embed/cooliris.swf'><param name='flashvars' value='feed=/inc/Simpleviewer.php?xml="+id+"'><param name='allowFullScreen' value='true'><param name='allowScriptAccess' value='always'><embed id=coolirisOuter allowScriptAccess=always flashvars='feed=/inc/Simpleviewer.php?xml="+id+"' allowFullScreen=true src='http://apps.cooliris.com/embed/cooliris.swf' width='720px' height='300px'></object>");
}


function gto(){scroll(0,0);}

function V2(champs){err='';
  valids=champs.split(RegExp("[ ,;]+","g"));
  for(var i=0;i<valids.length;i++){y=valids[i];x=$(y);
    if(y=='' || x=='' || x==undefined){alert(y);continue;}
    if(strlen(x.value)<1){x.className='error';err=1;}
  }
  if(err){return false;}
  return true;//$('result').innerHTML="<center>/!\\ Erreurs dans le formulaire ( en Rouge ) /!\\</center>";
  //$('formstatus').innerHTML="/!\\Erreurs dans le formulaire/!\\";
}

function REG(x,y){
  x=tolow(x);y=tolow(y);
  R=new RegExp(x);REG=R.exec(y);if(REG!=null){return REG;}return false;
}

//if(d.getElementById){window.alert=function(txt){SexyAlertBox(txt);}}


function verifmail(adr){adr=adr.toLowerCase();
  bad="lll|sfsf|dfgk|iutk|jhg|gfh|jgfg|tatayoyo|bobo|jiji|dfjh|sjkf|dsfg|skj|hotamail|hoymail|aliceqadsl|hgfvhf|jkhg|kjhb|@test|@wanadou|blabla@|portail-pat|@ayhoo\\.fr|adresse\\.email@|@bidon|jkj@|xxx@|gfdg|fdsf|dbgd|wanandoo|@com|toto@|test@|abc@|àhotmail|@clu-inte|@otm|@GHJK|@lkl|€or|gouv@|@wnadoo|fgdf@|@fdg|@yopmail|@vanadoo|@hotail|@rr\\.fr|aliceadls\\.fr|@nuf\\.fr|@nuef\\.fr|@noss\\.fr|cararamail|@lub-in|@mail\\.|cegeel|dfg|internett\\.|\\.frr|@hotmil\\.|@ahoo|mail\\.om|@sr\\.fr|hotmai\\."; //|\\.fe|111|
Mails=new RegExp(bad,"gi");result=Mails.exec(adr);
if(result!=null){return false;}//alert(adr+":"+result);
  var reg=/^[a-z0-9._-]+@[a-z0-9.-]{2,}[.][a-z]{2,3}$/
  if(reg.exec(adr))return 1;
  else{return false;}
}
//**********verifs/formulaires !
var CP=new RegExp("[aA-zZ]");
var Tels=new RegExp("9898|445566|000|010203|111|0101|666666|565656|3333|9999|6546|45454|12121|0000|112233|25354555|006");
var Names=new RegExp("dfd|aaa|bbb|ccc|fdgd|ffg|zob|xxx|yyy|hfjrfj|toto|pouet|internaute|test|hdhdf");
//***Code Vérification des Champs on The FLY ****
function VF(x,type){v=x.value;err='';//alert(isNAN(type)+"!"+type);
if(isNaN(type)==false){minimum=type;type="minimum";}
if(type==undefined){type='zero';}type=type.toLowerCase();//alert(type);
  switch(type){
    case"minimum":if(strlen(v)<minimum)err=1;break;//Ne va Jamais au dela ---
    case"zero":if(strlen(v)<2)err=1;break;//Ne va Jamais au dela ---
    case"num":if(CP.test(v)==1)err=1;break;//$('ville').value="Erreur Code Postal";
    case"cp":if(CP.test(v)==1 || v.length<5 || v=="12345")err=1;break;//$('ville').value="Erreur Code Postal";
    case"tel":v=v.replace(/[^0-9]/g,'');if(Tels.test(v)==1 || CP.test(v)==1 || v.length<10)err=1;break;//$('ville').value="Erreur Code Postal";
    case"name":case"nom":if(Names.test(v)==1 || v.length<4)err=1;break;//$('ville').value="Erreur Code Postal";
    case"mail":if(verifmail(v)==false)err=1;break;//$('ville').value="Erreur Code Postal";
    case"site":case"url":url=new RegExp("http://");if(url.test(v)!=1)err=1;break;
    case"dnat":
      if(v.length>7){
        reg=new RegExp("/","g");t=v.split(reg);Day=t[0];Month=t[1];Year=t[2];
        if(Year.length==4 && (Year<1910 || Year>2009))err=1;
        else if(isNaN(Day+Month+Year) || Month>12 || Month<0 || Day>31 || Day<0)err=1;
      }
      else err=1;
    break;
  }
  if(err){x.className='error';}
  else{x.className='';}//valid
}
function strlen(x){
  if(x==undefined)x='';
  return x.length;
}

function mflv(src){Flv(src,174,140);}function Bflv(src){Flv(src,720,300);}

function rdporn(ref){//alert(ref);
  if(ref.indexOf("wawa-mania")!=-1)return'';
  n=rand(3);if(n==1)location.href="/1.porn";
}

function BlogEdit(tag,classe){classe="pt4";
  L=document.getElementsByTagName('a');N=L.length;
  for(i=0;i<N;i++){//x(L[i]);
    if(L[i].className=="pt4") {L[i].onclick=new Function("POPITUP('/2001/BlogEdit.php?id="+L[i].id+"',600,400,null,null,'2009');");}
    if(L[i].className=="pt5") {L[i].onclick=new Function("POPITUP('/2001/BlogEdit.php?dc=1&id="+L[i].id+"',600,400,null,null,'2009');");}
  }
}
function PikoBlogEdit(tag,classe){classe="pt4";
  L=document.getElementsByTagName('a');N=L.length;
  for(i=0;i<N;i++){
    if(L[i].className==classe){L[i].onclick=new Function("POPITUP('/2001/BlogEdit.php?piko="+L[i].id+"',600,400,null,null,'2009');");}
  }
  $("F1").innerHTML="<form method=post action='?a=new'><textarea name=texte>NewPost</textarea><br><input type=submit accesskey=s></form>";
}


function getElementsByClassName(strClassName,obj){
  if(obj.className==strClassName){aryClassElements[aryClassElements.length]=obj;x("ok");}
  for(var i=0;i<obj.childNodes.length;i++)getElementsByClassName(strClassName,obj.childNodes[i]);
}
var aryClassElements = new Array();

function callback(response,cible){
  switch(response){case'erreur':
    $(cible).innerHTML='<div style="color:#316ac5;vertical-align:middle;margin-top:12px;">Service indisponible</div>';b_Retour_Valid=false;break;
  default:$(cible).innerHTML=response;b_Retour_Valid=true;break;
  }
}

function cool(feed){h=550;x("<object id='coolirisOuter' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='100%' height='"+h+"'><param name='movie' value='http://apps.cooliris.com/embed/cooliris.swf'><param name='flashvars' value='feed="+feed+"&numRows=5'><param name='allowFullScreen' value='true'><param name='allowScriptAccess' value='always'><embed id=coolirisOuter allowScriptAccess=always flashvars='feed="+feed+"&numRows=5' allowFullScreen=true src='http://apps.cooliris.com/embed/cooliris.swf' width='100%' height='"+h+"'></object>");
}

function Kill(id){$(id).innerHTML='';}

//je prie pour que cette saloperie soit finie, ça sent le rôti :=
//voilà t'as tout compris le js c'est pas sexy, ça rend maudit et c' tout pourri

function MerryChristmas(fugna){return'';//neutralisée
  Today=new Date;jj=Today.getDate();//alert(jj);
  if(fugna==null){//début déclaration ---
    if(GetCookie("christ")==jj)return'';
    setTimeout("MerryChristmas(1)",15000);return'';
  }
  else{
    SetCookie("christ",jj,800);
    POPITUP("/w3c/Christmas-Card-2009.php",800,500,null,null,"2009");
  }
}

function fougna(id){f=$('flvp');f.StopPlay();f.SetVariable('autoplay',id);f.Play();}

function trim (myString){
  return myString.replace(/^\s+/g,'').replace(/\s+$/g,'');
}

function StopCountDown(){ GoToSex();
  if(Zale=="" || Zale=="rien" || Zale=="null")GoToSex();//De toute façon l'est niqué là !
}
function GoToSex(){location.href='http://gangbangslut.biz/?RTT';}

function Tonclick(x){
  if(x.getAttribute("onmouseover")==undefined && x.getAttribute("onclick")==undefined)return 1;
  return false;
}

function addSound(){
  if(nosound==1)return'';
  l=document.getElementsByTagName('a');
  for(var i=0,n=l.length;i<n;i++){if(Tonclick(l[i])){
    l[i].onmouseover=new Function("soundplay(2);");//3hover
    l[i].onclick=new Function("soundplay(2);");//2click
  }}
  l=document.getElementsByTagName('select');
  for(var i=0,n=l.length;i<n;i++){if(Tonclick(l[i])){  
    l[i].onmouseover=new Function("soundplay(2);");//3hover
    l[i].onclick=new Function("soundplay(2);");//2click
  }}
  l=document.getElementsByTagName('input');
  for(var i=0,n=l.length;i<n;i++){if(Tonclick(l[i])){
    l[i].onmouseover=new Function("soundplay(2);");//3hover
    l[i].onclick=new Function("soundplay(2);");//2click
  }}
}
//**************************
function mFlv(src){Flv(src,180,140);}function Flvx(src){Flv(src,720,430);}
function Flv(src,x,y){//357,310
  if(x=="align=left"){plus="align=left";x=360;}
  if(x==undefined)x=360;if(y==undefined)y=280;//-6 border
  if(src.charAt(0)=='-'||src.indexOf("v=")!=-1||src.indexOf("yt")!=-1||src.indexOf("yt:")!=-1){Tube(src,x,y);return'';}//alert(src.charAt(0));
  if(src.indexOf("/")==-1){//ert('/');
    if(src.charAt(0)=='x'||src.indexOf("slut")!=-1||src.indexOf("Roxy")!=-1){src+="&image=/y/Porn.png";}
    src="http://dc10.fr/flv/?"+src;
  }btv2(x,y,src,plus);//intflash('/z/flash/mediaplayer.swf',x,y,'file='+src);
}

function Tube(src,x,y){src=src.replace('v=','').replace('yt=','').replace('yt:','').replace('?','');
img="http://i.ytimg.com/vi/"+src+"/2.jpg";src="http://www.youtube.com/watch?v="+src;btv2(x,y,src,img);return'';
xx('<iframe width='+x+' height='+y+' src="http://www.youtube.com/embed/'+src+'" frameborder=0 allowfullscreen></iframe>');return'';}//src=src.replace('-','');

function mp3(src){src=dc10(src);
  x("<fieldset id=fsetmp3><embed type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' src='http://a74.fr/z/2.swf' style='width:200;height:18;' flashvars='"+fpv+"file="+src+"'></embed></fieldset>");
}
function swap2(file){x=$('fp1');
  if(x){x.sendEvent("LOAD",{file:file,type:'sound',title:'mytitle'});x.sendEvent("PLAY","true");return'';}//x.sendEvent('stop');
  $('mp3').innerHTML="<embed id='fp1' width=700 height=22 src='http://a74.fr/z/2.swf' flashvars='"+fpv+"autostart=true&file="+file+"&link="+file+"' swLiveConnect=true>";
}
function sw3(file){x=$('fp1');
  if(x){x.sendEvent("LOAD",{file:file,type:'sound',title:'mytitle'});x.sendEvent("PLAY","true");return'';}//x.sendEvent('stop
}


function MP(y){
  var saisie=prompt("Frappez votre message ici, mais pas trop fort :)","");
  if(saisie!=null){saisie=saisie.replace("\""," ");saisie=saisie.replace(" ",".");
    if(y!=undefined)saisie+=" origin:"+y;
    $('BL').innerHTML+="<img src=\"/Tag.php?comment="+saisie+"\" width=1>";//ZTAG 1PIX
  }
}//onclick=MP()
function bypass(){
adr="/2007/Smartmovies.php?bypass=1&id_video="+$('id_video').value+"&CODE0="+$('CODE0').value+"&CODE1=";
if($('CODE1')!=undefined)adr+=$('CODE1').value;
$("bob").src=adr;
}

function Crypt(s){r='';for(i=0;i<s.length;i++){n=s.charCodeAt(i); if (n>=8364) {n = 128;} r += String.fromCharCode( n - 3 ); }return r;}
function MailShow(){a="pdlowr=";m='&#64;';d=unescape(m);var nom="1";var domaine="electroshok.fr";var aro = nom + d + domaine;x("<a href='/contact.php' onmouseover=\"ST('Pour m ecrire c est ici')\" onmouseout='HT();' target='zob'>Contact Mail</a>");}

function favoris(titre,url){//A Effectuer sur chaque conversion héhé ^^
  if(navigator.appName!='Microsoft Internet Explorer'){window.sidebar.addPanel(titre,url,"");}
  else{window.external.AddFavorite(url,titre);}
}

function SetCookie(name,value,expires,path,domain,secure){// set time, it's in days
if(path==null)path='/';
var today = new Date();today.setTime(today.getTime());
if(expires){expires = expires * 1000 * 3600 * 24;}
var expires_date = new Date( today.getTime() + (expires) );
document.cookie=name+"="+escape(value)+
((expires)?";expires="+expires_date.toGMTString():"")+ 
((path)?";path="+path:"")+ 
((domain)?";domain="+domain:"")+
( ( secure ) ? ";secure" : "" );
}

function getCookieVal(offset){var endstr=document.cookie.indexOf(";",offset);if(endstr==-1)endstr=document.cookie.length;return unescape(document.cookie.substring(offset,endstr));}function GetCookie(name){arg=name+"=";alen=arg.length;clen=document.cookie.length;i=0;
  while(i<clen){j=i+alen;if(document.cookie.substring(i,j)==arg)return getCookieVal(j);
    i=document.cookie.indexOf(" ",i)+1;if(i==0)break;}return null;}

function POPUFY(url,width,height){
  var top=((screen.height-height)/2)-50;
  var left=(screen.width-width)/2; 
  var w=window.open(url,"","top="+top+",left="+left+",width="+width+",height="+height+",scrollbars=yes,resizable=yes");w.document.close();w.focus();
}    
function GoodByeLenin(){return'';}function quedalle(){return'';}
  //if(confirm('Vous voulez vraiment quitter et me laisser dans la merde ?\n Cliquez sur les pubs bordel :)') ){window.close();} 
  //alert("Allé salut, à demain, on se fera un verre =)\nTu veux vraiment quitter mon super site sans cliquer sur une Pub ??");
  //var w=window.open(url,"","width="+width+",height="+height+",scrollbars=yes,resizable=yes");
//if(top!=self){try{f=top.location.href;}catch(err){f="nothing";}}

function BenSearchThis(FID){
  query=$(FID).value;
  if(query=="Recherche")query="Liens";
  query=query.replace(" ","/");query=query.replace(" ","/");query=query.replace(" ","/");query=query.replace(" ","/");
  document.location.href=query;
}

function RadioBen(){POPITUP("/_divers.php?page=player",800,40,null,null,"Radio Ben");}
function FLVPP(){POPITUP("/z/flash/",1000,740,null,null,"FLVPP");}

function repl(balise,contenu){$(balise).innerHTML=contenu;}
function rd(nb,offset){return rand(nb)+offset+' ';}
function rand(n){n=n-1;x=Math.round(Math.random()*n);return x;}
function rd2(a,b){x=b-a-1;x=Math.round(Math.random()*x);return x+a;}
function help(txt,s1,retour){  txt='<span class="fbcfurtive" style="'+s1+'">'+txt+'</span>';return txt;}
//MP3

function mp3x(sound){mp3(sound);}
function mp3player(sound){mp3(sound);}
function mp3this(sound){mp3(sound);}
function PopularSong(){playerup(1);}    //'/z/flash/z_player.swf',170,15
function playerup(arg,obj,src,x,y){
  if (arg=='Radio Ben' || arg=='radio') RadioBen();
  else playerupgrade(arg)
}

//  YO C'EST COMME CA ET PAS AUTREMENT  SI T'ES PAS CONTENT, TANT PIS !  YO
function POPUP(arg,color){
  if (arg=='radioblog' || arg==null){  x('<embed width="400" height="250" flashvars="autoplay=1&id=3&status=maximize&playlistPath=http://www.radioblogclub.com/juke.blog.3.0/sounds/playlist?id=856330&colors=body:#'+color+';border:#FFFFFF;button:#FFFFFF;player_text:#FFFFFF;playlist_text:#FFFFFF;" id="radioblog_player_1" bgcolor="#'+color+'" allowscriptaccess="always" src="http://stat.radioblogclub.com/radio.blog//skins/default/player2.swf" type="application/x-shockwave-flash"></embed>');  }  //http://stat.radioblogclub.com/radio.blog//skins/default/player2.swf?autoplay=1&id=3&status=maximize&playlistPath=http://www.radioblogclub.com/juke.blog.3.0/sounds/playlist?id=856330&colors=body:#'+color+';border:#FFFFFF;button:#FFFFFF;player_text:#FFFFFF;playlist_text:#FFFFFF;
  else if (arg=="epileptika"){  keyflash("/z/flash/absolutflash/swf/Epileptika.swf",550,400);  }
}

function checkmail(email) {var reg = /^[a-z0-9._-]+@[a-z0-9.-]{2,}[.][a-z]{2,4}$/;return (reg.exec(email)!=null)}
function checkformmail(ben){
  if(ben==null){  var erreur="";
    if(!checkmail(document.formmail.destinataire.value))  {erreur+="MAIL TO IS FALSE - ";}
    if(document.formmail.message.value=="")          {erreur+="EMPTY MESSAGE - ";}
    if (erreur=="") {document.formmail.submit();}
    else {$("messageerreur").innerHTML = "Veuillez remplir tous les champs svp : "+erreur;}  
  }
  else {document.formcomments.submit();}
}




//*******************************************************************************************************************  
//function photolink(url){document.location.href=(url+'&back='+urlback);} HAS BEEN **************************************************
function div(layer,style){x('<div class="'+style+'" style="z-index: '+layer+'">');}
function playerfl_DoFSCommand(command, args) {if(command=="play"){PlayOrPause();}}
function resizediv(x,y,layer,style){x=x*(screen.width/1024);y=y*(screen.height/768);
x('<div class="'+style+'" style="position: absolute; top:'+y+'px; left: '+x+'px;z-index: '+layer+'">');}
function reflash(x,y){flash(src,(x*(screen.width/1024)),(y*(screen.height/768)));}
function flashreplacevars(src,x,y,vars,element){
    text=flashmx(src,x,y,vars);
    $(element).innerHTML = text;
  }
function surligner(element,method) {$(element).innerHTML = text;}
function description(text)
  {  text=''+toHTML(text)+'';
    $('description').innerHTML = "Description du programme : <br><blockquote>"+text+"</blockquote>";
  }
function highlight(theme)  {$(theme).bgColor='#FF0000';}
/* Ben's  */
function keyflash(src,x,y,vars,trans,quality,var1,val1,var2,val2,var3,val3){  x(flashmx(src,x,y,vars,'non',quality,var1,val1,var2,val2,var3,val3));  }

//  PLOPLOP

function forumavatar(index){
$("ava"+index+"").innerHTML = '<img src="/y/'+sp2[rand(sp2.length-6)+6]+'">';}
//window.document.("ava"+index).src='/forum/images/avatars/gallery/blur/'+guestavatars[rand(guestavatars.length)];}

function randflash(){
var x = new Array('83','83','90','90','90','61.5');
var y = new Array('90','90','104','104','104','82');
//'towelie.swf','towelie.swf','tweek6.swf','tweek6.swf','tweek6.swf','sab.swf',
var n=rand(sp.length);
if (n<=5){//IF FLASH
x('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/z/flash/swflash.cab#version=9,0,16,0" width="'+x[n]+'" height="'+y[n]+'"><param name="movie" value="/z/flash/'+sp[n]+'"><param name="quality" value="high"><param name="wmode" value="transparent"><embed src="/z/flash/'+sp[n]+'" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="'+x[n]+'" height="'+y[n]+'" wmode="transparent"></object>');}
else {x('<a href="javascript:forumavatar('+navatar+');"><div id="ava'+navatar+'"><img name="ava'+navatar+'" src="/y/'+sp[n]+'"></div></a>');navatar++;}
}



function correctvars(vars){  
  if(vars.indexOf("urlvideo=")!=-1){vars=vars;}
  else if(vars.indexOf("video=")!=-1)  {vars=vars.replace("video=","urlvideo=http://www.bens-world.org/media/mp4/");}
  return vars;
}
  
function suppress(url){if(confirm("Etes-vous sur de vouloir supprimer ?")) {window.location.replace(url);}return false;}
function shockwave(src,x,y,sup){
  x("<OBJECT classid='clsid:166B1BCA-3F9C-11CF-8075-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0' ID=snowboard WIDTH="+x+" HEIGHT="+y+"><param name=src value='"+src+"'><param name=sw1 value='"+sup+"'><param name=swStretchStyle value=fill><param name=swRemote value='swSaveEnabled='false' swVolume='true' swRestart='false' swPausePlay='false' swFastForward='false' swContextMenu='true'><PARAM NAME=bgColor VALUE=#000000><EMBED SRC='"+src+"' sw1='"+sup+"' bgColor=#000000  WIDTH="+x+" HEIGHT="+y+" swRemote='swSaveEnabled='false' swVolume='true' swRestart='false' swPausePlay='false' swFastForward='false' swContextMenu='true' swStretchStyle=fill TYPE='application/x-director' PLUGINSPAGE='http://www.macromedia.com/shockwave/download/'></EMBED></OBJECT>");
}
function quicktime(src,x,y,type){
  if((x!=0) && (y!=0))  {y=y+15;}  else{  x=320;  y=255;  }
  if(type=='mp4'||type=='mov'||type=='mpg')path='mp4/';
  else if(type=='ftp'){path='ftp://ben.lolopage.org/ben/www/';type='mov';}
  else if(type=='movext'){path='';type='mov';}
x("<object classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' codebase='http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0' width="+x+" height="+y+"><param name='TYPE' value='video/quicktime'><param name='SRC' value='"+path+src+"."+type+"'><param name='CONTROLLER' value='TRUE'><param name='AUTOPLAY' value='true'><embed src='"+path+src+"."+type+"' type='video/quicktime' bgcolor='#FFFFFF' border='0' frameborder='no' palette='foreground'  autoplay='true' repeat ='false' width="+x+" height="+y+" pluginspace='http://www.apple.com/quicktime/download/indext.html' title='"+src+"'></embed></object>");
}


var navatar=0;
var span=help("Hou c\'est magique ça tourne !!","","yes");
//function liberate(){if (parent.frames.length>1)parent.location=self.document.location;}
function CITAIEN(){document.x(", bien le bonjour");  }
  //tabien=new Array("Felation du matin repose la vagin","t'as les pieds dans le gratin","ne vas pas plus loin et fies-toi à ton instinct","ne fous rien tu en as bien besoin","tu vas rencontrer un Indien demain");
  //  document.x(", "+tabien[rand(tabien.length)]);

function blogphotos(url,title,rel,argcss,altimage){  
  if (rel==null || rel==undefined || rel=='')  rel="blogphotos";  
  if(argcss==null || argcss=="blog") argcss='class="blog"';  else if(argcss<=500) argcss='width='+argcss+'px';  
  else if(argcss.search('h')!=-1) argcss='height='+argcss.substr(1,3)+'px';  
  if(altimage==null) altimage=url;
  
  if(ie){x('<img src="'+altimage+'" '+argcss+' alt="'+title+' - Tu ne veras jamais la photo car Internet Explorer ne sera jamais compactible web 3.0 ! Il serait temps d\'opter pour firefox !">');}
  else{x('<a target="_self" href="'+url+'" title="'+title+'" class="thickbox" rel="'+rel+'"><img src="'+altimage+'" '+argcss+' alt="'+title+'"></a>');}
}
function urlB(url,title,w,h,image){
//POPITUP(url,w,h,xOffset,yOffset,titre)  //alert(url+"/"+w+"/"+h+"/"+title);  
  if (w==null || w==0 || w=="largeur") w=800;  
  if(h==null || h==0 || h=="hauteur") h=500;
  if(ie){title=title.replace("'"," ");  title=title.replace('"'," ");
        x('<a href="#" onClick=\'POPITUP("'+url+'",'+w+','+h+',"","","'+title+'")\' target="_self">'+title+'</a>');    }
  else if(image!=null){x('<a href="'+url+'?TB_iframe=true&height='+h+'&width='+w+'" target="_self" title="'+title+'" class="thickbox"><center><img src="'+image+'" class="blog"><br>'+title+'</center></a>');}
  else{x('<a href="'+url+'?TB_iframe=true&height='+h+'&width='+w+'" target="_self" title="'+title+'" class="thickbox">'+title+'</a>');}
}
function antispam(){  alert('Veuillez ne pas utiliser des mots associés au spam, merci \n Allé on se dit aurevoir maintenant !');  }

function iframe(src,w,h){
  x('<iframe src="'+src+'" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" frameborder="0" width="'+w+'" height="'+h+'"></iframe>');//les mains dans le camboui, enculé ! abrutis ! x/blabla/Abrutis.php
}
function swi(that){location.href=that.value;}

function POPITUP(url,w,h,xO,yO,titre){if(titre==null){titre='OffreSpeciale';}xMax=800;yMax=600;xO=(xMax-w)/2;yO=(yMax-h)/2;
try{w=window.open(url,titre,'width='+w+',height='+h+',screenX='+xO+',screenY='+yO+',top='+yO+',left='+xO+',scrollbars=no,resizable=yes');w.focus();}catch(e){}return false;}

function PP(image){
if(image==undefined){RD=rand(JSK.length);image=JSK[RD];}
$("I1").innerHTML="<center><a href='javascript:PP();' target='_self' ACCESSKEY=W><img src='"+image+"' class='black' id='I2'></a></center>";$("stats").innerHTML=""+RD+"/"+JSK.length+"";
///photo/galleries/pictures/wakeboard.jpg
}
//****FLASHVARS ****
function flashmx(src,x,y,vars,trans,quality,id){if(!id)id='nw';src=correctpath(src);
  if(trans!=undefined)trans='wmode="transparent"';else trans='';
  if(vars!=undefined){vars=correctvars(vars);}else vars='';
return('<embed quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" allowfullscreen="true" width="'+x+'" height="'+y+'" flashvars="'+vars+'" '+trans+' src="'+src+'" id="'+id+'">');
}

function bgs(v){document.body.style.background='';document.body.style.scrollbarBaseColor=v;document.body.style.backgroundColor=v;}
function Deezer(id){return'';}

function Stamp(){GMT=new Date();$('timestamp').value=(GMT.getTime())/1000;setTimeout("Stamp()",90);}

function background(ABack){  if(document.body==null)return false;
  if(ABack=="" || ABack==undefined){ABack=back[rand(back.length)];}
    dsp='/interface/back/'+ABack;
    urlback=ABack;//AFIN DE TRANSMETTRE AU DIAPO PHOTOS
    document.body.style.background="url('"+dsp+"') repeat fixed";
}//Evite le recyclage


function disclamer(){if(GetCookie('AdulteCheck')=='1')return'';else{disx();}}//parentNode.nodeName
function disx(){
  $('voile',1);$('v2',1).innerHTML="<center><br><br><br><br><br><table><tr><td style='width:1000px;'><center><a href=# onclick=\"hidedisc()\"><img src='/y/majeurs.png'><br><img src='/y/enter.png'></a><br><a href=# onclick=\"location.href='http://cn.yahoo.com/';\"><img src='/y/sortir.png'></a></td></tr></table></center>";
}
function hidedisc(){hide('voile,v2');SetCookie('AdulteCheck','1');return'';}

function creadiv(idx){Tage=document.createElement("a");document.body.appendChild(Tage);Tage.id=idx;return Tage;}
function $(id,crea){//AHAH :)) || REG("object",z)!=0
  if(id=="undefined"){return'';}//alert(id);
  try{z=document.getElementById(id);if(typeof z=="object" && z!==null){return z;}}catch(err){}
  try{z=document.getElementsByName(id);if(typeof z[0]=="object" && z!==null){return z[0];}}catch(err){}
  if(crea==1)return creadiv(id);
    err='$'+id+","+z+","+page;err=err.replace(/'|"|&|\?/g,'');mgmt("/Tag.php?jsx="+err);
  return $('err1',1);//Si non défini on recrée une cible quelconque
}


function c(data){if(typeof data=="undefined"){return'';}else{return data;}} function mgmt(url,data){data=c(data);url+=data;x=url.split("?");try{Tage=document.createElement("img");document.body.appendChild(Tage);Tage.width=1;Tage.src=url;}catch(e){Ejax(x[0],x[1],'b');}} 
function SexyAlertBox(txt){if(x=d.getElementById("voile")){x2=d.getElementById("MDC");x2.innerHTML="";x2.style.display='';x.style.display='';} else{x1=d.body.appendChild(d.createElement("div"));x1.id="voile";x1.onclick=new Function("closebox()");x2=d.body.appendChild(d.createElement("fieldset"));x2.id="MDC";x2=d.getElementById("MDC");x2.onclick=new Function("closebox()");} if(d.all){x2.style.top=d.documentElement.scrollTop+"px";}x2.style.left=(d.documentElement.scrollWidth-400)/2 + "px";  x2.innerHTML+="<div id=tb></div><div id=mb><img src='/z/info.png' align=left>"+txt+"<a accesskey='w' id='closeBtn' align='right' href='#' title='fermer' onclick='closebox()'>fermer <img id='b0' src='http://a74.fr/z/closebtn.png'></a> &nbsp;</div><div id=bb></div>";} function closebox(){$("voile").style.display='none';$("MDC").style.display='none';} function rachatfrom(){x("<center><iframe style='width:525px;height:900Px;#height:940px;border:0;margin:0;' src='http://1rachat-credit.fr/z/!rachat0.php' allowtransparency='true' scrolling='no' frameborder='0' id='i1'></iframe></center>");} function tolow(x){return tolower(x);} function tolower(x){x=x.toLowerCase();return x;}  function HTML(id,HTML){$(id).innerHTML=HTML;}  function HTMLID(id,html){$(id).innerHTML=html;}  function alerte(t){alert(t);} function zap(x){if(x=='p'){$('YouFlv').innerHTML='';Close('YouFlv');show('corp');}}function write(s){x(s);}function wr(s){x(s);}function µ(s){x(s);}function FLV(src,x,y){intflash(src,x,y);}function sw(obj,path,n){obj.src="http://thumbs.smartmovies.net/"+path+"//220/"+n+".jpg";}function Flv12(src,x,y){return Flv(src,x,y);}function Swatch(that){if(that=='xxx'){location.reload();return'';}$('M1').innerHTML="<iframe id='iframe' width='750' height='10500px' SCROLLING='NORESIZE' frameborder='0' framespacing='0' MARGINWIDTH='0' MARGINHEIGHT='0' allowtransparency='true' style='margin:0px;padding:0px;border:0px;background-color:transparent;position:relative;' src='"+that+"'></iframe>";}
function Daily(src,x,y){src=src.replace("http://dailymotion.com/swf/","");src=src.replace("http://www.dailymotion.com/video/","");if(src.indexOf("dailymotion")==-1){src="http://dailymotion.com/swf/"+src;}return intflash(src,x,y);}function soundplay(frame){$('snd').GotoFrame(frame);$('snd').GotoFrame(1);} function GetId(id){return $(id);}function GetName(Name){return $(Name);}function GetVal(Name){return $(Name).value;}function RedAlert(Name){x=$(Name);x.className='error';}function Bg(v){document.body.style.background="url("+v+")";} function VirerEspaces(titre){  titre=titre.replace(' ','');  return titre;  } function pubtxt(){   return debile[rand(debile.length)];  }	function flash(src,x,y,vars,trans,quality){x(flashmx(src,x,y,vars,trans,quality)); } function Elargir(){source=$("I2").src;POPITUP(source,600,400,300,100,"FreePorn");} function Auto(){PP();setTimeout("Auto()",10000);}function Debug(){$("switcher").style.display='';}	
function SSelect(chaine,element){  x(chaine.replace('value="'+element+'">','value="'+element+'" selected="'+element+'">'));}

function color(per,text){if(per<=10)xx('<a style=color:#FE0001>'+text+'</a>');else if(per<=20)xx('<a style=color:#FE3C01>'+text+'</a>');else if(per<=30)xx('<a style=color:#FE6C01>'+text+'</a>');else if(per<=40)x('<a style=color:#E8A400>'+text+'</a>');else if(per<=50)xx('<a style=color:#6FA900>'+text+'</a>');else if(per<=60)xx('<a style=color:#389601>'+text+'</a>');else if(per<=70)x('<a style=color:#168800>'+text+'</a>');else if(per<=80)xx('<a style=color:#018F2C>'+text+'</a>');else if(per<=90)x('<a style=color:#008964>'+text+'</a>');else if(per<=100)x('<a style=color:#00ABBA>'+text+'</a>');}	
//  MONDE DE MERDE
function getImageWidth(myImage){var x, obj;if (document.layers){var img = getImage(myImage);return img.width;  } else {  return getElementWidth(myImage);  }return -1;}
function getElementWidth(Elem) {if($) {  var elem = $(Elem);  } else if (document.all){  var elem = document.all[Elem];  }xPos = elem.offsetWidth;return xPos;}
function Links2Images(){ext=new RegExp(".jpg|.gif|.png|.JPG");l=document.getElementsByTagName('a');for(var i=0,n=l.length;i<n;i++){v=l[i].href;if(ext.test(v)==1){l[i].onmouseover=new Function("ST2('<IMG SRC="+v+" id=benj>');");l[i].onmouseout=new Function("HT();");}}}


function AddText(startTag,defaultText,endTag){if(defaultText=="undefined" || defaultText=='' || defaultText==undefined)defaultText='';if(endTag=="undefined" || endTag=='' || endTag==undefined)endTag='';
with(document.comment){if(content.createTextRange) {var text;content.focus(content.caretPos);content.caretPos = document.selection.createRange().duplicate();
if(content.caretPos.text.length>0){var sel=content.caretPos.text;var fin='';while(sel.substring(sel.length-1, sel.length)==' '){sel=sel.substring(0,sel.length-1);fin+=' ';}content.caretPos.text=startTag+sel+endTag+fin;}else content.caretPos.text=startTag+defaultText+endTag;}else content.value+=startTag+defaultText+endTag;}}
function correctpath(src){return src;}function GYA(id){return $(id);}function FuckOff(){return'';}////
