 var _gaq = _gaq || [];	
_gaq.push(['t1._setAccount', 'UA-2202150-1']);
_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(){

/* FEATURE Hotel Links*/	
$('.feature a[href*="oceancityhilton"]').click(function(){	

_gaq.push(['t1._trackEvent', 'Featured', 'hotelsite', 'oceancityhilton']);
	
	});
	
$('.feature a[href*="ocsuites"]').click(function(){	

_gaq.push(['t1._trackEvent', 'Featured', 'hotelsite', 'ocsuites']);
	
	});

$('.feature a[href*="holidayinn"]').click(function(){	

_gaq.push(['t1._trackEvent', 'Featured', 'hotelsite', 'holidayinn']);
	
	});

$('.feature a[href*="qioceanfront"]').click(function(){	

_gaq.push(['t1._trackEvent', 'Featured', 'hotelsite', 'qioceanfront']);
	
	});

$('.feature a[href*="qiboardwalk"]').click(function(){	

_gaq.push(['t1._trackEvent', 'Featured', 'hotelsite', 'qiboardwalk']);
	
	});

$('.feature a[href*="flagshipof"]').click(function(){	

_gaq.push(['t1._trackEvent', 'Featured', 'hotelsite', 'flagshipof']);
	
	});

$('.feature a[href*="harrisonhall"]').click(function(){	

_gaq.push(['t1._trackEvent', 'Featured', 'hotelsite', 'harrisonhall']);
	
	});

$('.feature a[href*="seabonay"]').click(function(){	

_gaq.push(['t1._trackEvent', 'Featured', 'hotelsite', 'seabonay']);
	
	});

$('.feature a[href*="oceanic"]').click(function(){	

_gaq.push(['t1._trackEvent', 'Featured', 'hotelsite', 'oceanic']);
	
	});

$('.feature a[href*="plimplaza"]').click(function(){	

_gaq.push(['t1._trackEvent', 'Featured', 'hotelsite', 'plimplaza']);
	
	});
	
	
	

/* hotelList Hotel Links*/	
$('#hotelList a[href*="oceancityhilton"]').click(function(){	

_gaq.push(['t1._trackEvent', 'hotelList', 'hotelsite', 'oceancityhilton']);
	
	});
	
$('#hotelList a[href*="ocsuites"]').click(function(){	

_gaq.push(['t1._trackEvent', 'hotelList', 'hotelsite', 'ocsuites']);
	
	});

$('#hotelList a[href*="holidayinn"]').click(function(){	

_gaq.push(['t1._trackEvent', 'hotelList', 'hotelsite', 'holidayinn']);
	
	});

$('#hotelList a[href*="qioceanfront"]').click(function(){	

_gaq.push(['t1._trackEvent', 'hotelList', 'hotelsite', 'qioceanfront']);
	
	});

$('#hotelList a[href*="qiboardwalk"]').click(function(){	

_gaq.push(['t1._trackEvent', 'hotelList', 'hotelsite', 'qiboardwalk']);
	
	});

$('#hotelList a[href*="flagshipof"]').click(function(){	

_gaq.push(['t1._trackEvent', 'hotelList', 'hotelsite', 'flagshipof']);
	
	});

$('#hotelList a[href*="harrisonhall"]').click(function(){	

_gaq.push(['t1._trackEvent', 'hotelList', 'hotelsite', 'harrisonhall']);
	
	});
	
$('#hotelList a[href*="seabonay"]').click(function(){	

_gaq.push(['t1._trackEvent', 'hotelList', 'hotelsite', 'seabonay']);
	
	});

$('#hotelList a[href*="oceanic"]').click(function(){	

_gaq.push(['t1._trackEvent', 'hotelList', 'hotelsite', 'oceanic']);
	
	});

$('#hotelList a[href*="plimplaza"]').click(function(){	

_gaq.push(['t1._trackEvent', 'hotelList', 'hotelsite', 'plimplaza']);
	
	});


//photo gallery links
$('#hotelList a[href*="oceancityhilton.com/photo-gallery"]').click(function(){	

_gaq.push(['t1._trackEvent', 'hotelList', 'photo gallery', 'oceancityhilton']);
	
	});
	
$('#hotelList a[href*="harrisonhall/photos"]').click(function(){	

_gaq.push(['t1._trackEvent', 'hotelList', 'photo gallery', 'harrisonhall']);
	
	});
	
$('#hotelList a[href*="seabonay/photos"]').click(function(){	

_gaq.push(['t1._trackEvent', 'hotelList', 'photo gallery', 'seabonay']);
	
	});	

$('#hotelList a[href*="oceanic/photos"]').click(function(){	

_gaq.push(['t1._trackEvent', 'hotelList', 'photo gallery', 'oceanic']);
	
	});

$('#hotelList a[href*="oceanic/photos"]').click(function(){	

_gaq.push(['t1._trackEvent', 'hotelList', 'photo gallery', 'oceanic']);
	
	});	
	

$('#reservations form').submit(function() {

_gaq.push(['t1._trackEvent', 'Reservations', 'Search Hotels', 'Homepage'], ['_linkByPost', this]);

});	


}); 
  
