//<script language="JavaScript">
//<!--

// Accessible popups
function acpopup(strURL, strType, strHeight, strWidth)
{
	var strOptions = "";
	
	if (strType == "console")
		strOptions="resizable,scrollbars,height="+strHeight+",width="+strWidth;
	
	if (strType == "fixed")
		strOptions="status,height="+strHeight+",width="+strWidth;
	
	if (strType == "elastic")
		strOptions="toolbar,menubar,scrollbars,resizable,location,height="+strHeight+",width="+strWidth;
	
	window.open(strURL, 'newWin', strOptions);
}


function printpage()
{
	if (window.print)
	{
		setTimeout('window.print();',200);
	}
	else
	{
		alert("Press 'Ctrl+p' or 'Cmd+p' on your keyboard to print this page.");
	}
}


//Check the form before submitting
function CheckForm ()
{
	//Check for a word to search
	if (document.frmSiteSearch.search.value == "")
    {
		alert("Please enter a search query.");
		document.frmSiteSearch.search.focus();
		return false;
	}

	return true;
}


function ss(w,id)
{
	window.status=w;
	return true;
}

function cs()
{
	window.status='';
}

function clearText(thefield)
{
 if (thefield.defaultValue == thefield.value)
  thefield.value = "";
}

//-->
//</script>