倒~~
有必要这样吗?~
在文件中htmljs.aspx 用function:
function view(type){ 
 if( type=1) {
    javastr = "1aa";
    document.write(javastr);
  }
  if(ytpe=2){
    javastr = "2bb"
    document.write(javastr)
}......