
/* handles rollover states for images */
function rollOver (sImageName, sNewImageLoc)
{
	document.images[sImageName].src = sNewImageLoc;
}

/* opens popup window */
function open_reg_popup(popupname)
{
	popWinHandle = window.open("/popups/"+popupname+".html","pop_popup","height=365,width=469,status=no,toolbar=no,menubar=no,scrollbars=yes");
	popWinHandle.focus();
}

/* opens clubs window */
function open_club_popup(popupname)
{
	popWinHandle = window.open("/popups/"+popupname+".html","","height=400,width=600,status=no,toolbar=no,menubar=no,scrollbars=yes");
	popWinHandle.focus();
}

/* input box onFocus and onBlur functions */
function clearBox (oBox, sDefault)
{
	if (oBox.value == sDefault)
	{
		oBox.value = '';
	}
}

function fillBox (oBox, sDefault)
{
	if (oBox.value == '')
	{
		oBox.value = sDefault;
	}
}

