// JavaScript Document
function menuOver(object)
{ 
	object.style.cursor='hand'; 
	object.style.cursor='pointer';
	object.className='Menu_ItemOver';
}

function menuOut(object)
{
	object.className='Menu_Item';
}

function menuRhOver(object)
{ 
	object.style.cursor='hand'; 
	object.style.cursor='pointer';
//	if (typeof document.body.style.maxHeight != "undefined") {
		object.style.backgroundPosition ='left 0px';
//	} else {
//		object.style.backgroundImage='url(images/rhBt_bgFO.gif)';
//	}
}

function menuRhOut(object)
{
		object.style.backgroundPosition = 'left -45px';
/*	if (typeof document.body.style.maxHeight != "undefined") {
		object.style.backgroundImage='url(images/rhBt_bgF.png)';
	} else {
		object.style.backgroundImage='url(images/rhBt_bgF.gif)';
	}*/
}

function menuRhOutLarge(object)
{
	object.style.backgroundPosition = 'left -59px';
}

function subMenuOver(object)
{ 
	object.style.cursor='hand'; 
	object.style.cursor='pointer';
	object.className='Button_Box_Over';
}

function subMenuOut(object)
{
	object.className='Button_Box';
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function searchField (object) {
	if (object.value == "search this site...") {
		object.value = "";
	}
}

function HideCampPages (totalPages, thisPage) {
	for (pageNo = 1; pageNo <= totalPages; pageNo++) {
		document.getElementById('CampMsgPg'+pageNo).style.display = 'none';
		document.getElementById('CampMsgLinkPg'+pageNo).style.fontSize = '11px';
		document.getElementById('CampMsgLinkPg'+pageNo).style.fontWeight = 'normal';
		document.getElementById('CampMsgLinkPg'+pageNo).style.paddingTop = '2px';
	}
	document.getElementById('CampMsgPg'+thisPage).style.display = 'block';
	document.getElementById('CampMsgLinkPg'+thisPage).style.fontSize = '13px';
	document.getElementById('CampMsgLinkPg'+thisPage).style.fontWeight = 'bold';
	document.getElementById('CampMsgLinkPg'+thisPage).style.paddingTop = '0px';
}

