var curMenu;
//window.onerror=ee
window.name="mainwin"
function ee(){
return true;}
function sh(o){
if (window["curMenu"]){window["curMenu"].className = "xMenu"}
o.className = "xMenu xMenuO"
window["curMenu"] = o
}
function doSide(s){
tbl=document.getElementById("tbl"+s);img=document.getElementById("img"+s)
d=tbl.style.display
if (d=="none")
{d=""
img.src="/images/hide"+s+".gif"
w=126}
else {d="none"
img.src="/images/show"+s+".gif"
w=10}
img.width=w
tbl.style.display=d
}
function lw(l,w){
if (!w)
{w=window;w.location=l}
else{w.location.replace(l)}
}
function sm(i){
hdAll()
m=document.all['m0' + i]
l=document.all['L' + i]
p=m.parentElement.offsetLeft + document.all['aaa'].offsetLeft+10
w = parseInt(m.offsetWidth)
ow = parseInt(l.width)
if(ow>w){w=ow}
l.style.left = p+1-12
l.style.top = 101
l.style.width=w+2
if(i==1){l.style.left = p+1-12-ow+parseInt(m.offsetWidth)}
l.style.display = "";
}
function roll(n){
if(document.getElementById(n).style.display=="none"){
return rollIt(n,false)
}
else{return rollIt(n,true)}
}
function rollIt(n,up){
if(up){d="none";s="/images/rollDown.gif";a="Roll Down";r=true}
else{d="";s="/images/rollUp.gif";a="Roll Up";r=false}
document.getElementById(n).style.display=d
document.getElementById(n + "Roll").src=s
document.getElementById(n + "Roll").alt=a
return r
}
function hdAll(f){
if(window["curMenu"]) window["curMenu"].className = "xMenu"
for (j = 1 ; j<8; j++)
document.all['L' + j].style.left = -400;}
function popWin(wPage,wName,wParam){
w = window.open(wPage, wName,wParam);
w.focus()
}
//popWin()
function SetCookie(sName, sValue,d){
if(d)
{e="expires=Sat, 1 Dec 2001 23:59:59 UTC;"}
else
{e="expires=Sat, 1 Dec 2001 23:59:59 UTC;"}
document.cookie = sName + "=" + escape(sValue) + "; " + e
}
function GetCookie(sName)
{
var aCookie = document.cookie.split("; ");
for (var i=0; i < aCookie.length; i++)
{
var aCrumb = aCookie[i].split("=");
if (sName == aCrumb[0])
return unescape(aCrumb[1]);
}
return null;
}
//SetCookie("UserName", "Ashraf")
//alert(GetCookie("Password"))