function stockpop_window(url) {
	if(navigator.userAgent.indexOf("MSIE") == -1) {
	newwindow =  window.open(url,'stockpop','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,width=600,height=450');
	newwindow.focus();
	} else {
	        window.open(url,'stockpop','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,width=600,height=450');
	}
}

function initPage ()
{
	// preload images
	if (document.images) {
		var x = new Image();
		x.src = "../images/tb-contact-over.gif";
	}
	
	// assign image rollovers
	document.getElementById("tbContactBtn").onmouseover = tbContactOver;
	document.getElementById("tbContactBtn").onmouseout = tbContactOut;
}

// If there are more toolbar buttons or other mouseovers, it would be
// reasonable to write a more general mouseover function that uses
// IDs and image names to automatically figure out which images to use.
function tbContactOver() {
	document.getElementById("tbContactImage").src = "/images/tb-contact-over.gif";
}
function tbContactOut() {
	document.getElementById("tbContactImage").src = "/images/tb-contact.gif";
}

function tocItemOver(myItem) {
	myItem.className = "Over";
}

function tocItemOut(myItem) {
	myItem.className = "";
}
