function blank(formname,inputname,defaultstring)
{
if (document[formname][inputname].value == [defaultstring])
{
document[formname][inputname].value ="";
}
}


            function submitFormById(formId)
            {
                var myForm = document.getElementById(formId);
                if (myForm != null) {
                    myForm.submit();
                } else {
//                    alert("No form with that id found");
                }
            }



function PopUp(theURL,winName,features) {
	window.open(theURL,winName,features);
}

function ToggleItem(myItem) {
	if (myItem.style.visibility != 'hidden') {
		HideItem(myItem);
	} else {
		ShowItem(myItem);
	}
	return false;
}
function ShowItem(myItem) {
	myItem.style.visibility = 'visible';
	myItem.style.display = '';
}
function HideItem(myItem) {
	myItem.style.visibility = 'hidden';
	myItem.style.display = 'none';
}
