document.write("<div id=\"divMenu\" style=\"Z-INDEX: 1; LEFT: 895px; WIDTH: 74px; POSITION: absolute; TOP: 64px; HEIGHT: 249px;\">\n");
document.write("<TABLE WIDTH=100 BORDER=0 CELLPADDING=0 CELLSPACING=0>\n");
document.write("<TR>\n");
document.write("<TD COLSPAN=3>\n");
document.write("<IMG SRC=\"images/qq_1.gif\" WIDTH=100 HEIGHT=91 ALT=\"\"></TD>\n");
document.write("</TR>\n");
document.write("<TR>\n");
document.write("<TD WIDTH=7 background=\"images/qq_2.gif\">&nbsp;\n");
document.write("</TD>\n");
document.write("<TD width=\"83\">\n");
document.write("<table width=\"100%\" border=\"0\" cellspacing=\"3\" cellpadding=\"0\">\n");
document.write("<tr>\n");
document.write("<td align=\"center\">\n");
document.write("<a target=blank href=tencent://message/?uin=734121565&Site=福州优利建材有限公司&Menu=yes><img border=\"0\" SRC=http://wpa.qq.com/pa?p=1:734121565:6 alt=\"点击这里给我留言\"></a>			  </td>\n");
document.write("</tr>\n");
document.write("<tr>\n");
document.write("<td align=\"center\"><a target=blank href=tencent://message/?uin=584551240&Site=福州优利建材有限公司&Menu=yes><img border=\"0\" SRC=http://wpa.qq.com/pa?p=1:584551240:6 alt=\"点击这里给我留言\"></a></td>\n");
document.write("</tr>\n");
document.write("</table>		</TD>\n");
document.write("<TD WIDTH=10  background=\"images/qq_4.gif\">&nbsp;</TD>\n");
document.write("</TR>\n");
document.write("<TR>\n");
document.write("<TD COLSPAN=3>\n");
document.write("<a href=\"#\"><IMG SRC=\"images/qq_5.gif\" onClick=\"document.all.divMenu.style.display='none';\" ALT=\"\" WIDTH=100 HEIGHT=44 border=\"0\"></a></TD>\n");
document.write("</TR>\n");
document.write("</TABLE>\n");
document.write("</div>\n");



var bNetscape4plus = (navigator.appName == "Netscape" && navigator.appVersion.substring(0,1) >= "4");
var bExplorer4plus = (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.substring(0,1) >= "4");
function CheckUIElements(){
      var yMenuFrom, yMenuTo, yButtonFrom, yButtonTo, yOffset, timeoutNextCheck;

      if ( bNetscape4plus ) { 
              yMenuFrom   = document["divMenu"].top;
              yMenuTo     = top.pageYOffset + 295; 
      }
      else if ( bExplorer4plus ) {
              yMenuFrom   = parseInt (divMenu.style.top, 10);
              yMenuTo     = document.body.scrollTop + 135; //距页面顶部的距离
      }

      timeoutNextCheck = 500;

      if ( Math.abs (yButtonFrom - (yMenuTo + 152)) < 6 && yButtonTo < yButtonFrom ) {
              setTimeout ("CheckUIElements()", timeoutNextCheck);
              return;
      }

      if ( yButtonFrom != yButtonTo ) {
              yOffset = Math.ceil( Math.abs( yButtonTo - yButtonFrom ) / 10 );
              if ( yButtonTo < yButtonFrom )
                      yOffset = -yOffset;

              if ( bNetscape4plus )
                      document["divLinkButton"].top += yOffset;
              else if ( bExplorer4plus )
                      divLinkButton.style.top = parseInt (divLinkButton.style.top, 10) + yOffset;

              timeoutNextCheck = 10;
      }
      if ( yMenuFrom != yMenuTo ) {
              yOffset = Math.ceil( Math.abs( yMenuTo - yMenuFrom ) / 20 );
              if ( yMenuTo < yMenuFrom )
                      yOffset = -yOffset;

              if ( bNetscape4plus )
                      document["divMenu"].top += yOffset;
              else if ( bExplorer4plus )
                      divMenu.style.top = parseInt (divMenu.style.top, 10) + yOffset;

              timeoutNextCheck = 10;
      }

      setTimeout ("CheckUIElements()", timeoutNextCheck);
}

function OnLoad()
{
      var y;
      if ( top.frames.length )
      if ( bNetscape4plus ) {
              document["divMenu"].top = top.pageYOffset + 135; 
              document["divMenu"].visibility = "visible";
      }
      else if ( bExplorer4plus ) {
              divMenu.style.top = document.body.scrollTop + 235;
              divMenu.style.visibility = "visible";
      }
      CheckUIElements();
      return true;
}
OnLoad();