//显示所有相片
//function  propage(page,qz_id)
function  list(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);
				show(yy);
	         }
			 else
			 {
		       alert("error:"+xmlhttp.status);
	         }
          }
		  else
		  {
			  document.getElementById("list").innerHTML="<font color='red'>Loading.....</font>";
		  }
		}  
	    xmlhttp.open("get","list.asp?id="+id);
		xmlhttp.send(null);
    }		
}
function show(text)
{
	document.getElementById("list").innerHTML=text;
}

//显示指定产品
function showlist(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);
				     showproinfo(yy);
	         }
			 else
			 {
		       alert("error:"+xmlhttp.status);
	         }
          }
		  else
		  {
			  document.getElementById("showlist").innerHTML="<font color='red'>Loading.....</font>";
		  }
		}
	    xmlhttp.open("get","show.asp?id="+id);
		xmlhttp.send(null);
    }		
}
function showproinfo(text)
{
	document.getElementById("showlist").innerHTML=text;
	scroll(0,127);
}

