if ( typeof(AFR) == 'undefined' ) AFR = function() {};
function getBrowser()
{
var agent = navigator.userAgent.toLowerCase();
this.major = parseInt(navigator.appVersion);
this.minor = parseFloat(navigator.appVersion);
this.ns = ((agent.indexOf('mozilla') != -1) && (agent.indexOf('spoofer') == -1) && (agent.indexOf('compatible') == -1) && (agent.indexOf('opera') == -1) && (agent.indexOf('webtv') == -1));
this.ie = (agent.indexOf("msie") != -1);
this.ns4 = (this.ns && (this.major == 4));
this.ns6 = (this.ns && (this.major >= 5));
this.ie4 = (this.ie && (this.major == 4) && (agent.indexOf("msie 5.0") != -1));
this.ie5 = (this.ie && (this.major >= 4));
}
function iecompattest()
{
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
var myBody = iecompattest();
AFR.agent = new getBrowser();
document.write ("
");
document.write (" |
");
var AFRSW=840;
var AFRMO=10;
if(AFR.agent.ns)
{
AFRAW=parseInt(innerWidth)-20;
AFRAH=parseInt(innerHeight);
AFRAT=parseInt(myBody.scrollTop);
VISIB='show';
}
else if(AFR.agent.ie)
{
AFRAW=parseInt(myBody.clientWidth);
AFRAH=parseInt(myBody.clientHeight);
AFRAT=parseInt(myBody.scrollTop);
VISIB='visible';
}
function AFRLO(id,width,height,left,top,disp,visib)
{
if (AFR.agent.ie5 || AFR.agent.ns6)
{
this.obj = document.getElementById(id).style;
}
else if(AFR.agent.ie4)
{
this.obj = document.all[id].style;
}
else if(AFR.agent.ns4)
{
this.obj = document.layers[id];
}
if (width < 0) width = 10;
if (height < 0) height = 540;
this.obj.width = width + "px";
this.obj.height = height + "px";
this.obj.left = left + "px";
this.obj.top = top + "px";
this.obj.display = disp;
this.obj.visibility = visib;
}
AFRLO('rghtclmrklm',(AFRAW - AFRSW),(AFRAH - AFRMO),AFRSW,(AFRAT + 5),'inline',VISIB);
if(AFR.agent.ns)
{
addEventListener("resize", AFRHPC, false);
addEventListener("scroll", AFRHPC, false);
addEventListener("blur", AFRHPC, false);
}
else if(AFR.agent.ie)
{
window.attachEvent ("onresize", AFRHPC);
window.attachEvent ("onscroll", AFRHPC);
window.attachEvent ("onblur", AFRHPC);
}
if (AFRAW > AFRSW)
{
setTimeout ("AFRHPC();", 10);
html='';
document.write(html);
AFRHPC();
}
function AFRHPC()
{
if(AFR.agent.ns)
{
AFRAW=parseInt(innerWidth)-20;
AFRAH=parseInt(innerHeight);
AFRAT=parseInt(myBody.scrollTop);
VISIB='show';
}
else if(AFR.agent.ie)
{
AFRAW=parseInt(myBody.clientWidth);
AFRAH=parseInt(myBody.clientHeight);
AFRAT=parseInt(myBody.scrollTop);
VISIB='visible';
}
if (AFRAW > AFRSW)
{
AFRLO('rghtclmrklm',(AFRAW - AFRSW),(AFRAH - AFRMO),AFRSW,(AFRAT + 5),'inline',VISIB);
}
else
{
AFRLO('rghtclmrklm',1,1,1,1,'none','hidden');
}
}