function SetOpenWindowChild(WinName){
var strWindowType="";
var newwin=null;
//directories=[yes|no|1|0] 指定是否出现链接工具栏.
strWindowType=strWindowType+"directories=no" + ",";
//channelmode=[yes|no|1|0] (IE4.0 only)为1时以'全屏模式'(相当于按F11)打开,并出现频道栏.
strWindowType=strWindowType+"channelmode=no" + ",";
//fullscreen=[yes|no|1|0] (IE4.0 only) 指定全屏模式打开,如果忘了放置关闭按钮,只好用ALT+F4了.
strWindowType=strWindowType+"fullscreen=no" + ",";
//height=number 指定窗口的高度(px),最小值为100px
strWindowType=strWindowType+"height=250" + ",";
//width=number 窗口的宽度(px),最小值为100px.
strWindowType=strWindowType+"width=480" + ",";
//left=number 指定窗口的左沿离开屏幕左沿的距离(px).
strWindowType=strWindowType+"left=200" + ",";
//top=number 指定窗口的上沿离开屏幕的距离(px).
strWindowType=strWindowType+"top=150" + ",";
//location=[yes|no|1|0] 指定是否出现地址栏.
strWindowType=strWindowType+"location=no" + ",";
//menubar=[yes|no|1|0] 指定是否出现菜单.
strWindowType=strWindowType+"menubar=no" + ",";
//resizable=[yes|no|1|0] 指定窗口是否可被改变大小.
strWindowType=strWindowType+"resizable=no" + ",";
//scrollbars=[yes|no|1|0] 指定是否出现滚动条.
strWindowType=strWindowType+"scrollbars=yes" + ",";
//status=[yes|no|1|0] 指定是否出现状态栏
strWindowType=strWindowType+"status=no" + ",";
//toolbar=[yes|no|1|0] 指定是否出现工具栏 .
strWindowType=strWindowType+"toolbar=no" + ",";
//打开窗口
if (WinName=="null"){
newwin=window.open("","",strWindowType);
return newwin;
}
else{
window.open(WinName,"",strWindowType);
return null;
}
}