/***********************************************************************************************************
* select.js
* 
* ICT Services, Web Transactional Team
*
* Common Javascript validation to be used in conjuction with webtrans.css
*
* Checks to see if a select box has a value selected.  If value.length == 0 then returns WT_OK, otherwise 
* returns WT_DONE
*
***********************************************************************************************************/



function wt_isSelected(theElement) 
{
	if (theElement.options[theElement.selectedIndex].value.length == 0) return WT_OK;	
	return WT_DONE;
}

