/*
*	Drop down menu...
***************************/

ddMenu = function() {
	var menuItems = document.getElementById("navList").getElementsByTagName("LI");
	for (var i=0; i<menuItems.length; i++) {
		menuItems[i].onmouseover=function() {
			this.className+=" menuOver";
		}
		menuItems[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" menuOver\\b"), "");
		}
	}
}

// attach menu loading on page load
if (window.attachEvent) window.attachEvent("onload", ddMenu);




function clearDefaultText(theElement, theDefault)
{
	if(theElement.value == theDefault){
		theElement.value = "";
	}
}

function placeDefaultText(theElement, theDefault)
{
	if(theElement.value == ''){
		theElement.value = theDefault;
	}
}

function popup(theURL, w, h){
	
	newWin = window.open(theURL, 'popup', 'width='+w+',height='+h+',resizable=1,scrollbars=1,status=0,top=100,left=100');
	newWin.focus();
	return false;

}
