dispfg=0;
//////////////////////////////////////
function screenmove(){

 if(dispfg){

 windw=window.innerWidth;  if(!windw) windw=document.body.clientWidth;
 windh=window.innerHeight; if(!windh) windh=document.body.clientHeight;
 windt=window.pageYOffset; if(!windt) windt=document.body.scrollTop ;
 windl=window.pageXOffset; if(!windl) windl=document.body.scrollLeft;

   scrnb.style.left=windw / 2 - 350 + windl;
   scrnb.style.top=windh / 2.5 - 250 + windt;
   scrnb.style.display = "block";

   scrn.style.left=windw / 2 - 270 + windl;
   scrn.style.top=windh / 2.5 - 205 + windt;
   scrn.style.display = "block";
 }

}
//////////////////////////////////////
function screenclose(){

//document.body.style.overflow = "scroll";
scrnb.style.display = "none";
scrn.style.display = "none";
dispfg=0;
 frm.document.open();
 frm.document.write("");
 frm.document.close();

}
//////////////////////////////////////
function screendisp(imid){

 dispfg=1;
 screenmove(); 

 if(imid=="v/cXE7Wj-zlCI") imid="v218602292";
 if(imid=="v/0UjsXo9l6I8") imid="v218602292";
 if(imid=="v/l4iWvZ54DXA") imid="v218600147";
 if(imid=="v/GmaWmi81xV4") imid="v218601364";

 if(imid.substr(0,2)=="v/") { typ="youtube"; screendispyt(imid); return ;};
 if(imid.substr(0,2)=="i/") { typ="dipdive"; screendispdd(imid); return ;};

eid = Math.ceil(Math.random() * 1000000);
eid+=1000000;

ymv ='<object width="540" height="360" id="uvp_fop" allowFullScreen="false">'
ymv+='<param name="movie" value="http://d.yimg.com/cosmos.bcst.yahoo.com/up/fop/embedflv/swf/fop.swf"/>'
ymv+='<param name="flashVars" value="id='+imid+'&amp;eID='+eid+'&amp;enableFullScreen=0"/>'
ymv+='<param name="wmode" value="transparent"/>'
ymv+='<embed height="360" width="540" id="uvp_fop" allowFullScreen="false" src="http://d.yimg.com/cosmos.bcst.yahoo.com/up/fop/embedflv/swf/fop.swf" type="application/x-shockwave-flash" flashvars="id='+imid+'&amp;eID='+eid+'&amp;enableFullScreen=0" />'
ymv+='</object>'
ymv+='<img src="/accs/idc.pl?&id='+imid+'&ct=mv" hight=100 width=100>'

 frm.document.open();
 frm.document.write(ymv);
 frm.document.close();

}

//////////////////////////////////////
function screendispdd(imid){

if(!imid) return ;


ymv ='<object width="540" height="360" data="http://play.dipdive.com/'+imid+'">';
ymv+='<param name="movie" value="http://play.dipdive.com/'+imid+'"></param>';
ymv+='<param name="allowfullscreen" value="true"></param>';
ymv+='<embed src="http://play.dipdive.com/'+imid+'" type="application/x-shockwave-flash" allowFullScreen="true" width="540" height="360" /></object>';
ymv+='<img src="/accs/idc.pl?&id='+imid+'&ct=mv" hight=1 width=1>'

 frm.document.open();
 frm.document.write(ymv);
 frm.document.close();

}

//////////////////////////////////////
function screendispyt(imid){

if(!imid) return ;

ymv ='<object width="540" height="360"><param name="movie" value="http://www.youtube.com/'+imid+'"></param>';
ymv+='<param name="allowFullScreen" value="true"></param>';
ymv+='<param name="allowscriptaccess" value="always"></param>';
ymv+='<embed src="http://www.youtube.com/'+imid+'" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="540" height="360"></embed></object>';
ymv+='<img src="/accs/idc.pl?&id='+imid+'&ct=mv" hight=1 width=1>'

 frm.document.open();
 frm.document.write(ymv);
 frm.document.close();

}