<!--
// Path to images directory
var gsPath = "images/";
var emPath = "email/images/";

function imgOff(sName) {
	if (document.images) {
		document[sName].src = gsPath + sName + "_off.gif";
	}
}
function imgOn(sName) {
	if (document.images) {
		document[sName].src = gsPath + sName + "_on.gif";
	}
}
function img2Off(sName) {
	if (document.images) {
		document[sName].src = gsPath + sName + "_off.jpg";
	}
}
function img2On(sName) {
	if (document.images) {
		document[sName].src = gsPath + sName + "_on.jpg";
	}
}
function img3Off(sName) {
	if (document.images) {
		document[sName].src = emPath + sName + "_off.gif";
	}
}
function img3On(sName) {
	if (document.images) {
		document[sName].src = emPath + sName + "_on.gif";
	}
}
// with scrollbar, specified width and height
function openWindow(url,w,h) {
// parameters:	url = URL of the popup window
// 				w = width
// 				h = height
	leftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	topPosition = (screen.height) ? (screen.height-h)/2 : 0;
	var windowprops = 'width=' + w + ',height=' + h + ',top='+ topPosition +',left='+ leftPosition +',toolbar=no,location=no,directories=no,status=no,scrollbars=no,menubar=no';
	var popup = window.open(url,'remote2',windowprops);
	popup.focus();
}
function openFlash(url,winName,w,h) {
// parameters:	url = URL of the popup window
//				winName = window name
// 				w = width
// 				h = height
	leftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	topPosition = (screen.height) ? (screen.height-h)/2 : 0;
	var flashprops = 'width=' + w + ',height=' + h + ',top='+ topPosition +',left='+ leftPosition +',toolbar=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no';
	var popups = window.open(url,winName,flashprops);
	popups.focus();
}

function openWindow(url,winName,w,h) {
// parameters:	url = URL of the popup window
// 				winName = window name
// 				w = width
// 				h = height
	leftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	topPosition = (screen.height) ? (screen.height-h)/2 : 0;
	var windowprops = 'width=' + w + ',height=' + h + ',top='+ topPosition +',left='+ leftPosition +',toolbar=no,location=no,directories=no,status=no,scrollbars=no,menubar=no';
	var popup = window.open(url,winName,windowprops);
	// opener allows popup windows to communicate with its owner (the window from which it came)
	// please review http://www.webreference.com/js/tutorial1/opener.html for more information on opener
	if (popup.opener == null) { 	// check if opener property exists
		popup.opener = self; 		// define opener property
	}
	popup.focus();
}
//-->
