if (document.compatMode =='BackCompat')
{
docstandard=document.body;
}
else
{
docstandard=document.documentElement;
}
function getdim()
{
if (navigator.appName=="Netscape")
{
winheight = docstandard.scrollHeight;
winwidth = docstandard.scrollWidth;
}
else if (navigator.appName=="Microsoft Internet Explorer")
{
winheight = docstandard.scrollHeight;
winwidth = docstandard.scrollWidth;
}
}
function show()
{
x=docstandard.offsetWidth - 270;
y=-426;
//screenTop;
dd=0;
xx=x+'px';
yy=y+'px';
document.getElementById('layermva').style.top=yy;
document.getElementById('layermva').style.left=xx;
document.getElementById('layermva').style.display='';
}
function hide()
{
document.getElementById('layermva').style.display='none';
}
function disp()
{
document.getElementById('layermva').innerHTML='
';
document.getElementById('layermva').innerHTML=document.getElementById('layermva').innerHTML+' ';
}
function move()
{
if (navigator.appName=="Netscape")
{
winsize = innerHeight;
}
else if (navigator.appName=="Microsoft Internet Explorer")
{
winsize = docstandard.offsetHeight;
}
if (y < winsize - 426-30 && winsize -426-40 > 0 && y < 10)
{
y = y + 9;
}
if (docstandard.scrollTop == 0 && winsize -426-40 <= 0)
{
y=0;
}
if (docstandard.scrollTop != 0 || docstandard.scrollLeft != 0)
{
stop2 = 1;
}
if (stop2==1)
{
if (docstandard.scrollTop != 0)
{
if (winheight< docstandard.scrollTop)
document.getElementById('layermva').style.top=winheight-426-40+"px";
else
{
document.getElementById('layermva').style.top=y+docstandard.scrollTop+"px";
}
}
else
{
document.getElementById('layermva').style.top=y+"px";
}
if (docstandard.scrollLeft != 0)
{
if (winwidth< docstandard.scrollLeft +docstandard.offsetWidth)
document.getElementById('layermva').style.left=winwidth-270-30+"px";
else
{
document.getElementById('layermva').style.left=docstandard.scrollLeft+docstandard.offsetWidth-270-30+"px";
}
}
else
{
document.getElementById('layermva').style.left=docstandard.scrollLeft+docstandard.offsetWidth-270-30+"px";
}
stop2 = 0;
}
else
{
document.getElementById('layermva').style.top=y+docstandard.scrollTop+"px";
document.getElementById('layermva').style.left=docstandard.scrollLeft+docstandard.offsetWidth-270-30+"px";
}
setTimeout('move();',1);
}
function make()
{
disp();
getdim();
show();
stop2 = 0;
move();
}
document.write('');
setTimeout('make()',2000);