﻿var MenuHTMLBaseHref = "/";
var MenuHTMLCSS = "";

function jsMenuHTML_cn(strType)
{
  document.write ('<div id="jsMenu"></div>');
  if (strType != -1)
  {
    if (strType == 0) document.write ('<div id="BTMenu">');
    else document.write ('<div id="BTMenu2">');
    document.write ('  <div class="BiMenu"><a href="' + MenuHTMLBaseHref + 'about/?type=contact">联系我们</a></div>');
    document.write ('  <div class="BiMenu"><a href="' + MenuHTMLBaseHref + 'about/?type=law">法律声明</a></div>');
    document.write ('  <div class="BiMenu"><a href="' + MenuHTMLBaseHref + 'sitemap">站点地图</a></div>');
    document.write ('  <div class="BiMenu"><a href="' + MenuHTMLBaseHref + './?english">English</a></div>');
    document.write ('</div>');
  }
  jsMenuHTML_cn_InnerHTML(strType);
}

function jsMenuHTML_cn_InnerHTML(strType)
{
  var tmpHtmlStr = '';
  if (MenuHTMLCSS == '4') tmpHtmlStr += '<div style="WIDTH: 100%; HEIGHT: 48px; BACKGROUND: #EC5F4F; POSITION: absolute; top: 0; left: 0; Z-INDEX: 1"></div>';
  tmpHtmlStr += '<div id="HTMLMenu">';
  tmpHtmlStr += '  <table border="0" width="100%" cellSpacing="0" cellPadding="0">';
  tmpHtmlStr += '    <tr>';
  tmpHtmlStr += '      <td width="200" class="DiPadding' + MenuHTMLCSS + '">';
  tmpHtmlStr += '        <table width="100%" cellspacing="0" cellpadding="0" border="0">';
  tmpHtmlStr += '          <tr>';
  tmpHtmlStr += '            <td height="40">';
  tmpHtmlStr += '               <table width="100%" cellspacing="0" cellpadding="0" border="0" class="DiMenuLK' + MenuHTMLCSS + '" style="white-space: nowrap">';
  tmpHtmlStr += '                 <tr>';
  tmpHtmlStr += '                   <td class="DiMenuLK' + MenuHTMLCSS + '"><div id="HTMLMenu-Logo' + MenuHTMLCSS + '" onclick="location.href = \'' + MenuHTMLBaseHref + '?chinese\';"></div></td>';
  tmpHtmlStr += '                 </tr>';
  tmpHtmlStr += '               </table>';
  tmpHtmlStr += '            </td>';
  tmpHtmlStr += '          </tr>';
  tmpHtmlStr += '        </table>';
  tmpHtmlStr += '      </td>';
  tmpHtmlStr += '      <td width="*" align="center" class="DiPadding' + MenuHTMLCSS + '">';
  tmpHtmlStr += '      <div style="position:relative">';
  tmpHtmlStr += '        <table width="100%" cellspacing="0" cellpadding="0" border="0">';
  tmpHtmlStr += '          <tr>';
  tmpHtmlStr += '            <td height="39">&nbsp;</td>';
  tmpHtmlStr += '          </tr>';
  tmpHtmlStr += '        </table>';
  tmpHtmlStr += '        <div id="TableMenu">';
  tmpHtmlStr += '          <table width="100%" cellspacing="0" cellpadding="0" border="0">';
  tmpHtmlStr += '           <tr>';
  tmpHtmlStr += '             <td width="700" align="left">';
  tmpHtmlStr += '               <table width="100%" cellspacing="0" cellpadding="0" border="0" class="DiMenuLK' + MenuHTMLCSS + '" style="white-space: nowrap">';
  tmpHtmlStr += '                 <tr>';
  tmpHtmlStr += '                   <td width="40"></td>';
  tmpHtmlStr += '                   <td width="10">&nbsp;</td>';
  tmpHtmlStr += '                 </tr>';
  tmpHtmlStr += '               </table>';
  tmpHtmlStr += '             </td>';
  tmpHtmlStr += '             <td width="*" align="right"><div id="HTMLMenu-More' + MenuHTMLCSS + '" onmouseover="chtdMenu(0)" onmouseout="igets(\'webcount/countIndex.asp?more=1\', nll);"></div></td>';
  tmpHtmlStr += '            </tr>';
  tmpHtmlStr += '            <tr>';
  tmpHtmlStr += '              <td colspan="3"><img src="' + MenuHTMLBaseHref + 'common/images/space.gif" width="560" height="1" border="0" /></td>';
  tmpHtmlStr += '            </tr>';
  tmpHtmlStr += '          </table>';
  tmpHtmlStr += '        </div>';
  tmpHtmlStr += '        <div id="DivMenu">';
  tmpHtmlStr += '          <table width="100%" cellspacing="0" cellpadding="0" border="0">';
  tmpHtmlStr += '            <tr>';
  tmpHtmlStr += '              <td width="20" height="40"></td>';
  tmpHtmlStr += '              <td align="left">';
  tmpHtmlStr += '                <div id="DivMenuContent' + MenuHTMLCSS + '" onmouseover="MVS.Msover(0)" onmouseout="MVS.Msout(0)">';
  tmpHtmlStr += '                  <div class="DiMenu' + MenuHTMLCSS + '" style="MARGIN-LEFT: 20px" onmouseover="MVS.Msover(1)" onmouseout="MVS.Msout(1)"><a href="' + MenuHTMLBaseHref + 'history.html">潮流溯源</a></div>';
  tmpHtmlStr += '                  <div class="DiMenu' + MenuHTMLCSS + '" onmouseover="MVS.Msover(1)" onmouseout="MVS.Msout(1)"><a href="' + MenuHTMLBaseHref + 'fire">Fallin Follow</a></div>';
  tmpHtmlStr += '                  <div class="DiMenu' + MenuHTMLCSS + '" onmouseover="MVS.Msover(1)" onmouseout="MVS.Msout(1)"><a href="' + MenuHTMLBaseHref + 'vipnews">V.I.P特权区</a></div>';
  tmpHtmlStr += '                  <div class="DiMenu' + MenuHTMLCSS + '" onmouseover="MVS.Msover(1)" onmouseout="MVS.Msout(1)">|</div>';
  tmpHtmlStr += '                  <div class="DiMenu' + MenuHTMLCSS + '" onmouseover="MVS.Msover(1)" onmouseout="MVS.Msout(1)"><a href="' + MenuHTMLBaseHref + 'storers">店铺介绍</a></div>';
  tmpHtmlStr += '                  <div class="DiMenu' + MenuHTMLCSS + '" onmouseover="MVS.Msover(1)" onmouseout="MVS.Msout(1)"><a href="' + MenuHTMLBaseHref + 'cooperate">合作加盟</a></div>';
  tmpHtmlStr += '                  <div class="DiMenu' + MenuHTMLCSS + '" onmouseover="MVS.Msover(1)" onmouseout="MVS.Msout(1)"><a href="' + MenuHTMLBaseHref + 'job">招贤纳士</a></div>';
  tmpHtmlStr += '                  <div class="DiMenu' + MenuHTMLCSS + '" onmouseover="MVS.Msover(1)" onmouseout="MVS.Msout(1)">|</div>';
  tmpHtmlStr += '                  <div class="DiMenu' + MenuHTMLCSS + '" onmouseover="MVS.Msover(1)" onmouseout="MVS.Msout(1)"><a href="' + MenuHTMLBaseHref + 'news">新闻媒体中心</a></div>';
  if (screen.width < 1024) tmpHtmlStr += '</div><div id="DivMenuContent' + MenuHTMLCSS + '">';
  tmpHtmlStr += '                  <div class="DiMenu' + MenuHTMLCSS + '" onmouseover="MVS.Msover(1)" onmouseout="MVS.Msout(1)"><a href="' + MenuHTMLBaseHref + 'about/?type=detail&id=1">马克华菲的世界</a></div>';
  tmpHtmlStr += '                  <div class="DiMenu' + MenuHTMLCSS + '" onmouseover="MVS.Msover(1)" onmouseout="MVS.Msout(1)"><a href="' + MenuHTMLBaseHref + 'about/?type=detail&id=3">品牌介绍</a></div>';
  tmpHtmlStr += '                  <div class="DiMenu' + MenuHTMLCSS + '" onmouseover="MVS.Msover(1)" onmouseout="MVS.Msout(1)">|</div>';
  tmpHtmlStr += '                  <div class="DiMenu' + MenuHTMLCSS + '" onmouseover="MVS.Msover(1)" onmouseout="MVS.Msout(1)"><a href="http://218.242.139.250:81/login/login.jsp">协同办公</a></div>';
tmpHtmlStr += '                  <div class="DiMenu' + MenuHTMLCSS + '" onmouseover="MVS.Msover(1)" onmouseout="MVS.Msout(1)"><a href="http://mail.markfairwhale.com">邮箱系统</a></div>';
  
  tmpHtmlStr += '                </div>';
  tmpHtmlStr += '              </td>';
  tmpHtmlStr += '            </tr>';
  tmpHtmlStr += '            <tr>';
  tmpHtmlStr += '              <td colspan="2"><img src="' + MenuHTMLBaseHref + 'common/images/space.gif" width="560" height="1" border="0" /></td>';
  tmpHtmlStr += '            </tr>';
  tmpHtmlStr += '          </table>';
  tmpHtmlStr += '        </div>';
  tmpHtmlStr += '      </div>';
  tmpHtmlStr += '      </td>';
  tmpHtmlStr += '    </tr>';
  tmpHtmlStr += '  </table>';
  tmpHtmlStr += '</div>';
  get_id('jsMenu').innerHTML = tmpHtmlStr;
}

function jsMenuHTML_cn_setCss(strCss, strType)
{
  MenuHTMLCSS = strCss;
  jsMenuHTML_cn_InnerHTML(strType);
}

function jsMenuHTML_en(strType)
{
  document.write ('<div id="jsMenu"></div>');
  if (strType != -1)
  {
    if (strType == 0) document.write ('<div id="BTMenu" style="WIDTH: 240px">');
    else document.write ('<div id="BTMenu2" style="WIDTH: 240px">');
    document.write ('  <div class="BiMenu" style="WIDTH: 33%"><a href="' + MenuHTMLBaseHref + 'about_en/?type=contact">Contact Us</a></div>');
    document.write ('  <div class="BiMenu" style="WIDTH: 33%"><a href="' + MenuHTMLBaseHref + 'sitemap_en">Site Map</a></div>');
    document.write ('  <div class="BiMenu" style="WIDTH: 33%"><a href="' + MenuHTMLBaseHref + './?chinese">中文</a></div>');
    document.write ('</div>');
  }
  jsMenuHTML_en_InnerHTML(strType);
}

function jsMenuHTML_en_InnerHTML(strType)
{
  var tmpHtmlStr = '';
  if (MenuHTMLCSS == '4') tmpHtmlStr += '<div style="WIDTH: 100%; HEIGHT: 48px; BACKGROUND: #EC5F4F; POSITION: absolute; top: 0; left: 0; Z-INDEX: 1"></div>';
  tmpHtmlStr += '<div id="HTMLMenu">';
  tmpHtmlStr += '  <table border="0" width="100%" cellSpacing="0" cellPadding="0">';
  tmpHtmlStr += '    <tr>';
  tmpHtmlStr += '      <td width="200" class="DiPadding' + MenuHTMLCSS + '">';
  tmpHtmlStr += '        <table width="100%" cellspacing="0" cellpadding="0" border="0">';
  tmpHtmlStr += '          <tr>';
  tmpHtmlStr += '            <td height="40">';
  tmpHtmlStr += '               <table width="100%" cellspacing="0" cellpadding="0" border="0" class="DiMenuLK' + MenuHTMLCSS + '" style="white-space: nowrap">';
  tmpHtmlStr += '                 <tr>';
  tmpHtmlStr += '                   <td class="DiMenuLK' + MenuHTMLCSS + '"><div id="HTMLMenu-Logo' + MenuHTMLCSS + '" onclick="location.href = \'' + MenuHTMLBaseHref + '?english\';"></div></td>';
  tmpHtmlStr += '                 </tr>';
  tmpHtmlStr += '               </table>';
  tmpHtmlStr += '            </td>';
  tmpHtmlStr += '          </tr>';
  tmpHtmlStr += '        </table>';
  tmpHtmlStr += '      </td>';
  tmpHtmlStr += '      <td width="*" align="center" class="DiPadding' + MenuHTMLCSS + '">';
  tmpHtmlStr += '      <div style="position:relative">';
  tmpHtmlStr += '        <table width="100%" cellspacing="0" cellpadding="0" border="0">';
  tmpHtmlStr += '          <tr>';
  tmpHtmlStr += '            <td height="39">&nbsp;</td>';
  tmpHtmlStr += '          </tr>';
  tmpHtmlStr += '        </table>';
  tmpHtmlStr += '        <div id="TableMenu">';
  tmpHtmlStr += '          <table width="100%" cellspacing="0" cellpadding="0" border="0">';
  tmpHtmlStr += '            <tr>';
  tmpHtmlStr += '             <td width="700" align="left">';
  tmpHtmlStr += '               <table width="100%" cellspacing="0" cellpadding="0" border="0" class="DiMenuLK' + MenuHTMLCSS + '" style="white-space: nowrap">';
  tmpHtmlStr += '                 <tr>';
  tmpHtmlStr += '                   <td width="40"></td>';
  tmpHtmlStr += '                   <td><a href="' + MenuHTMLBaseHref + 'index.asp?c=1&la=2">Vogue for Men</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="' + MenuHTMLBaseHref + 'index.asp?c=2&la=2">Jeans for Men</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="' + MenuHTMLBaseHref + 'index.asp?c=3&la=2">Creative Urban Wear</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="' + MenuHTMLBaseHref + 'index.asp?c=4&la=2">MFNEXT1863</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.mfsportso.com/">MFSPORTSO</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="' + MenuHTMLBaseHref + 'storers/?showcase">Shop</a></td>';
  tmpHtmlStr += '                   <td width="10">&nbsp;</td>';
  tmpHtmlStr += '                 </tr>';
  tmpHtmlStr += '               </table>';
  tmpHtmlStr += '             </td>';
  tmpHtmlStr += '              <td width="*" align="right"><div id="HTMLMenu-More' + MenuHTMLCSS + '" onmouseover="chtdMenu(0)" onmouseout="igets(\'webcount/countIndex.asp?more=1\', nll);"></div></td>';
  tmpHtmlStr += '            </tr>';
  tmpHtmlStr += '            <tr>';
  tmpHtmlStr += '              <td colspan="3"><img src="' + MenuHTMLBaseHref + 'common/images/space.gif" width="560" height="1" border="0" /></td>';
  tmpHtmlStr += '            </tr>';
  tmpHtmlStr += '          </table>';
  tmpHtmlStr += '        </div>';
  tmpHtmlStr += '        <div id="DivMenu">';
  tmpHtmlStr += '          <table width="100%" cellspacing="0" cellpadding="0" border="0">';
  tmpHtmlStr += '            <tr>';
  tmpHtmlStr += '              <td width="20" height="39"></td>';
  tmpHtmlStr += '              <td width="*" align="left">';
  tmpHtmlStr += '                <div id="DivMenuContent' + MenuHTMLCSS + '" onmouseover="MVS.Msover(0)" onmouseout="MVS.Msout(0)">';
  tmpHtmlStr += '                  <div class="DiMenu' + MenuHTMLCSS + '" style="MARGIN-LEFT: 20px" onmouseover="MVS.Msover(1)" onmouseout="MVS.Msout(1)"><a href="' + MenuHTMLBaseHref + 'history_en.html">M.F. Collections History</a></div>';
  tmpHtmlStr += '                  <div class="DiMenu' + MenuHTMLCSS + '" onmouseover="MVS.Msover(1)" onmouseout="MVS.Msout(1)"><a href="' + MenuHTMLBaseHref + 'fire_en">Fallin Follow</a></div>';
  tmpHtmlStr += '                  <div class="DiMenu' + MenuHTMLCSS + '" onmouseover="MVS.Msover(1)" onmouseout="MVS.Msout(1)"><a href="' + MenuHTMLBaseHref + 'news_en">News &amp; Press</a></div>';
  tmpHtmlStr += '                  <div class="DiMenu' + MenuHTMLCSS + '" onmouseover="MVS.Msover(1)" onmouseout="MVS.Msout(1)"><a href="' + MenuHTMLBaseHref + 'about_en/?type=aboutus">About Us</a></div>';
  tmpHtmlStr += '                </div>';
  tmpHtmlStr += '              </td>';
  tmpHtmlStr += '            </tr>';
  tmpHtmlStr += '            <tr>';
  tmpHtmlStr += '              <td colspan="2"><img src="' + MenuHTMLBaseHref + 'common/images/space.gif" width="560" height="1" border="0" /></td>';
  tmpHtmlStr += '            </tr>';
  tmpHtmlStr += '          </table>';
  tmpHtmlStr += '        </div>';
  tmpHtmlStr += '      </div>';
  tmpHtmlStr += '      </td>';
  tmpHtmlStr += '    </tr>';
  tmpHtmlStr += '  </table>';
  tmpHtmlStr += '</div>';
  get_id('jsMenu').innerHTML = tmpHtmlStr;
}

function jsMenuHTML_en_setCss(strCss, strType)
{
  MenuHTMLCSS = strCss;
  jsMenuHTML_en_InnerHTML(strType);
}
