
//////////////////////////////////////////////////////////////////

//																//

//	Define double state file references for each main nav		//

//	button. For additional buttons create incrementally larger	//

//	groups (eg. six_on, seven_on).								//

//																//

//////////////////////////////////////////////////////////////////

if ( browser ){
	one_on = new Image; one_on.src="http://www.rythospital.com/images/home_on.jpg";
	one_off = new Image; one_off.src="http://www.rythospital.com/images/home_off.jpg";
	one_active = new Image; one_active.src="http://www.rythospital.com/images/home_on.jpg";
	
	two_on = new Image; two_on.src="http://www.rythospital.com/images/about_over.gif";
	two_off = new Image; two_off.src="http://www.rythospital.com/images/about_off.gif";
	two_active = new Image; two_active.src="http://www.rythospital.com/images/about_on.gif";
	
	three_on = new Image; three_on.src="FAQ_over.jpg";
	three_off = new Image; three_off.src="FAQ.jpg";
	three_active = new Image; three_active.src="FAQ_over.jpg";

	four_on = new Image; four_on.src="http://www.rythospital.com/images/education_over.gif";
	four_off = new Image; four_off.src="http://www.rythospital.com/images/education_off.gif";
	four_active = new Image; four_active.src="http://www.rythospital.com/images/education_on.gif";

	five_on = new Image; five_on.src="http://www.rythospital.com/images/research_over.gif";
	five_off = new Image; five_off.src="http://www.rythospital.com/images/research_off.gif";
	five_active = new Image; five_active.src="http://www.rythospital.com/images/research_on.gif";

	six_on = new Image; six_on.src="http://www.rythospital.com/images/contact_over.gif";
	six_off = new Image; six_off.src="http://www.rythospital.com/images/contact_off.gif";
	six_active = new Image; six_active.src="http://www.rythospital.com/images/contact_on.gif";
	
	seven_on = new Image; seven_on.src="http://www.rythospital.com/images/nanodocs_over.gif";
	seven_off = new Image; seven_off.src="http://www.rythospital.com/images/nanodocs_off.gif";
	seven_active = new Image; seven_active.src="http://www.rythospital.com/images/nanodocs_on.gif";
	
	eight_on = new Image; eight_on.src="http://www.rythospital.com/images/genochoice_over.gif";
	eight_off = new Image; eight_off.src="http://www.rythospital.com/images/genochoice_off.gif";
	eight_active = new Image; eight_active.src="http://www.rythospital.com/images/genochoice_on.gif";
	
	nine_on = new Image; nine_on.src="http://www.rythospital.com/images/malepr_over.gif";
	nine_off = new Image; nine_off.src="http://www.rythospital.com/images/malepr_off.gif";
	nine_active = new Image; nine_active.src="http://www.rythospital.com/images/malepr_on.gif";
	
	ten_on = new Image; ten_on.src="http://www.rythospital.com/images/clyven_over.gif";
	ten_off = new Image; ten_off.src="http://www.rythospital.com/images/clyven_off.gif";
	ten_active = new Image; ten_active.src="http://www.rythospital.com/images/clyven_on.gif";
	
	eleven_on = new Image; eleven_on.src="http://www.rythospital.com/images/liu_over.gif";
	eleven_off = new Image; eleven_off.src="http://www.rythospital.com/images/liu_off.gif";
	eleven_active = new Image; eleven_active.src="http://www.rythospital.com/images/liu_on.gif";
}

function popup(url, name, optWidth, optHeight, scrollit) {
	winl = (screen.availWidth - optWidth) / 2;
	wint = (screen.availHeight - optHeight) / 2 - 40;
	win = window.open(url, name, "width="+optWidth+",height="+optHeight+",top="+wint+",left="+winl+",status=no,resizable=no,scrollbars="+scrollit+",menubar=no");
} 

