function ajSubmit() {
	// Do nothing
	$("form").submit();
}

function ajSubmit_old(){
new Effect.Fade("form",{queue:"end"});
var _1=$("form");
var _2=_1.action;
var _3=_1.method;
var _4=Form.serialize("form");
var _5=new Ajax.Request(_2,{method:_3,parameters:_4,onSuccess:function(_6){
new Effect.Thanks("form",{queue:"end"});
},onFailure:function(_7){
_1.submit();
}});
}
Effect.Thanks=function(_8){
_8=$(_8);
var _9=Object.extend({from:0,to:1,afterFinishInternal:function(_a){
_a.element.forceRerendering();
},beforeSetup:function(_b){
_b.element.show();
},beforeSetupInternal:function(_c){
_c.element.innerHTML="<h2>Thank You</h2>Your request has been received, a NEP employee will be contacting you shortly";
_c.element.addClassName("thanks");
}},arguments[1]||{});
return new Effect.Opacity(_8,_9);
};
NepCatchEnter=function(_d){
if(_d.keyCode==Event.KEY_RETURN){
$("submit").onclick();
}
};
Event.observe(window,"keypress",NepCatchEnter.bindAsEventListener(this));

