// JavaScript Document

/*--------------------------------------------------------
 *	Function:  clearFld
 *	
 *	Description:
 *	Clears default text in form field on focus
 *
 *	Paramaters:
 *	pFld		string or object	Reference to the field to clear.
 *
 *	Return:
 *	none
 *------------------------------------------------------*/
 
function clearFld(pFld) {
	getObject(pFld).value = "";
	return false;
}



/*--------------------------------------------------------
 *	Function:  href_confirm
 *	
 *	Description:
 *	Display a confirmation message
 *
 *	Paramaters:
 *	slink		string 	query string with the id of the field to delete.
 *  starget
 *  message		string  message to display
 *	Return:
 *	none
 *------------------------------------------------------*/
function href_confirm(slink, starget, smessage){

		 if (confirm(smessage)){

		 	if (starget == "_parent"){

		 	   parent.location.href = slink

		 	   }

		 	else if (starget == "_top"){

		 		 top.location.href = slink

		 		 }

		 	else if (starget != ""){

		 		 var frName = ""

				 for (frName in parent.frames){

					 if (starget == frName){

				   	 	parent.frames(starget).location.href = slink

				   		break

				   		}

				}

				for (frName in top.frames){

					if (starget == frName){

				   	   top.frames(starget).location.href = slink

				   	   break 

				   	   }

				}

		 	}

		 	else if (starget == ""){ 

		 		 document.location.href = slink

				 }  

		 }

}