_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=10;
_subOffsetLeft=-10;


with(menuStyle=new mm_style()){
bordercolor="#999999";//
borderstyle="dashed";
borderwidth=1;
fontfamily="Arial, Tahoma, Verdana";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";//
headercolor="#000000";//
offbgcolor="#269DDB"; 
offcolor="#ffffff";
onbgcolor="#ffffff";
oncolor="#000099";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#003964";
pagecolor="";//black
separatorcolor="#666666";//#999999
separatorsize=1;
subimage="./arrow.gif";
subimagepadding=2;
//bgimage="shade.jpg";
}

with(menuStyle1=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Tahoma, Verdana, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="";//#ffffff
headercolor="";//#000000
offbgcolor="#eeeeee";
offcolor="#000000";
onbgcolor="#ddffdd";
oncolor="#000099";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);";
padding=4;
pagebgcolor="#82B6D7";
pagecolor="";//black
separatorcolor="#999999";
separatorsize=0;
subimage="";
subimagepadding=2;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
//left=0;
//top=0;
orientation="verticle";
style=menuStyle1;


var tt = document.URL;
var ttw= tt.split("/");

var page1=ttw[ttw.length-1].split(".");

var page=page1[0];



//alert(page);

//var page='<?=$name?>';
	/*if(page=='index')
	{
		
	aI("image=./home_in.jpg;url=index.php;");
	}	
	else
	{
	aI("image=./home_out.jpg;overimage=./home_in.jpg;url=index.html;");
	}*/

if( page=='rose')
	{
	aI("image=./rose.jpg;url=rosewood.php;");
	}
	else
	{
	aI("image=./rose.jpg;url=rosewood.php;");
}

if(page=='sandal')
	{
	aI("image=./sandal.jpg;url=sandalwood.php;");
	}
	else
	{
	aI("image=./sandal.jpg;url=sandalwood.php;");
}

if(page=='bronze')
	{
	aI("image=./kshdc_08.jpg;url=bronze.php;");
	}
	else
	{
	aI("image=./kshdc_08.jpg;url=bronze.php;");
}

if(page=='bidriware')
	{
	aI("image=./kshdc_09.jpg;url=bidriware.php;");
	}
	else
	{
	aI("image=./kshdc_09.jpg;url=bidriware.php;");
}

if(page=='dhurries')
	{
	aI("image=./kshdc_10.jpg;url=dhurries.php;");
	}
	else
	{
	aI("image=./kshdc_10.jpg;url=dhurries.php;");
}

if(page=='perfumery')
	{
	aI("image=./kshdc_11.jpg;url=perfumery.php;");
	}
	else
	{
	aI("image=./kshdc_11.jpg;url=perfumery.php;");
}

if(page=='lacquerware')
	{
	aI("image=./kshdc_12.jpg;url=lacquerware.php;");
	}
	else
	{
	aI("image=./kshdc_12.jpg;url=lacquerware.php;");
}


if(page=='terracotta')
	{
	aI("image=./kshdc_13.jpg;url=terracotta.php;");
	}
	else
	{
	aI("image=./kshdc_13.jpg;url=terracotta.php;");
}

if(page=='textile')
	{
	aI("image=./kshdc_14.jpg;url=textile.php;");
	}
	else
	{
	aI("image=./kshdc_14.jpg;url=textile.php;");
}

if(page=='kinhal')
	{
	aI("image=./kshdc_15.jpg;url=kinhal.php;");
	}
	else
	{
	aI("image=./kshdc_15.jpg;url=kinhal.php;");
}

if(page=='stone')
	{
	aI("image=./kshdc_16.jpg;url=stone.php;");
	}
	else
	{
	aI("image=./kshdc_16.jpg;url=stone.php;");
}

if(page=='wood')
	{
	aI("image=./kshdc_17.jpg;url=wood.php;");
	}
	else
	{
	aI("image=./kshdc_17.jpg;url=wood.php;");
}

if(page=='ganjifa')
	{
	aI("image=./kshdc_18.jpg;url=ganjifa.php;");
	}
	else
	{
	aI("image=./kshdc_18.jpg;url=ganjifa.php;");
}

if(page=='games')
	{
	aI("image=./kshdc_19.jpg;url=games.php;");
	}
	else
	{
	aI("image=./kshdc_19.jpg;url=games.php;");
}

if(page=='sheet')
	{
	aI("image=./kshdc_20.jpg;url=sheet.php;");
	}
	else
	{
	aI("image=./kshdc_20.jpg;url=sheet.php;");
}

if(page=='tibetan')
	{
	aI("image=./kshdc_21.jpg;url=tibetan.php;");
	}
	else
	{
	aI("image=./kshdc_21.jpg;url=tibetan.php;");
}

if(page=='feedback')
	{
	aI("image=./feedback.jpg;url=feedback.php;");//url=tibetan.php;
	}
	else
	{
	aI("image=./feedback.jpg;url=feedback.php;");//url=tibetan.php;
}

if(page=='Tender')
	{
	aI("image=./Tender.jpg;url=Tender.html;");//url=TENDER.HTML;
	}
	else
	{
	aI("image=./Tender.jpg;url=Tender.html;");//url=tibetan.php;
	}
if(page=='news')
	{
	aI("image=./news.jpg;url=news.php;");//url=tibetan.php;
	}
	else
	{
	aI("image=./news.jpg;url=news.php;");//url=tibetan.php;
}

/*if(page=='chat')
	{
	aI("image=./chat1.jpg;");//url=tibetan.php;
	}
	else
	{
	aI("image=./chat1.jpg;overimage=./chat2.jpg;");//url=tibetan.php;
}*/

/*
if(page=='thahf')
	{
	aI("image=./thahf.jpg;url=http://www.trinityhospital.in/; title=Trinity Hospital and Heart Foundation;target=new");
	}
	else
	{
	aI("image=./thahf.jpg;overimage=./thahf.jpg;url=http://www.trinityhospital.in/;title=Trinity Hospital and Heart Foundation;target=new");
}
	

if( page=='facilities')
	{
	aI("showmenu=facilities;image=./facilities.jpg;");
	}
	else
	{
	aI("showmenu=facilities;image=./facilities.jpg;overimage=./facilities.jpg;");
}

if( page=='clfacility')
	{
	aI("image=./clinical_facilities.jpg;url=clfacility.php;");
	}
	else
	{
	aI("image=./clinical_facilities.jpg;overimage=./clinical_facilities.jpg;url=clfacility.php;");
}


if( page=='tfaculty')
	{
	aI("image=./teaching_faculty.jpg;url=tfaculty.php;");
	}
	else
	{
	aI("image=./teaching_faculty.jpg;overimage=./teaching_faculty.jpg;url=tfaculty.php;");
}

if( page=='increcogn')
	{
	aI("image=./inc_knc_rec.jpg;url=increcogn.php;");
	}
	else
	{
	aI("image=./inc_knc_rec.jpg;overimage=./inc_knc_rec.jpg;url=increcogn.php;");
}

/*if( page=='kncrecogn')
	{
	aI("image=./knc_inc_rec.jpg;url=kncrecogn.php;");
	}
	else
	{
	aI("image=./knc_inc_rec.jpg;overimage=./knc_inc_rec.jpg;url=kncrecogn.php;");
}

if( page=='fees')
	{
	aI("image=./fee_admision.jpg;url=fees.php;");
	}
	else
	{
	aI("image=./fee_admision.jpg;overimage=./fee_admision.jpg;url=fees.php;");
}

if( page=='account')
	{
	aI("image=./acc_statment.jpg;url=account.php;");
	}
	else
	{
	aI("image=./acc_statment.jpg;overimage=./acc_statment.jpg;url=account.php;");
}
*/

}



with(milonic=new menuname("facilities")){
style=menuStyle;
itemwidth=140;
top=109;
left=161;

aI("text=Campus;url=campus.php");
aI("text=Labs;url=lab.php");
/*aI("text=Class Room;url=classroom.php");
aI("text=Library;url=library.php");
aI("text=Hostel & Mess;url=hostel.php");
*/
}

/*with(milonic=new menuname("lab")){
style=menuStyle;
itemwidth=140;
top=109;
left=300;

aI("text=Anatomy Lab;url=anatomy.php");
aI("text=Fundamental Lab;url=fundamental.php");
aI("text=Community Lab;url=community.php");
aI("text=Maternity & Child Health;url=maternity.php");

}
*/


drawMenus();