
function search_shop(option)
{var option=option;if(window.XMLHttpRequest&&!(window.ActiveXObject))
{try
{search_shop_request=new XMLHttpRequest();}
catch(e)
{search_shop_request=false;}}
else if(window.ActiveXObject)
{try
{search_shop_request=new ActiveXObject("Msxml2.XMLHTTP");}
catch(e)
{try
{search_shop_request=new ActiveXObject("Microsoft.XMLHTTP");}
catch(e)
{search_shop_request=false;}}}
search_shop_request.onreadystatechange=search_shop_result;search_shop_request.open('GET','inc/shop_search.inc.php?option='+option,true);search_shop_request.send(null);}
function change_shop()
{if(window.XMLHttpRequest&&!(window.ActiveXObject))
{try
{search_shop_request=new XMLHttpRequest();}
catch(e)
{search_shop_request=false;}}
else if(window.ActiveXObject)
{try
{search_shop_request=new ActiveXObject("Msxml2.XMLHTTP");}
catch(e)
{try
{search_shop_request=new ActiveXObject("Microsoft.XMLHTTP");}
catch(e)
{search_shop_request=false;}}}
search_shop_request.onreadystatechange=search_shop_result;search_shop_request.open('GET','inc/shop_search.inc.php?change_shop=1',true);search_shop_request.send(null);}
function change_brand()
{if(window.XMLHttpRequest&&!(window.ActiveXObject))
{try
{search_shop_request=new XMLHttpRequest();}
catch(e)
{search_shop_request=false;}}
else if(window.ActiveXObject)
{try
{search_shop_request=new ActiveXObject("Msxml2.XMLHTTP");}
catch(e)
{try
{search_shop_request=new ActiveXObject("Microsoft.XMLHTTP");}
catch(e)
{search_shop_request=false;}}}
search_shop_request.onreadystatechange=search_shop_result;search_shop_request.open('GET','inc/shop_search.inc.php?change_brand=1',true);search_shop_request.send(null);}
function search_shop_result()
{if(search_shop_request.readyState==4)
{if(search_shop_request.status==200)
{document.getElementById('shop_search').innerHTML=search_shop_request.responseText;}}}
