if(window.location.href.indexOf('artdhtml.com')<0 && window.location.href.indexOf('alexey')<0){window.location.href="http://artdhtml.com/menu/"}
key_menu=""
ns=document.layers?1:0
ie=document.all?1:0
ns6=document.getElementById&&!document.all?1:0
if (navigator.userAgent.indexOf("Opera") > -1)
{
    ns = 0;
    ie = 0;
    ns6 = 1;
}
hideName=(ns ? 'hide' : 'hidden');
showName=(ns ? 'show' : 'visible');
y0=x0=hei=f_size=k_wid=wid_left=fam=gro=bodyColor=actColor=borderLight=borderDark=col1=col2=tab_up1=tab_up2=tab_dow1=tab_dow2=x=y=trLight=trDark=zIdx=tim=txts=""
click_m=0
k_h=0
k_w=0

function obj(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21)
{
this.p0=a0
this.p1=a1
this.p2=a2
this.p3=a3
this.p4=a4
this.p5=a5
this.p6=a6
this.p7=a7
this.p8=a8
this.p9=a9
this.p10=a10
this.p11=a11
this.p12=a12
this.p13=a13
this.p14=a14
this.p15=a15
this.p16=a16
this.p17=a17
this.p18=a18
this.p19=a19
this.p20=a20
this.p21=a21
this.length=leng(this)
return this
}

function leng(obj_this)
{
for (nom_p=0;nom_p<22;nom_p++){if (!obj_this["p"+nom_p]){return nom_p}}
}
function get_var()
{
props=menu.p0.split("^^")[1].split("^+^")
y0=props[0]*1+.01
x0=props[1]*1+.01
hei=props[2]*1
f_size=props[3]*1
k_wid=props[4]*1
wid_left=props[5]*1
fam=gro=props[6]
bodyColor="#"+props[7]
actColor="#"+props[8]
borderLight="#"+props[9]
borderDark="#"+props[10]
col1="#"+props[11]
col2="#"+props[12]
box_=props[13]
sty="<style>.menu {font-family:"+fam+"; font-size:"+f_size+"px; fontfamily:"+fam+"; fontsize:"+f_size+"px; cursor:hand}</style>"
document.write(sty)
}

function genLayer(sName, sLeft, sTop, sWdh, sHgt, sVis, sBg, copy, sEvent) {
	if (ns) {document.write('<LAYER '+((sName)?' NAME='+sName:"")+((sEvent)?' '+sEvent:"")+((sLeft)?' left='+sLeft:"")+((sTop)?' top='+sTop:"")+((sWdh)?' width='+sWdh:"")+((sHgt)?' height='+sHgt:"")+ ((sVis)?' visibility='+sVis:"")+((sBg)?' bgColor='+sBg:"")+' z-Index='+zIdx+'>'+((copy)?copy:"")+'</LAYER>')}
	if (ns6){document.write('<DIV '+((sName)?' id='+sName:"")+((sEvent)?' '+sEvent:"")+' STYLE="position:absolute;' +((sLeft)?'left:'+sLeft+';':'')+((sTop)?'top:'+sTop+';':'')+((sLeft)?'left:'+sLeft+';':'')+((sWdh)?'width:'+sWdh+';':'')+((sHgt)?'height:'+sHgt+';':'')+((sVis)?'visibility:'+sVis+';':'')+((sBg)?'background:'+sBg+';':'')+';z-index:'+zIdx+'">'+((copy)?copy:"")+'</DIV>')}
	if (ie) {document.write('<DIV '+((sName)?' id='+sName:"")+((sEvent)?' '+sEvent:"")+' STYLE="position:absolute;' +((sLeft)?'left:'+sLeft+';':'')+((sTop)?'top:'+sTop+';':'')+((sLeft)?'left:'+sLeft+';':'')+((sWdh)?'width:'+sWdh+';':'')+((sHgt)?'height:'+sHgt+';':'')+((sVis)?'visibility:'+sVis+';':'')+((sBg)?'background:'+sBg+';':'')+';z-index:'+zIdx+'">'+((copy)?copy:"")+'</DIV>')}
}

function colSlide(name,newCol) {
	if (ns){refSlide(name).bgColor=newCol}
	if (ns6){refSlide(name).background=newCol}
	if (ie){refSlide(name).background=newCol}
	}

function hideSlide(name) {
	refSlide(name).visibility = hideName;
}

function showSlide(name) {
	refSlide(name).visibility = showName;
}

function refSlide(name) {
	if (ns) {return document.layers[name]}
	if (ie) {return document.all[name].style}
	if (ns6) {return document.getElementById(name).style}
}

function moveSlide(name,sLeft, sTop) {
	refSlide(name).left=sLeft ; refSlide(name).top=sTop ;
}

function sizeSlide(name,sWdh, sHgt) {
	if (ns){refSlide(name).clip.width=sWdh; refSlide(name).clip.height=sHgt}
	if (ns6){refSlide(name).width=sWdh; refSlide(name).height=sHgt}
	if (ie){refSlide(name).width=sWdh; refSlide(name).height=sHgt}
}

function name_sub(obj_this)
{
if(obj_this["p0"]){return obj_this["p0"].split("^^")[0]}
return obj_this.split("^^")[0]
}

function link_sub(obj_this)
{
if(obj_this["p0"]){if (obj_this["p0"].split("^^")[1]){return obj_this["p0"].split("^^")[1]}else{return ""}}
if (obj_this.split("^^")[1]){return obj_this.split("^^")[1]}else{return ""}
}

function alt_sub(obj_this)
{
if(obj_this["p0"]){if (obj_this["p0"].split("^^")[2]){return obj_this["p0"].split("^^")[2]}else{return ""}}
if (obj_this.split("^^")[2]){return obj_this.split("^^")[2]}else{return ""}
}

function html_sub(obj_this)
{
if(obj_this["p0"]){if (obj_this["p0"].split("^^")[3]){return obj_this["p0"].split("^^")[3]}else{return ""}}
if (obj_this.split("^^")[3]){return obj_this.split("^^")[3]}else{return ""}
}

function typ_sub(obj_this)
{
if(obj_this["p0"]){return "o"}
if (obj_this.split("^^")[0]=="----"){return "r"}
return "f"
}

function gen_submenu(n,x,y)
{
wid=0
for (j=1;j<menu["p"+n].length;j++){name1=name_sub(menu["p"+n]["p"+j])+"";if(wid<name1.length){wid=name1.length}}
wid=(wid)*k_wid+2+wid_left*2
for (j=1;j<menu["p"+n].length;j++)
 {
 typ=typ_sub(menu["p"+n]["p"+j])
 if (typ=="r"){
	zIdx=11
	genLayer("subm"+n+"_"+j, x, y, wid, 2, hideName, bodyColor, "<table  width="+wid+" cellpadding=0 cellspacing=0 border=0><tr><td width=1 bgcolor="+borderLight+"><img border=0 src="+img1+"></td><td bgcolor="+col1+" width="+(wid-2)+"><img border=0 src="+img1+"></td><td width=1 bgcolor="+borderDark+"><img border=0 src="+img1+"></td></tr><tr><td width=1 bgcolor="+borderLight+"><img border=0 src="+img1+"></td><td bgcolor="+col2+" width="+(wid-2)+"><img border=0 src="+img1+"></td><td width=1 bgcolor="+borderDark+"><img border=0 src="+img1+"></td></tr></table>","")
	genLayer("submo"+n+"_"+j, x, y, wid, 2, hideName, "", "<a href='_' onclick='return false;' onmouseout=out_fn_sub('"+n+"','"+j+"','','','','"+typ+"') onmouseover=over_fn_sub('"+n+"','"+j+"','','','','"+typ+"')><img border=0 src="+img1+" width=100% height=100%></a>","")
	y+=2
	}
 else{
	simb=img1
	if (typ=="o"){simb=img2;gen_submenu2(n,j,x+wid,y)}
	name1=name_sub(menu["p"+n]["p"+j]).replace(" ","&nbsp;")
	link1=link_sub(menu["p"+n]["p"+j])
	html1=html_sub(menu["p"+n]["p"+j])
	tx="<table width="+wid+" height="+hei+" cellpadding=0 cellspacing=0 border=0>"+(j==1?trLight:"")+"<tr><td width=1 bgcolor="+borderLight+"><img border=0 src="+img1+"></td><td><img src="+img1+" width="+wid_left+"></td><td width="+(wid-2-2*wid_left)+">"+(link1?"<a href="+link1+" CLASS='menu'>":"<p CLASS='menu'>")+name1+html1+(link1?"</a>":"</p>")+"</td><td><img src="+simb+" width="+wid_left+"></td><td width=1 bgcolor="+borderDark+"><img border=0 src="+img1+"></td></tr>"+(j==menu["p"+n].length-1?trDark:"")+"</table>"
	zIdx=11
	genLayer("subm"+n+"_"+j, x, y, wid, hei, hideName, bodyColor, tx,"")
	genLayer("submo"+n+"_"+j, x, y, wid, hei, hideName, "","<a href="+(link1?link1:"'' onclick='return false'")+" onmouseout=out_fn_sub('"+n+"','"+j+"','','','','"+typ+"');colSlide('subm"+n+"_"+j+"','"+bodyColor+"') onmouseover=over_fn_sub('"+n+"','"+j+"','','','','"+typ+"');colSlide('subm"+n+"_"+j+"','"+actColor+"')><img border=0 src="+img1+" width=100% height=100%></a>","")
	y+=hei
	}
 }
}




function gen_submenu2(n_2,n1_2,x2,y2)
{
x2-=2
wid2=0
for (j2=1;j2<menu["p"+n_2]["p"+n1_2].length;j2++){name2=name_sub(menu["p"+n_2]["p"+n1_2]["p"+j2]);if(wid2<name2.length){wid2=name2.length}}
wid2=wid2*k_wid+2+wid_left*2
for (j2=1;j2<menu["p"+n_2]["p"+n1_2].length;j2++)
 {
 typ2=typ_sub(menu["p"+n_2]["p"+n1_2]["p"+j2])
 if (typ2=="r"){
	zIdx=12
	genLayer("subm"+n_2+"_"+n1_2+"_"+j2, x2, y2, wid2, 2, hideName, bodyColor, "<table  width="+wid2+" cellpadding=0 cellspacing=0 border=0><tr><td width=1 bgcolor="+borderLight+"><img border=0 src="+img1+"></td><td bgcolor="+col1+" width="+(wid2-2)+"><img border=0 src="+img1+"></td><td width=1 bgcolor="+borderDark+"><img border=0 src="+img1+"></td></tr><tr><td width=1 bgcolor="+borderLight+"><img border=0 src="+img1+"></td><td bgcolor="+col2+" width="+(wid2-2)+"><img border=0 src="+img1+"></td><td width=1 bgcolor="+borderDark+"><img border=0 src="+img1+"></td></tr></table>","")
	genLayer("submo"+n_2+"_"+n1_2+"_"+j2, x2, y2, wid2, 2, hideName, "", "<a href='_' onclick='return false;' onmouseout=out_fn_sub('"+n_2+"','"+n1_2+"','"+j2+"','','','"+typ2+"') onmouseover=over_fn_sub('"+n_2+"','"+n1_2+"','"+j2+"','','','"+typ2+"')><img border=0 src="+img1+" width=100% height=100%></a>","")
	y2+=2
	} 
 else{
	simb2=img1
	if (typ2=="o"){simb2=img2;gen_submenu3(n_2,n1_2,j2,x2+wid2,y2)}
	name2=name_sub(menu["p"+n_2]["p"+n1_2]["p"+j2]).replace(" ","&nbsp;")
 	link2=link_sub(menu["p"+n_2]["p"+n1_2]["p"+j2])
	html2=html_sub(menu["p"+n_2]["p"+n1_2]["p"+j2])
	tx2="<table width="+wid2+" height="+hei+" cellpadding=0 cellspacing=0 border=0>"+(j2==1?trLight:"")+"<tr><td width=1 bgcolor="+borderLight+"><img border=0 src="+img1+"></td><td><img src="+img1+" width="+wid_left+"></td><td width="+(wid2-2-2*wid_left)+">"+(link2?"<a href="+link2+" CLASS='menu'>":"<p CLASS='menu'>")+name2+html2+(link2?"</a>":"</p>")+"</td><td><img src="+simb2+" width="+wid_left+"></td><td width=1 bgcolor="+borderDark+"><img border=0 src="+img1+"></td></tr>"+(j2==menu["p"+n_2]["p"+n1_2].length-1?trDark:"")+"</table>"
	zIdx=12
	genLayer("subm"+n_2+"_"+n1_2+"_"+j2, x2, y2, wid2, hei, hideName, bodyColor, tx2,"")
	genLayer("submo"+n_2+"_"+n1_2+"_"+j2, x2, y2, wid2, hei, hideName, "","<a href="+(link2?link2:"'' onclick='return false'")+" onmouseout=out_fn_sub('"+n_2+"','"+n1_2+"','"+j2+"','','','"+typ2+"');colSlide('subm"+n_2+"_"+n1_2+"_"+j2+"','"+bodyColor+"') onmouseover=over_fn_sub('"+n_2+"','"+n1_2+"','"+j2+"','','','"+typ2+"');colSlide('subm"+n_2+"_"+n1_2+"_"+j2+"','"+actColor+"')><img border=0 src="+img1+" width=100% height=100%></a>","")
	y2+=hei
	}
 }
}

function gen_submenu3(n_3,n1_3,n2_3,x3,y3)
{
x3-=2
wid3=0
for (j3=1;j3<menu["p"+n_3]["p"+n1_3]["p"+n2_3].length;j3++){name3=name_sub(menu["p"+n_3]["p"+n1_3]["p"+n2_3]["p"+j3]);if(wid3<name3.length){wid3=name3.length}}
wid3=wid3*k_wid+2+wid_left*2
for (j3=1;j3<menu["p"+n_3]["p"+n1_3]["p"+n2_3].length;j3++)
 {
 typ3=typ_sub(menu["p"+n_3]["p"+n1_3]["p"+n2_3]["p"+j3])
 if (typ3=="r"){
 	zIdx=13
	genLayer("subm"+n_3+"_"+n1_3+"_"+n2_3+"_"+j3, x3, y3, wid3, 2, hideName, bodyColor, "<table  width="+wid3+" cellpadding=0 cellspacing=0 border=0><tr><td width=1 bgcolor="+borderLight+"><img border=0 src="+img1+"></td><td bgcolor="+col1+" width="+(wid3-2)+"><img border=0 src="+img1+"></td><td width=1 bgcolor="+borderDark+"><img border=0 src="+img1+"></td></tr><tr><td width=1 bgcolor="+borderLight+"><img border=0 src="+img1+"></td><td bgcolor="+col2+" width="+(wid3-2)+"><img border=0 src="+img1+"></td><td width=1 bgcolor="+borderDark+"><img border=0 src="+img1+"></td></tr></table>","")
	genLayer("submo"+n_3+"_"+n1_3+"_"+n2_3+"_"+j3, x3, y3, wid3, 2, hideName, "", "<a href='_' onclick='return false;' onmouseout=out_fn_sub('"+n_3+"','"+n1_3+"','"+n2_3+"','"+j3+"','','"+typ3+"') onmouseover=over_fn_sub('"+n_3+"','"+n1_3+"','"+n2_3+"','"+j3+"','','"+typ3+"')><img border=0 src="+img1+" width=100% height=100%></a>","")
	y3+=2
	} 
 else{
	simb3=img1
	if (typ3=="o"){simb3=img2;gen_submenu4(n_3,n1_3,n2_3,j3,x3+wid3,y3)}
	name3=name_sub(menu["p"+n_3]["p"+n1_3]["p"+n2_3]["p"+j3]).replace(" ","&nbsp;")
	link3=link_sub(menu["p"+n_3]["p"+n1_3]["p"+n2_3]["p"+j3])
	html3=html_sub(menu["p"+n_3]["p"+n1_3]["p"+n2_3]["p"+j3])
	tx3="<table width="+wid3+" height="+hei+" cellpadding=0 cellspacing=0 border=0>"+(j3==1?trLight:"")+"<tr><td width=1 bgcolor="+borderLight+"><img border=0 src="+img1+"></td><td><img src="+img1+" width="+wid_left+"></td><td width="+(wid3-2-2*wid_left)+">"+(link3?"<a href="+link3+" CLASS='menu'>":"<p CLASS='menu'>")+name3+html3+(link3?"</a>":"</p>")+"</td><td><img src="+simb3+" width="+wid_left+"></td><td width=1 bgcolor="+borderDark+"><img border=0 src="+img1+"></td></tr>"+(j3==menu["p"+n_3]["p"+n1_3]["p"+n2_3].length-1?trDark:"")+"</table>"
	zIdx=13
	genLayer("subm"+n_3+"_"+n1_3+"_"+n2_3+"_"+j3, x3, y3, wid3, hei, hideName, bodyColor, tx3,"")
	genLayer("submo"+n_3+"_"+n1_3+"_"+n2_3+"_"+j3, x3, y3, wid3, hei, hideName, "","<a href="+(link3?link3:"'' onclick='return false'")+"  onmouseout=out_fn_sub('"+n_3+"','"+n1_3+"','"+n2_3+"','"+j3+"','','"+typ3+"');colSlide('subm"+n_3+"_"+n1_3+"_"+n2_3+"_"+j3+"','"+bodyColor+"') onmouseover=over_fn_sub('"+n_3+"','"+n1_3+"','"+n2_3+"','"+j3+"','','"+typ3+"');colSlide('subm"+n_3+"_"+n1_3+"_"+n2_3+"_"+j3+"','"+actColor+"')><img border=0 src="+img1+" width=100% height=100%></a>","")
	y3+=hei
	}
 }
}

function gen_submenu4(n_4,n1_4,n2_4,n3_4,x4,y4)
{
x4-=2
wid4=0
for (j4=1;j4<menu["p"+n_4]["p"+n1_4]["p"+n2_4]["p"+n3_4].length;j4++){name4=name_sub(menu["p"+n_4]["p"+n1_4]["p"+n2_4]["p"+n3_4]["p"+j4]);if(wid4<name4.length){wid4=name4.length}}
wid4=wid4*k_wid+2+wid_left*2
for (j4=1;j4<menu["p"+n_4]["p"+n1_4]["p"+n2_4]["p"+n3_4].length;j4++)
 {
 typ4=typ_sub(menu["p"+n_4]["p"+n1_4]["p"+n2_4]["p"+n3_4]["p"+j4])
 if (typ4=="r"){
	zIdx=14
	genLayer("subm"+n_4+"_"+n1_4+"_"+n2_4+"_"+n3_4+"_"+j4, x4, y4, wid4, 2, hideName, bodyColor, "<table  width="+wid4+" cellpadding=0 cellspacing=0 border=0><tr><td width=1 bgcolor="+borderLight+"><img border=0 src="+img1+"></td><td bgcolor="+col1+" width="+(wid4-2)+"><img border=0 src="+img1+"></td><td width=1 bgcolor="+borderDark+"><img border=0 src="+img1+"></td></tr><tr><td width=1 bgcolor="+borderLight+"><img border=0 src="+img1+"></td><td bgcolor="+col2+" width="+(wid4-2)+"><img border=0 src="+img1+"></td><td width=1 bgcolor="+borderDark+"><img border=0 src="+img1+"></td></tr></table>","")
	genLayer("submo"+n_4+"_"+n1_4+"_"+n2_4+"_"+n3_4+"_"+j4, x4, y4, wid4, 2, hideName, "", "<a href='_' onclick='return false;' onmouseout=out_fn_sub('"+n_4+"','"+n1_4+"','"+n2_4+"','"+n3_4+"','"+j4+"','"+typ4+"') onmouseover=over_fn_sub('"+n_4+"','"+n1_4+"','"+n2_4+"','"+n3_4+"','"+j4+"','"+typ4+"')><img border=0 src="+img1+" width=100% height=100%></a>","")
	y4+=2
	}
 else{
	simb4=img1
	name4=name_sub(menu["p"+n_4]["p"+n1_4]["p"+n2_4]["p"+n3_4]["p"+j4]).replace(" ","&nbsp;")
 	link4=link_sub(menu["p"+n_4]["p"+n1_4]["p"+n2_4]["p"+n3_4]["p"+j4])
 	html4=html_sub(menu["p"+n_4]["p"+n1_4]["p"+n2_4]["p"+n3_4]["p"+j4])
	tx4="<table width="+wid4+" height="+hei+" cellpadding=0 cellspacing=0 border=0>"+(j4==1?trLight:"")+"<tr><td width=1 bgcolor="+borderLight+"><img border=0 src="+img1+"></td><td><img src="+img1+" width="+wid_left+"></td><td width="+(wid4-2-2*wid_left)+">"+(link4?"<a href="+link4+" CLASS='menu'>":"<p CLASS='menu'>")+name4+html4+(link4?"</a>":"</p>")+"</td><td><img src="+simb4+" width="+wid_left+"></td><td width=1 bgcolor="+borderDark+"><img border=0 src="+img1+"></td></tr>"+(j4==menu["p"+n_4]["p"+n1_4]["p"+n2_4]["p"+n3_4].length-1?trDark:"")+"</table>"
	zIdx=14
	genLayer("subm"+n_4+"_"+n1_4+"_"+n2_4+"_"+n3_4+"_"+j4, x4, y4, wid4, hei, hideName, bodyColor, tx4,"")
	genLayer("submo"+n_4+"_"+n1_4+"_"+n2_4+"_"+n3_4+"_"+j4, x4, y4, wid4, hei, hideName, "","<a href="+(link4?link4:"'' onclick='return false'")+" onmouseout=out_fn_sub('"+n_4+"','"+n1_4+"','"+n2_4+"','"+n3_4+"','"+j4+"','"+typ4+"');colSlide('subm"+n_4+"_"+n1_4+"_"+n2_4+"_"+n3_4+"_"+j4+"','"+bodyColor+"') onmouseover=over_fn_sub('"+n_4+"','"+n1_4+"','"+n2_4+"','"+n3_4+"','"+j4+"','"+typ4+"');colSlide('subm"+n_4+"_"+n1_4+"_"+n2_4+"_"+n3_4+"_"+j4+"','"+actColor+"')><img border=0 src="+img1+" width=100% height=100%></a>","")
	y4+=hei
	}
 }
}	

function out_fn_sub(n,n1,n2,n3,n4,typ)
{
st("","","","","")
if(n4){lay_out(n,n1,n2,n3);return}
if(n3){if (typ=="o"){lay_out(n,n1,n2,n3)}else{lay_out(n,n1,n2,"")};return}
if(n2){if (typ=="o"){lay_out(n,n1,n2,"")}else{lay_out(n,n1,"","")};return}
if(n1){if (typ=="o"){lay_out(n,n1,"","")}else{lay_out(n,"","","")};return}
if(n){if (typ=="o"){lay_out(n,"","","")}else{lay_out("","","","")};return}
}

function over_fn_sub(n,n1,n2,n3,n4,typ)
{

st(n,n1,n2,n3,n4)
if(n4){lay_over(n,n1,n2,n3);return}
if(n3){if (typ=="o"){lay_over(n,n1,n2,n3)}else{lay_over(n,n1,n2,"")};return}
if(n2){if (typ=="o"){lay_over(n,n1,n2,"")}else{lay_over(n,n1,"","")};return}
if(n1){if (typ=="o"){lay_over(n,n1,"","")}else{lay_over(n,"","","")};return}
if(n){if (typ=="o"){lay_over(n,"","","")}else{lay_over("","","","")};return}
}

act=new Array('','','','')
pas=new Array('','','','')

function lay_over(n,n1,n2,n3)
{

act[0]=n
act[1]=n1
act[2]=n2
act[3]=n3
lay_show()
}

function lay_out(l,l1,l2,l3)
{
pas[0]=l
pas[1]=l1
pas[2]=l2
pas[3]=l3
act[0]=""
act[1]=""
act[2]=""
act[3]=""
tim=window.setTimeout("lay_show()",400)
}

function lay_show()
{

if(tim){clearTimeout(tim)}
if(pas[0]!=act[0]){if(pas[0]){hideSlide("up_"+pas[0]);hideSlide("dow_"+pas[0]);for (j=1;j<menu["p"+pas[0]].length;j++){hideSlide("subm"+pas[0]+"_"+j);hideSlide("submo"+pas[0]+"_"+j)}};if(act[0]){if (click_m==1){showSlide("dow_"+act[0]);for (j=1;j<menu["p"+act[0]].length;j++){showSlide("subm"+act[0]+"_"+j);showSlide("submo"+act[0]+"_"+j)}}else{showSlide("up_"+act[0])}}}
if(pas[1]!=act[1]){if(pas[1]){for (j=1;j<menu["p"+pas[0]]["p"+pas[1]].length;j++){hideSlide("subm"+pas[0]+"_"+pas[1]+"_"+j);hideSlide("submo"+pas[0]+"_"+pas[1]+"_"+j)}};if(act[1]){for (j=1;j<menu["p"+act[0]]["p"+act[1]].length;j++){showSlide("subm"+act[0]+"_"+act[1]+"_"+j);showSlide("submo"+act[0]+"_"+act[1]+"_"+j)}}}
if(pas[2]!=act[2]){if(pas[2]){for (j=1;j<menu["p"+pas[0]]["p"+pas[1]]["p"+pas[2]].length;j++){hideSlide("subm"+pas[0]+"_"+pas[1]+"_"+pas[2]+"_"+j);hideSlide("submo"+pas[0]+"_"+pas[1]+"_"+pas[2]+"_"+j)}};if(act[2]){for (j=1;j<menu["p"+act[0]]["p"+act[1]]["p"+act[2]].length;j++){showSlide("subm"+act[0]+"_"+act[1]+"_"+act[2]+"_"+j);showSlide("submo"+act[0]+"_"+act[1]+"_"+act[2]+"_"+j)}}}
if(pas[3]!=act[3]){if(pas[3]){for (j=1;j<menu["p"+pas[0]]["p"+pas[1]]["p"+pas[2]]["p"+pas[3]].length;j++){hideSlide("subm"+pas[0]+"_"+pas[1]+"_"+pas[2]+"_"+pas[3]+"_"+j);hideSlide("submo"+pas[0]+"_"+pas[1]+"_"+pas[2]+"_"+pas[3]+"_"+j)}};if(act[3]){for (j=1;j<menu["p"+act[0]]["p"+act[1]]["p"+act[2]]["p"+act[3]].length;j++){showSlide("subm"+act[0]+"_"+act[1]+"_"+act[2]+"_"+act[3]+"_"+j);showSlide("submo"+act[0]+"_"+act[1]+"_"+act[2]+"_"+act[3]+"_"+j)}}}
pas[0]=""
pas[1]=""
pas[2]=""
pas[3]=""

}

function cl_fn(n)
{
if (click_m==0)
	{
	click_m=1
	showSlide("dow_"+n)
	for (j=1;j<menu["p"+n].length;j++){showSlide("subm"+n+"_"+j);showSlide("submo"+n+"_"+j)}
	}
else{
	click_m=0
	hideSlide("dow_"+n)
	showSlide("up_"+n)
	for (j=1;j<menu["p"+n].length;j++){hideSlide("subm"+n+"_"+j);hideSlide("submo"+n+"_"+j)}
	}
}

function st(n,n1,n2,n3,n4)
{
txts=""
if(n){txts=alt_sub(menu["p"+n])}
if(n1){txts=alt_sub(menu["p"+n]["p"+n1])}
if(n2){txts=alt_sub(menu["p"+n]["p"+n1]["p"+n2])}
if(n3){txts=alt_sub(menu["p"+n]["p"+n1]["p"+n2]["p"+n3])}
if(n4){txts=alt_sub(menu["p"+n]["p"+n1]["p"+n2]["p"+n3]["p"+n4])}
timst=window.setTimeout("st2()",10)
}

function st2()
{window.status=txts}
//document.write ("<script src=menu.js></script>")
function start_m()
{
menu["p"+menu.length]=new obj("spon"+"sors^^^^^^","Web De"+"signing and programming^^http://artdhtml.com/ target='_blank'^^Art DHTML studio - Web Designing and programming. DHTML and Java Scripts.^^",new obj("E-Products^^http://artdhtml.com/search/ target='_blank'^^^^","Business to Business^^http://artdhtml.com/search/catalog.asp?words=-%20Business%20to%20Business%20- target='_blank'^^^^","Computing & Internet^^http://artdhtml.com/search/catalog.asp?words=-%20Computing%20and%20Internet%20- target='_blank'^^^^","Fun & Entertainment^^http://artdhtml.com/search/catalog.asp?words=-%20Fun%20and%20Entertainment%20- target='_blank'^^^^","Health & Fitness^^http://artdhtml.com/search/catalog.asp?words=-%20Health%20and%20Fitness%20- target='_blank'^^^^","Home & Family^^http://artdhtml.com/search/catalog.asp?words=-%20Home%20and%20Family%20- target='_blank'^^^^","Marketing & Ads^^http://artdhtml.com/search/catalog.asp?words=-%20Marketing%20and%20Ads%20- target='_blank'^^^^","Money & Employment^^http://artdhtml.com/search/catalog.asp?words=-%20Money%20and%20Employment%20- target='_blank'^^^^","Society & Culture^^http://artdhtml.com/search/catalog.asp?words=-%20Society%20and%20Culture%20- target='_blank'^^^^","Sports & Recreation^^http://artdhtml.com/search/catalog.asp?words=-%20Sports%20and%20Recreation%20- target='_blank'^^^^"))
menu.length=menu.length+1
get_var()

tab_up1="<table border=0 width=100% height=100% cellspacing=0 cellpadding=0><tr><td rowspan=2 bgcolor="+borderLight+"><img border=0 src="+img1+"></td><td bgcolor="+borderLight+"><img border=0 src="+img1+"></td><td rowspan=2 bgcolor="+borderDark+"><img border=0 src="+img1+"></td></tr><tr><td>"
tab_up2="</td></tr><tr><td colspan=3 bgcolor="+borderDark+"><img border=0 src="+img1+"></td></tr></table>"
tab_dow1="<table border=0 width=100% height=100% cellspacing=0 cellpadding=0><tr><td rowspan=2 bgcolor="+borderDark+"><img border=0 src="+img1+"></td><td bgcolor="+borderDark+"><img border=0 src="+img1+"></td><td rowspan=2 bgcolor="+borderLight+"><img border=0 src="+img1+"></td></tr><tr><td>"
tab_dow2="</td></tr><tr><td colspan=3 bgcolor="+borderLight+"><img border=0 src="+img1+"></td></tr></table>"
//if(ie){start_m1()}
x=x0
y=y0
trLight="<tr><td colspan=5 bgcolor="+borderLight+"><img border=0 src="+img1+"></td></tr>"
trDark="<tr><td colspan=5 bgcolor="+borderDark+"><img border=0 src="+img1+"></td></tr>"
zIdx=10

if(box_=="y"){
wid=(ie)?window.document.body.clientWidth:window.innerWidth-3
if(ie){genLayer("o", 1, y-3, wid, hei+6, showName, bodyColor,"<table border=1 width=100% height=100% cellspacing=0 cellpadding=0><tr><td><img border=0 src="+img1+"></td></tr></table>","")}
if(ns6){genLayer("o", 1, y-2, wid, hei+6, showName, bodyColor,"<table border=1 width=100% height=100% cellspacing=0 cellpadding=0><tr><td><img border=0 src="+img1+"></td></tr></table>","")}
if(ns){genLayer("o", 1, y-2, wid, hei+6, showName, bodyColor,"<table border=1 width=100% height=100% cellspacing=0 cellpadding=0><tr><td><img border=0 src="+img1+"></td></tr></table>","")}
}

for (j=1;j<menu.length;j++)
{
name0=name_sub(menu["p"+j].p0)
link0=link_sub(menu["p"+j].p0)
alt0=alt_sub(menu["p"+j].p0)
html0=html_sub(menu["p"+j].p0)
tx=""
	wid=(name0.length+2)*k_wid
	if(box_!="y"){genLayer("", x, y, wid+2, hei+2, showName, bodyColor,"<img border=0 src="+img1+" width=100% height=100%>","")}
	genLayer("up_"+j, x, y, wid+1, hei+2, hideName, "", tab_up1+"<img border=0 src="+img1+" width="+(wid-k_w)+" height="+(hei-k_h)+">"+tab_up2,"")
	genLayer("dow_"+j, x, y, wid+1, hei+2, hideName, "", tab_dow1+"<img border=0 src="+img1+" width="+(wid-k_w)+" height="+(hei-k_h)+">"+tab_dow2,"")
	genLayer("main_menu"+j, x, y+Math.floor(hei-f_size)/2, wid+1, hei+1, showName, "", "<div align=center CLASS='menu'>"+name0+html0+"</div>","")
	genLayer("main_menu_"+j, x, y, wid+2, hei+2, showName, "", "<a href="+link0+(link0==""||link0==" target='_blank'"?". onclick='return false;'":"")+" onmousedown=cl_fn("+j+") onmouseout=out_fn_sub('"+j+"','','','','','o') onmouseover=over_fn_sub('"+j+"','','','','','o')><img border=0 src="+img1+" width=100% height=100%></a>","")
	x+=wid+2
}
zIdx=9
x=x0
y=y0+hei+2
for (i=1;i<menu.length;i++){gen_submenu(i,x,y);x=x+(name_sub(menu["p"+i].p0).length+2)*k_wid+2}
}