//ActiveX °ü·Ã IEÆÐÄ¡ ¼öÁ¤ function showActiveX(objhtml) { document.write(objhtml); } //ÆË¾÷·Î±×ÀÎ function openLogin() { window.open("/member/login_popup.htm","_LOGIN_","width=450,height=380,top=30,left=190,resizable=no,scrollbars=no,toolbars=no,statusbars=no"); } //¹è³ÊŬ¸¯½Ã Åë°è°è»ê function clkBanner(id) { window.location.replace("/goods/b_count.htm?ty="+id); } function setLoginColor(thisObj,theAction,theDefaultColor,theMarkColor,theBGImage){ if(theAction=="click"){ thisStyle=thisObj.style; thisStyle.borderColor=theMarkColor; thisStyle.backgroundImage=""; } if(theAction=="out"){ thisStyle=thisObj.style; thisStyle.borderColor=theDefaultColor; if(thisObj.value==""){ thisStyle.backgroundImage="url("+theBGImage+")"; } } } function getHttprequest(URL) { var xmlhttp = null; if(window.XMLHttpRequest) { xmlhttp = new XMLHttpRequest(); } else { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.open('GET', URL,false); xmlhttp.onreadystatechange = function() { if(xmlhttp.readyState==4 && xmlhttp.status == 200 && xmlhttp.statusText=='OK') { responseText = xmlhttp.responseText; } } xmlhttp.send(''); return responseText = xmlhttp.responseText; }