﻿

<!--对联代码开始-->
   //<![CDATA[
   var adLeftSrc = ""   //图片地址左边
   var adLeftFlash = "gif"
   var adLeftHref = "http://www.beauty11.com/"
   var adLeftWidth = 109
   var adLeftHeight = 120
   var adRightSrc = "flash/online.gif"//图片地址右边
   var adRightFlash = "gif"
   var adRightHref = "http://www.beauty11.com/"
   var adRightWidth = 109
   var adRightHeight =140
   var marginTop = 30 //在这里更改距离浏览器底端的高度
   var marginLeft = 5//在这里更改距离浏览器右端的高度
   var navUserAgent = navigator.userAgent
   function load(){
    judge();
    move();
   }
   function move() {
    judge();
    setTimeout("move();",80)
   }
   function judge(){
    if (navUserAgent.indexOf("Firefox") >= 0 || navUserAgent.indexOf("Opera") >= 0) {
     if (adLeftSrc != "") {document.getElementById("adLeftFloat").style.top = (document.body.scrollTop?document.body.scrollTop:document.documentElement.scrollTop) + ((document.body.clientHeight > document.documentElement.clientHeight)?document.documentElement.clientHeight:document.body.clientHeight) - adLeftHeight - marginTop + 'px';}
     if (adRightSrc != "") {
      document.getElementById("adRightFloat").style.top = (document.body.scrollTop?document.body.scrollTop:document.documentElement.scrollTop) + ((document.body.clientHeight > document.documentElement.clientHeight)?document.documentElement.clientHeight:document.body.clientHeight) - adRightHeight - marginTop + 'px';
      document.getElementById("adRightFloat").style.left = ((document.body.clientWidth > document.documentElement.clientWidth)?document.body.clientWidth:document.documentElement.clientWidth) - adRightWidth - marginLeft + 'px';
     } 
    }
    else{
     if (adLeftSrc != "") {document.getElementById("adLeftFloat").style.top = (document.body.scrollTop?document.body.scrollTop:document.documentElement.scrollTop) + ((document.documentElement.clientHeight == 0)?document.body.clientHeight:document.documentElement.clientHeight) - adLeftHeight - marginTop + 'px';}
     if (adRightSrc != "") {
      document.getElementById("adRightFloat").style.top = (document.body.scrollTop?document.body.scrollTop:document.documentElement.scrollTop) + ((document.documentElement.clientHeight == 0)?document.body.clientHeight:document.documentElement.clientHeight) - adRightHeight - marginTop + 'px';
      document.getElementById("adRightFloat").style.left = ((document.documentElement.clientWidth == 0)?document.body.clientWidth:document.documentElement.clientWidth) - adRightWidth - marginLeft + 'px';
     }
    }
    if (adLeftSrc != "") {document.getElementById("adLeftFloat").style.left = marginLeft + 'px';}
   }
   
   
   
   if (adLeftSrc != "") {
    if (adLeftFlash == "flash") {
    document.write("<div id=\"adLeftFloat\" style=\"position: absolute;width:" + adLeftWidth + ";height:100px; font-size:12px;\"><img src=\"flash/close.gif\" width=\"12\" border=\"0\" height=\"12\" onMousedown=\"javascript:close_float_left();void(0);\";>");
    
     document.write("<div id=\"Float\" style=\"width:" + adLeftWidth + ";\"><embed src=\"" + adLeftSrc + "\" quality=\"high\"  width=\"" + adLeftWidth + "\" height=\"" + adLeftHeight + "\" type=\"application/x-shockwave-flash\"></embed></div>");
     document.write("</div>");
    }
    else{
    document.write("<div id=\"adLeftFloat\" style=\"position: absolute;width:" + adLeftWidth + ";height:100px; font-size:12px;\"><img src=\"flash/close.gif\" width=\"12\" border=\"0\" height=\"12\" onMousedown=\"javascript:close_float_left();void(0);\";>");
    
     document.write("<div id=\"Float\" style=\"width:" + adLeftWidth + ";\"><a href=\"" + adLeftHref +"\" target=_blank><img src=\"" + adLeftSrc + "\"  width=\"" + adLeftWidth + "\" height=\"" + adLeftHeight + "\"  border=\"0\" \></a></div>");
     document.write("</div>");
    }
   }
   
   
   
   if (adRightSrc != "") {
    if (adRightFlash == "flash") {
    document.write("<div id=\"adRightFloat\" style=\"position: absolute;width:" + adRightWidth + ";height:100px; font-size:12px;text-align:right;\"><img src=\"flash/close.gif\" width=\"12\" border=\"0\" height=\"12\" onMousedown=\"javascript:close_float_right();void(0);\";>");
    
   
   document.write("<div id=\"Float\" style=\"width:" + adRightWidth + ";\"><embed src=\"" + adRightSrc + "\" quality=\"high\"  width=\"" + adLeftWidth + "\" height=\"" + adRightHeight + "\" type=\"application/x-shockwave-flash\"></embed></div>");
     document.write("</div>");
    }
    else{
   document.write("<div id=\"adRightFloat\" style=\"position: absolute;width:" + adRightWidth + ";height:100px; font-size:12px;text-align:center;\"><table id=\"__01\" width=\"109\" height=\"120\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\"><tr><td colspan=\"3\"><img src=\"../images/onlinetalk_01.gif\" width=\"109\" height=\"57\" alt=\"\"></td></tr><tr><td background=\"../images/onlinetalk_02.gif\" width=\"5\" height=\"57\" </td><td width=\"97\"  bgcolor=\"#FFFFFF\" style=\"line-height:35px;font-size:12px;\" ><a target=\"_blank\"href=\"http://amos1.taobao.com/msg.ww?v=2&uid=ekeim&s=1\" ><img border=\"0\" src=\"http://amos1.taobao.com/online.ww?v=2&uid=ekeim&s=1\" alt=\"点击这里给我发消息\" /></a>	<br/><a target=\"blank\" href=\"tencent://message/?uin=1219006773&Site=beauty11&Menu=yes\"><img border=\"0\" SRC=\"http://wpa.qq.com/pa?p=1:1219006773:7\" alt=\" \"></a></td><td background=\"../images/onlinetalk_04.gif\"  width=\"7\" height=\"57\">																																									</td></tr><tr><td colspan=\"3\"><img src=\"../images/onlinetalk_05.gif\" width=\"109\" height=\"6\" alt=\"\"></td></tr></table>");
    
   //  document.write("<div id=\"Float\" style=\"width:" + adRightWidth + ";\"><a href=\"" + adRightHref +"\" target=_blank><img src=\"" + adRightSrc + "\"   width=\"" + adLeftWidth + "\" height=\"" + adRightHeight + "\"  border=\"0\"  \></a></div>");
     document.write("</div>");
    }
   }
   
   
   
   
   load();

function close_float_right(){
document.getElementById("adRightFloat").style.display="none";} 
function close_float_left(){
document.getElementById("adLeftFloat").style.display="none";}  //]]>


<!--对联代码结束-->

