
if ( browser )
{
		one_on= new Image; one_on.src="http://med.cornell.edu/international/navbar/cornellinternational/nav1_on.gif";
		one_off= new Image; one_off.src="http://med.cornell.edu/international/navbar/cornellinternational/nav1.gif";
		one_active= new Image; one_active.src="http://med.cornell.edu/international/navbar/cornellinternational/nav1_on.gif";
		
		two_on= new Image; two_on.src="http://med.cornell.edu/international/navbar/cornellinternational/nav2_on.gif";
		two_off= new Image; two_off.src="http://med.cornell.edu/international/navbar/cornellinternational/nav2.gif";
		two_active= new Image; two_active.src="http://med.cornell.edu/international/navbar/cornellinternational/nav2_on.gif";
		
		three_on= new Image; three_on.src="http://med.cornell.edu/international/navbar/cornellinternational/nav3_on.gif";
		three_off= new Image; three_off.src="http://med.cornell.edu/international/navbar/cornellinternational/nav3.gif";
		three_active= new Image; three_active.src="http://med.cornell.edu/international/navbar/cornellinternational/nav3_on.gif";		
		
		four_on= new Image; four_on.src="http://med.cornell.edu/international/navbar/cornellinternational/nav4_on.gif";
		four_off= new Image; four_off.src="http://med.cornell.edu/international//navbar/cornellinternational/nav4.gif";
		four_active= new Image; four_active.src="http://med.cornell.edu/international/navbar/cornellinternational/nav4_on.gif";	
		
}

// flash pano: use this if using different pano for each section

if (activeHome == "home") {
	panoLoc = "http://media.med.cornell.edu/panoramas/intranet/international/international.swf";
} else { //default to this just in case
	panoLoc = "http://media.med.cornell.edu/panoramas/intranet/international/pano.swf";
}

// set animation to true or false		
inAnimation			= "false";

// static pano: use this if using different pano for each section

if (activeHome == "home") {
	altPanoLoc = "http://images.med.cornell.edu/panoramas/intranet_international/pano_home_flat.jpg";
} else { //default to this just in case
	altPanoLoc = "http://images.med.cornell.edu/panoramas/intranet_international/no_fla_pic.jpg";
}		

siteURL = "http://weill.cornell.edu/international/";
// set xml data for pano flash here
dataLoc				= "http://global.med.cornell.edu/panoramas/cornellinternational/content.xml";

// set loading value here: wmc or nyp
brand				= "wmc";

// setting the array, don't touch
buttonArray			= new Array ();

// set absolute paths for all the pano toolbar links [image map for static pano]
buttonArray[0]		= new createButtonObject ( 5, "http://weill.cornell.edu/international/contact.html");
buttonArray[1]		= new createButtonObject ( 5, "http://weill.cornell.edu/international/events.html");
buttonArray[2]		= new createButtonObject ( 5, "http://weill.cornell.edu/international/search.html");

// setting the array, don't touch
additionalMapArray	= new Array ();	

// needed for 4th level links grey line, don't touch
var num4thLevelLinks = 0;

// load 2nd and 3rd level navigation here
function loadLinks() {
	// setting the array, don't touch this line
	var navLinks = new Array();

	if (active == "one") {
		// customize section one, 2nd and 3rd level navigation links here
		
   		
	}  else if (active == "two") {
		// navLinks[0] = new LeftLink('Guidelines', 'http://weill.cornell.edu/international/pre/gui.html', '2', '', '');
	    // navLinks[1] = new LeftLink('Application Forms', 'http://weill.cornell.edu/international/pre/app_for.html', '2', '', '');
		// navLinks[2] = new LeftLink('Language Programs', 'http://weill.cornell.edu/international/pre/lan_pro.html', '2', '', '');
	   //  navLinks[3] = new LeftLink('Orientation Materials', 'http://weill.cornell.edu/international/pre/int_cou.html', '2', '', '');
	   //  navLinks[4] = new LeftLink('Forms', 'http://weill.cornell.edu/international/pre/int_cou_form.html', '3', 'Orientation Materials', '');

	} else if (active == "three") {
		// navLinks[0] = new LeftLink('Organizations', 'http://weill.cornell.edu/international/pro/org.html', '2', '', '');
		navLinks[0] = new LeftLink('Cancellation Policy for International Students', 'http://weill.cornell.edu/international/for_int_stu/can_pol.html', '2', '', '');
		navLinks[1] = new LeftLink('FAQ for International Students', 'http://weill.cornell.edu/international/for_int_stu/faq.html', '2', '', '');
		navLinks[2] = new LeftLink('Insurance Coverage', 'http://weill.cornell.edu/international/for_int_stu/insurance.html', '2', '', '');
		navLinks[3] = new LeftLink('Housing', 'http://weill.cornell.edu/international/for_int_stu/housing.html', '2', '', '');
	} 

	// returning the value here, don't touch
	return (navLinks);
}

var ids=new Array();

function QAinit(){
	if(document.getElementById) {
		var tids=document.getElementsByTagName('div');
		for(i=0;i<tids.length;i++)if(tids[i].className=="expand")ids[ids.length]=tids[i];
		for(i=0;i<ids.length;i++)ids[i].onmouseup=setstate;
	}
}

function setstate(){
	

	for(i=0;i<ids.length;i++) {
		//ids[i].style.display="block";
		ids[i].style.visibility="";
		ids[i].style.height="";

	}
	
	if(this.className=="expand")this.style.visibility="hidden";
	if(this.className=="expand")this.style.height="0";

	
	for(i=0;i<ids.length;i++) {
	ids[i].parentNode.getElementsByTagName('div')[1].style.display="none";
	}
	
	for(i=0;i<ids.length;i++) {
		if(ids[i]==this){
			var d=this.parentNode.getElementsByTagName('div')[1];
		if(d.style.display=="block")d.style.display="none";
		else d.style.display="block";
		}
	}

}

function expandall(){
if(document.getElementById){
for(i=0;i<ids.length;i++)ids[i].parentNode.getElementsByTagName('div')[1].style.display="block";
}}

function collapseall(){
if(document.getElementById){
for(i=0;i<ids.length;i++)ids[i].parentNode.getElementsByTagName('div')[1].style.display="none";
}}