jQuery(document).ready(function(){
	
	jQuery(".contact_text").find(".small").parents(".contact_text").addClass("contact_houseno");
	jQuery(".contact_text").find(".small").parents(".contact_text").prev().addClass("contact_street");
	
	if(jsonErrorArray!='')
	{
		var result = eval('({"JSONError":'+jsonErrorArray+'})');
		jQuery(".error_consolidated").css({"display":"block"});
		jQuery("#formname").populate(result.JSONError,{stylepopulate: true,stylepopulatecolor: "#F6B7BA"});
		
	}
	if(jsonValuesArray!='')
	{	
		var result = eval('({"JSONForm":'+jsonValuesArray+'})');
		jQuery("#formname").populate(result.JSONForm);
		
	}
	
	globalTextValue = '';
			
	/**
	 * Code for removing the outline for submit button in contact form
	 */
	jQuery(".contact_submit").focus(function()
	{
		jQuery(this).blur();
	});

});