
function clearText(thefield)
{
	if (thefield.defaultValue == thefield.value)
	  thefield.value = ""
        else thefield.value = thefield.defaultValue
}



function popup(w,h,url) {
    var Fensteroptionen = "toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0";
    var popupWindow = window.open(url, 'Produktansicht', Fensteroptionen + ',width=' + w + ',height=' + h);

}

function toggleDisplay(object) {
  if (document.getElementById(object).style.display == "none"){
	  document.getElementById(object).style.display = "block";	
	}
	else {
	  document.getElementById(object).style.display = "none";
	}	
}
