﻿window.addEvent('domready', function(){
/* spec nav */
	var scroll = new Fx.Scroll('specout', {
		wait: false,
		duration: 1500,
		offset: {'x': -200, 'y': -50},
		transition: Fx.Transitions.Quad.easeInOut
	});
	var scroll2 = new Fx.Scroll('specout', {
		wait: false,
		duration: 1500,
		offset: {'x': 0, 'y': 0},
		transition: Fx.Transitions.Quad.easeInOut
	});
	 
	$('link1').addEvent('click', function(event) {
		event = new Event(event).stop();
		scroll.toElement('content2');
	});
	 
	$('link2').addEvent('click', function(event) {
		event = new Event(event).stop();
		scroll.toElement('content3');
	});
	 
	$('link3').addEvent('click', function(event) {
		event = new Event(event).stop();
		scroll.toElement('content4');
	});
	 
	$('link4').addEvent('click', function(event) {
		event = new Event(event).stop();
		scroll.toElement('content5');
	});
	$('link5').addEvent('click', function(event) {
		event = new Event(event).stop();
		scroll.toElement('content6');
	});
	$('link6').addEvent('click', function(event) {
		event = new Event(event).stop();
		scroll.toElement('content7');
	});
	$('link7').addEvent('click', function(event) {
		event = new Event(event).stop();
		scroll.toElement('content8');
	});
	$('link8').addEvent('click', function(event) {
		event = new Event(event).stop();
		scroll.toElement('content9');
	});
	$('link9').addEvent('click', function(event) {
		event = new Event(event).stop();
		scroll.toElement('content10');
	});
		$('link10').addEvent('click', function(event) {
		event = new Event(event).stop();
		scroll.toElement('content11');
	});
		$('link11').addEvent('click', function(event) {
		event = new Event(event).stop();
		scroll.toElement('content12');
	});
		$('link12').addEvent('click', function(event) {
		event = new Event(event).stop();
		scroll.toElement('content133');
	});
		$('link13').addEvent('click', function(event) {
		event = new Event(event).stop();
		scroll.toElement('content14');
	});
		$('link14').addEvent('click', function(event) {
		event = new Event(event).stop();
		scroll.toElement('content15');
	});
		$('link15').addEvent('click', function(event) {
		event = new Event(event).stop();
		scroll.toElement('content16');
	});
		$('link16').addEvent('click', function(event) {
		event = new Event(event).stop();
		scroll.toElement('content177');
	});
		$('link17').addEvent('click', function(event) {
		event = new Event(event).stop();
		scroll2.toElement('farright');
	});
/* drag it */
	var scroll1 = new Scroller('specout', {area: 200, velocity: 0.2});	 
		$('specout').addEvent('mouseover', scroll1.start.bind(scroll1));
		$('specout').addEvent('mouseout', scroll1.stop.bind(scroll1));
		$('filler1').addEvent('mouseover', scroll1.stop.bind(scroll1));
		$('filler2').addEvent('mouseover', scroll1.stop.bind(scroll1));
/* close dom function */
});
/* show c2 hide rest */
function showc2() {
	var els = $('content2');
	var thumbsf = els.effect('opacity', { duration: 500, wait: false });
	thumbsf.start.delay(1500, thumbsf, [0,1]);
	hidec3();
	hidec4();
	hidec5();
	hidec6();
	hidec7();
	hidec8();
	hidec9();
	hidec10();
	hidec11();
	hidec12();
	hidec13();
	hidec14();
	hidec15();
	hidec16();
	hidec17();
}
/* hide c2 */
function hidec2() {
	document.getElementById("content2").style.visibility="hidden";
}
/* show c3 hide rest */
function showc3() {
	var els = $('content3');
	var thumbsf = els.effect('opacity', { duration: 500, wait: false });
	thumbsf.start.delay(1500, thumbsf, [0,1]);
	hidec2();
	hidec4();
	hidec5();
	hidec6();
	hidec7();
	hidec8();
	hidec9();
	hidec10();
	hidec11();
	hidec12();
	hidec13();
	hidec14();
	hidec15();
	hidec16();
	hidec17();
}
/* hide c3 */
function hidec3() {
	document.getElementById("content3").style.visibility="hidden";
}
/* show c4 hide rest */
function showc4() {
	var els = $('content4');
	var thumbsf = els.effect('opacity', { duration: 500, wait: false });
	thumbsf.start.delay(1500, thumbsf, [0,1]);
	hidec2();
	hidec3();
	hidec5();
	hidec6();
	hidec7();
	hidec8();
	hidec9();
	hidec10();
	hidec11();
	hidec12();
	hidec13();
	hidec14();
	hidec15();
	hidec16();
	hidec17();
}
/* hide c4 */
function hidec4() {
	document.getElementById("content4").style.visibility="hidden";
}
/* show c5 hide rest */
function showc5() {
	var els = $('content5');
	var thumbsf = els.effect('opacity', { duration: 500, wait: false });
	thumbsf.start.delay(1500, thumbsf, [0,1]);
	hidec2();
	hidec3();
	hidec4();
	hidec6();
	hidec7();
	hidec8();
	hidec9();
	hidec10();
	hidec11();
	hidec12();
	hidec13();
	hidec14();
	hidec15();
	hidec16();
	hidec17();
}
/* hide c5 */
function hidec5() {
	document.getElementById("content5").style.visibility="hidden";
}
/* show c6 hide rest */
function showc6() {
	var els = $('content6');
	var thumbsf = els.effect('opacity', { duration: 500, wait: false });
	thumbsf.start.delay(1500, thumbsf, [0,1]);
	hidec2();
	hidec3();
	hidec4();
	hidec5();
	hidec7();
	hidec8();
	hidec9();
	hidec10();
	hidec11();
	hidec12();
	hidec13();
	hidec14();
	hidec15();
	hidec16();
	hidec17();
}
/* hide c6 */
function hidec6() {
	document.getElementById("content6").style.visibility="hidden";
}
/* show c7 hide rest */
function showc7() {
	var els = $('content7');
	var thumbsf = els.effect('opacity', { duration: 500, wait: false });
	thumbsf.start.delay(1500, thumbsf, [0,1]);
	hidec2();
	hidec3();
	hidec4();
	hidec5();
	hidec6();
	hidec8();
	hidec9();
	hidec10();
	hidec11();
	hidec12();
	hidec13();
	hidec14();
	hidec15();
	hidec16();
	hidec17();
}
/* hide c7 */
function hidec7() {
	document.getElementById("content7").style.visibility="hidden";
}
/* show c8 hide rest */
function showc8() {
	var els = $('content8');
	var thumbsf = els.effect('opacity', { duration: 500, wait: false });
	thumbsf.start.delay(1500, thumbsf, [0,1]);
	hidec2();
	hidec3();
	hidec4();
	hidec5();
	hidec6();
	hidec7();
	hidec9();
	hidec10();
	hidec11();
	hidec12();
	hidec13();
	hidec14();
	hidec15();
	hidec16();
	hidec17();
}
/* hide c8 */
function hidec8() {
	document.getElementById("content8").style.visibility="hidden";
}
/* show c9 hide rest */
function showc9() {
	var els = $('content9');
	var thumbsf = els.effect('opacity', { duration: 500, wait: false });
	thumbsf.start.delay(1500, thumbsf, [0,1]);
	hidec2();
	hidec3();
	hidec4();
	hidec5();
	hidec6();
	hidec7();
	hidec8();
	hidec10();
	hidec11();
	hidec12();
	hidec13();
	hidec14();
	hidec15();
	hidec16();
	hidec17();
}
/* hide c9 */
function hidec9() {
	document.getElementById("content9").style.visibility="hidden";
}
/* show c10 hide rest */
function showc10() {
	var els = $('content10');
	var thumbsf = els.effect('opacity', { duration: 500, wait: false });
	thumbsf.start.delay(1500, thumbsf, [0,1]);
	hidec2();
	hidec3();
	hidec4();
	hidec5();
	hidec6();
	hidec7();
	hidec8();
	hidec9();
	hidec11();
	hidec12();
	hidec13();
	hidec14();
	hidec15();
	hidec16();
	hidec17();
}
/* hide c10 */
function hidec10() {
	document.getElementById("content10").style.visibility="hidden";
}
/* show c11 hide rest */
function showc11() {
	var els = $('content11');
	var thumbsf = els.effect('opacity', { duration: 500, wait: false });
	thumbsf.start.delay(1500, thumbsf, [0,1]);
	hidec2();
	hidec3();
	hidec4();
	hidec5();
	hidec6();
	hidec7();
	hidec8();
	hidec9();
	hidec10();
	hidec12();
	hidec13();
	hidec14();
	hidec15();
	hidec16();
	hidec17();
}
/* hide c11 */
function hidec11() {
	document.getElementById("content11").style.visibility="hidden";
}
/* show c12 hide rest */
function showc12() {
	var els = $('content12');
	var thumbsf = els.effect('opacity', { duration: 500, wait: false });
	thumbsf.start.delay(1500, thumbsf, [0,1]);
	hidec2();
	hidec3();
	hidec4();
	hidec5();
	hidec6();
	hidec7();
	hidec8();
	hidec9();
	hidec10();
	hidec11();
	hidec13();
	hidec14();
	hidec15();
	hidec16();
	hidec17();
}
/* hide c12 */
function hidec12() {
	document.getElementById("content12").style.visibility="hidden";
}
/* show c13 hide rest */
function showc13() {
	var els = $('content13');
	var thumbsf = els.effect('opacity', { duration: 500, wait: false });
	thumbsf.start.delay(1500, thumbsf, [0,1]);
	hidec2();
	hidec3();
	hidec4();
	hidec5();
	hidec6();
	hidec7();
	hidec8();
	hidec9();
	hidec10();
	hidec11();
	hidec12();
	hidec14();
	hidec15();
	hidec16();
	hidec17();
}
/* hide c13 */
function hidec13() {
	document.getElementById("content13").style.visibility="hidden";
}
/* show c14 hide rest */
function showc14() {
	var els = $('content14');
	var thumbsf = els.effect('opacity', { duration: 500, wait: false });
	thumbsf.start.delay(1500, thumbsf, [0,1]);
	hidec2();
	hidec3();
	hidec4();
	hidec5();
	hidec6();
	hidec7();
	hidec8();
	hidec9();
	hidec10();
	hidec11();
	hidec12();
	hidec13();
	hidec15();
	hidec16();
	hidec17();
}
/* hide c14 */
function hidec14() {
	document.getElementById("content14").style.visibility="hidden";
}
/* show c15 hide rest */
function showc15() {
	var els = $('content15');
	var thumbsf = els.effect('opacity', { duration: 500, wait: false });
	thumbsf.start.delay(1500, thumbsf, [0,1]);
	hidec2();
	hidec3();
	hidec4();
	hidec5();
	hidec6();
	hidec7();
	hidec8();
	hidec9();
	hidec10();
	hidec11();
	hidec12();
	hidec13();
	hidec14();
	hidec16();
	hidec17();
}
/* hide c15 */
function hidec15() {
	document.getElementById("content15").style.visibility="hidden";
}
/* show c16 hide rest */
function showc16() {
	var els = $('content16');
	var thumbsf = els.effect('opacity', { duration: 500, wait: false });
	thumbsf.start.delay(1500, thumbsf, [0,1]);
	hidec2();
	hidec3();
	hidec4();
	hidec5();
	hidec6();
	hidec7();
	hidec8();
	hidec9();
	hidec11();
	hidec12();
	hidec13();
	hidec14();
	hidec15();
	hidec10();
	hidec17();
}
/* hide c16 */
function hidec16() {
	document.getElementById("content16").style.visibility="hidden";
}
/* show c17 hide rest */
function showc17() {
	var els = $('content17');
	var thumbsf = els.effect('opacity', { duration: 500, wait: false });
	thumbsf.start.delay(1500, thumbsf, [0,1]);
	hidec2();
	hidec3();
	hidec4();
	hidec5();
	hidec6();
	hidec7();
	hidec8();
	hidec9();
	hidec11();
	hidec12();
	hidec13();
	hidec14();
	hidec15();
	hidec16();
	hidec10();
}
/* hide c17 */
function hidec17() {
	document.getElementById("content17").style.visibility="hidden";
}
/* hide all */
function hideall() {
	hidec2();
	hidec3();
	hidec4();
	hidec5();
	hidec6();
	hidec7();
	hidec8();
	hidec9();
	hidec11();
	hidec12();
	hidec13();
	hidec14();
	hidec15();
	hidec16();
	hidec10();
	hidec17();
}