//打开模式对话框
function doselectuser(txtid)
{
strfeatures="dialogwidth=500px;dialogheight=360px;center=yes;middle=yes ;help=no;status=no;scroll=no";
var url,strreturn;
url="seluser.aspx";
strreturn=window.showmodaldialog(url,'',strfeatures);
}
//返回模式对话框的值
function okbtn_onclick()
{
var commstr='';
window.returnvalue=commstr;
window.close() ;
}
全屏幕打开 ie 窗口
var winwidth=screen.availwidth ;
var winheight=screen.availheight-20;
window.open("main.aspx","surveywindow","toolbar=no,width="+ winwidth +",height="+ winheight +",top=0,left=0,scrollbars=yes,resizable=yes,center:yes,statusbars=yes");
break
//脚本中中使用xml
function initialize() {
var xmldoc
var xsldoc
xmldoc = new activexobject('microsoft.xmldom')
xmldoc.async = false;
xsldoc = new activexobject('microsoft.xmldom')
xsldoc.async = false;