/*JavaScript: work.jslast updated on 2009.07.10(c) 2009 YOSUKE INUI Design Office (http://www.inuiyosuke.jp/)*/// ------------------------------- Over Write CSS -------------------------------document.open();document.write('<style type="text/css">div#L div.SHEET div.JSS { display:inline; height:343px; } div.IMAGES { height:460px; }</style>');document.close();// -- JSS --wheel.Set("script_JSS.wheel();"); mouse.Set("script_JSS.drag();"); msup.Set("script_JSS.off();");load.Set('new JSS("JSS", 390, 343, 380, 0, 0, 0, 0);');// -- SHEET --load.Set('SHEET.set();');// -- BALLOON --load.Set('BALLOON.set();');// ------------------------------- BALLOON.on -------------------------------load.Set('BALLOON_overwrite();');function BALLOON_overwrite () { BALLOON.obj.path.onmouseover = function () { if (BALLOON.obj > 50) { SHEET.on(); } else {BALLOON.obj.setD(0); }}}// -- over_IMAGE() for slideIMG() --var over_IMAGE = { timer:undefined, key:true,on:function ()	{ clearTimeout(over_IMAGE.timer);	over_IMAGE.timer = setTimeout('over_IMAGE.key = true;',16); setTimeout('over_IMAGE.sweep();',32); },out:function ()	{ clearTimeout(over_IMAGE.timer);	over_IMAGE.key = false; over_IMAGE.timer = setTimeout('over_IMAGE.key = false;',16); setTimeout('over_IMAGE.sweep();',32); },sweep:function ()	{ if (over_IMAGE.key) { sweep.Set(slideIMG.next,0,90,21,0); } else { sweep.Set(slideIMG.next,0,0,21,0); }}}// -- slideIMG --load.Set('slideIMG.set();');var slideIMG = { timer:undefined, delay:undefined, obj:new Object(), objs:new Array(), thumbnails:new Array(), thumb:new Object(), bar:new Object(), thumbW:60, flag:false, key:-1, next:new Object(),set:function () {slideIMG.objs	= new CLASS('IMAGE');if (slideIMG.objs.length > 0) { 	// -- NEXT --	if (slideIMG.objs.length > 1) { 		slideIMG.obj	= new CLASS('IMAGES');		slideIMG.obj[0].path.onmouseover	= function () { over_IMAGE.on(); }		slideIMG.obj[0].path.onmouseout	= function () { over_IMAGE.out(); }		slideIMG.next	= new OBJ(document.createElement('div'));	slideIMG.next.path.className = 'NEXTSLIDE';	slideIMG.next.setZ(11).setY(220).setW(90).setD(1).setC(0,0,21,0);	slideIMG.obj[0].path.appendChild(slideIMG.next.path);	slideIMG.next = new OBJ(slideIMG.next);		slideIMG.next.path.onclick		= function () { slideIMG.on(-2); }	}	for (i = 0; i < slideIMG.objs.length; i ++) {		slideIMG.objs[i].jss.cursor = 'pointer';		slideIMG.objs[i].path.onclick = function () { slideIMG.on(); }		// -- NEXT --		//if (slideIMG.next.flag) { 		//	if (slideIMG.objs[i].path.firstChild) { slideIMG.objs[i].path.firstChild.onmouseover = function () { over_IMAGE.out(); }; slideIMG.objs[i].path.firstChild.onmousemove = function () { over_IMAGE.out(); }}		//}	}	slideIMG.timer = setTimeout('slideIMG.slideshow();', 0);}},slideshow:function () {	slideIMG.on(arguments[0]);	if (slideIMG.timer) clearTimeout(slideIMG.timer);	if (slideIMG.objs.length > 1 ) { slideIMG.timer = setTimeout('slideIMG.slideshow();', 4000); }},on:function () {	if (slideIMG.timer) clearTimeout(slideIMG.timer);	if (slideIMG.objs.length <= 0 ) { return; } else if ( !slideIMG.key && slideIMG.objs.length <= 1 ) { return; }	if (slideIMG.key == arguments[0]) { slideIMG.timer = setTimeout('slideIMG.slideshow();', 3000); return; }	slideIMG.key = (arguments[0] != undefined) ? arguments[0] : slideIMG.key + 1;	if (slideIMG.key >= slideIMG.objs.length) { slideIMG.key = 0; }	if (macFF || winFF) { slideIMG.objs[slideIMG.key].setA(0); }	else		{ slideIMG.objs[slideIMG.key].setA(0); }	slideIMG.objs[slideIMG.key].setC(0,0,460,0);	slideIMG.objs[slideIMG.key].setD(1);	for (i = 0; i < slideIMG.objs.length; i ++) { 		if	(i == slideIMG.key)		{ slideIMG.objs[i].setZ(10); }		else				{ slideIMG.objs[i].setZ((slideIMG.objs[i].Z -1)); }		if	(slideIMG.objs[i].Z < 8)	{ slideIMG.objs[i].setD(0); }	}	if (winIE && UAver == 8)	{ trans.Set(slideIMG.objs[slideIMG.key],100,3); }	else			{ trans.Set(slideIMG.objs[slideIMG.key],100,10); }	sweep.Set(slideIMG.objs[slideIMG.key],0, 460, 460,0);	slideIMG.timer = setTimeout('slideIMG.slideshow();', 8000);}}
