// mySafemail hides email addresses from spam crawlers by creating them via Javascript on the client
function mySafemail(name, domain, display) {
		displayed=(typeof(display)=="undefined") ? name+"@"+domain : display
		document.write('<a href=mailto:' + name + '@' + domain + '>' + displayed + '</a>');
} 

// -->

// opens a browser window and moves it to the center of the users screen
function openWindow(url, width, height) {
	var arguments, h, w, moreInfo;
	
	arguments = "width=" + width + ",height=" + height + ",resizable=yes,dependent,scrollbars=no";
	
	moreInfo = window.open(url, moreInfo, arguments);
	
	h = screen.height;
	w = screen.width;

	h = h / 2 - (height/2);
	w = w / 2 - (width/2);

	// to center the new window
	moreInfo.moveTo(w,h);
}			

// -->


image1 = new Image(); 
image1.src = "/images/global/out-left-grad.gif";
image2 = new Image(); 
image2.src = "/images/global/tlb-grad.gif";
image3 = new Image(); 
image3.src = "/images/global/rightcol-out-grad.gif";
image4 = new Image(); 
image4.src = "/images/global/h3-bg-grad.gif";

