function overlayopen(G,D){var F=whichBrs();
var C=(screen.width/2)-390;
var B=(screen.height/2)-320;
var E;
var A;
document.getElementById(G).style.left=C+"px";
document.getElementById(G).style.top=B+"px";
E=document.body.scrollWidth;
A=document.body.scrollHeight;
document.getElementById(D).style.height=A+"px";
if(F=="IE"){document.getElementById(D).style.width=E+"px";
document.getElementById(D).style.height=A+"px"
}if(F=="Firefox"){document.getElementById(D).style.height=A+"px";
document.getElementById(G).style.top=B-30+"px"
}document.getElementById(G).style.display="block";
document.getElementById(D).style.display="block"
}function overlayclose(B,A){document.getElementById(B).style.display="none";
document.getElementById(A).style.display="none"
}function whichBrs(){var A=navigator.userAgent.toLowerCase();
if(A.indexOf("opera")!=-1){return"Opera"
}if(A.indexOf("staroffice")!=-1){return"Star Office"
}if(A.indexOf("webtv")!=-1){return"WebTV"
}if(A.indexOf("beonex")!=-1){return"Beonex"
}if(A.indexOf("chimera")!=-1){return"Chimera"
}if(A.indexOf("netpositive")!=-1){return"NetPositive"
}if(A.indexOf("phoenix")!=-1){return"Phoenix"
}if(A.indexOf("firefox")!=-1){return"Firefox"
}if(A.indexOf("safari")!=-1){return"Safari"
}if(A.indexOf("skipstone")!=-1){return"SkipStone"
}if(A.indexOf("msie")!=-1){return"IE"
}if(A.indexOf("netscape")!=-1){return"Netscape"
}if(A.indexOf("mozilla/5.0")!=-1){return"Mozilla"
}if(A.indexOf("/")!=-1){if(A.substr(0,A.indexOf("/"))!="mozilla"){return navigator.userAgent.substr(0,A.indexOf("/"))
}else{return"Netscape"
}}else{if(A.indexOf(" ")!=-1){return navigator.userAgent.substr(0,A.indexOf(" "))
}else{return navigator.userAgent
}}}function AJAXInteraction(F,B,E){var C=D();
C.onreadystatechange=A;
function D(){if(window.XMLHttpRequest){return new XMLHttpRequest()
}else{if(window.ActiveXObject){return new ActiveXObject("Microsoft.XMLHTTP")
}}}function A(){if(C.readyState==4){if(C.status==200){if(E){if(document.getElementById(F)!=null){E(document.getElementById(F).innerHTML=C.responseText);
overlayopen("overlaycontents","blackoverlay")
}}}}}this.doGet=function(){C.open("GET",B,true);
C.send(null)
};
this.doPost=function(G){C.open("POST",B,true);
C.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
C.send(G)
}
}function makeRequest(B,C){B=B+"?"+Math.random();
var A=new AJAXInteraction(C,B,function(){});
A.doGet()
};