function locationMove(gubun)
{
  var selectedLocale ="ALL";
  if (gubun == 2 )
  {  
  	 document.fmain.choice.value = "11";
	 document.fmain.cateCode.value = "110200";
     document.fmain.action         = "/goods.RetrieveUsCategoryGoodsList2.mall";
  }
  else if (gubun == 3 )
  {
     document.fmain.choice.value = "12";
	 document.fmain.cateCode.value = "120100";
     document.fmain.action         = "/goods.RetrieveUsCategoryGoodsList2.mall";
  }
  else if (gubun == 4 )
  {
     document.fmain.choice.value = "13";
	 document.fmain.cateCode.value = "130200";
     document.fmain.action         = "/goods.RetrieveUsCategoryGoodsList2.mall";
  }
  else if (gubun == 5 )
  {
  	 document.fmain.choice.value = "14";                            
	 document.fmain.cateCode.value = "140100";                      
	 document.fmain.action         = "/goods.RetrieveUsCategoryGoodsList2.mall";

  }  
  else if (gubun == 6 )
  {
  	 document.fmain.choice.value = "15";                            
	 document.fmain.cateCode.value = "150100";                      
	 document.fmain.action         = "/goods.RetrieveUsCategoryGoodsList2.mall";
  }
  else if (gubun == 7 )
  {
	 document.fmain.action         = "/mall/comm/inform/mffec011e01.jsp";
  }
   else if (gubun == 70 )
  {
  	 document.fmain.choice.value = "70";                            
	 document.fmain.cateCode.value = "710100";                      
	 document.fmain.action         = "/goods.RetrieveUsCategoryGoodsList2.mall";
  }
  else if (gubun == 8 )
  {


  }
  else if (gubun == 9 )
  {
     document.fmain.action         = "/mall/comm/inform/mffec001e03.jsp";
  }
  else if (gubun == 91 )
  {
   	 document.fmain.choice.value = "91";
	 document.fmain.cateCode.value = "110200";
     document.fmain.action         = "/goods.RetrieveUsCategoryGoodsList2.mall";
  }  
  else if (gubun == 92 )
  {
   	 document.fmain.choice.value = "92";
	 document.fmain.cateCode.value = "110400";
     document.fmain.action         = "/goods.RetrieveUsCategoryGoodsList2.mall";
  }   
   else if (gubun == 93 )
  {
   	 document.fmain.choice.value = "93";
	 document.fmain.cateCode.value = "120100";
     document.fmain.action         = "/goods.RetrieveUsCategoryGoodsList2.mall";
  } 
  else if (gubun == 94 )
  {
   	 document.fmain.choice.value = "94";
	 document.fmain.cateCode.value = "120700";
     document.fmain.action         = "/goods.RetrieveUsCategoryGoodsList2.mall";
  }  
  else if (gubun == 95 )
  {
   	 document.fmain.choice.value = "95";
	 document.fmain.cateCode.value = "120900";
     document.fmain.action         = "/goods.RetrieveUsCategoryGoodsList2.mall";
  }    
   else if (gubun == 96 )
  {
   	 document.fmain.choice.value = "96";
	 document.fmain.cateCode.value = "130200";
     document.fmain.action         = "/goods.RetrieveUsCategoryGoodsList2.mall";
  } 
  else if (gubun == 97 )
  {
   	 document.fmain.choice.value = "97";
	 document.fmain.cateCode.value = "130600";
     document.fmain.action         = "/goods.RetrieveUsCategoryGoodsList2.mall";
  }   
  else if (gubun == 98 )
  {
   	 document.fmain.choice.value = "98";
	 document.fmain.cateCode.value = "140100";
     document.fmain.action         = "/goods.RetrieveUsCategoryGoodsList2.mall";
  }   
 
  document.fmain.target       = "_self";  
  document.fmain.submit();
}


function HitGoods(goodsIdn)
{
	document.fmain.target       = "_self";
	document.fmain.goodsIdn.value = goodsIdn;
	document.fmain.choice.value = "3";
    document.fmain.action         = "/goods.RetrieveUsGoodsDetailInfo.mall";
	document.fmain.submit();
}

function HitDetail()
{      
	document.fmain.target       = "_self";

     document.fmain.action         = "/front.event.RetrieveEngChoiceList.mall";
	 document.fmain.submit();
	
}


function ThemeGoods(goodsIdn)
{
	document.fmain.target       = "_self";

	document.fmain.goodsIdn.value = goodsIdn;
	document.fmain.choice.value = "2";
    document.fmain.action         = "/goods.RetrieveUsGoodsDetailInfo.mall";
	document.fmain.submit();
}



function StoryGoods(goodsIdn)
{
	document.fmain.target       = "_self";

	document.fmain.goodsIdn.value = goodsIdn;	
	document.fmain.choice.value = "4";
    document.fmain.action         = "/goods.RetrieveUsGoodsDetailInfo.mall";
	document.fmain.submit();
}


function BestGoods(str0, str1)
{
	document.fmain.target       = "_self";

	document.fmain.goodsIdn.value = str0;
	document.fmain.goodsImg.value = str1;	
	document.fmain.choice.value = "1";
    document.fmain.action         = "/goods.RetrieveUsGoodsDetailInfo.mall";
	document.fmain.submit();
}

function ThemeDetail()
{	
	document.fmain.target       = "_self";

	document.fmain.action         = "/front.event.RetrieveEngThemeList.mall";
	document.fmain.submit();	
}


function MainDetail()
{
	document.fmain.target       = "_self";

	document.fmain.action         = "/goods.EnglishHome.mall";
	document.fmain.submit();
}

function MallViewWindow(pHtmlName, wid, hei ){
    window.open( pHtmlName, "", "status=0,width="+wid+",height="+hei );
}


//  document.attachEvent ("onreadystatechange", function() {
 //   if (document.readyState=="complete")   {
 //     if (window.objectPatch) window.objectPatch();
  //  }
  //})

function objectPatch() {

    var os = document.getElementsByTagName("object");
    for (var idx=0; idx < os.length; idx++) {
      var peer = os[idx];
      var clsid = peer.getAttribute("classid");
   
      if (!clsid) continue;

      switch (clsid.toLowerCase()) {
        case "clsid:bb4533a0-85e0-4657-9bf2-e8e7b100d47e" :  
        case "clsid:71e7aca0-ef63-4055-9894-229b056e9c31" :  
        case "clsid:6bf52a52-394a-11d3-b153-00c04f79faa6" :  
        case "clsid:C6CE7B36-6C70-4B3B-A650-24C8FF67181E" :	 
        case "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" :  
             
              var html = peer.outerHTML;
              peer.outerHTML = html;
              break;
        default:
              break;
      }
    }
    
    
    var ap = document.getElementsByTagName("applet");
    for (var idx=0; idx < ap.length; idx++) {
						var peer = ap[idx];
      var html = peer.outerHTML;
      peer.outerHTML = html;
    }
    
}

function __ws__(id) 
{
	document.write(id.innerHTML); id="";
}

