	jQuery(document).ready(function() {
				

				
				if (!(jQuery.browser.msie && jQuery.browser.version == "6.0")){
					setInterval( "slideSwitch()", 5000 );	
				} 
					
				
				//For all browsers except IE6 apply the super duper slidy navigation
				if (!(jQuery.browser.msie && jQuery.browser.version == "6.0")) {
					jQuery('#container').addClass('js');
					jQuery('#navbar').addClass('js');
	
					//Innit	
					jQuery.scrollTo(0);				
			
					Offset = (jQuery(window).width() - 960) / 2;				
					
					jQuery("#container").css("margin-left", Offset);
					
					if (!(jQuery.browser.msie && jQuery.browser.version == "7.0")) {
						jQuery("#navbar").css("padding-left", Offset);
					}

				} else{  //if IE6 hide the other content block coz IE ignors the overflow: hidden attribute like a bitch!
					jQuery('#aboutBlock, #servicesBlock, #contactBlock').hide();
				}
				
				//navbar anim				
				jQuery("#navbar ul li").hover(
					function(){
						if (jQuery(this).hasClass("current")) {							
							return false;
						}
						else {
							jQuery(this).stop().animate({
								marginTop: '0'
							},{
								queue: false,
								duration: 200
							});
							jQuery('#' + this.id + ' a').stop().animate({
								color: '#c2b2ea'
							},{
								queue: false,
								duration: 300
							});
						}
					},
					function(){
						if (jQuery(this).hasClass("current")){
							return false;
						}
						else {
							jQuery(this).stop().animate({
								marginTop: '4px'
							},{
								queue: false,
								duration: 200
							});
							jQuery('#' + this.id + ' a').stop().animate({
								color: '#fff'
							},{
								queue: false,
								duration: 500
							});
						}
					}
					);
					
					jQuery("#navbar li").bind('click',function(){
						jQuery('#navbar li.current a').stop().animate({
								color: '#fff'
							},{
								queue: false,
								duration: 500
						});
						jQuery('#navbar li.current').stop().animate({
								marginTop: '3px'
							},{
								queue: false,
								duration: 200
							}).removeClass('current');
						jQuery(this).stop().animate({
								marginTop: '0'
							},{
								queue: false,
								duration: 200
							}).addClass('current');
						
					});				
					jQuery("a.logo").bind('click',function(){
						jQuery('#navbar li.current a').stop().animate({
								color: '#fff'
							},{
								queue: false,
								duration: 500
						});
						jQuery('#navbar li.current').stop().animate({
								marginTop: '3px'
							},{
								queue: false,
								duration: 200
							}).removeClass('current');
						jQuery("#navbar li:first").stop().animate({
								marginTop: '0'
							},{
								queue: false,
								duration: 200
							}).addClass('current');		
						jQuery('#navbar li.current a').stop().animate({
								color:  '#c2b2ea'
							},{
								queue: false,
								duration: 500
						});						
					});
				//Home Links
				if(!($.browser.msie && $.browser.version=="6.0")){
					
						jQuery("#navbar .home").bind("click",function(){
								jQuery.scrollTo('0px', 1800, {axis: 'x'});
								jQuery.scrollTo('0px', 500, {axis: 'y'});
								return false;
						});
						
						jQuery("#navbar li.portfolio").bind("click",function(){
								jQuery.scrollTo(1920, 1100, {axis: 'x'});
								jQuery.scrollTo('0px', 500, {axis: 'y'});
								return false;
						});
	
						jQuery("#navbar li.services").bind("click",function(){
								jQuery.scrollTo(3840, 1100, {axis: 'x'});
								jQuery.scrollTo('0px', 500, {axis: 'y'});
								return false;
						});
						
										
						jQuery("#navbar li.about").bind("click",function(){
								jQuery.scrollTo('5760px', 1100, {axis: 'x'});
								jQuery.scrollTo('0px', 500, {axis: 'y'});
								return false;
						});
						
						jQuery("#navbar li.contact").bind("click",function(){
								jQuery.scrollTo('7680px', 1100, {axis: 'x'});
								jQuery.scrollTo('0px', 500, {axis: 'y'});
								return false;
						});
					}
							
				
			});