// JavaScript Document

var module = 'contact';

function trySubmitContactForm() {
    var ajax = new myAjax( 'contact' );
    ajax.action = arguments.callee.toString().substr(9, arguments.callee.toString().indexOf('(', 0)-9); // metoda ajaxowa taka sama jak nazwa funkcji js
    ajax.post( getFormFieldsValueString( 'contact_form' ) );
    ajax.onLoad = function() {
	var response = handleResponse( this.response, 'contact_form', 'response' );
    }
}



