var timer;var h;var w;var t=20;function initsize(width,height){w=width;h=height;}
function startAp(pa,popupHeight,popupWidth){h=popupHeight;w=popupWidth;setLeft(pa);showAp(pa);}
function hideAp(pa){if(document.getElementById(pa)){document.getElementById(pa).style.visibility='hidden';}}
function showAp(pa){state=typeof tPos;if(state=='undefined')tPos=h;if(tPos<t){tPos+25;if(document.getElementById(pa)){document.getElementById(pa).style.top=tPos+"px";}}
if(timer!=null)clearInterval(timer);timer=setTimeout("showAp('"+pa+"')",10);}
function getoPos(){if(document.layers)alert(document.layers.pa.top);else if(document.all)alert(document.all.pa.style.top);else if(document.getElementById)alert(document.getElementById("pa").style.top);}
function setLeft(pa){}