//显示所有相片
//function  propage(page,qz_id)
function  list2(id)
{
  // if(!page)
   //{
   //  page=1;
   //} 
   //if(!qz_id)
  // {
  //   qz_id=1;
  // } 
   var xmlhttp;
   if (window.ActiveXObject)
   {
      xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
   }
   else if(window.XMLHttpRequest)
   {
      xmlhttp=new XMLHttpRequest();
   }

   if(xmlhttp)
   {
        xmlhttp.onreadystatechange=function ()
		{
		  if(xmlhttp.readyState==4)
		  {
             if(xmlhttp.status==200)
			 {
	            var yy=unescape(xmlhttp.responseText);
				show2(yy);
	         }
			 else
			 {
		       alert("error:"+xmlhttp.status);
	         }
          }
		  else
		  {
			  document.getElementById("list2").innerHTML="<font color='red'>Loading.....</font>";
		  }
		}  
	    xmlhttp.open("get","list2.asp?id="+id);
		xmlhttp.send(null);
    }		
}
function show2(text)
{
	document.getElementById("list2").innerHTML=text;
}

//显示指定产品
function showlist2(id)
{
   //if (xc_id==0)
   //{
  //   xc_id=;
   //} 
   var xmlhttp;
   if (window.ActiveXObject)
   {
      xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
   }
   else if(window.XMLHttpRequest)
   {
      xmlhttp=new XMLHttpRequest();
   }

   if (xmlhttp)
   {
        xmlhttp.onreadystatechange=function ()
		{
		  if(xmlhttp.readyState==4)
		  {
             if(xmlhttp.status==200)
			 {
	            var yy=unescape(xmlhttp.responseText);
				     showproinfo2(yy);
	         }
			 else
			 {
		       alert("error:"+xmlhttp.status);
	         }
          }
		  else
		  {
			  document.getElementById("showlist2").innerHTML="<font color='red'>Loading.....</font>";
		  }
		}
	    xmlhttp.open("get","show2.asp?id="+id);
		xmlhttp.send(null);
    }		
}
function showproinfo2(text)
{
	document.getElementById("showlist2").innerHTML=text;
	scroll(0,127);
}

