///////////////
function initFrmID() {
		new fValiderAlert("xml/calculator.xml", "btnCalculate", {
		width: 190, 
		fOnErrorShow: function(sInput, sAlertStr) {
		
		}, 
		fOnErrorHide: function(sInput) {
			//$(sInput).setStyle("background", "none");
		}
	});
}

//
window.addEvent("load", function(e) {
	// global settings for all forms
	fSetAlertOptions({
		width: 100,
		bAlertOnBlur: false, 
		iAlertAutoHide: 3000
	});
	// create alert for "contact" forms
	initFrmID();
});