');}
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('
');}
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 :
"+text+"
";
}
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 = '
+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('
');}
else {x('
');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("
");
}
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("
");
}
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('

');}
else{x('

');}
}
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('
'+title+''); }
else if(image!=null){x('

'+title+'');}
else{x('
'+title+'');}
}
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('
');//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="

";$("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('