//<!-- This script and many more are available free online at -->
//<!-- The JavaScript Source!! http://javascript.internet.com -->
//<!-- Begin
//slider's width
var swidth=196

//slider's height
var sheight=141

//slider's speed
var sspeed=2

//messages: change to your own; use as many as you'd like; set up Hyperlinks to URLs as you normally do: <a target=... href="... URL ...">..message..</a>
// ************ NEWS FORMAT <div class="newshead">HEADLINE</div><div class="news">main text<a href="link.html">link</a>.<br><br><hr><br>
var singletext=new Array()
singletext[0]='<p class="opis"><b>March 8th, 2007<br>WOMEN`S DAYS.</b></p><p class="tekst">8th of March is the beginning of Women`s Day in A.J. Diament! It will last till 31st of December. </p>'
singletext[1]='<p class="opis"><b>December 4th, 2006:<br>A NEW DELIVERY OF DIAMONDS.</b></p><p class="tekst">The new supply of diamonds 0,23CT - 0,29CT in very attractive prices, in good colours (F-H) and clarity (VS-SI). We sale also diamonds 1,8-2,0 mm G-H/VS-SI prices 30-50zl (paid by the piece). Welcome you warmly. </p>'
singletext[2]='<p class="opis"><b>May 1st, 2006:<br>INFORMATION.</b></p><p class="tekst">Since the 1st of May sale of the diamonds has been resumed. You are invited! High quality! </p>'





//<div class="newshead">GTR DEV: SOUNDS</div><div class="news">Our resident sound doctor gets hands on, capturing the growl of some mighty FIA GT machines!  Pictures and sound clips <a href="http://www.simbin.se/games/gtr/gtr_dev_sound.html">here</a>!<br><br><hr><br><div class="newshead">GTR DEV: PICS</div><div class="news">Preview pictures online in the <a href="http://www.simbin.se/games/gtr/index.html">GTR section</a>.<br><br><hr><br><div class="newshead">NEW SITE OPENS</div></div>'
if (singletext.length>1)
i=1
else
i=0
function start(){
if (document.all){
ieslider1.style.top=sheight
iemarquee(ieslider1)
}
else if (document.layers){
document.ns4slider.document.ns4slider1.top=sheight
document.ns4slider.document.ns4slider1.visibility='show'
ns4marquee(document.ns4slider.document.ns4slider1)
}
else if (document.getElementById&&!document.all){
document.getElementById('ns6slider1').style.top=sheight
ns6marquee(document.getElementById('ns6slider1'))
}
}
function iemarquee(whichdiv){
iediv=eval(whichdiv)
if (iediv.style.pixelTop>0&&iediv.style.pixelTop<=sspeed){
iediv.style.pixelTop=0
setTimeout("iemarquee(iediv)",100)
}
if (iediv.style.pixelTop>=sheight*-1){
iediv.style.pixelTop-=sspeed
setTimeout("iemarquee(iediv)",100)
}
else{
iediv.style.pixelTop=sheight
iediv.innerHTML=singletext[i]
if (i==singletext.length-1)
i=0
else
i++
}
}
function ns4marquee(whichlayer){
ns4layer=eval(whichlayer)
if (ns4layer.top>0&&ns4layer.top<=sspeed){
ns4layer.top=0
setTimeout("ns4marquee(ns4layer)",100)
}
if (ns4layer.top>=sheight*-1){
ns4layer.top-=sspeed
setTimeout("ns4marquee(ns4layer)",100)
}
else{
ns4layer.top=sheight
ns4layer.document.write(singletext[i])
ns4layer.document.close()
if (i==singletext.length-1)
i=0
else
i++
}
}
function ns6marquee(whichdiv){
ns6div=eval(whichdiv)
if (parseInt(ns6div.style.top)>0&&parseInt(ns6div.style.top)<=sspeed){
ns6div.style.top=0
setTimeout("ns6marquee(ns6div)",100)
}
if (parseInt(ns6div.style.top)>=sheight*-1){
ns6div.style.top=parseInt(ns6div.style.top)-sspeed
setTimeout("ns6marquee(ns6div)",100)
}
else{
ns6div.style.top=sheight
ns6div.innerHTML=singletext[i]
if (i==singletext.length-1)
i=0
else
i++
}
}
//  End -->

