<!-- // JavaScript Document
 
function clearMe (what) {
	 if (what.value==what.title) {
		 what.value=""
					}
				}
function writeToMe(what) {
	if (what.value=="") {
		what.value=what.title
					} 
				}
				
/* function switchSearchState() {
	var obj = document.getElementById('frmSearch');
	var switchLnk = document.getElementById('advancedSwitch');
	var state = document.getElementById('searchState');
	if(getClassID(obj) == 'simpleSearch'){
		obj.className = 'advancedSearch';
		state.value = 'true';
		switchLnk.innerHTML = 'less';
	}else {
		obj.className = 'simpleSearch';
		state.value = 'false';
		switchLnk.innerHTML = 'more';
	}
} */

// Cross-browser implementation to get an object class name.
function getClassID(obj){
	var retVal;
	
	if(obj.getAttribute('class') == null){
		retVal = obj.className;
	}else{
		retVal = obj.getAttribute('class');
	}	
	return retVal;
}

 /* function loadSearchLink(isAdvanced){
	var sL = document.getElementById('switchLink');
	var phrase = 'more';
	if(isAdvanced){
		phrase = 'less';
	}
	sL.innerHTML = '<a href="javascript:switchSearchState();" accesskey="7" tabindex="7" id="advancedSwitch">'+phrase+'</a>';
	if(!isAdvanced){
		switchSearchState();
	} 
}*/
// -->