<!--
var cls = new Array();
for (i=1; i<78; i++)
{
cls[i] = " class='menuoff' ";
}

if ((whatmenu!=0) && (whatmenu!=1) && (whatmenu!=7) && (whatmenu!=14) && (whatmenu!=20) && (whatmenu!=25)) {
cls[whatmenu] = " class='menuon' ";
}


var homemenu="<center><img src='http://ccnmtl.columbia.edu/web/images/blank.gif' width='1' height='1' border='0'/></center>";



var servicesmenu="<center><img src='http://ccnmtl.columbia.edu/web/images/arrow.gif' width='6' height='6' border='0' /><img src='http://ccnmtl.columbia.edu/web/images/blank.gif' width='2' height='1' /><a href='http://ccnmtl.columbia.edu/web/p01_overview.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'";
servicesmenu+= cls[2];
servicesmenu+=">Overview</a> <span class='menupipe'>|</span> <a href='http://ccnmtl.columbia.edu/web/p01_instructors.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'";
servicesmenu+= cls[3]; 
servicesmenu+=">for Instructors</a> <span class='menupipe'>|</span> <a href='http://ccnmtl.columbia.edu/web/p01_groups.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'";
servicesmenu+= cls[4];
servicesmenu+=">for Academic Groups</a> <span class='menupipe'>|</span> <a href='http://ccnmtl.columbia.edu/services/index/index.html' target='_new' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'";
servicesmenu+= cls[5];
servicesmenu+=">Index</a>";



var aboutusmenu="<center><img src='http://ccnmtl.columbia.edu/web/images/blank.gif' width='92' height='1' /><img src='http://ccnmtl.columbia.edu/web/images/arrow.gif' width='6' height='6' border='0' /><img src='http://ccnmtl.columbia.edu/web/images/blank.gif' width='2' height='1' /><a href='http://ccnmtl.columbia.edu/web/p02_mission.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'";
aboutusmenu+= cls[15];
aboutusmenu+=">Mission</a> <span class='menupipe'>|</span> <a href='http://ccnmtl.columbia.edu/web/p02_location.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'";
aboutusmenu+= cls[16];
aboutusmenu+=">Locations / Contacts</a> <span class='menupipe'>|</span> <a href='http://ccnmtl.columbia.edu/web/p02_team.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'";
aboutusmenu+= cls[17];
aboutusmenu+=">Our Team</a></center>";




var newseventsmenu="<center><img src='http://ccnmtl.columbia.edu/web/images/blank.gif' width='160' height='1' /><img src='http://ccnmtl.columbia.edu/web/images/arrow.gif' width='6' height='6' border='0' /><img src='http://ccnmtl.columbia.edu/web/images/blank.gif' width='2' height='1' /><a href='http://ccnmtl.columbia.edu/web/p03_announcements.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'";
newseventsmenu+= cls[21];
newseventsmenu+=">Announcements</a> <span class='menupipe'>|</span> <a href='http://ccnmtl.columbia.edu/web/p03_press.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'";
newseventsmenu+= cls[22];
newseventsmenu+=">Press Releases</a> <span class='menupipe'>|</span> <a href='http://ccnmtl.columbia.edu/web/p03_inthenews.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'";
newseventsmenu+= cls[23];
newseventsmenu+=">In The News</a>";




var linksmenu="<center><img src='http://ccnmtl.columbia.edu/web/images/blank.gif' width='256' height='1' /><img src='http://ccnmtl.columbia.edu/web/images/arrow.gif' width='6' height='6' border='0' /><img src='http://ccnmtl.columbia.edu/web/images/blank.gif' width='2' height='1' /><a href='http://ccnmtl.columbia.edu/dr/index.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)' target='_new'";
linksmenu+= cls[8];
linksmenu+=">Design Research</a> <span class='menupipe'>|</span> <a href='http://www.ccnmtl.columbia.edu/seminar/' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)' target='_new'";
linksmenu+= cls[9];
linksmenu+=">University Seminars</a> <span class='menupipe'>|</span> <a href='http://ccnmtl.columbia.edu/services/courseworks/index.html' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)' target='_new'";
linksmenu+= cls[10];
linksmenu+=">CourseWorks</a> <span class='menupipe'>|</span> <a href='http://www.ccnmtl.columbia.edu/services/classroom/' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)' target='_new'";
linksmenu+= cls[11];
linksmenu+=">Digital Classroom</a></center>";




var projectsmenu="<center><img src='http://ccnmtl.columbia.edu/web/images/blank.gif' width='1' height='1' border='0'/></center>";


var imgld=0;
 
function showLayer(name) {
    if (isNS){
    	//document.layers[0].document.layers["lyr"].document.open();
		//document.layers[0].document.layers["lyr"].document.write(eval(name));
		//document.layers[0].document.layers["lyr"].document.close();
		document.layers[1].document.layers[0].document.open();
		document.layers[1].document.layers[0].document.write(eval(name));
		document.layers[1].document.layers[0].document.close();
	}		
    if (isIE){
   		document.getElementById("one").innerHTML=eval(name); 
	}
	if (isNS6){
	//document.getElementById("one").innerHTML="";
	document.getElementById("one").innerHTML=eval(name);
	}
}

//image cache
if (document.images)
	{
//cache menu	


		var services_on = new Image();
		 services_on.src = "http://ccnmtl.columbia.edu/web/images/menumain_services_on.gif";
		var  services_off = new Image();
		 services_off.src = "http://ccnmtl.columbia.edu/web/images/menumain_services_off.gif";
		
		// 
		var  services_in = new Image();
		services_in.src = "http://ccnmtl.columbia.edu/web/images/menumain_services_IN.gif";
		// 
		 
		
		var links_on = new Image();
		links_on.src = "http://ccnmtl.columbia.edu/web/images/menumain_links_on.gif";
		var links_off = new Image();
		links_off.src = "http://ccnmtl.columbia.edu/web/images/menumain_links_off.gif";
		
		
		//
		var  links_in = new Image();
		links_in.src = "http://ccnmtl.columbia.edu/web/images/menumain_links_IN.gif";
		//
		
		var aboutus_on = new Image();
		aboutus_on.src = "http://ccnmtl.columbia.edu/web/images/menumain_aboutus_on.gif";
		var aboutus_off = new Image();
		aboutus_off.src = "http://ccnmtl.columbia.edu/web/images/menumain_aboutus_off.gif";
		
		//
		var  aboutus_in = new Image();
		aboutus_in.src = "http://ccnmtl.columbia.edu/web/images/menumain_aboutus_IN.gif";
		//
		
		
		
		var newsevents_on = new Image();
		newsevents_on.src = "http://ccnmtl.columbia.edu/web/images/menumain_newsevents_on.gif";
		var newsevents_off = new Image();
		newsevents_off.src = "http://ccnmtl.columbia.edu/web/images/menumain_newsevents_off.gif";
		
		
		var  newsevents_in = new Image();
		newsevents_in.src = "http://ccnmtl.columbia.edu/web/images/menumain_newsevents_IN.gif";
	
		imgld=1;
	}
	
//function init() {
//		if (whatpage!="home"){
//	 	if (isNS) {
//	 	eval("document.images[whatpage].src = "+ whatpage + "_on.src");
//		} else {
//			document.images[whatpage].src = eval(whatpage + "_on.src");
//		}
//		showLayer(layertoshow);
//		}
//
//}



function init() {
		if (whatpage!="home"){
	 	if (isNS) {
	 	eval("document.images[whatpage].src = "+ whatpage + "_in.src");
		} else {
			document.images[whatpage].src = eval(whatpage + "_in.src");
		}
		showLayer(layertoshow);
		}

}

function swapImage(i,j) {
	if (imgld==0) return;
	if (i==whatpage) return;
	 	if (isNS) {
	 	eval("document.images[i].src = "+ i + "_" + j + ".src");
		} else {
			document.images[i].src = eval(i + "_" + j + ".src");
		}
}

function keepAlive(mouse_over)
{
  if (mouse_over)
  {
  	if (typeof TimerID != "undefined") clearTimeout(TimerID);
  }
  else
  {
    if (typeof TimerID != "undefined") clearTimeout(TimerID);
    TimerID = setTimeout('switchLayer()',1500);
  }
}

function swapMeetOn(x,y) {
 swapImage(x,y);
 showme=(x+"menu");
 showLayer(showme);
}

function swapMeetOff(x,y) {
 swapImage(x,y);
}

function switchLayer() {
 showLayer(layertoshow);
}

//-->