function bigimage(image,title,wid,hgt)
{
	sw=(screen.width-wid)/2;
	sh=(screen.height-hgt)/2;
	newwin=window.open('','newwin','width='+wid+',height='+hgt+',scrollbars=0,menubars=0,toolbars=0,statusbar=false,loca tion=0,directories=0,status=0,top='+sh+',left='+sw+'');
	newwin.document.open();
	newwin.document.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n');
	newwin.document.write('"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">');
	newwin.document.write('\n<html>\n<head>\n<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />\n');
	newwin.document.write('<meta http-equiv="Imagetoolbar" content="no" />\n');
	newwin.document.write('<title>'+title+'</title>\n');
	newwin.document.write('</head>');
	newwin.document.write('<body style="margin:0;padding:0">\n<img src="../../../innerData/js/'+image+'" width="'+wid+'" height="'+hgt+'" />');
	newwin.document.write('\n</body></html>');
	newwin.document.close();
	newwin.focus();
}
function changeCh(x) 
{
	document.getElementById("ch"+x+"_1").src="innerData/images/subMenuLTo.gif";
	document.getElementById("ch"+x+"_2").src="innerData/images/subMenuRTo.gif";
	document.getElementById("ch"+x+"_3").src="innerData/images/subMenuLBo.gif";
	document.getElementById("ch"+x+"_4").src="innerData/images/subMenuRBo.gif";
	document.getElementById("ch"+x).className="subMenuDivOver";
}
function changeBackCh(y) 
{
	document.getElementById("ch"+y+"_1").src="innerData/images/subMenuLT.gif";
	document.getElementById("ch"+y+"_2").src="innerData/images/subMenuRT.gif";
	document.getElementById("ch"+y+"_3").src="innerData/images/subMenuLB.gif";
	document.getElementById("ch"+y+"_4").src="innerData/images/subMenuRB.gif";
	document.getElementById("ch"+y).className="subMenuDiv";
}

function activateSearchButtonOnEnter()
{
	var key = event.keyCode;
	if(key == 13)
	{
		window.location='esearch_' + document.getElementById('searchInput').value + '.html';
	}
}
