function getHost() {
	var URL = window.location.href;
  	var loc = URL.lastIndexOf("/");
	return URL.substring(0, loc+1);
}

function trim(str)
{
	return str.replace(/\s+/g, '');
}


function buttonEffect(input, e)
{
	try{
		switch (e.type)
		{
			case "mouseout":
				eval("document.all."+input.id+".src = 'images/' + input.id + '.png'");				
			break;
			case "mouseover":
				eval("document.all."+input.id+".src = 'images/' + input.id + '_over.png'");
			break;
			default:
			break;
		}
	}
	catch(exception) {}	
}
function resizeTable()
{
	if((document.body.clientHeight-110) < 616)
		document.getElementById("fullTable").height = 616;
	else
		document.getElementById("fullTable").height = (document.body.clientHeight-110) ;
	
}