window.document.title="..:..SMTe..SMTe表面贴装资讯网..:..";
function openNewWin(winUrl,newWinObj,newWinName,w,h,scrollbarsVar)
{
//  winUrl 新窗口访问资源
// newWinObj 新窗口对象名
// newWinName 新窗品名称
//w 新窗口宽度
//h 新窗口高度
var l=(screen.width-w)/2;
var t=(screen.height-h)/2;
var winStyle='width='+w+',height='+h+',left=' + l + ',top=' + t + ',fullscreen=no,scrollbars=' + scrollbarsVar ;
newWinObj=window.open(winUrl,newWinName,winStyle);
newWinObj.focus();
}

//打开窗口时left=0 ,top=0 
function openNewWinB(winUrl,newWinObj,newWinName,w,h,scrollbarsVar)
{
//  winUrl 新窗口访问资源
// newWinObj 新窗口对象名
// newWinName 新窗品名称
//w 新窗口宽度
//h 新窗口高度
var l=(screen.width-w)/2;
var t=(screen.height-h)/2;
var winStyle='width='+w+',height='+h+',left=0,top=0,fullscreen=no,scrollbars=' + scrollbarsVar ;
newWinObj=window.open(winUrl,newWinName,winStyle);
newWinObj.focus();
}
 

 









