<!-- Begin the Hiding
// Bookmark Function
function bookmark()
{
	var url = document.URL;
	var who = document.title;

	var ver = navigator.appName;
	var num = parseInt(navigator.appVersion);
	if ((ver == "Microsoft Internet Explorer")&&(num >= 4)) {
		javascript:window.external.AddFavorite(url,who);
		}
	else
	{
		alert('To Bookmark a page using Netscape Click on Bookmarks or press Ctrl+D (cmd+D on macintosh)')
	} 
}

// Print Function
function AutoPrint()
{
   bV = parseInt(navigator.appVersion)
   if (bV >= 4) window.print();
}
//else
//{
//	alert('To Print a page on a Macintosh press Cmd+P')
//}

// Popup Window Function for Images
var newWin;

function popImg(theUrl){
		var thisUrl = theUrl;
		var theFeatures = "WIDTH=440,HEIGHT=450,resizable=yes,scrollbars=yes,toolbar=no,status=yes,menubar=no";
		if (newWin != null && !newWin.closed) { 
		      newWin.close();
			}
		newWin=window.open(thisUrl,"pop","WIDTH=440,HEIGHT=450,resizable=yes,scrollbars=yes,toolbar=no,status=yes,menubar=no");
		newWin.focus();
	}
		
		
	function PopupPic(sPicURL) { 
		window.open("ViewImage.htm?"+sPicURL, "", "resizable=1,HEIGHT=200,WIDTH=200");
	}
	
	// general pop-up, added for email preview
	function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=600,height=450');");
}
//  End the hiding -->