/* Javascript Scroller
     Copyright © 2005, JCM Software. http://www.drdoz.com/jcm, All rights reserved.
     Works in NS4.
 */

// scroller width:
var swidth=200

// scroller height:
var sheight=70

// scroller's speed;
var sspeed=2

// text to display:
var mymessage='<div align="center"><font style="color: #AA0000;">The BridgeMusico Photography and Video Editing Studio... <br><br><br>Quality Film and Digital Services... <br><br><br>Hours by appointment: <br><br>609-261-6101... <br><br><br><center><img src="./images/Logo.jpg" border="0" width="130" height="65"></center></font></DIV>';

function start(){
	if (document.all) return
	if (document.getElementById){
		document.getElementById("slider").style.visibility="show";
		ns6marquee(document.getElementById('slider'));
	}
	else if(document.layers){
		document.slider1.visibility="show";
		ns4marquee(document.slider1.document.slider2);
	}
}
function ns4marquee(whichlayer){
	ns4layer=eval(whichlayer);
	ns4layer.document.write(mymessage);
	ns4layer.document.close();
	sizeup=ns4layer.document.height;
	ns4layer.top-=sizeup;
	ns4slide();
}
function ns4slide(){
	if (ns4layer.top>=sizeup*(-1)){
		ns4layer.top-=sspeed;
		setTimeout("ns4slide()",100);
	} else {
		ns4layer.top=sheight;
		ns4slide();
	}
}
function ns6marquee(whichdiv){
	ns6div=eval(whichdiv);
	ns6div.innerHTML=mymessage;
	ns6div.style.top=sheight;
	sizeup=sheight;
	ns6slide();
}
function ns6slide(){
	if (parseInt(ns6div.style.top)>=sizeup*(-1)){
		ns6div.style.top=parseInt(ns6div.style.top)-sspeed;
		setTimeout("ns6slide()",100);
	} else {
		ns6div.style.top=sheight;
		ns6slide();
	}
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
	eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
	if (restore) selObj.selectedIndex=0;
}
