// JavaScript Document

// Begin
//slider's width
var swidth=150

//slider's height
var sheight=240

//slider's speed
var sspeed=3

//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>
var singletext=new Array()
singletext[0]='<div align="center"><font face=verdana size=2 color="white"><b>Welcome to GMD Designs!</b><br>If you have any questions, please feel free to contact us at <A href="mailto:sarah@gmd-designs.com?subject=Question"><font color="#00ff00">GMD Designs</font></A>.</FONT></div>'
singletext[1]='<div align="center"><font face=verdana size=2 color="white">February 23, 2010 - Sarah will be teaching 3 sessions at <a href="http://www.ibsradio.org" target="_blank">IBS NYC</a> on March 5th.</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 -->


/* singletext[1]='<font face=Verdana size=2 color="white"><u>News</u>:<BR>11/5/2005 - GMD Designs and our affiliate Bigalonline.biz are going to be hosting two 3 hour workshops for Website Development and Design at the National IBS Conference. The conference is being hosted by <a name="All Independent Radio" id="All Independent Radio" href="http://neia.aiiradio.com" target="_blank"><font color="#00ff00">All Independent Radio</font></a>, at The New England Institute of Art, in Brookline Massachusetts.</font>' 
//singletext[2]='<font face=Verdana size=2 color="white">11/4/2005 - GMD Designs website was launched!<br><br> More Updates coming soon!</font>*/