 function getMTime(){
	var d = new Date();
  var localTime = d.getTime();
  return localTime;
}

 function getListTJXW1(param,vtype,type1,returnDiv)
{  
   ajaxRequest("testajax.asp?t="+getMTime()+"&param="+param+"&webtype="+vtype+"&webtype1="+type1, disTitleList1,returnDiv);
}

 function getListTJXW(param,vtype,type1,returnDiv)
{  
   ajaxRequest("testajax.asp?t="+getMTime()+"&param="+param+"&webtype="+vtype+"&webtype1="+type1, disTitleList,returnDiv);
}
 
  function getListTJXW2(param,vtype,type1,returnDiv)
{  
   ajaxRequest("testajax.asp?t="+getMTime()+"&param="+param+"&webtype="+vtype+"&webtype1="+type1, disTitleList2,returnDiv);
}

 function disTitleList1(varDoc,returnDiv)
	{  
		 var objDiv = document.getElementById(returnDiv);
	   var sHtml = "<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
	   var list = varDoc.getElementsByTagName("list")[0];
	   if(list!=null){
	      var entity = list.getElementsByTagName("entity");
	      if(entity!=null){
	         for(var i=0; i<entity.length; ++i)
	         {
				 sHtml+="<tr>";
	          var id = entity[i].childNodes[0].firstChild.nodeValue;
	          var title = entity[i].childNodes[1].firstChild.nodeValue;
	          var datec = entity[i].childNodes[2].firstChild.nodeValue;
	         sHtml += "<td class='show_title'><li><a href='Metal_News_selinfo_free.asp?ID="+id+"' target='_blank'>"+title+"</a></li></td>";
			 sHtml += "<td class='show_date'>"+datec+"</td></tr>";
			
	        }
	         objDiv.innerHTML = sHtml+"</table>" ;
	      }
	  }
	}
 function disTitleList(varDoc,returnDiv)
	{  
		 var objDiv = document.getElementById(returnDiv);
	   var sHtml = "<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
	   var list = varDoc.getElementsByTagName("list")[0];
	   if(list!=null){
	      var entity = list.getElementsByTagName("entity");
	      if(entity!=null){
	         for(var i=0; i<entity.length; ++i)
	         {
				 sHtml+="<tr>";
	          var id = entity[i].childNodes[0].firstChild.nodeValue;
	          var title = entity[i].childNodes[1].firstChild.nodeValue;
	          var datec = entity[i].childNodes[2].firstChild.nodeValue;
	         sHtml += "<td class='main_title'><li><a href=javascript:MM_openBrWindow('Metal_News_selinfo3.asp?ID="+id+"','','')>"+title+"</a></li></td>";
			 sHtml += "<td class='main_date'>"+datec+"</td></tr>";
			
	        }
	         objDiv.innerHTML = sHtml+"</table>" ;
	      }
	  }
	}
 function disTitleList2(varDoc,returnDiv)
	{  
		 var objDiv = document.getElementById(returnDiv);
	   var sHtml = "<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
	   var list = varDoc.getElementsByTagName("list")[0];
	   if(list!=null){
	      var entity = list.getElementsByTagName("entity");
	      if(entity!=null){
	         for(var i=0; i<entity.length; ++i)
	         {
				 sHtml+="<tr>";
	          var id = entity[i].childNodes[0].firstChild.nodeValue;
	          var title = entity[i].childNodes[1].firstChild.nodeValue;
	          var datec = entity[i].childNodes[2].firstChild.nodeValue;
	         sHtml += "<td class='main_title'><li><a href='Metal_News_selinfo_free.asp?ID="+id+"' target='_blank'>"+title+"</a></li></td>";
			 sHtml += "<td class='main_date'>"+datec+"</tr>";
			
	        }
	         objDiv.innerHTML = sHtml+"</table>" ;
	      }
	  }
	}
