(function($){
    $.fn.validationEngineLanguage = function(){
    };
    $.validationEngineLanguage = {
        newLang: function(){
            $.validationEngineLanguage.allRules = {
                "required": { // Add your regex rules here, you can take telephone as an example
                    "regex": "none",
                    "alertText": "* This field is required",
                    "alertTextCheckboxMultiple": "* Please select an option",
                    "alertTextCheckboxe": "* Morate prihvatiti uslove kupovine"
                },
				"imeiprezime": {
                    // Number, including positive, negative, and floating decimal. credit: orefalo
                    "regex": /^([a-zA-Z]{2,20}\ ?){2,5}$/,
                    "alertText": "Neispravan unos imena i prezimena."
                },
				"oblast_interesovanja": {
                    // Number, including positive, negative, and floating decimal. credit: orefalo
                    "regex": /^([a-zA-Z]{2,20}\ ?){2,5}$/,
                    "alertText": "Neispravan unos oblasti interesovanja."
                },
				 "adresa": {
                    // Number, including positive, negative, and floating decimal. credit: orefalo
                    "regex": /^([A-Za-z0-9\\\/\,\.]{1,15}\ ?){2,8}$/,
                    "alertText": "Neispravan unos adrese"
                },
				 "telefon": {
                    // Number, including positive, negative, and floating decimal. credit: orefalo
                    "regex": /^([\-\+]?\ ?(([0-9]+)\ ?[\\\/]?)+)+$/,
                    "alertText": "Neispravan unos telefona"
                },
                "email": {
                    // Simplified, was not working in the Iphone browser
                    "regex": /^([A-Za-z0-9_\-\.\'])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,6})$/,
                    "alertText": "Neispravan unos Email adrese"
                },
				"maticniBroj": {
                    // Simplified, was not working in the Iphone browser
                    "regex": /^[1-9]{9,15}$/,
                    "alertText": "Neispravan unos maticnog broja"
                },
				"pib": {
                    // Simplified, was not working in the Iphone browser
                    "regex": /^[1-9]{9}$/,
                    "alertText": "Neispravan unos PIB broja"
                },
				"punoPoslovnoIme": {
                    // Simplified, was not working in the Iphone browser
                    "regex": /^([a-zA-Z1-9]{2,30}\ ?){1,10}$/,
                    "alertText": "Neispravan unos poslovnog imena"
                }
				
				
            };
            
        }
    };
    $.validationEngineLanguage.newLang();
})(jQuery);


    

