function isEnterKey(evt)
{
	evt = (evt) ? evt : (window.event) ? window.event : "";

	var theKey ;
	if (evt)
	{
		theKey = (evt.which) ? evt.which : evt.keyCode ;
	}
	return (theKey == 13);

}

function onKeyPress(evt, key) 
{
	if (isEnterKey(evt)) 
		{ 
			_rpPost(key); 
			return false; 
		} 
		return true; 
}

function noenter() {
  return !(window.event && window.event.keyCode == 13); 
}

function _rpPost(eventTarget) 
{ 
__doPostBack(eventTarget);
}

function swapImage(s){
	theImg=document.getElementById(s);
	theImg.setAttribute("src","images/square_blue.gif");
}

function restoreImage(s){
	theImg=document.getElementById(s);
	theImg.setAttribute("src","images/square_light_blue.gif");
}

function setColumnStyle_over(t) {
	if (t.className.toString() != "topnavBtn_hot")
	{
		t.className = "topnavBtn_hover";
	}
}

function setColumnStyle_out(t) {
	if (t.className.toString() == "topnavBtn_hover")
	{
		t.className = "topnavBtn";
	}
}
