$(document).ready(function(){
	$isIE6 = false;
	if ($.browser.msie && $.browser.version.substr(0,1)<7) {
		$isIE6 = true;
	}
	
	$('body').removeClass('noJS');
	

	
	function gotoHome()
	{
		$('#content_home').fadeOut('normal',function()
		{
			$('#home').fadeIn();
		});		
		_gaq.push(['_trackEvent', 'WebThumbs', '']);
		return false;
	}
	
	
	
	function gotoAbout()
{
		$('#content_home').fadeOut('normal',function()
		{
			$('#about').fadeIn();
		});		
		_gaq.push(['_trackEvent', 'WebThumbs', '']);
		return false;
	}
	
	function gotoContact()
	{
		$('#content_home').fadeOut('normal',function()
		{
			$('#contact').fadeIn();
		});		
		_gaq.push(['_trackEvent', 'WebThumbs', '']);
		return false;
	}
	
		function gotoGallery()
	{
		$('#content_home').fadeOut('normal',function()
		{
			$('#gallery').fadeIn();
		});		
		_gaq.push(['_trackEvent', 'WebThumbs', '']);
		return false;
	}
	
	function gotoShowreel()
	{
		$('#content_home').fadeOut('normal',function()
		{
			$('#showreel').fadeIn();
		});		
		_gaq.push(['_trackEvent', 'WebThumbs', '']);
		return false;
	}
	
		function gotoNews()
	{
		$('#content_home').fadeOut('normal',function()
		{
			$('#news').fadeIn();
		});		
		_gaq.push(['_trackEvent', 'WebThumbs', '']);
		return false;
	}
	
	function noScroll()
	{
		return false;
	}
	
	$('.goto_home').live("click", gotoHome);
	$('.goto_about').live("click", gotoAbout);
	$('.goto_news').live("click", gotoNews);
	$('.goto_contact').live("click", gotoContact);
	$('.noScroll').live("click", noScroll);
	
	
	
	
});
