// Add By ZHW 20050610


var pLeft = ( screen.width - 550 ) / 2 ;
var pTop  = ( screen.height- 550 ) / 2 ;

// 打开最新动态窗体 report_s.asp
function ShowReport( id )
{
	
	window.open("report_s.asp?id="+id,"show","height=500,width=585,scrollbars=yes,resizable=no,top=" + pTop + ",left=" + pLeft )
}
function ShowDxal( id )
{
	
	window.open("dxal_s.asp?id="+id,"show","height=500,width=585,scrollbars=yes,resizable=no,top=" + pTop + ",left=" + pLeft )
}
//新加的
function ShowCgal( id )
{
	
	window.open("cgal_s.asp?id="+id,"show","height=500,width=585,scrollbars=yes,resizable=no,top=" + pTop + ",left=" + pLeft )
}
function Show_IT_zxdt( id )
{
	
	window.open("ITfw-1-3_s.asp?id="+id,"show","height=500,width=585,scrollbars=yes,resizable=no,top=" + pTop + ",left=" + pLeft )
}
function Show_ITfw_dxal( id )
{
	
	window.open("ITfw-3-2_s.asp?id="+id,"show","height=500,width=585,scrollbars=yes,resizable=no,top=" + pTop + ",left=" + pLeft )
}

// 打开市场招聘窗体



// 打开行业动态窗体



// 打开典型客户窗体 client_s.asp
function ShowClient( id )
{
	window.open("client_s.asp?id="+id,"show","height=500,width=585,scrollbars=yes,resizable=no,top=" + pTop + ",left=" + pLeft )
}


// 打开员工之家窗体 home_s.asp
function ShowHome( id )
{
	window.open("home_s.asp?id="+id,"show","height=500,width=585,scrollbars=yes,resizable=no,top=" + pTop + ",left=" + pLeft )
}


// 打开行业动态窗体 market_s.asp
function ShowMarket( id )
{
	window.open("market_h.asp?id="+id,"show","height=500,width=585,scrollbars=yes,resizable=no,top=" + pTop + ",left=" + pLeft )
}

// 打开市场活动窗体 market_s.asp
function ShowMarket_s( id )
{
	window.open("market_s.asp?id="+id,"show","height=500,width=585,scrollbars=yes,resizable=no,top=" + pTop + ",left=" + pLeft )
}

// 打开技术支持窗体 help_s.asp
function ShowHelp( id )
{
	window.open("help_s.asp?id="+id,"show","height=500,width=585,scrollbars=yes,resizable=no,top=" + pTop + ",left=" + pLeft )
}


// 打开市场招聘窗体 invite_s.asp
function ShowInvite( id )
{
	window.open("invite_s.asp?id="+id,"show","height=500,width=585,scrollbars=yes,resizable=no,top=" + pTop + ",left=" + pLeft )
}


// 打开新站点
function OpenNewStat( pUrl )
{
	if( pUrl != "" )
	{
		window.open( pUrl ) ;
	}
}

			
// Iframe转换页面
function FrameGoURL( pUrl )
{
	window.top.document.getElementById( 'FrameMain' ).src = pUrl ;
}

// 显示网上调查结果
function ShowVote( pID )
{
	window.open("pollvalue.asp?pid="+pID,"votewin","toolbar=no,scrollbars=yes,menubar=no,resizable=1,height=300,width=550,top=" + pTop + ",left=" + pLeft);
}

// 关闭窗口
function CloseWindow()
{
	window.close() ;
}

// 下载文档
function GetDOC( pUrl )
{
	window.top.document.location.href = pUrl ;
}

// 链接
function GoURL( pUrl )
{
	window.document.location.replace( pUrl ) ;
}