function toggle( targetId ){
  if (document.getElementById){
  		target = document.getElementById( targetId );
  			if (target.style.display == "none"){
  				target.style.display = "";
  			} else {
  				target.style.display = "none";
  			}
  	}
}

function clearText(thefield)
{
if (thefield.defaultValue==thefield.value)
thefield.value = ""
}

function addText(thefield)
{
if (thefield.value =='')
thefield.value = "Google"
}

function newWin(url, w, h, title) {
  var l = (screen.width - w) / 2; 
  var g = (screen.height - h) / 2;
  options = "width="+w+",height="+h+",left="+l+",top="+g+",screenX="+l+",screenY="+g;
  openit=window.open(url, title, options);
  openit.focus();
}
