



var NS =(navigator.appName=='Netscape');

function WHelp(s,ex,ey){
	
	if (NS){
	var mouseY = ey;
	}
	else {
	var mouseY = window.event.clientY + document.body.scrollTop;
	}
	
	var mouseX = 125;
	//alert (is.winnt);
	spangrp[s].set_top(mouseY);
	//alert("what's up here 2");
	spangrp[s].set_left(mouseX);
	//alert("what'sup here 3?");
	spangrp[s].show();
	//alert("whatup 4");

}	

function WThanks(s) {	
	//alert("thanks before");
	spangrp[s].hide();
	//alert ("thanks after");
}



var tour_win_opts = "location=0,scrollbars=0,status=0,resizable=1,directories=0,menubar=0,height=400,width=600";

function OpenWin(URL,name)
{
	var this_opts = tour_win_opts;
	var this_win = window.open(URL,name,this_opts) ;
}


var specwin_opts = "location=0,scrollbars=0,status=0,resizable=0,directories=0,menubar=0,height=200,width=200";

function OpenSpecWin(URL,name)
{
	var spec_opts = specwin_opts;
	var spec_win = window.open(URL,name,spec_opts) ;
	
}


function CloseWin()
{
window.close();
}


var window_opts = "location=0,scrollbars=1,status=0,resizable=1,directories=0,menubar=0,height=200,width=400";

function OpenHelp(URL,name)
{
	var this_opts = window_opts;
	var this_win = window.open(URL,name,this_opts) ;
}

function CloseHelp()
{
window.close();
}


function m_over(x) 
{
	if(x == null)
		x= window;
	x.event.srcElement.style.background="#FAFAD2";
	x.event.srcElement.style.color = "Teal";
	x.event.srcElement.style.cursor = "hand";
}

function m_out(x) 
{
	if(x == null)
		x= window;
	x.event.srcElement.style.background="#ffffff";
	x.event.srcElement.style.color = "Navy";
	x.event.srcElement.style.cursor = "default";
}

function m_click(dest) 
{
	window.navigate(dest);
}


function n_over(x) 
{
	if(x == null)
		x= window;
	x.event.srcElement.style.background="#FAFAD2";
	x.event.srcElement.style.color = "Navy";
	x.event.srcElement.style.cursor = "hand";
}

function n_out(x) 
{
	if(x == null)
		x= window;
	x.event.srcElement.style.background="#ffd700";
	x.event.srcElement.style.color = "Navy";
	x.event.srcElement.style.cursor = "default";
}

function handleMouseover() {
	eSrc = window.event.srcElement;
	eSrcTag=eSrc.tagName.toUpperCase();
	if (eSrcTag == "A") eSrc.style.textDecoration = "underline";
}

function handleMouseout() {
	eSrc = window.event.srcElement;
	eSrcTag=eSrc.tagName.toUpperCase();
	if (eSrcTag == "A") eSrc.style.textDecoration = "";
}

