var pop_x = 500;
var pop_y = 340;

// jquery functions
$(document).ready(function() {
	
	$('#mexico_warning').click(function(event) {
		event.preventDefault();
		var ImageWindow = null;
		xPositie = ($(window).width() - pop_x) / 2;
		yPositie = ($(window).height() - pop_y) / 2;
		ImageWindow = window.open("/english/mexico-safety.html","","height="+pop_y+",width="+pop_x+",screenX="+xPositie+",screenY="+yPositie+",scrollbars=yes,resizable=yes,noresize=no,toolbar=0,location=0,directories=0,status=0,menubar=0");
	});
	
});

// Google Analytics
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-9878837-1']);
_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);
})();


