
	
	/*
	* this function will compare 2 numeric fields
	*/
	/*
	function compareNumericFields(formName, fromID, toID)
	{
		var fromInputObject	= document.getElementById(formName + fromID);
		var toInputObject	= document.getElementById(formName + toID);
		var fromInputVal	= fromInputObject.value * 1;
		var toInputVal		= toInputObject.value * 1;		
		
		if(fromInputVal > toInputVal && (toInputVal*1) != 0)
		{
			document.getElementById('experienceError').style.display = 'inline';
		}
		else
		{
			document.getElementById('experienceError').style.display = 'none';
		}
	}*/
	
	/*
	* this function will compare 2 numeric fields
	*/
	function compareNumericFields(fromID, toID)
	{
		var fromInputObject	= document.getElementById(fromID);
		var toInputObject	= document.getElementById(toID);
		var fromInputVal	= fromInputObject.value * 1;
		var toInputVal		= toInputObject.value * 1;		
		
		if(fromInputVal > toInputVal)
		{
			document.getElementById('comparisonError').style.display = 'inline';
		}
		else
		{
			document.getElementById('comparisonError').style.display = 'none';
		}
	}