// JavaScript Document
//var xmlHttp
function showData(type,classid,city,id)

{ 


var xmlHttp =new GetXmlHttpObject()

var url="http://www.56shopping.com/GetAjaxData.asp?time="+ Math.random() + "&type=" + escape(type)+ "&classid=" + escape(classid) + "&city=" +escape(city)

xmlHttp.open("GET", url , true)

xmlHttp.onreadystatechange=function(){stateChanged(id,xmlHttp)};

xmlHttp.send(null)

}



function showData_5(type,classid,city,id,menuid)

{ 


var xmlHttp =new GetXmlHttpObject()

var url="http://www.56shopping.com/GetAjaxData.asp?time="+ Math.random() + "&type=" + escape(type)+ "&classid=" + escape(classid) + "&city=" +escape(city) + "&menuid=" +escape(menuid)

xmlHttp.open("GET", url , true)

xmlHttp.onreadystatechange=function(){stateChanged(id,xmlHttp)};

xmlHttp.send(null)

}



function showData_3(type,classid,id)

{ 


var xmlHttp =new GetXmlHttpObject()

var url="http://www.56shopping.com/GetAjaxData.asp?time="+ Math.random() + "&type=" + escape(type)+ "&classid=" + escape(classid)

xmlHttp.open("GET", url , true)

xmlHttp.onreadystatechange=function(){stateChanged(id,xmlHttp)};

xmlHttp.send(null)

}






function stateChanged(id,xmlHttp) 

{ 
	
  if(xmlHttp.readyState == 1) 
  {
	  
      document.getElementById(id).style.cssText = "";
      document.getElementById(id).innerText = "ΥύΤΪ¶ΑΘ΅,ΗλΙΤΊς......";
	 
   }

if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")

{ 

document.getElementById(id).innerHTML=xmlHttp.responseText 


} 

} 

 

function GetXmlHttpObject()

{ 

var objXmlHttp=null

 

if (navigator.userAgent.indexOf("Opera")>=0)

	{

	alert("This example doesn't work in Opera") 

	return; 

	}

if (navigator.userAgent.indexOf("MSIE")>=0)

	{ 

	var strName="Msxml2.XMLHTTP"

 

	if (navigator.appVersion.indexOf("MSIE 5.5")>=0)

		{

		strName="Microsoft.XMLHTTP"

		} 

		try

		{ 

		objXmlHttp=new ActiveXObject(strName)


		return objXmlHttp

		} 

		catch(e)

		{ 

		alert("Error. Scripting for ActiveX might be disabled") 

		return 

		} 

	} 

if (navigator.userAgent.indexOf("Mozilla")>=0)

{

objXmlHttp=new XMLHttpRequest()

objXmlHttp.onload=function(){stateChanged(id,xmlHttp)};

objXmlHttp.onerror=function(){stateChanged(id,xmlHttp)}; 

return objXmlHttp

}

} 
