function doClear(theText) {
     if (theText.value == theText.defaultValue) {
         theText.value = ""
     }
 }

function unClear(theText){
    if (theText.value == "") {
        theText.value = theText.defaultValue
    }
}

function openDir( form ) {
	var newIndex = form.fieldname.selectedIndex;
	if ( newIndex == 0 ) {
		alert( "Please select a location!" );
	} else {
		cururl = form.fieldname.options[ newIndex ].value;
		window.location.assign( cururl );
	}
}
