var i,j;
var neirong,bianhua;
var rootMenu;
var oldHTML;

neirong='neirong';
bianhua='bianhua';
bankuai=info.innerHTML;
rootMenu=root.innerHTML;

r1 = new Array();
r2 = new Array();

s1 = new Array();
s2 = new Array();
s3 = new Array();

s1 = bankuai.split("?");
r1 = rootMenu.split("|");

function pop1()
{
for(i=1;i<7;i++)
{

var lays;
lays="lays"+i;
r2=r1[i-1].split("$");

document.write("<td><table border=0 cellspacing=0 cellpadding=0 width=100%><tr align=center><td bgcolor='#A5B2BB' style='cursor:default;height:22;border-right:1 solid #FFFFFF;'>");
document.write("<div onmouseover='show("+lays+");' onmouseout=hidden("+lays+") style='cursor:default;height:22'><a href="+r2[1]+" class='wt'>"+r2[0]+"</a></div></td></tr><tr><td>");
document.write("<div id=lays"+i+"  onmouseover=show("+lays+") onmouseout=hidden("+lays+") style='HEIGHT: 80px;POSITION:absolute;visibility:hidden;filter:alpha(opacity=95,style=0);WIDTH: ")
if(i==6)
{document.write("184px;");}
else
if(i==5)
{document.write("112px;");}
else
if(i==4)
{document.write("137px;");}
else
if(i==3)
{document.write("145px;");}
else
if(i==2)
{document.write("138px;");}
else
{document.write("112px;");}
document.write("Z-INDEX: 0'>");
if(i!=1)
{
	document.write("<table border=0 cellspacing=0 cellpadding=0 width=100%><tr><td class='bdnotop'>");
}
else
{
	document.write("<table border=0 cellspacing=0 cellpadding=0 width=100%><tr><td>");
}
document.write("<table border=0 cellspacing=0 cellpadding=0 width=100%>");

s2=s1[i-1].split("|");

for(j=1;j<s2.length;j++)
{

s3=s2[j-1].split("$");
link=s3[1];
document.write("<tr><td class=neirong onmouseover='this.className=bianhua' onmouseout='this.className=neirong' onclick=document.location.href="+link+">"+s3[0]+"</td></tr>");
}
document.write("</table></td></tr></table></div></td></tr></table></td>");
}
}
function show(laysn)
{
var obj;
obj=laysn.style;
obj.visibility='visible';
}
function hidden(laysn)
{
var obj;
obj=laysn.style;
obj.visibility='hidden';
}

function ChangeAlpha(tdid)
{
objid=tdid;
//tdid.style.filter='alpha(opacity=20)';
tdid.style.cursor='default';
highlighting=setInterval("highlightit(objid)",25);
}	  

function highlightit(cur2){
if (cur2.filters.alpha.opacity>20)
cur2.filters.alpha.opacity-=5;
else if (window.highlighting)
clearInterval(highlighting);
}



function UnChangeAlpha(tdid)
{
clearInterval(highlighting);
tdid.filters.alpha.opacity=80;
//tdid.style.filter='alpha(opacity=100)';
tdid.style.cursor='default';
}

// Iframe scroll
function movstar(a,time){
movx=setInterval("mov("+a+")",time)
}
function movover(){
clearInterval(movx)
}
function mov(a){
scrollx=new_date.document.body.scrollLeft
scrolly=new_date.document.body.scrollTop
scrolly=scrolly+a
new_date.window.scroll(scrollx,scrolly)
}
function o_down(theobject){
object=theobject
while(object.filters.alpha.opacity>50){
object.filters.alpha.opacity+=-10}
}
function o_up(theobject){
object=theobject
while(object.filters.alpha.opacity<80){
object.filters.alpha.opacity+=10}
}
function wback(){
if(new_date.history.length==0){window.history.back()}
else{new_date.history.back()}
}
