//display:none showlayer code
var togglen=1;
function showLayers(elementOn, elementOff) {

	if( document.getElementById ) { //DOM
		var theElement = document.getElementById( elementOn );
		var hideElement = document.getElementById( elementOff );
	} else {
		if( document.all ) { //Proprietary DOM
			var theElement = document.all[ elementOn ];
			var hideElement = document.all[ elementOff ];
		} else {
			//Create an object to prevent errors further on
			var theElement = new Object();
			var hideElement = new Object();
		}
	}

	if( !theElement ) {
		/**
		 * The page has not loaded or the browser claims to support
		 * document.getElementById or document.all but cannot actually use either 
		 */
		return;
	}
	
	//Reference the style ...
	if( theElement.style ) { 
		theElement = theElement.style; 
	}
	
	//The browser does not allow us to change the display style 
	if( typeof( theElement.display ) == 'undefined' && !( window.ScriptEngine && ScriptEngine().indexOf('InScript') + 1 ) ) {
		window.alert( 'This browser does not support changing the style element display.' );
		return;
	}
    
  //Change the display style theElement.display = setTo;
	theElement.display ='block';
	hideElement.style.display ='none';
}

function clickclear(thisfield, defaulttext) {
	if (thisfield.value == defaulttext) {
		thisfield.value = "";
	}
}