
      $(document).ready(function() { 
      var currentPage = 'sdsd';//jQuery.url.attr("path");
      $('form :input').change(function () {
          if($(this).val().length > 0){
		var form = $(this).closest('form').attr('name');
_gaq.push(['_trackEvent', 'Forms', form, $(this).attr('name'),1,true]);

          }

      });

$('form').bind('submit', function() {
_gaq.push(['_trackEvent', 'Forms', $(this).attr('name'), 'Submit',1,true]);
});

$('.searchwidget #price_range a').click(function () {
		var form = $(this).closest('div').attr('id');
_gaq.push(['_trackPageview',"/search/"+form +"/"+$.trim($(this).text()).replace(/ /g,'_')+".html"]);
///_gaq.push(['_trackEvent', 'Features', 'searchWidget', $(this).text(),1,true]);

      });

//climateToggle
$('.climateToggle').click(function () {
 //$('#climateBoxOuterTable th a, #climateBoxOuterTable #climateBoxLabel3 a').click(function () {
//_gaq.push(['_trackEvent', 'Features', 'ClimateWidget', $(this).text(),1,true]);
});
//climateLink
$('#cbLabel3 a').click(function () {
 //$('#climateBoxOuterTable th a, #climateBoxOuterTable #climateBoxLabel3 a').click(function () {
//_gaq.push(['_trackEvent', 'Features', 'ClimateWidget', $(this).text(),1,true]);
});


//UI TRACKING per Page 
 $('ul.tabs li, div.ctabs ul.tc li a').click(function () {
_gaq.push(['_trackEvent', 'UI', 'TabSwitch',  $(this).text(),1,true]);
});

 $('span.intro h3 a,span.intro h2 a,span.intro h1 a').click(function () {
_gaq.push(['_trackEvent', 'UI', 'AccordianSwitch', $(this).text(),1,true]);
});


  });      
    // so it won't submit
  

