2004/05/21 (金) 16:26:15        [mirai]
<script type="text/javascript">
function printit(){
if (window.print) {
window.print() ;
} else {
if (navigator.userAgent.indexOf("Mac")==-1){ // for Windows
var WebBrowser = '<object id="WebBrowser1" width="0" height="0" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></object>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
WebBrowser1.ExecWB(6, 2);
}
}
}
</script>