
//国内积优股市
function StockIn1()
	{
		var xmlDoc,num,node ;
		var SID,SName,Rise,URL,i,node_href;
		
		xmlDoc = new ActiveXObject("MSXML2.DOMDocument.3.0");
		xmlDoc.async = false;
		num=Math.random()*10000;
		xmlDoc.load("/XML/3/StockIn1.xml?num="+num);
		if(xmlDoc!=null)
			{ 
				node=xmlDoc.selectSingleNode("/StockIn/Stock");
				
				document.writeln("<table width=100% cellspacing=0 cellpadding=2 class=theStockT >");
				for(;node!=null;node=node.nextSibling)
				{   
					SID		=node.getAttribute("SID");
					SName	=node.getAttribute("SName");
					Rise	=node.getAttribute("Rise");
					URL		=node.getAttribute("URL");
					//node_href="<a href='"+URL+"' target=_blank >线图</a>";
					
					document.writeln("<tr><td width=40% >"+SName+"</td><td width=30% >"+SID+"</td><td width=30%><span class=red12>"+Rise+"</span></td></tr>");
				}
				document.writeln("</table>");
			}		
		xmlDoc=null;
		}
//国内积差股市
function StockIn2()
	{
		var xmlDoc,num,node ;
		var SID,SName,Rise,URL,i,node_href;
		
		xmlDoc = new ActiveXObject("MSXML2.DOMDocument.3.0");
		xmlDoc.async = false;
		num=Math.random()*10000;
		xmlDoc.load("/XML/3/StockIn2.xml?num="+num);
		if(xmlDoc!=null)
			{ 
				node=xmlDoc.selectSingleNode("/StockIn/Stock");
				
				document.writeln("<table width=100% cellspacing=0 cellpadding=2 class=theStockT >");
				for(;node!=null;node=node.nextSibling)
				{   
					SID		=node.getAttribute("SID");
					SName	=node.getAttribute("SName");
					Rise	=node.getAttribute("Rise");
					URL		=node.getAttribute("URL");
					//node_href="<a href='"+URL+"' target=_blank >线图</a>";
					
					document.writeln("<tr><td width=40% >"+SName+"</td><td width=30% >"+SID+"</td><td width=30%><span class=green12>"+Rise+"</span></td></tr>");
				}
				document.writeln("</table>");
			}		
		xmlDoc=null;
		}

//国外积优股市
function StockOut1()
	{
		var xmlDoc,num,node ;
		var SID,SName,Rise,URL,i,node_href;
		
		xmlDoc = new ActiveXObject("MSXML2.DOMDocument.3.0");
		xmlDoc.async = false;
		num=Math.random()*10000;
		xmlDoc.load("/XML/3/StockOut1.xml?num="+num);
		if(xmlDoc!=null)
			{ 
				node=xmlDoc.selectSingleNode("/StockIn/Stock");
				
				document.writeln("<table width=100% cellspacing=0 cellpadding=2 class=theStockT >");
				for(;node!=null;node=node.nextSibling)
				{   
					SID		=node.getAttribute("SID");
					SName	=node.getAttribute("SName");
					SName	=SName.slice(0,12);
					Rise	=node.getAttribute("Rise");
					URL		=node.getAttribute("URL");
					//node_href="<a href='"+URL+"' target=_blank >线图</a>";
					
					document.writeln("<tr><td width=40% >"+SName+"</td><td width=30% >"+SID+"</td><td width=30%><span class=red12>"+Rise+"</span></td></tr>");
				}
				document.writeln("</table>");
			}		
		xmlDoc=null;
		}
//国外积差股市
function StockOut2()
	{
		var xmlDoc,num,node ;
		var SID,SName,Rise,URL,i,node_href;
		
		xmlDoc = new ActiveXObject("MSXML2.DOMDocument.3.0");
		xmlDoc.async = false;
		num=Math.random()*10000;
		xmlDoc.load("/XML/3/StockOut2.xml?num="+num);
		if(xmlDoc!=null)
			{ 
				node=xmlDoc.selectSingleNode("/StockIn/Stock");
				
				document.writeln("<table width=100% cellspacing=0 cellpadding=2 class=theStockT >");
				for(;node!=null;node=node.nextSibling)
				{   
					SID		=node.getAttribute("SID");
					SName	=node.getAttribute("SName");
					SName	=SName.slice(0,12);
					Rise	=node.getAttribute("Rise");
					URL		=node.getAttribute("URL");
					//node_href="<a href='"+URL+"' target=_blank >线图</a>";
					
					document.writeln("<tr><td width=40% >"+SName+"</td><td width=30% >"+SID+"</td><td width=30%><span class=green12>"+Rise+"</span></td></tr>");
				}
				document.writeln("</table>");
			}		
		xmlDoc=null;
		}