// JavaScript Document 公司使用
function ComCorp()
{
	var xmlDoc,num,node ;
	var nodeName,node_Link ;
	var strcontent;
	strcontent="<table width=99%  border=0 align=center cellpadding=0 cellspacing=0 class=comtopBarBg>"
strcontent+="<tr><td width=21% height=28 class=comtopBarPBg>&nbsp;</td>"
strcontent+="<td width=56% class=font_white><span class=linkWhiteBlod>推 荐 信 息</span></td><td width=23%>&nbsp;</td></tr></table>"
strcontent+="<table width=99%  border=0 cellspacing=0 cellpadding=0>"
strcontent+="<tr><td height=8></td></tr></table>"
strcontent+="<table width='99%' border=0 align=center cellpadding=0 cellspacing=1>" ;
	xmlDoc = new ActiveXObject( "Microsoft.XMLDOM" );
	xmlDoc.async = false;
	num=Math.random()*10000;
	xmlDoc.load("/XML/corp.xml?num="+num);
	if(xmlDoc!=null)
		{ 
			node=xmlDoc.selectSingleNode("/Corp/Class");
			for(i=0;node!=null&&i<30;node=node.nextSibling,i++)
			{   
				nodeName=node.getAttribute("Corp");
				node_Link=node.getAttribute("LinkUrl");
				strcontent +="<tr>";
				strcontent +="	<td width='12%'><img src=/image/front/chanping_r1_c5.gif width=13 height=15 align=absmiddle></td>";
				strcontent +="	<td width='88%'><a href="+node_Link+" class=font_02 target='_blank'>"+nodeName+"</a></td>";
				strcontent +="</tr>";
			}	
		}
	xmlDoc=null;	
	strcontent +="</table>";
	document.write(strcontent);
}
function ShowType(cv,w)
{
	var xmlDoc,num,node ;
	var nodeName,node_ID ;
	var strcontent ;
	strcontent ="<select name='CategoryID' size='1' style='width:"+w+";height:22' >";
    strcontent +="      <option>选择主营行业？</option>";
	xmlDoc = new ActiveXObject( "Microsoft.XMLDOM" );
	xmlDoc.async = false;
	num=Math.random()*10000;
	xmlDoc.load("/XML/class.xml?num="+num);
	if(xmlDoc!=null)
		{ 
			node=xmlDoc.selectSingleNode("/Class/PClass");
			for(;node!=null;node=node.nextSibling)
			{   
				nodeName=node.getAttribute("ClassName");
				node_ID=node.getAttribute("ClassID");
				strcontent +="<option value="+node_ID+ (node_ID==cv?" selected":"")+">"+nodeName+"</option>";
			}	
		}
	xmlDoc=null;	
	strcontent +="</select>";
	document.write(strcontent);
}