// Open mode dialog box
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 );
}
// Return mode dialog box Value
Function okbtn_onclick ()
{
Var commstr = '';
Window. returnValue = commstr;
Window. close ();
}
Full Screen open IE window
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
// Use xml in the script
Function initialize (){
Var xmlDoc
Var upload Doc
XmlDoc = new ActiveXObject ('Microsoft. XMLDOM ')
XmlDoc. async = false;
Export Doc = new ActiveXObject ('Microsoft. XMLDOM ')
Optional Doc. async = false;
XmlDoc. load ("tree. xml ")
Using Doc. load ("tree. xsl ")
FolderTree. innerHTML = xmlDoc.doc umentElement. transformNode (invalid DOC)
}