/*
create by 舒跃
create date: 2003-3-31
*/


//弹出自定义宽高，的无滚动条窗口
function openwin(url,wname,w,h,scroll){
	winSet="top=10,left=10,width="+w+",height="+h+","+scroll;
	//alert(winSet);
	window.open(url,wname,winSet);
}


/* 站点title修改

// 中文title
var oldCompanyName = new Array("西门子（中国）有限公司自动化与驱动集团(A&D)",
"Siemens A&D中国",
"西门子（中国）自动化与驱动集团",
"西门子(中国)自动化与驱动集团",
"Siemens 自动化与驱动集团",
"西门子（中国）"
)

// 英文title
var oldCompanyNameEn = new Array("Siemens,China, Automation & Drives Group",
"Siemens Ltd. China, Automation & Drives"
)

for (var t0=0;t0<oldCompanyName.length ;t0++ )
{
	//alert(document.title.indexOf(oldCompanyName[t0]));
	if ((document.title.indexOf(oldCompanyName[t0]) != -1) && (document.title.indexOf("西门子（中国）有限公司工业业务领域工业自动化与驱动技术集团(SLC I IA&DT)") < 0) )
	{
		document.title = "西门子（中国）有限公司工业业务领域工业自动化与驱动技术集团(SLC I IA&DT)" + document.title.substring(oldCompanyName[t0].length);
		break;
	}
}
for (var t1=0;t1<oldCompanyNameEn.length ;t1++ )
{
	if (document.title.indexOf(oldCompanyNameEn[t1]) != -1)
	{
		document.title = "Siemens Ltd., China, Industry Sector, Industry Automation & Drive Technologies" + document.title.substring(oldCompanyNameEn[t1].length);
		break;
	}
}
*/

