$(document).ready(function(){
	//homepage banners 
	/*bannertextWheelOfFortune = Math.floor(Math.random()*7);
	bannertextWheelOfFortune = bannertextWheelOfFortune + 1;
	$('.bannertext').attr('src','pages/images/bannertext_'+bannertextWheelOfFortune+'.jpg');
	bannerphotoWheelOfFortune = Math.floor(Math.random()*11);
	bannerphotoWheelOfFortune = bannerphotoWheelOfFortune + 1;
	$('.bannerphoto').attr('src','pages/images/bannerphoto_'+bannerphotoWheelOfFortune+'.jpg');
	artworkWheelOfFortune = Math.floor(Math.random()*5);
	artworkWheelOfFortune = artworkWheelOfFortune + 1;
	$('.artwork').attr('src','pages/images/artwork_'+artworkWheelOfFortune+'.jpg');*/
	
	//widthesizer
//	var contentwidth = $('.contentcontainer').width();
//	//$('.sidenav a').text(contentwidth);
//	contentwidth = contentwidth + 410;
//	$('.pagecontainer').width(contentwidth);

//	//icons labels
//	$('.icons form input').hoverIntent({
//		sensitivity: 20, 	// number = sensitivity threshold (must be 1 or higher)
//		over: showThing,  	// function = onMouseOver callback (required)
//		timeout: 0,   	// number = milliseconds delay before onMouseOut function call
//		out: hideThing    	// function = onMouseOut callback (required)
//	});
//	
//	function showThing() {
//		//$(this).css('border','1px solid red');
//		thisNote = $(this).attr('alt');
//		$('.iconsnote').text(thisNote);
//		$('.iconsnote').fadeIn('slow');
// 	}
// 	
// 	function hideThing() {
// 		$('.iconsnote').fadeOut('slow');
// 	}
	$('.icons form input').hover(function() {
		thisNote = $(this).attr('alt');
			$('.iconsnote').text(thisNote);
			$('.iconsnote').show(1);
	}, function() {
		$('.iconsnote').hide(1);
	});
	
	//if ($.browser.msie) {
	//	location.reload();
	//}

});

	//more widthesizers
//$(window).resize(function() {
//	if ($.browser.msie) {
//	
//	} else {
//		$('.pagecontainer').width('auto');
//		var contentwidth = $('.contentcontainer').width();
//		//$('.sidenav a').text(contentwidth);
//		contentwidth = contentwidth + 410;
//		$('.pagecontainer').width(contentwidth);
//	}
//});
