document.writeln("<table width='966' border='0' align='center' cellpadding='0' cellspacing='0'>");
document.writeln("  <tr>");
document.writeln("    <td width='715'><a href='/'><img src='/images/Logo-1.gif' alt='浙江工商企业服务' /></a></td>");
document.writeln("    <td valign='top'><table width='251' border='0' cellspacing='0' cellpadding='0'>");
document.writeln("      <tr>");
document.writeln("        <td height='55' valign='top'><table width='223' border='0' align='right' cellpadding='0' cellspacing='0'>");
document.writeln("          <tr>");
document.writeln("            <td width='12' height='30'><img src='/images/Icon-1.gif' alt=''/></td>");
document.writeln("            <td><a id='asethomepage' class='Black' style='cursor:pointer;'>设为首页</a></td>");
document.writeln("            <td width='12' height='30'><img src='/images/Icon-1.gif' alt=''/></td>");
document.writeln("            <td><a id='aAddFavorite' class='Black' style='cursor:pointer;'>加入收藏</a></td>");
document.writeln("            <td width='12' height='30'><img src='/images/Icon-1.gif' alt=''/></td>");
document.writeln("            <td><a href='/en/index.shtml' class='Black'>ENGLISH</a></td>");
document.writeln("          </tr>");
document.writeln("        </table></td>");
document.writeln("      </tr>");
document.writeln("      <tr>");
document.writeln("        <td>");
document.writeln("<div align='center' id='top1'>");
var fotop = new FlashObject('/flash/1.swf', 'movie', '251', '34', '4', ''); 
fotop.addParam('quality', 'high'); 
fotop.addParam('salign', 't'); 
fotop.addParam('scale', 'noscale'); 
fotop.addParam('loop', 'false'); 
fotop.addParam('wmode', 'transparent'); 
fotop.write('top1'); 
document.writeln("</td>");
document.writeln("      </tr>");
document.writeln("    </table></td>");
document.writeln("  </tr>");
document.writeln("</table>");
document.writeln("<table width='966' border='0' align='center' cellpadding='0' cellspacing='0'>");
document.writeln("  <tr>");
document.writeln("    <td height='54' valign='top'><table border='0' cellspacing='0' cellpadding='0'>");
document.writeln("      <tr>");
document.writeln("       <td width='87' align='center'  class='MenuFontB'   id='menu_1' ><a href='/'>首 页</a></td>");
document.writeln("        <td width='87' align='center' class='MenuFontB'   id='menu_2' ><a href='/about/' target='_blank'>机构介绍</a></td>");
document.writeln("        <td width='87' align='center' class='MenuFontB' id='menu_3'><a href='/businese/domesticfunded/1.shtml' target='_blank'>业务领域</a></td>");
document.writeln("        <td width='87' align='center' class='MenuFontB' id='menu_4' ><a href='/process/' target='_blank'>业务流程</a></td>");
document.writeln("        <td width='87' align='center' class='MenuFontB' id='menu_5'><a href='/search/2.shtml' target='_blank'>档案查询</a></td>");
document.writeln("        <td width='87' align='center' class='MenuFontB' id='menu_6'><a href='/aspx/Guide.aspx' target='_blank'>注册指南</a></td>");
document.writeln("        <td width='87' align='center' class='MenuFontB' id='menu_7' ><a href='/contactus/' target='_blank'>联系我们</a></td>");
document.writeln("      </tr>");
document.writeln("    </table></td>");
document.writeln("    <td width='40' background='/images/Search-1.jpg'></td>");
document.writeln("    <td width='27' background='/images/SearchBg.gif'><img src='/images/Search-3.jpg' alt=''/></td>");
document.writeln("    <td width='53' background='/images/SearchBg.gif' class='SearchCol'>站内搜索</td>");
document.writeln("    <td width='122' background='/images/SearchBg.gif'>");
document.writeln("    <input name='top_keyword' onfocus='javascript:checksearchkeyword(this);' onblur='javascript:checksearchkeyword(this);' type='text' class='SearchPut' id='top_keyword' value='请输入关键字'/></td>");
document.writeln("    <td width='64' background='/images/SearchBg.gif'><a href='javascript:SearchGo_Top();'><img src='/images/Search-1.gif' alt='高级搜索'/></a></td>");
document.writeln("    <td width='50' background='/images/Search-2.jpg'></td>");
document.writeln("  </tr>");
document.writeln("</table>");
document.writeln("<table width='966' border='0' align='center' cellpadding='0' cellspacing='0'>");
document.writeln("  <tr>");
document.writeln("    <td height='205' valign='top'>");
document.writeln("<div align='center' id='top'>");
var fo = new FlashObject('/flash/top.swf', 'movie', '966', '193', '3', ''); 
fo.addParam('quality', 'high'); 
fo.addParam('salign', 't'); 
fo.addParam('scale', 'noscale'); 
fo.addParam('loop', 'false'); 
fo.addParam('wmode', 'transparent'); 
fo.write('top'); 
document.writeln("</div>");
document.writeln("</td>");
document.writeln("  </tr>");
document.writeln("</table>");
function getmenu()
{
    var url=window.location.href;
   if(url.indexOf('/about/')>-1)
   {
         document.getElementById('menu_2').className='MenuFont';
   }
   else if(url.indexOf('Businese')>-1 || url.indexOf('businese')>-1)
    {
         document.getElementById('menu_3').className='MenuFont';
    }
     else if(url.indexOf('/process/')>-1)
    {
         document.getElementById('menu_4').className='MenuFont';
    }
     else if(url.indexOf('/search/')>-1)
    {
         document.getElementById('menu_5').className='MenuFont';
    }
     else if(url.indexOf('Guide')>-1 || url.indexOf('guide')>-1)
    {
         document.getElementById('menu_6').className='MenuFont';
    }
	else if(url.indexOf('/contactus/')>-1)
    {
         document.getElementById('menu_7').className='MenuFont';
    }
    else
    {
         document.getElementById('menu_1').className='MenuFont';
    }
}
getmenu();
$(document).ready(function(){
$('#asethomepage').click(function(){
var url=document.location.href;
this.style.behavior = 'url(#default#homepage)';
this.sethomepage(url);
});
$('#aAddFavorite').click(function(){
var url=document.location.href;
window.external.AddFavorite(url,'浙江企业登记代理网'); 
});
});
