function getWidth(){return document.compatMode=='CSS1Compat' && !window.opera?document.documentElement.clientWidth:document.body.clientWidth};
function getHeight(){return document.compatMode=='CSS1Compat' && !window.opera?document.documentElement.clientHeight:document.body.clientHeight};
function new_win(u,w,h,s,t){if(t==null||t==""||t==" "){t='-'};w=w+40;h=h+70;var x=(getWidth()-w)/2;if(x<0){x=0}
w1=window.open('nw.php?t='+encodeURIComponent(t)+'&u='+u,'_blank','menubar=0,status=0,width='+w+',height='+h+',top=20,left='+x);w1.focus()};

function Y_swpImg(){var a=Y_swpImg.arguments;y=document.getElementById(a[0]);s=a[1];setTimeout('y.src=s',15);}
function Y_nf(o,f){document.getElementById(o+'_f').style.display=(f)?'block':'none'}
function Y_ct(i,f){o=document.getElementById(i);if(f!=null&&f!=''){Y_nf(i,1);o.firstChild.nodeValue=(f);} else Y_nf(i,0);}
function Y_swpTxt(){var a=Y_swpTxt.arguments;for(i=0;i<a.length;i+=2)Y_ct(a[i],a[i+1]);}


function Y_preload(){if (!document.forms.plform) return false;
//document.forms.plform.plinput.value
}

function MM_preloadImages(){var d=document; if(d.images){if(!d.MM_p)d.MM_p=new Array();var i,j=d.MM_p.length,a=MM_preloadImages.arguments;for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){d.MM_p[j]=new Image;d.MM_p[j++].src=a[i];}}}
