var DDSPEED = 10;
var DDTIMER = 15;
//此段代码并不影响程序的运行速度
//代码吾爱出品，请自由使用
//http://www.code52.net/
// 处理鼠标动作的主函数 //
function ddMenu(id,d){
  var h = document.getElementById(id + '-ddheader');
  var c = document.getElementById(id + '-ddcontent');
  clearInterval(c.timer);
  if(d == 1){
    clearTimeout(h.timer);
    if(c.maxh && c.maxh <= c.offsetHeight){return}
    else if(!c.maxh){
      c.style.display = 'block';
      c.style.height = 'auto';
      c.maxh = c.offsetHeight;
      c.style.height = '0px';
    }
    c.timer = setInterval(function(){ddSlide(c,1)},DDTIMER);
  }else{
    h.timer = setTimeout(function(){ddCollapse(c)},50);
  }
}

// 回缩菜单 //
function ddCollapse(c){
  c.timer = setInterval(function(){ddSlide(c,-1)},DDTIMER);
}

// 如果有用户将鼠标放置在菜单上则取消回溯 //
function cancelHide(id){
  var h = document.getElementById(id + '-ddheader');
  var c = document.getElementById(id + '-ddcontent');
  clearTimeout(h.timer);
  clearInterval(c.timer);
  if(c.offsetHeight < c.maxh){
    c.timer = setInterval(function(){ddSlide(c,1)},DDTIMER);
  }
}

// 展开/回缩菜单，并设置透明度 //
function ddSlide(c,d){
  var currh = c.offsetHeight;
  var dist;
  if(d == 1){
    dist = (Math.round((c.maxh - currh) / DDSPEED));
  }else{
    dist = (Math.round(currh / DDSPEED));
  }
  if(dist <= 1 && d == 1){
    dist = 1;
  }
  c.style.height = currh + (dist * d) + 'px';
  c.style.opacity = currh / c.maxh;
  c.style.filter = 'alpha(opacity=' + (currh * 100 / c.maxh) + ')';
  if((currh < 2 && d != 1) || (currh > (c.maxh - 2) && d == 1)){
    clearInterval(c.timer);
  }
}
document.write("<style>* {padding:0; margin:0;}.dropdown {float:middle; }.dropdown dt {cursor:pointer;color:#ffffff; font-size:10.5pt; font-weight:bold;}.dropdown dt:hover {color:#ff0000;text-decoration:none;}.dropdown dd {position:absolute; overflow:hidden; width:84px; display:none;background:#fff; z-index:200; opacity:0}.dropdown ul {padding-right:22px;width:85px; list-style:none; border-top:none;text-align:middle}.dropdown li {display:inline;text-align:left}.dropdown a, .dropdown a:active, .dropdown a:visited {text-align:middle;display:block; padding:2px;color:#333; text-decoration:none; background:#eaf0f2; width:85px}.dropdown a:hover {background:#d9e1e4; color:#000}.dropdown .underline {border:1px solid #b9d6dc}</style>");

document.writeln("<TABLE cellSpacing=0 cellPadding=0 width=545 border=0>");
document.writeln("<TBODY>");
document.writeln("<TR>");
document.writeln("<TD align=middle><A style=\"FONT-WEIGHT: bold; FONT-SIZE: 10.5pt; COLOR: #ffffff\" href=\"\/index.html\">首   页<\/A><\/TD>");
document.writeln("<TD align=middle width=4><IMG height=34 src=\"\/picture\/821\/091019163448641.jpg\" width=4 border=0><\/TD>");
document.writeln("<TD align=middle><A style=\"FONT-WEIGHT: bold; FONT-SIZE: 10.5pt; COLOR: #ffffff\" href=\"\/col\/col6454\/index.html\">新闻媒体中心<\/A><\/TD>");
document.writeln("<TD align=middle width=4><IMG height=34 src=\"\/picture\/821\/091019163448641.jpg\" width=4 border=0><\/TD>");
document.writeln("<TD align=middle><A style=\"FONT-WEIGHT: bold; FONT-SIZE: 10.5pt; COLOR: #ffffff\" href=\"\/col\/col6521\/index.html\">政务公开<\/A><\/TD>");
document.writeln("<TD align=middle width=4><IMG height=34 src=\"\/picture\/821\/091019163448641.jpg\" width=4 border=0><\/TD>");
document.writeln("<TD align=middle><A style=\"FONT-WEIGHT: bold; FONT-SIZE: 10.5pt; COLOR: #ffffff\" href=\"\/col\/col6261\/index.html\">纳税服务中心<\/A><\/TD>");
document.writeln("<TD align=middle width=4><IMG height=34 src=\"\/picture\/821\/091019163448641.jpg\" width=4 border=0><\/TD>");
document.writeln("<TD align=middle><A style=\"FONT-WEIGHT: bold; FONT-SIZE: 10.5pt; COLOR: #ffffff\" href=\"\/col\/col6455\/index.html\">地税文化<\/A><\/TD>");
document.writeln("<TD align=middle width=4><IMG height=34 src=\"\/picture\/821\/091019163448641.jpg\" width=4 border=0><\/TD>");
document.writeln("<TD align=middle><dl class=\"dropdown\"><dt id=\"two-ddheader\" onmouseover=\"ddMenu('two',1)\" onmouseout=\"ddMenu('two',-1)\">市县网站</dt>");
document.write("<dd id=\"two-ddcontent\" onmouseover=\"cancelHide('two')\" onmouseout=\"ddMenu('two',-1)\">");
document.write("<ul>");
document.write("<li><a href='http://www.dscz.gov.cn/col/col6541/index.html' class='underline' target='_blank'>溧阳地税</a></li>");
document.write("<li><a href='http://www.dscz.gov.cn/col/col7621/index.html' class='underline' target='_blank'>金坛地税</a></li>");
document.write("<li><a href='http://www.dscz.gov.cn/col/col7622/index.html' class='underline' target='_blank'>武进地税</a></li>");
document.write("</ul>");
document.write("</dd>");
document.write("</dl></td>");
document.writeln("<TD align=middle width=4><IMG height=34 src=\"\/picture\/821\/091019163448641.jpg\" width=4 border=0><\/TD>");
document.writeln("<TD align=middle><A style=\"FONT-WEIGHT: bold; FONT-SIZE: 10.5pt; COLOR: #ffffff\" href=\"http://218.93.18.190:81/bbs/\">税收论坛<\/A><\/TD><\/TR><\/TBODY><\/TABLE>");