function validateCustomForm(obj) {
	
	// validate each form field the ghetto way
	/*
	  //////////////////
	 // drop - downs //
	//////////////////
	
	// xxxx
	if ( obj.xxxx.options[obj.xxxx.selectedIndex].value == "" ) {
		
		alert("Question xxxx is required.");
		
		obj.xxxx.focus();
		
		return false;
	}
	
	  ////////////////
	 // text boxes //
	////////////////
	
	// xxxx
	if ( obj.xxxx.value == "" ) {
		
		alert("Question xxxx is required.");
		
		obj.xxxx.focus();
		
		return false;
	}
	
	
	  /////////////////
	 // radio boxes //
	/////////////////
	
	if( !valRadioButton(obj.xxxx) )
	{
		alert("Question xxxx is required.");
		
		return false;
	}

*/
	
	// ******** BEGIN ********
	
	// q01
	/*
	if ( obj.q01.value == "" ) {
		
		alert("Question 01 is required.");
		
		obj.q01.focus();
		
		return false;
	}
	// q02
	if ( obj.q02.value == "" ) {
		
		alert("Question 02 is required.");
		
		obj.q02.focus();
		
		return false;
	}
	*/
	
	return true;
}
	
	
	
function valRadioButton(btn) {
    var cnt = -1;
    for (var i=btn.length-1; i > -1; i--) {
        if (btn[i].checked) {cnt = i; i = -1;}
    }
    return (cnt > -1);
}
