/*Utilities JavaScriptCreated by: Jason BeardCreated Date: March. 2002Modified by: Jason Beard	Modified date: April 2, 2002*/// identify folder level based on flag -- this is for level2 folders -- it goes up two levels ../../var path = "";var flag = flag;if (flag == "level2"){	path = "../";}else { 	path = "";} //Popup window for non-governmental web sitesfunction externalLink (url,dirLevel) {	var newURL = "";	if (dirLevel == 1) 	{		newURL = "../";	}	newURL += path+"../../leaveWarn.htm?urlStr=" + url;	window.open (newURL,'Message','location=0,toolbar=0,menubar=0,width=320,height=270,scrollbars=1,resizable=0,screenX=240,screenY=180,left=250,top=185');}//Print Functionality - Launches the Print Windowvar agt=navigator.userAgent.toLowerCase(); function printPage() {	if (window.print) {		window.print();	}	else if (agt.indexOf("mac") != -1) {		alert("Press 'Cmd+p' on your keyboard to print this page.");	}	else {		alert("Press 'Ctrl+p' on your keyboard to print this page.")	}}
