function popupmail(myform, windowname)
{
	if (!window.focus)return true;
	window.open('', windowname, 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=875,height=450,left = 200,top = 200');
	myform.target=windowname;
}
function popup(url, windowname, w, h)
{
	window.open(url, windowname, 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=' + w + ',height=' + h + ',left = 200,top = 200');
}

function focusDefault(element, defaultText, color)
{
	if (element.value == defaultText) {
		element.value = "";
		element.style.color = color;
	}
}

function blurDefault(element, defaultText, color)
{
	if (element.value == "") {
		element.value = defaultText;
		element.style.color = color;
	}
	
}