// JavaScript Document

function gotoPage(theObject) {
	// remove the # sign in the query
	var myRegExp = "t=";
	url=url.replace("#","");
	var matchpos=url.search(myRegExp);
	//alert(matchpos);
	if (matchpos!==-1) {
      newUrl=url.replace(query, "t="+theObject);
	} else {
      newUrl=url+"?t="+theObject;
	}
	//alert(url);
   window.location.href=newUrl;	
}

function showIcon(theObject) {
	var imgdoc = theObject+"_img";
	document.getElementById(imgdoc).src=path+theObject+".png";
}

function hideIcon(theObject) {
	var imgdoc = theObject+"_img";
	document.getElementById(imgdoc).src=path+"b0.png";
}

