
//form magic
function clearText(which) {
	if (which.defaultValue==which.value)
	which.value = ""
}

function resetInput(which) {
	if (which.value == "")
	which.value = which.defaultValue
}
// -->


//dynamic layers
function dsp(loc) {
	if (document.getElementById) {
    foc=loc.parentNode.nextSibling.style?
	    loc.parentNode.nextSibling:
	    loc.parentNode.nextSibling.nextSibling;
	 	foc.style.display=foc.style.display=='block'?'none':'block';
	}
}


//dynamic layers width +/- marker
function dspPlus(loc) {
	if (document.getElementById) {
  var foc=loc.firstChild;
	  foc=loc.firstChild.innerHTML?
	    loc.firstChild:
	    loc.firstChild.nextSibling;
	 	foc.innerHTML=foc.innerHTML=='-'?'&raquo;':'-';
	  foc=loc.parentNode.nextSibling.style?
	  	loc.parentNode.nextSibling:
	    loc.parentNode.nextSibling.nextSibling;
	 	foc.style.display=foc.style.display=='block'?'none':'block';
	}
}  

if (!document.getElementById)
	document.write('<style type="text/css" media="all"><!--\n'+
  	'.dynCont { display:block; }\n'+
    '//--></style>');
