/**
 * @author Chris
 */

//init formcheck on page
window.addEvent('domready', function(){
    new FormCheck('frmSearch');
    new FormCheck('frmSetupAccount');
    
});

function cleanNum(frmElement)
{
	
	var num1 = frmElement.value;
	
	//strip it of any commas
	num1 = num1.replace(/,/gi, "");
	//strip it of any $
	num1 = num1.replace(/\$/gi, "");
	
	//re-write element value;
	frmElement.value = num1;
	
}
