1
header( "Content-Type: text/javascript; Charset=shift_jis" ); header( "Expires: Wed, 31 May 2000 14:59:58 GMT" ); ?> var obj= $_GET['id'] ?>; if (window.navigator.appName.toLowerCase().indexOf("microsoft") > -1) { if ( "= $_GET['target'] ?>" == "body" ) { document.body.attachEvent("onkeydown", function(){ if ( window.event.shiftKey ) { if ( window.event.ctrlKey ) { if ( window.event.keyCode == 40 ) { document.getElementById("downbutton= $_GET['id'] ?>" ).click(); } if ( window.event.keyCode == 38 ) { document.getElementById("upbutton= $_GET['id'] ?>" ).click(); } } } } ); } str="
"; str+="
"; str+=" type=\"text\" "; str+=">
\").value != \"\" ) { "; str+=" var flg; "; str+=" if ( document.getElementById(\"searchif= $_GET['id'] ?>\").checked ) { "; str+=" flg = 4; "; str+=" } "; str+=" else { "; str+=" flg = 0; "; str+=" } "; str+=" if ( \"= $_GET['type'] ?>\" == \"frame\" ) { "; str+=" obj= $_GET['id'] ?> = parent.= $_GET['target'] ?>.document.getElementsByTagName(\"BODY\")[0].createTextRange(); "; str+=" } "; str+=" else { "; str+=" if ( \"= $_GET['target'] ?>\" == \"body\" ) { "; str+=" obj= $_GET['id'] ?> = document.getElementsByTagName(\"BODY\")[0].createTextRange(); "; str+=" } "; str+=" else { "; str+=" obj= $_GET['id'] ?> = document.getElementById(\"= $_GET['target'] ?>\").createTextRange(); "; str+=" } "; str+=" } "; str+=" if ( obj= $_GET['id'] ?>.findText( document.getElementById(\"searchtxt= $_GET['id'] ?>\").value, 1, flg ) ) { "; str+=" obj= $_GET['id'] ?>.select(); "; str+=" } "; str+=" else { "; str+=" alert(\"対象データは存在しません \"); "; str+=" } "; str+=" } "; str+=" ' "; str+=">
"; str+=" type=\"button\" "; str+=" value=\"下へ\" "; str+=" style='width:40px;' "; str+=" onClick=' "; str+=" if ( document.getElementById(\"searchtxt= $_GET['id'] ?>\").value != \"\" ) { "; str+=" var flg; "; str+=" if ( document.getElementById(\"searchif= $_GET['id'] ?>\").checked ) { "; str+=" flg = 4; "; str+=" } "; str+=" else { "; str+=" flg = 0; "; str+=" } "; str+=" obj= $_GET['id'] ?>.collapse( false ); "; str+=" if ( obj= $_GET['id'] ?>.findText( document.getElementById(\"searchtxt= $_GET['id'] ?>\").value, 1, flg ) ) { "; str+=" obj= $_GET['id'] ?>.select(); "; str+=" } "; str+=" else { "; str+=" alert(\"対象データをみつける事ができませんでした \"); "; str+=" obj= $_GET['id'] ?>.collapse( true ); "; str+=" obj= $_GET['id'] ?>.findText( document.getElementById(\"searchtxt= $_GET['id'] ?>\").value, -1, flg ) "; str+=" } "; str+=" } "; str+=" ' "; str+=">
"; str+=" type=\"button\" "; str+=" value=\"上へ\" "; str+=" style='width:40px;' "; str+=" onClick=' "; str+=" if ( document.getElementById(\"searchtxt= $_GET['id'] ?>\").value != \"\" ) { "; str+=" var flg; "; str+=" if ( document.getElementById(\"searchif= $_GET['id'] ?>\").checked ) { "; str+=" flg = 4; "; str+=" } "; str+=" else { "; str+=" flg = 0; "; str+=" } "; str+=" obj= $_GET['id'] ?>.collapse( true ); "; str+=" if ( obj= $_GET['id'] ?>.findText( document.getElementById(\"searchtxt= $_GET['id'] ?>\").value, -1, flg ) ) { "; str+=" obj= $_GET['id'] ?>.select(); "; str+=" } "; str+=" else { "; str+=" alert(\"対象データをみつける事ができませんでした \"); "; str+=" obj= $_GET['id'] ?>.collapse( false ); "; str+=" obj= $_GET['id'] ?>.findText( document.getElementById(\"searchtxt= $_GET['id'] ?>\").value, 1, flg ) "; str+=" } "; str+=" } "; str+=" ' "; str+="> 区別
"; str+=" type=\"checkbox\" "; str+="> "; str+="
"; document.write( str ); }