﻿var xmlHttp=null;
function newproductshow(classid,ArticleID)
{ 
//document.getElementById('newproductdiv').style.display='block'
//document.getElementById('newproductdiv').innerHTML = "<img src='Product/images/loading.gif'>&nbsp;receiving .....";
var url="newproduct.asp?ClassID="+classid+"&ArticleID="+ArticleID;
xmlHttp=GetXmlHttpObject(received); 
xmlHttp.open("GET", url , true); 
xmlHttp.send(null); 
}

function received() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") 
{ 
document.getElementById('newproductdiv').innerHTML=xmlHttp.responseText;
} 
}