		window.addEvent('domready', function(scroll){
			xxx = 0;
			if (location.href.substring(20,26) == "/about") {
				xxx=882;
			} else if (location.href.substring(20,30) == "/portfolio") {
				xxx=1764;
			} else if (location.href.substring(20,29) == "/services") {
				xxx=2646;
			} else if (location.href.substring(20,30) == "/downloads") {
				xxx=3528;
			} else if (location.href.substring(20,28) == "/contact") {
				xxx=4410;
			}		
		
			var scroll = new Fx.Scroll('header-wrapper', {
				wait: false,
				duration: 1500,
				offset: {'x': 0, 'y': 0},
				wheelStops: false,
				transition: Fx.Transitions.Quad.easeInOut
			}).set([xxx,0]);
			
			$('l1').addEvent('mouseover', function(event) {
				event = new Event(event).stop();
				scroll.toElement('content1');
			});
			
			$('l2').addEvent('mouseover', function(event) {
				event = new Event(event).stop();
				scroll.toElement('content2');
			});
			
			$('l3').addEvent('mouseover', function(event) {
				event = new Event(event).stop();
				scroll.toElement('content3');
			});
			
			$('l4').addEvent('mouseover', function(event) {
				event = new Event(event).stop();
				scroll.toElement('content4');
			});
			
			$('l5').addEvent('mouseover', function(event) {
				event = new Event(event).stop();
				scroll.toElement('content5');
			});
			
			$('l6').addEvent('mouseover', function(event) {
				event = new Event(event).stop();
				scroll.toElement('content6');
			});
			
			$('l1').addEvent('mouseout', function(event) {
				event = new Event(event).stop();

				if (location.href.substring(20,26) == "/about") {
					scroll.toElement('content2');
				} else if (location.href.substring(20,30) == "/portfolio") {
					scroll.toElement('content3');
				} else if (location.href.substring(20,29) == "/services") {
					scroll.toElement('content4');
				} else if (location.href.substring(20,30) == "/downloads") {
					scroll.toElement('content5');
				} else if (location.href.substring(20,28) == "/contact") {
					scroll.toElement('content6');
				} else {
					scroll.toElement('content1');
				}
			
			});
			
			$('l2').addEvent('mouseout', function(event) {
				event = new Event(event).stop();

				if (location.href.substring(20,26) == "/about") {
					scroll.toElement('content2');
				} else if (location.href.substring(20,30) == "/portfolio") {
					scroll.toElement('content3');
				} else if (location.href.substring(20,29) == "/services") {
					scroll.toElement('content4');
				} else if (location.href.substring(20,30) == "/downloads") {
					scroll.toElement('content5');
				} else if (location.href.substring(20,28) == "/contact") {
					scroll.toElement('content6');
				} else {
					scroll.toElement('content1');
				}
			
			});

			$('l3').addEvent('mouseout', function(event) {
				event = new Event(event).stop();

				if (location.href.substring(20,26) == "/about") {
					scroll.toElement('content2');
				} else if (location.href.substring(20,30) == "/portfolio") {
					scroll.toElement('content3');
				} else if (location.href.substring(20,29) == "/services") {
					scroll.toElement('content4');
				} else if (location.href.substring(20,30) == "/downloads") {
					scroll.toElement('content5');
				} else if (location.href.substring(20,28) == "/contact") {
					scroll.toElement('content6');
				} else {
					scroll.toElement('content1');
				}
			
			});

			$('l4').addEvent('mouseout', function(event) {
				event = new Event(event).stop();

				if (location.href.substring(20,26) == "/about") {
					scroll.toElement('content2');
				} else if (location.href.substring(20,30) == "/portfolio") {
					scroll.toElement('content3');
				} else if (location.href.substring(20,29) == "/services") {
					scroll.toElement('content4');
				} else if (location.href.substring(20,30) == "/downloads") {
					scroll.toElement('content5');
				} else if (location.href.substring(20,28) == "/contact") {
					scroll.toElement('content6');
				} else {
					scroll.toElement('content1');
				}
			
			});

			$('l5').addEvent('mouseout', function(event) {
				event = new Event(event).stop();

				if (location.href.substring(20,26) == "/about") {
					scroll.toElement('content2');
				} else if (location.href.substring(20,30) == "/portfolio") {
					scroll.toElement('content3');
				} else if (location.href.substring(20,29) == "/services") {
					scroll.toElement('content4');
				} else if (location.href.substring(20,30) == "/downloads") {
					scroll.toElement('content5');
				} else if (location.href.substring(20,28) == "/contact") {
					scroll.toElement('content6');
				} else {
					scroll.toElement('content1');
				}
			
			});
			
			$('l6').addEvent('mouseout', function(event) {
				event = new Event(event).stop();

				if (location.href.substring(20,26) == "/about") {
					scroll.toElement('content2');
				} else if (location.href.substring(20,30) == "/portfolio") {
					scroll.toElement('content3');
				} else if (location.href.substring(20,29) == "/services") {
					scroll.toElement('content4');
				} else if (location.href.substring(20,30) == "/downloads") {
					scroll.toElement('content5');
				} else if (location.href.substring(20,28) == "/contact") {
					scroll.toElement('content6');
				} else {
					scroll.toElement('content1');
				}
			
			});
			
			
			
			
		}); 		
