 var _gaq = _gaq || [];
_gaq.push(['t1._setAccount', 'UA-2202150-12']);
_gaq.push(['t1._setDomainName', 'none']);
_gaq.push(['t1._setAllowLinker', true]);
_gaq.push(['t1._setAllowHash', false]);
_gaq.push(['t1._trackPageview']);

  _gaq.push(['t2._setAccount', 'UA-2202150-26']);
  _gaq.push(['t2._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);
  })();
  

$(document).ready(function(){
	
$('a[href*="iqreservations"]').click(function() {

_gaq.push(
	['t1._link',this.href],
	['t1._trackEvent', 'Reservations', 'Clicked', 'Menu'] 	
	);

return false;
	
});


function fixNav(){
if ($(window).scrollTop() > ($(".mainNav").height()+100) && $(window).height() >= 500 && $(window).width() >= 500)
	{$('.mnClone').addClass('fixed').slideDown();}
	
	/* Fix to Top */
	else {$('.mnClone').hide();}
	
	}

if (screen.width >= 600) {
$('.mainNav').clone().appendTo($('header')).addClass('invis mnClone');
$(window).scroll(fixNav)
}

/*$('form#contactUs').submit(function() {
_gaq.push(['t1._trackEvent', 'ContactForm', 'Submit', 'Form'], ['t1._linkByPost', this]);
});*/	

}); 
