// corrections and settings

$(document).ready(function() { 
						   
	//fixing a margin problem on firefox mac
	userAgent = navigator.userAgent.toLowerCase();
	if ((userAgent.indexOf('mac') != -1) && (userAgent.indexOf('firefox')!=-1)) {
		$('#footer .menu ul li').css({marginBottom: 0});
	}
	// if we disable, use fullscreen only single picture
	if (slider_activate == 'off') {
		var img_home = new Image();
		img_home.src = $('#firstbg').attr('src');
		if (img_home.src != '') {
			var w = img_home.width;
			var h = img_home.height;
			var FullscreenrOptions = {  width: w, height: h, bgID: '#firstbg' };
			jQuery.fn.fullscreenr(FullscreenrOptions);
			$('#firstbg').fadeIn('slow');
		}
	}

});

/*
window.onresize = function() {
};

*/

