//write cookie for user resolution
function writeCookie() {
	 var today = new Date();
	 var the_date = new Date("December 31, 2023");
	 var the_cookie_date = the_date.toGMTString();
	 var availheight=screen.availHeight;
     var availwidth=screen.availWidth;
     var colordepth=screen.colorDepth + "bit";
	 var pixeldepth=screen.pixelDepth + "bit";
	 var the_cookie = "users_resolution="+ screen.width +"x"+ screen.height;
	 var the_cookie = the_cookie + ";path=/;expires=" + the_cookie_date;
	 document.cookie=the_cookie
}
if (document.cookie.indexOf('users_resolution') != ''){
	writeCookie();
}

$(function(){
	$("#slider img").iModSlider({
		start_item	:	0,
		slide_interval: 500,
		pause_on_hover : true,
		tabs : '#slider_navigation li'
	});
});
