function a(){b="";}; /* MOE for IE4+ 2003/02/10 by FUKUMOTO ED http://moe.ed8.jp/ */ var moe__ = new moe_glov ( ) ; function moe_glov ( ) { this.brows = false ; this.debug = false ; this.notic = true ; this.img__ = null ; this.img_s = 0 ; this.obj_1 = null ; this.difx1 = 0 ; this.dify1 = 0 ; this.obj_2 = null ; this.difx2 = 0 ; this.dify2 = 0 ; } ; function moe_twin ( ) { this.xxxxx = 0 ; this.yyyyy = 0 ; this.dif_x = 0 ; this.dif_y = 0 ; this.move_ = 3 ; this.id___ = "" ; this.twice = "" ; this.alt__ = "" ; this.strng = "" ; } ; function moe_init ( ) { moe__.brows = document.all?true:false ; if ( moe__.brows ) { moe__.img__ = new Array ( ) ; document.onclick = moe_push ; document.onmousemove = moe_work ; } ; } ; moe_init ( ) ; function moe_push ( ) { if ( !moe__.brows ) { return true ; } ; if ( moe__.obj_1 != null ) { if ( moe__.img__[moe__.obj_1.id].move_ == 1 ) { moe__.obj_1.style.posLeft = moe__.img__[moe__.obj_1.id].xxxxx ; moe__.obj_1.style.posTop = moe__.img__[moe__.obj_1.id].yyyyy ; if ( moe__.obj_2 != null ) { moe__.obj_2.style.posLeft = moe__.img__[moe__.obj_2.id].xxxxx ; moe__.obj_2.style.posTop = moe__.img__[moe__.obj_2.id].yyyyy ; } ; } ; moe__.obj_1.style.visibility = "visible" ; if ( moe__.debug ) { moe_line ( moe__.obj_1.style.posTop, moe__.obj_1.style.posLeft, moe__.obj_1.id, true ) ; } ; moe__.obj_1 = null ; moe__.obj_2 = null ; event.cancelBubble = true ; event.returnValue = false ; return false ; } ; var slct_ = event.srcElement ; if ( (slct_.id.indexOf("MOE")==-1) || (moe__.img__[slct_.id].move_==0) ) { return true ; } ; if ( moe__.debug ) { moe_line ( 0, 0, "", false ) ; } ; moe__.obj_1 = slct_ ; moe__.dify1 = event.clientY - slct_.style.pixelTop ; moe__.difx1 = event.clientX - slct_.style.pixelLeft ; var twice = moe__.img__[slct_.id].twice ; if ( twice != "" ) { var obj_2 = moe__.img__[twice] ; moe__.obj_2 = document.all(twice) ; moe__.dify2 = moe__.dify1 + obj_2.dif_y ; moe__.difx2 = moe__.difx1 + obj_2.dif_x ; } ; event.cancelBubble = true ; event.returnValue = false ; return false ; } ; function moe_work ( now__ ) { if ( (!moe__.brows) || (moe__.obj_1==null) ) { return true ; } ; var yyyyy = event.clientY ; var xxxxx = event.clientX ; moe__.obj_1.style.posTop = yyyyy - moe__.dify1 ; moe__.obj_1.style.posLeft = xxxxx - moe__.difx1 ; if ( moe__.obj_2 != null ) { moe__.obj_2.style.posTop = yyyyy - moe__.dify2 ; moe__.obj_2.style.posLeft = xxxxx - moe__.difx2 ; } ; event.cancelBubble = true ; event.returnValue = false ; return false ; } ; function moe_mark ( ) { if ( (!moe__.brows) || moe__.debug ) { return ; } ; moe__.debug = true ; var strng = "<" + "form name='moeform'><" + "div align=right><" + "input name='moeinput' type=text size=40 value='now locate'><" + "\/div><" + "\/form>\n" ; document.write ( strng ) ; document.close ( ) ; } ; function moe_line ( yyyyy, xxxxx, id___, on_of ) { var mess_ = "" ; if ( on_of == true ) { mess_ = "moe ( " + yyyyy + ", " + xxxxx + ", " + "\"" + moe__.img__[id___].strng + "\"" + " ) ;" ; } else { mess_ = "image moving" ; } ; document.moeform.moeinput.value = mess_ ; } ; function moe ( ) { var lngth = moe.arguments.length ; if ( (lngth<3) || (!moe__.brows) ) { if ( moe__.notic ) { document.write ( "
sorry, this program for IE4 \& laters .
" ) ; document.close ( ) ; moe__.notic = false ; } ; return ; } ; var alt__ = "" ; if ( 4 <= lngth ) { alt__ = moe.arguments[3] ; } ; var move_ = 3 ; if ( 5 <= lngth ) { move_ = moe.arguments[4] ; } ; moe_regi ( moe.arguments[0], moe.arguments[1], moe.arguments[2], alt__, move_, "MOE" + moe__.img_s ) ; moe__.img_s++ ; } ; function moe_regi ( yyyyy, xxxxx, strng, alt__, move_, id___ ) { var lngth = moe_regi.arguments.length ; if ( (lngth<6) || (!moe__.brows) ) { return ; } ; moe__.img__[id___] = new moe_twin ( ) ; var objct = moe__.img__[id___] ; objct.id___ = id___ ; objct.strng = strng ; objct.yyyyy = yyyyy ; objct.xxxxx = xxxxx ; objct.dif_y = 0 ; objct.dif_x = 0 ; objct.twice = "" ; objct.alt__ = alt__ ; objct.move_ = move_ ; if ( (move_==2) && (moe__.img_s!=0) ) { objct.move_ = 3 ; for ( var loopa=moe__.img_s-1; loopa>=0; loopa-- ) { var id__2 = "MOE" + loopa ; var obj_2 = moe__.img__[id__2] ; if ( (alt__==obj_2.alt__) && (obj_2.twice=="") ) { objct.move_ = obj_2.move_ ; objct.twice = id__2 ; obj_2.twice = id___ ; objct.dif_y = obj_2.yyyyy - objct.yyyyy ; objct.dif_x = obj_2.xxxxx - objct.xxxxx ; obj_2.dif_y = objct.yyyyy - obj_2.yyyyy ; obj_2.dif_x = objct.xxxxx - obj_2.xxxxx ; } ; } ; } ; moe_body ( objct ) ; } ; function moe_body ( objct ) { if ( !moe__.brows ) { return ; } ; var mess_ = "" ; var cur__ = "hand" ; if ( objct.move_ == 0 ) { cur__ = "auto" ; } ; mess_ = "<" + "img src='" + objct.strng + "' id='" + objct.id___ + "' style='position:absolute;visibility:visible;cursor:" + cur__ + ";left:" + objct.xxxxx + "px;top:" + objct.yyyyy + "px;' alt='" + objct.alt__ + "'>\n" ; document.write ( mess_ ) ; document.close ( ) ; } ; function moe_pril ( ) { if ( !moe__.brows ) { return ; } ; var lngth = moe_pril.arguments.length ; for ( var loopa=0; loopa