
var swidth=125
var sheight=200
var sbcolor=""
var sspeed=2
var resumesspeed=sspeed
var wholemessage=''
//FreeNet5="http://freewww.profate.com.tw/";
FreeNet5="http://Server:503/";
srcpng1 = new Image();
srcpng1.src = "http://img.profate.com/net5/Web/card_020321.gif";
wholemessage = '<div align="center" class=title11><a class=tabb href="/Service/HDiSale/promote/freebook.asp" onClick=\'window.top.location.href="/Service/HDiSale/promote/freebook.asp"\'><u>跨年好禮大贈送<br><font color=red>免費送您</font></u></a></DIV>'+
'<div align="left" class=title8>命理網600點再加萬年曆一套共三冊</div><br>'+
'<div align="left" class=title11><img width="30" height="18" border=0 src="/Images/congraA.gif"><a class=tabb href="'+FreeNet5+'FreeHDi/Net5/Service/Master/Chen/index.asp" onClick=\'window.top.location.href="'+FreeNet5+'FreeHDi/Net5/Service/Master/Chen/index.asp"\'><u><font color=blue>陳錦通大師</u></font></a></DIV>'+
'<div align="center" class=title11>高票當選中國命相堪輿協會理事長</DIV><br>'+
'<div align="center" class=title11><a class=tabb href="/Service/ebuy/Net5AP/Net5CD.asp" onClick=\'window.top.location.href="/Service/ebuy/Net5AP/Net5CD.asp"\'><u><font color=red>免費送您</font><br>宏科數位 命理網軟體</u></a></DIV>'+
'<div align="left" class=title8>包括紫微斗數排盤、八字排盤....等等。</DIV>'+
'<div align="center" class=title11><br><a class=tabb href="/Service/fate/index.asp" onClick=\'window.top.location.href="/Service/fate/index.asp"\'><u>宏科數位 命理網大師親自批命服務開始了</u></a></DIV>'+
'<div align="left" class=title8>包括姓名學、八字、星占、占卜....等等。</DIV>'+
//'<div align="center" class=title11><BR>線上購點大優惠</div>'+
'<div align="center" class=tab><a class=tabb href="/Service/HDiSale/Sale.asp" onClick=\'window.top.location.href="/Service/HDiSale/Sale.asp"\'><img width="100" height="75" border=0 src=' +srcpng1.src+ '></a></div>'+
//'<div align="center" class=title11><br><a class=tabb href="'+FreeNet5+'FreeHDi/ebuy/Music/Hou/index.asp" onClick=\'window.top.location.href="'+FreeNet5+'FreeHDi/ebuy/Music/Hou/index.asp"\'><u>羊年開運音樂上市了</u></a></div>'+
//'<div align="left" class=title8>根據古代的曆法、馬王堆出土的編鍾，以及三千年來先聖先賢們留下來的著作<div>'+
'<div align="center" class=title11><br><a class=tab href="'+FreeNet5+'FreeHDi/Net5/Service/calender/index.asp" onClick=\'window.top.location.href="'+FreeNet5+'FreeHDi/Net5/Service/calender/index.asp"\'><u>命理網專業版新編萬年曆上市了</u></a></div>'+
'<div align="left" class=title8>◎ 全世界首套編到時辰刻度的萬年曆。</div>'+
'<div align="left" class=title8>◎ 全新定氣法重新編撰。</div>'+
'<div align="left" class=title8>◎ 完整、精準、方便、專業。</div>'+
'<div align="center" class=title11><br><a class=tab href="/LovePI/index_s.asp" onClick=\'window.top.location.href="/LovePI/index_s.asp"\'><u>愛情護照，讓愛更多</u></a></div>'+
'<div align="left" class=title8>◎ 利用「四柱八字推命」<br>◎ 配合先進的「電腦科技」、「心理學」及「行為科學」 綜合而成。</div><br>'
function start(){
if (document.all) iemarquee(slider);
else if (document.getElementById)
ns6marquee(document.getElementById('slider'));
else if(document.layers)
ns4marquee(document.slider1.document.slider2);
}
function iemarquee(whichdiv){
iediv=eval(whichdiv)
temp = wholemessage
for (i = 0 ; i < 10 ; i++)
{
	wholemessage += temp
}
iediv.innerHTML=wholemessage 
iediv.style.pixelTop=sheight
sizeup=iediv.offsetHeight
ieslide()
}
function ieslide()
{
  if (iediv.style.pixelTop>=sizeup*(-1))
  {
    iediv.style.pixelTop-=sspeed
    setTimeout("ieslide()",50)
  }
  else
  {
    iediv.style.pixelTop=sheight
    ieslide()
  }
}
function ns4marquee(whichlayer){
ns4layer=eval(whichlayer)
ns4layer.document.write(wholemessage)
ns4layer.document.close()
sizeup=ns4layer.document.height
ns4layer.top-=sizeup
ns4slide()
}
function ns4slide(){
if (ns4layer.top>=sizeup*(-1)){
ns4layer.top-=sspeed
setTimeout("ns4slide()",50)
}
else{
ns4layer.top=sheight
ns4slide()
}
}
function ns6marquee(whichdiv){
ns6div=eval(whichdiv)
ns6div.innerHTML=wholemessage
ns6div.style.top=sheight
sizeup=ns6div.offsetHeight
ns6slide()
}
function ns6slide(){
if (parseInt(ns6div.style.top)>=sizeup*(-1)){
ns6div.style.top=parseInt(ns6div.style.top)-sspeed
setTimeout("ns6slide()",50)
}
else{
ns6div.style.top=sheight
ns6slide()
}
}
