		$.ajaxSetup({beforeSend:function(xhr){try{xhr.overrideMimeType("text/html; charset=iso-8859-1")}catch(e){}}});
		function dyn(i){$('#i').livequery(function(){$(this).ajaxify({target:"#rcontent",tagToload:"#load",link:i,event:false});});}
		$(".formulario").livequery(function(){});
		$(".dynamic").livequery(function(){
			$(this).ajaxify({target:"#rcontent",tagToload:"#load"});
			$(this).bind('click', function(){
				_gaq.push(['_trackPageview', $(this).attr('href')]);
			});
		});
		$("label").livequery(function(){$(this).inFieldLabels();});
					/*$("form").livequery(function(){
						$("form").validationEngine("attach", {scroll: false});
							$("form").submit(function() {
								$valid=$(this).validationEngine("validate");
								if($valid==true){
									$("form").submit();
								}else{
								return false;
								}
							});
					});*/
		$('form').livequery(function(){
			$('form').ajaxify({event:"submit", link:$('form').attr('action')+"?action=submit",forms:"form",target:"#formulario",method:"POST",tagToload:"#formulario",animateOut:{opacity:'0'},animateOutSpeed:1000,animateIn:{opacity:'1'},animateInSpeed:1000,});	
		});
		$('.valbutton').livequery(function(){
			$('.valbutton').bind('click',function(){
				if($("form").validationEngine('validate')==true){
					$('form').submit();
				}
				return false;
			});
		});
		

 
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-4393228-9']);
  // "_trackEvent" is the pageview event, 
	_gaq.push(['_trackPageview']);
 
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
 
