【HTMLのJavaScript部分】
<script language="JavaScript">
function getBrowserInfo() {
var obj = new Object();
obj.name = navigator.appName;
obj.platform = navigator.platform;
return obj;
}
function callASMethod() {
if (navigator.appName.indexOf("Microsoft") != -1) {
var retVal = window.sample.rotate(10);
} else {
var retVal = document.sample.rotate(10);
}
document.myForm.angle.value = retVal;
}
</script>