<!--

//homepage nav
if (document.images) {
	
	var nav1_off = new Image();
	var nav1_on = new Image();

	var nav2_off = new Image();
	var nav2_on = new Image();

	var nav3_off = new Image();
	var nav3_on = new Image();

	var nav4_off = new Image();
	var nav4_on = new Image();

	var nav5_off = new Image();
	var nav5_on = new Image();
		
	nav1_off.src = "i/nav_left_1_off.gif"
	nav1_on.src = "i/nav_left_1_on.gif"

	nav2_off.src = "i/nav_left_2_off.gif"
	nav2_on.src = "i/nav_left_2_on.gif"

	nav3_off.src = "i/nav_left_3_off.gif"
	nav3_on.src = "i/nav_left_3_on.gif"

	nav4_off.src = "i/nav_left_4_off.gif"
	nav4_on.src = "i/nav_left_4_on.gif"

	nav5_off.src = "i/nav_left_5_off.gif"
	nav5_on.src = "i/nav_left_5_on.gif"
}

//Rollover functions
function rollOver(which){
	if(document.images){
		document.images[which].src = eval(which + "_on.src");		
	}
}

function rollOut(which){
	if(document.images){
		document.images[which].src = eval(which + "_off.src");
	}
}






popWindow=null;
function open_window(url,width,height) {

	windowName="site";
	agent=navigator.appVersion;
	version=parseInt(agent);
	
	//figure out the top/left of the screen
	//taking the menu bar into consideration
	if (version>=4) {
		leftCorner=screen.width/2 - width/2;
		topCorner=screen.height/2 - height/2;
	}else{
		leftCorner=20;
		topCorner=20;
	}
	features=",screenX="+leftCorner+",screenY="+topCorner+",left="+leftCorner+",top="+topCorner;
	features=features+",titlebar=1";
	if (popWindow==null) {
		popWindow=open(url,windowName, "width="+width+",height="+height+ features);
		// for IE3, focus, closed, and opener doesn't work, so we have to tell
		// the window opened who's the opener
		if (version<3) 
			setTimeout("popWindow.mama=window",250);
	}else{
		if (version<3) {
			popWindow.close();
			popWindow=null;
			setTimeout("open_window('"+url+"',"+width+","+height+")", 250);
			setTimeout("popWindow.mama=window",500);
		}else if (!popWindow.closed){
			popWindow.close();
			popWindow=null;
			setTimeout("open_window('"+url+"',"+width+","+height+")", 250);
			
		}else{
			popWindow=null;
			popWindow=open(url,windowName, "width="+width+",height="+height+features);
		}
	}
}

function open_windowNewsFull(url,width,height) {

	windowName="NewsFull";
	agent=navigator.appVersion;
	version=parseInt(agent);
	
	//figure out the top/left of the screen
	//taking the menu bar into consideration
	if (version>=4) {
		leftCorner=screen.width/2 - width/2;
		topCorner=screen.height/2 - height/2;
	}else{
		leftCorner=20;
		topCorner=20;
	}
	features=",screenX="+leftCorner+",screenY="+topCorner+",left="+leftCorner+",top="+topCorner;
	features=features+",titlebar=1";
	if (popWindow==null) {
		popWindow=open(url,windowName, "width="+width+",height="+height+ features);
		// for IE3, focus, closed, and opener doesn't work, so we have to tell
		// the window opened who's the opener
		if (version<3) 
			setTimeout("popWindow.mama=window",250);
	}else{
		if (version<3) {
			popWindow.close();
			popWindow=null;
			setTimeout("open_window('"+url+"',"+width+","+height+")", 250);
			setTimeout("popWindow.mama=window",500);
		}else if (!popWindow.closed){
			popWindow.close();
			popWindow=null;
			setTimeout("open_window('"+url+"',"+width+","+height+")", 250);
			
		}else{
			popWindow=null;
			popWindow=open(url,windowName, "width="+width+",height="+height+features);
		}
	}
}

function printPage() {
window.print(); 
   
}



// -->
