	window.onresize = new Function("window.location.reload();");
	var ie=(document.all)?1:0;
	var hide=-1;
	var isMozilla=false;
	var bDom = document.getElementById?1:0;
	var bVersion=navigator.appVersion;
	isMozilla=(bDom&&parseInt(bVersion)>=5)?1:0;
	opera=window.opera?1:0;

	var isMozilla=false;
	var bDom = document.getElementById?1:0;
	var bVersion=navigator.appVersion;
	isMozilla=(bDom&&parseInt(bVersion)>=5)?1:0;
	
	if(ie)
	{
		var menu_x=[215,330,441,561,676,740];
		var menu_y=[140,140,140,140,140,140];
	}
	else
	{
		var menu_x=[203,318,433,548,664,735];
		var menu_y=[139,139,139,139,139,139];
	}
	
	var str=""

	str+="<style>";
	if(ie)
	{
	str+="#Mmenu0{filter:alpha(opacity=100);position:absolute;top:" + menu_y[0] + "px;left:" + menu_x[0] + "px;visibility:hidden;z-index:10;}";
	str+="#Mmenu1{filter:alpha(opacity=100);position:absolute;top:" + menu_y[1] + "px;left:" + menu_x[1] + "px;visibility:hidden;z-index:10;}";
	str+="#Mmenu2{filter:alpha(opacity=100);position:absolute;top:" + menu_y[2] + "px;left:" + menu_x[2] + "px;visibility:hidden;z-index:10;}";
	str+="#Mmenu3{filter:alpha(opacity=100);position:absolute;top:" + menu_y[3] + "px;left:" + menu_x[3] + "px;visibility:hidden;z-index:10;}";
	str+="#Mmenu4{filter:alpha(opacity=100);position:absolute;top:" + menu_y[4] + "px;left:" + menu_x[4] + "px;visibility:hidden;z-index:10;}";
	str+="#Mmenu5{filter:alpha(opacity=100);position:absolute;top:" + menu_y[5] + "px;left:" + menu_x[5] + "px;visibility:hidden;z-index:10;}";
	}
	
	else
	{
	str+="#Mmenu0{position:absolute;top:" + menu_y[0] + "px;left:" + menu_x[0] + "px;visibility:hidden;}";
	str+="#Mmenu1{position:absolute;top:" + menu_y[1] + "px;left:" + menu_x[1] + "px;visibility:hidden;}";
	str+="#Mmenu2{position:absolute;top:" + menu_y[2] + "px;left:" + menu_x[2] + "px;visibility:hidden;}";
	str+="#Mmenu3{position:absolute;top:" + menu_y[3] + "px;left:" + menu_x[3] + "px;visibility:hidden;}";	
	str+="#Mmenu4{position:absolute;top:" + menu_y[4] + "px;left:" + menu_x[4] + "px;visibility:hidden;}";	
	str+="#Mmenu5{position:absolute;top:" + menu_y[5] + "px;left:" + menu_x[5] + "px;visibility:hidden;}";	
	}
	
	str+="</style>";
	document.write(str);
	
	<!--  submenu functions -->
	
	function hideall()
	{
		for(i=0;i<=5;i++) { 
			if(ie) eval("Mmenu"+i +".style.visibility='hidden';");
			else if (isMozilla){
				var objMDiv = document.getElementById("Mmenu"+i);
				objMDiv.style.visibility="hidden";
			}
			else  document.layers[i].visibility="hide";
			}
	}
	
	
	
	function menu(x){
		temp=x;
		//shideall();
		var winW,winH;
		if (parseInt(navigator.appVersion)>3) {
		 if (navigator.appName=="Netscape") {
		  winW = window.innerWidth;
		 }
		 if (navigator.appName.indexOf("Microsoft")!=-1) {
		  winW = document.body.offsetWidth;
		 }
		}
		shideall();
		winW=winW-0;
		if(ie)eval("Mmenu"+ x).style.left = (winW>800?(winW-800)-((winW-800)/2)+menu_x[x]:menu_x[x]-10)+"px";
		if(ie) eval("Mmenu"+ x +".style.visibility='visible';");
		
		else if (isMozilla)
		{
			var objMDiv = document.getElementById("Mmenu"+ x);
			objMDiv.style.left = (window.innerWidth>800?(window.innerWidth-800)-((window.innerWidth-800)/2)+menu_x[x]:menu_x[x]-10)+"px";
			objMDiv.style.visibility="visible";
		}
		else  document.layers[x].visibility="show";
	}
	
		
	
	
	function smout(x,y){
		if (!isMozilla){
		eval("c"+x+y).style.backgroundColor = "#946179";
		eval("c"+x+y).style.color = "#f1dde1";
			}
		else{
			document.getElementById("c"+x+y).style.backgroundColor = "#946179";
			document.getElementById("c"+x+y).style.color = "#f1dde1";
			}
	}

	function smover(x,y){
		if (!isMozilla){
			eval("c"+x+y).style.backgroundColor = "#5e7991";
			eval("c"+x+y).style.color = "#f1dde1";
			}
		else{
			document.getElementById("c"+x+y).style.backgroundColor = "#5e7991";
			document.getElementById("c"+x+y).style.color = "#f1dde1";
		}
	}
	
	<!--  inner submenu functions -->
	
	function shideall()
	{
		for(i=0;i<=0;i++) { 
			if(ie) eval("Mmenu"+i +".style.visibility='hidden';");
			else if (isMozilla){
				var objMDiv = document.getElementById("Mmenu"+i);
				objMDiv.style.visibility="hidden";
			}
			else  document.layers[i].visibility="hide";
			}
	}
	
	//alert(val);	
	//alert(linkPath);
	<!--  sub menus  -->
	document.write("<div id='mMenu' style='width:100%'><img src='images/spacer.gif' width='100%' height='0'></div>");
	
	document.write("<div id='Mmenu0'>");
	document.write("<table cellpadding=2 cellspacing=1 border=0 bgcolor='#f1dde1'>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c00' name='c00' height='25' width='150' onmouseover=smover('0','0'); onmouseout=smout('0','0');  onClick=location.href='aboutUsFacultyStaff.html'> &nbsp;<b>Faculty and Staff</b></td></tr>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c01' name='c01' height='25' width='150' onmouseover=smover('0','1'); onmouseout=smout('0','1');  onClick=location.href='aboutUsBoardTrustees.html'> &nbsp;<b>Board of Trustees</b></td></tr>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c02' name='c02' height='25' width='150' onmouseover=smover('0','2'); onmouseout=smout('0','2');  onClick=location.href='aboutUsColumbiaDanceGuild.html'> &nbsp;<b>Columbia Dance Guild</b></td></tr>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c03' name='c03' height='25' width='150' onmouseover=smover('0','3'); onmouseout=smout('0','3');  onClick=location.href='aboutUsAnnualAuction.html'> &nbsp;<b>Annual Auction</b></td></tr>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c04' name='c04' height='25' width='150' onmouseover=smover('0','4'); onmouseout=smout('0','4');  onClick=location.href='aboutUsDancewearBroadway.html'> &nbsp;<b>Dancewear on Broadway</b></td></tr>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c05' name='c05' height='25' width='150' onmouseover=smover('0','5'); onmouseout=smout('0','5');  onClick=location.href='aboutUsAffiliations.html'> &nbsp;<b>Affiliations</b></td></tr>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c06' name='c06' height='25' width='150' onmouseover=smover('0','6'); onmouseout=smout('0','6');  onClick=location.href='aboutUsAlumni.html'> &nbsp;<b>Alumni</b></td></tr>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c07' name='c07' height='25' width='150' onmouseover=smover('0','7'); onmouseout=smout('0','7');  onClick=location.href='aboutUsPhotoGallery.html'> &nbsp;<b>Photo Gallery</b></td></tr>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c08' name='c08' height='25' width='150' onmouseover=smover('0','8'); onmouseout=smout('0','8');  onClick=location.href='venueRentals.html'> &nbsp;<b>Venue Rentals</b></td></tr>");
	document.write("</table>");
	document.write("</div>");
	
	document.write("<div id='Mmenu1'>");
	document.write("<table cellpadding=2 cellspacing=1 border=0 bgcolor='#f1dde1'>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c10' name='c10' height='25' width='150' onmouseover=smover('1','0'); onmouseout=smout('1','0');  onClick=location.href='classesChildDivision.html'> &nbsp;<b>Children's Division</b></td></tr>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c11' name='c11' height='25' width='150' onmouseover=smover('1','1'); onmouseout=smout('1','1');  onClick=location.href='classesChildDivision.html#classes_upper'> &nbsp;<b>Upper Division</b></td></tr>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c12' name='c12' height='25' width='150' onmouseover=smover('1','2'); onmouseout=smout('1','2');  onClick=location.href='classesChildDivision.html#classes_Adult'> &nbsp;<b>Adult Division</b></td></tr>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c13' name='c13' height='25' width='150' onmouseover=smover('1','3'); onmouseout=smout('1','3');  onClick=location.href='classesSummerWorkshops.html'> &nbsp;<b>Summer Classes</b></td></tr>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c14' name='c14' height='25' width='150' onmouseover=smover('1','4'); onmouseout=smout('1','4');  onClick=location.href='aboutUsFacultyStaff.html'> &nbsp;<b>Faculty & Staff</b></td></tr>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c15' name='c15' height='25' width='150' onmouseover=smover('1','5'); onmouseout=smout('1','5');  onClick=location.href='rehearsals.html'> &nbsp;<b>Rehearsal Schedule</b></td></tr>");
	document.write("</table>");	
	document.write("</div>");
	
	document.write("<div id='Mmenu2'>");
	document.write("<table cellpadding=2 cellspacing=1 border=0 bgcolor='#f1dde1'>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c20' name='c20' height='25' width='180' onmouseover=smover('2','0'); onmouseout=smout('2','0');  onClick=location.href='volunteerServices.html'> &nbsp;<b>Volunteer your Services</b></td></tr>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c21' name='c21' height='25' width='180' onmouseover=smover('2','1'); onmouseout=smout('2','1');  onClick=location.href='aboutUsBoardTrustees.html#Board'> &nbsp;<b>Join the Board</b></td></tr>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c22' name='c22' height='25' width='180' onmouseover=smover('2','2'); onmouseout=smout('2','2');  onClick=location.href='volunteerServices.html#Guild'> &nbsp;<b>Join the Guild</b></td></tr>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c23' name='c23' height='25' width='180' onmouseover=smover('2','3'); onmouseout=smout('2','3');  onClick=location.href='volunteerServices.html#Servey'> &nbsp;<b>Talent and Interest Survey</b></td></tr>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c24' name='c24' height='25' width='180' onmouseover=smover('2','4'); onmouseout=smout('2','4');  onClick=location.href='volunteerServices.html#Employment'> &nbsp;<b>Employment Opportunities</b></td></tr>");
  	document.write("</table>");	
	document.write("</div>");
	
	document.write("<div id='Mmenu3'>");
	document.write("<table cellpadding=2 cellspacing=1 border=0 bgcolor='#f1dde1'>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c30' name='c30' height='25' width='150' onmouseover=smover('3','0'); onmouseout=smout('3','0');  onClick=location.href='events_new.html'> &nbsp;<b>2009 - 2010 Calendar</b></td></tr>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c31' name='c31' height='25' width='150' onmouseover=smover('3','1'); onmouseout=smout('3','1');  onClick=location.href='ColumbiaDance09-10SeasonBrochure.pdf'> &nbsp;<b>Printable Brochure</b></td></tr>");
	document.write("</table>");	
	document.write("</div>");
	
	document.write("<div id='Mmenu4'>");
	document.write("<table cellpadding=2 cellspacing=1 border=0 bgcolor='#f1dde1'>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c40' name='c40' height='25' width='150' onmouseover=smover('4','0'); onmouseout=smout('4','0');  onClick=location.href='donateContribution.html'> &nbsp;<b>Make a Contribution</b></td></tr>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c41' name='c41' height='25' width='150' onmouseover=smover('4','1'); onmouseout=smout('4','1');  onClick=location.href='donateContribution.html#equipment'> &nbsp;<b>Donate Equipment</b></td></tr>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c42' name='c42' height='25' width='150' onmouseover=smover('4','2'); onmouseout=smout('4','2');  onClick=location.href='donateContribution.html#Supplies'> &nbsp;<b>Donate Supplies</b></td></tr>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c43' name='c43' height='25' width='150' onmouseover=smover('4','3'); onmouseout=smout('4','3');  onClick=location.href='donateContribution.html#Auction'> &nbsp;<b>Donate Auction Items</b></td></tr>");
	document.write("</table>");	
	document.write("</div>");
	
	document.write("<div id='Mmenu5'>");
	document.write("<table cellpadding=2 cellspacing=1 border=0 bgcolor='#f1dde1'>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c50' name='c50' height='25' width='150' onmouseover=smover('5','0'); onmouseout=smout('5','0');  onClick=location.href='registrationForm.html'> &nbsp;<b>Registration Form</b></td></tr>");
	/*document.write( "<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c41' name='c41' height='25' width='150' onmouseover=smover('4','1'); onmouseout=smout('4','1');  onClick=location.href='donateContribution.html#equipment'> &nbsp;<b>Donate Equipment</b></td></tr>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c42' name='c42' height='25' width='150' onmouseover=smover('4','2'); onmouseout=smout('4','2');  onClick=location.href='donateContribution.html#Supplies'> &nbsp;<b>Donate Supplies</b></td></tr>");
	document.write(	"<tr bgcolor='#946179'><td style='color:#f1dde1; cursor:pointer;' id='c43' name='c43' height='25' width='150' onmouseover=smover('4','3'); onmouseout=smout('4','3');  onClick=location.href='donateContribution.html#Auction'> &nbsp;<b>Donate Auction Items</b></td></tr>");*/
	document.write("</table>");	
	document.write("</div>");
	
	
	
	
	
	