iLoader = new Image(); iLoader.src=uds+'/tpl/pictures/ajax-loader.gif'; iLoader2 = new Image(); iLoader2.src=uds+'/tpl/pictures/bar-loader.gif';iLoader3 = new Image(); iLoader3.src=uds+'/tpl/pictures/ajax-loader_s.gif';



function x34581(caption,url){
var modal=document.getElementById('mdl');
modal.style.display="block";
var Hs = GetScrollHeight();
modal.style.top=Hs+20;
var pw=getPageWidth();
modal.style.left=(pw-640)/2;
modal.style.zIndex='150';
var mask=document.getElementById('mask');
mask.style.display="block";
mask.style.height=TotPgH();
var capt=document.getElementById('mdlcpt');
capt.innerHTML=caption;
var mdlbody=document.getElementById('pfmdlbody');
mdlbody.innerHTML='<center><iframe src ="'+url+'"width="630px" height="440px" frameborder="0"></iframe></center>';
}

function getPageHeight() { return document.height || document.body.offsetHeight; }
function getPageWidth() { return document.width || document.body.offsetWidth; }
function GetScrollHeight(){ var Hs=document.body.scrollTop; return Hs;}

function x34587(){
var modal=document.getElementById('mdl');
modal.style.display="none";
var mask=document.getElementById('mask');
mask.style.display="none";
//DoReload();
}

function TotPgH(){
var pageHeight;
if( window.innerHeight && window.scrollMaxY ) {
pageHeight = window.innerHeight + window.scrollMaxY;
}
else if(document.body.scrollHeight > document.body.offsetHeight )
{
pageHeight = document.body.scrollHeight;
}
else
{pageHeight = document.body.offsetHeight + document.body.offsetTop; }
return pageHeight;
}

function DoReload(){document.location.reload();}
