/* JavaScript for http://www.a-kuu.com/last updated on 2010.02.16(c) 2010 YOSUKE INUI Design Office-- */ // ------------------------------- Over Write CSS -------------------------------document.open();document.write('<style type="text/css">body { overflow:hidden; } div#JSS { overflow:visible; } div#JSS div.OBJ { left:2048px; height:400px; overflow:hidden; }</style>');document.close();// -- JSS --script_JSS.objdrag = true;load.Set('new JSS("JSS", 960, 452, "objW_SUM()", 400, 0, 0, 5);');function objW_SUM () {	for (i = 1; i <= JSS.frame.path.firstChild.firstChild.childNodes.length; i ++) { var tmp = new OBJ(JSS.frame.path.firstChild.firstChild.childNodes[(i-1)]); JSSspt.keys[i] = JSSspt.keys[(i-1)] + tmp.W; }	var tmp = (JSSspt.keys[(JSSspt.keys.length - 1)] > 960) ? JSSspt.keys[(JSSspt.keys.length - 1)] : 960;	return tmp;}// -- JSSspt --load.Set('JSSspt.set();');var JSSspt	= { flag:false, obj:new Object (), obj_as:new Object (), objs:new Array (), signs:new Array(), keys:new Array (0,0),set:function () {	// return !script_JSS.od_dragkey	JSSspt.obj	= new OBJ('JSS');	JSSspt.obj_as	= JSSspt.obj.path.firstChild.getElementsByTagName('a');	for (i = 0; i < JSSspt.obj_as.length; i ++) { if (JSSspt.obj_as[i].onclick == null) { JSSspt.obj_as[i].onclick = function () { return !script_JSS.od_dragkey; }}}	JSSspt.objs	= new CLASS('ANCHOR');	for (i = 0; i < JSSspt.objs.length; i ++) {		eval ('JSSspt.objs[' + i + '].path.onclick			= function () { JSSspt.go(' + i + '); return false; }');		if (i == JSSspt.objs.length - 1) { break; }		eval ('script_JSS.frame.path.firstChild.firstChild.childNodes[' + i + '].onmouseover	= function () { sweep.Set(JSSspt.signs[' + i + '], 0,50,400,0, 2); this.style.cursor = "pointer"; }');		eval ('script_JSS.frame.path.firstChild.firstChild.childNodes[' + i + '].onmousemove	= function () { sweep.Set(JSSspt.signs[' + i + '], 0,50,400,0, 2); }');		eval ('script_JSS.frame.path.firstChild.firstChild.childNodes[' + i + '].onmouseout	= function () { sweep.Set(JSSspt.signs[' + i + '], 0,50,400,50, 2); }');		eval ('script_JSS.frame.path.firstChild.firstChild.childNodes[' + i + '].onclick	= function () { JSSspt.go(' + (i + 1) + '); }');		if (!JSSspt.signs[i]) {			JSSspt.signs[i] = new OBJ(document.createElement('img'));			JSSspt.signs[i].path.className = 'SIGN';			JSSspt.signs[i].path.setAttribute('src', '/com/img/sign.png');			JSSspt.signs[i].path.setAttribute('alt', 'OPEN IMAGE');			eval('JSSspt.signs[' + i + '].path.onclick	= function () { JSSspt.go(' + (i + 1) + '); }');			eval('JSSspt.signs[' + i + '].path.onmouseover	= function () { sweep.Set(JSSspt.signs[' + i + '], 0,50,400,0, 2); }');			eval('JSSspt.signs[' + i + '].path.onmousmove	= function () { sweep.Set(JSSspt.signs[' + i + '], 0,50,400,0, 2); }');			eval('JSSspt.signs[' + i + '].path.onmouseout	= function () { sweep.Set(JSSspt.signs[' + i + '], 0,50,400,50, 2); }');			script_JSS.frame.path.firstChild.firstChild.childNodes[i].appendChild(JSSspt.signs[i].path);			JSSspt.signs[i].setX(JSSspt.keys[i] + script_JSS.frame.path.firstChild.firstChild.childNodes[i].offsetWidth).setC(0,50,400,50);			if (winIE && parseInt(UAver) == 6 && JSSspt.signs[i].path.runtimeStyle) {				JSSspt.signs[i].path.runtimeStyle.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + JSSspt.signs[i].path.src + '", sizingmethod="image");';				JSSspt.signs[i].path.src = '/com/img/transparent.png';			}		}	}},go:function () {	script_JSS.move(-JSSspt.keys[(arguments[0])]);}}// -- moveBG --load.Set('moveBG.set();');var moveBG = { timer:undefined, obj:new Object(), objs:new Array(), flag:false,set:function () {moveBG.objs = new CLASS('MOVE_BG');for (i = 0; i < moveBG.objs.length; i ++) {	moveBG.objs[i].path.firstChild.style.backgroundPosition = '-50px -60px';	eval('moveBG.objs[' + i + '].path.onmouseover	= function () { moveBG.on(' + i + '); AUDIO.play(); }');	eval('moveBG.objs[' + i + '].path.onmouseout	= function () { moveBG.off(' + i + '); }');}// if (moveBG.objs.length >= 1 ) { moveBG.on(0); }},on:function () { clearTimeout(moveBG.timer);moveBG.obj = (arguments[0] >= 0) ? (moveBG.objs[(arguments[0])].path.firstChild) : (moveBG.obj); if (moveBG.obj.style.backgroundPosition) { 	moveBG.obj.style.backgroundPosition = (parseInt(moveBG.obj.style.backgroundPosition.split(' ')[0]) - 1) + 'px -60px';	moveBG.timer = setTimeout('moveBG.on();', 32);}},off:function () { if (moveBG.objs.length > 1 ) { moveBG.obj = false; clearTimeout(moveBG.timer); }}}
