//getURL('get','http://reg.meishow.com/admin/main/GetData.asp?Action=UpdateAdvertise&AdvertiseName=AD_nav_batai&Type=0&IP=58.35.127.168&rnd=' + Math.random(),'');
var BeginDate, EndDate, IsStop;
var objDate, objNow, IsShow;
IsShow = false;
objDate = new Date();
objNow = new Date(objDate.getYear(), objDate.getMonth()+1, objDate.getDate());
BeginDate="";
EndDate="";
if(BeginDate=="" && EndDate!="" && objNow<=EndDate){IsShow=true;}
if(EndDate=="" && BeginDate!="" && objNow>=BeginDate){IsShow=true;}
if(EndDate!="" && BeginDate!="" && objNow>=BeginDate && objNow<=EndDate){IsShow=true;}
if(EndDate=="" && BeginDate==""){IsShow=true;}
IsStop=0;
if(IsStop!=0){IsShow=false;}
if(IsShow){
	document.write("<style type=\"text\/css\">\
#personal { float: left; width: 833px; margin-bottom: 30px; } .personal{ background-image: url(images\/member-service_01.jpg); background-repeat: repeat-x; height: 35px; width: 820px; font-size: 14px; padding-top:0px; font-weight: bold; color: #0b95e3; padding-left: 13px; float: left; } .personal_box{ background-image: url(images\/member-service_03.jpg); height: 166px; width: 833px; font-size: 12px; float: left; line-height: 30px; margin-bottom: 5px; } .personal_list{ float: left; width: 207px; } .personal_list a{ color: #000000; text-decoration: none; } .personal_list a:hover{ text-decoration: underline; } .personal_title{ font-weight: bold; color: #1059a2; float: left; text-align: center; padding-top: 10px; width: 207px; } .personal_title a{ color: #1059a2; text-decoration: none; } .personal_title a:hover{ text-decoration: underline; } .personal_text{ color: #000000; float: left; width: 177px; padding-right: 12px; padding-left: 18px; text-indent: 2em; line-height: 28px; height: 85px; } .personal_apply{ text-align: right; float: left; width: 180px; } #enterprise{ float: left; width: 833px; margin-bottom: 30px; } .enterprise{ background-image: url(images\/member-service_04.jpg); background-repeat: repeat-x; height: 35px; width: 820px; padding-top:0px; font-weight: bold; color: #ff0061; padding-left: 13px; float: left; } .enterprise_box{ background-image: url(images\/member-service_06.jpg); height: 166px; width: 833px; font-size: 12px; float: left; line-height: 30px; margin-bottom: 5px; } .enterprise_title{ font-weight: bold; color: #c7014c; float: left; text-align: center; padding-top: 10px; width: 207px; } .enterprise_title a{ color: #c7014c; text-decoration: none; } .enterprise_title a:hover{ text-decoration: underline; } #gold{ float: left; width: 833px; } .gold{ background-image: url(images\/member-service_07.jpg); background-repeat: repeat-x; height: 35px; width: 820px; font-size: 14px; padding-top:0px; font-weight: bold; color: #e49000; padding-left: 13px; float: left; } .gold_box{ background-image: url(images\/member-service_09.jpg); height: 166px; width: 833px; font-size: 12px; float: left; line-height: 30px; margin-bottom: 5px; } .gold_title{ font-weight: bold; color: #a25810; float: left; text-align: center; padding-top: 10px; width: 207px; } .gold_title a{ color: #a25810; text-decoration: none; } .gold_title a:hover{ text-decoration: underline; } \
<\/style>\
<\/div>\
<style type=\"text\/css\">\
\
ul{\
	margin: 0px;\
	padding: 0px;\
}\
li{\
	margin: 0px;\
	padding: 0px;\
	list-style-type: none;\
}\
#meishow_batai{	\
	height: 325px;\
	width: 120px;\
	position:absolute;\
	top:0;\
	right:0;\
}\
.m_box{\
	padding-top: 40px;\
	padding-left: 15px;\
	text-align: center;\
}\
.m_box a{\
	color: #a01801;\
	text-decoration: none;\
}\
.m_box li{\
	font-size: 12px;\
	line-height: 27px;\
	color: #a01801;\
	float: left;\
	height: 27px;\
	width: 90px;\
	margin-bottom: 3px;\
}\
.m_contact{\
	color: #fff;\
	float: left;\
	padding-left: 12px;\
	padding-top: 8px;\
	width: 108px;\
	line-height: 17px;\
	font-size: 12px;\
	text-align:left;\
}\
.m_contact a{\
	color: #fff;\
	font-weight: normal;\
	text-decoration: none;\
}\
.m_list{\
	border-top-width: 0px;\
	border-right-width: 0px;\
	border-bottom-width: 1px;\
	border-left-width: 0px;\
	border-top-style: dashed;\
	border-right-style: dashed;\
	border-bottom-style: dashed;\
	border-left-style: dashed;\
	border-top-color: #9e9e9e;\
	border-right-color: #9e9e9e;\
	border-bottom-color: #9e9e9e;\
	border-left-color: #9e9e9e;\
	padding-left: 5px;\
	width: 93px;\
	margin-bottom: 4px;\
}\
<\/style>\
<script type=\"text\/javascript\" language=\"javascript\">\
function closeDiv(){\
	_ad.style.visibility='hidden';\
}\
<\/script>\
\
<div id=\"divMenu\" style=\"Z-INDEX: 2; RIGHT: 50px; WIDTH: 120px; POSITION: absolute; TOP: 30px; HEIGHT: 352px\">\
  <div id=\"top_ads\" style=\"BORDER-RIGHT: #000 0px solid; BORDER-TOP: #000 0px solid; DISPLAY: none; MARGIN: auto; OVERFLOW: hidden; BORDER-LEFT: #000 0px solid; BORDER-BOTTOM: #000 0px solid; BACKGROUND-COLOR: #ffffff; TEXT-ALIGN: center\">\
    <BUTTON id=header_ad style=\"BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; BACKGROUND: none transparent scroll repeat 0% 0%; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 120px; CURSOR: pointer; PADDING-TOP: 0px; HEIGHT: 325px; BORDER-RIGHT-WIDTH: 0px\"><\/BUTTON>\
    <div id=\"close\" style=\"RIGHT: -25px; CURSOR: pointer; BOTTOM: 25px; POSITION: relative\"><IMG style=\"FONT-SIZE: 14px; COLOR: #000000\" onclick=closeAd(); src=\"http:\/\/www.meishow.com\/zhuantiwenjianjia\/ad\/images\/batai_03.gif\"><\/div>\
    <div id=\"meishow_batai\">\
      <div class=\"m_box\">\
        <UL>\
          <LI><A href=\"http:\/\/www.meishow.com\/aboutmeishow\/ShowArticle.asp?ArticleID=51501\" target=_blank>会员申请<\/A><\/LI>\
          <LI><A href=\"http:\/\/www.meishow.com\/aboutmeishow\/ShowArticle.asp?ArticleID=51454\" target=_blank>服务申请<\/A><\/LI>\
          <LI><A href=\"http:\/\/www.meishow.com\/aboutmeishow\/ShowArticle.asp?ArticleID=51387\" target=_blank>疑难解答<\/A><\/LI>\
          <LI><A href=\"http:\/\/wpa.qq.com\/msgrd?v=1&uin=429476163&site=富康menu=yes\">在线服务<\/A><\/LI>\
        <\/UL>\
      <\/div>\
      <div class=\"m_contact\">\
         <ul>\
          <li>QQ：<a href=\"http:\/\/wpa.qq.com\/msgrd?v=1&uin=492766577&site=富康menu=yes\"> 492766577<\/a><\/li>\
          <li>热线电话：<\/li>\
		   <li>021-51870211<\/li>\
          <li>邮箱：<a href=\"mailto:meishow@meishow.com\">meishow<\/a><\/li>\
          <li><a href=\"mailto:meishow@meishow.com\">@meishow.com<\/a><\/li>\
          <li>投诉邮箱：<a href=\"mailto:ts@meishow.com\">ts@meishow.com<\/a><\/li>\
          <li><A href=\"http:\/\/www.meishow.com\/aboutmeishow\/ShowArticle.asp?ArticleID=7850\" target=_blank>点击投诉</A><\/li>\
        <\/ul>\
      <\/div>\
    <\/div>\
  <\/div>\
<\/div>\
\
<script language=\"javascript\">\
	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.documentElement.scrollTop + 125;\
      }\
\
      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 + 125; \
              document[\"divMenu\"].visibility = \"visible\";\
      }\
      else if ( bExplorer4plus ) {\
			  divMenu.style.top = document.documentElement.scrollTop + 235;\
              divMenu.style.visibility = \"visible\";\
      }\
      CheckUIElements();\
      return true;\
}\
	OnLoad();\
	var time;\
	var h;\
	var T;\
	var N; \
	var ad_timer;\
	\
	function addCount()\
	{\
		document.getElementById(\"top_ads\").style.display = \"block\";\
		document.getElementById(\"top_ads\").style.height = h+\"px\";\
	}\
		\
	function showAds(paramTime,paramh,paramT,paramN)\
	{\
		time = paramTime;\
		h = paramh;\
		h = 325;\
		T = paramT;\
		N = paramN; \
		addCount();\
		ad_timer=setTimeout(\"noneAds()\",60000); \
	}\
	\
	function noneAds()\
	{\
		document.getElementById(\"top_ads\").style.display = \"none\";\
		document.getElementById(\"float_ad\").style.display = \"block\";\
	}\
	\
	function clearTimer()\
	{\
		clearInterval(ad_timer);\
	}\
	\
	function closeAd()\
	{\
		document.getElementById(\"top_ads\").style.display = \"none\";\
		document.getElementById(\"float_ad\").style.display = \"block\";\
		clearTimer();\
	}\
	\
	function show()\
	{\
		var obj_ad=document.getElementById(\"float_ad\");\
		obj_ad.style.display=\"none\";\
		showAds(500,500,500,500);\
		\
	}\
		\
	var _inner_browser_width = 0;\
	var _inner_browser_height = 0;\
	var _browser_scroll_x = 0;\
	var _browser_scroll_y = 0;	\
	function calc_window_size() \
		{	\
	if( typeof( window.innerWidth ) == 'number' ) \
			{\
				\
				_inner_browser_width = window.innerWidth;\
				_inner_browser_height = window.innerHeight;\
			} \
			else if(document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight) ) \
			{\
				\
				_inner_browser_width = document.documentElement.clientWidth;\
				_inner_browser_height = document.documentElement.clientHeight;\
			} \
			else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) \
			{\
				\
				_inner_browser_width = document.documentElement.clientWidth;\
				_inner_browser_height =document.documentElement.clientHeight;\
			}\
		}		\
		function calc_scroll_xy() \
\
		{\
			_browser_scroll_x = 0;\
			_browser_scroll_y = 0;\
			if( typeof( window.pageYOffset ) == 'number' ) \
			{\
				\
				_browser_scroll_y = window.pageYOffset;\
				_browser_scroll_x = window.pageXOffset;\
			} else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) \
			{\
				\
				_browser_scroll_y = document.documentElement.scrollTop;\
				_browser_scroll_x = document.documentElement.scrollLeft;\
			} \
			else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) \
			{\
				\
				_browser_scroll_y = document.documentElement.scrollTop;\
				_browser_scroll_x = document.documentElement.scrollLeft;\
			}\
		}\
\
	function scorll_y()\
	{\
		calc_window_size();\
		calc_scroll_xy();\
		var obj_ad=document.getElementById(\"float_ad\");\
		obj_ad.style.left=_inner_browser_width-(_inner_browser_width-960)\/2;\
		obj_ad.style.top=_browser_scroll_y+_inner_browser_height-223;\
		setTimeout(\"scorll_y();\",30)\
	}\
<\/script>\
<\/div>\
\
\
<div id=\"_ad\" style=\"Z-INDEX: 2; RIGHT: 30px; WIDTH: 20px; BOTTOM: 10px; POSITION: absolute; HEIGHT: 260px\">\
  <div id=\"float_ad\" style=\"DISPLAY: none; WIDTH: 20px; CURSOR: pointer\">\
        <div><A href=\"http:\/\/www.meishow.com\/aboutmeishow\/ShowArticle.asp?ArticleID=51501\" target=_blank>\
        <IMG height=172 src=\"http:\/\/www.meishow.com\/zhuantiwenjianjia\/ad\/images\/chivas_ad1.gif\" width=20 border=0><\/A><\/div>\
        <div><IMG onclick=show(); height=41 src=\"http:\/\/www.meishow.com\/zhuantiwenjianjia\/ad\/images\/chivas_ad2.jpg\" width=20><\/div>\
        <div><IMG onclick=closeDiv() height=41 src=\"http:\/\/www.meishow.com\/zhuantiwenjianjia\/ad\/images\/close.jpg\" width=20><\/div>\
  <\/div>\
<\/div>\
<SCRIPT language=javascript>\
	showAds(500,0,500,500);	\
	scorll_y();\
	var str = \"<img src='http:\/\/www.meishow.com\/zhuantiwenjianjia\/ad\/images\/batai.gif' width=120 height=325 border=0 \/>\";\
	document.getElementById(\"header_ad\").innerHTML = str;\
	moveR();\
	function moveR() {		\
	_ad.style.top= document.documentElement.scrollTop+document.documentElement.clientHeight-260;\
	_ad.style.left=document.documentElement.scrollLeft+document.documentElement.clientWidth-20;\
		setTimeout(\"moveR();\",80);\
	}\
<\/SCRIPT>");
}else{
	document.write("<img src=\"http:\/\/reg.meishow.com\/images\/invest.jpg\" class=\"advertise_image\" style=\"border:0px;\"\/>\
");
}
