// BOOKMARK PAGE
	var url = "http://www.AlnyeTrucking.com";
	var title = "Alnye LLC - A Leader in Bulk Milk Transportation";
	function makeLink(){
		if(document.all)
		window.external.AddFavorite(url,title)
	}
// END BOOKMAKE PAGE

// MENU ROLLOVER
	menu_home_on = new Image ( );
	menu_home_off = new Image ( );
	menu_home_on.src = "images/home_on.jpg";
	menu_home_off.src = "images/home_off.jpg";
	
	menu_about_on = new Image ( );
	menu_about_off = new Image ( );
	menu_about_on.src = "images/about_on.jpg";
	menu_about_off.src = "images/about_off.jpg";
	
	menu_services_on = new Image ( );
	menu_services_off = new Image ( );
	menu_services_on.src = "images/services_on.jpg";
	menu_services_off.src = "images/services_off.jpg";
	
	menu_locations_on = new Image ( );
	menu_locations_off = new Image ( );
	menu_locations_on.src = "images/locations_on.jpg";
	menu_locations_off.src = "images/locations_off.jpg";
	
	menu_careers_on = new Image ( );
	menu_careers_off = new Image ( );
	menu_careers_on.src = "images/careers_on.jpg";
	menu_careers_off.src = "images/careers_off.jpg";
	
	menu_contact_on = new Image ( );
	menu_contact_off = new Image ( );
	menu_contact_on.src = "images/contact_on.jpg";
	menu_contact_off.src = "images/contact_off.jpg";
	
	function button_on ( imgId )
	{
		if ( document.images )
		{
			butOn = eval ( imgId + "_on.src" );
			document.getElementById(imgId).src = butOn;
		}
	}
	function button_off ( imgId )
	{
		if ( document.images )
		{
			butOff = eval ( imgId + "_off.src" );
			document.getElementById(imgId).src = butOff;
		}
	}
// END MENU ROLLOVER

// NEWS TICKER
	//scroller width
	var swidth=150;

	//scroller height
	var sheight=175;

	//background color
	var sbcolor='#ffffff';

	//scroller's speed
	var sspeed=1.5;

	var msg=''

	//Your messages go below:
		msg +=
        
			'<ul><li><a href="http://macktrucks.com" target="_blank" title="">Mack Trucks Magazine</a></li>'+
			'<li>Alnye was featured in the latest edition of Bulldog magazine.</li>'+
			'<li> </li></ul>'+                     
        
			'<ul><li><a href="http://link2" target="_blank" title="">Safety Days 2009</a></li>'+
			'<li>Once again, the annual Alnye Safety Days was a success. Great turn out at each location, wonderful selection of food and prizes. Check out the photos from the event in our gallery. </li>'+
			'<li> </li></ul>'+  
        
			'<ul><li><a href="http://link3" target="_blank" title="">Website Makeover</a></li>'+
			'<li>Alnye is pleased to announce the launch of their new website. Please take a moment and poke around the site to check out all the new features. If you have any comments, suggestions, or feedback visit our contact page and send us a message.</li>'+
			'<li> </li></ul>'+ 
        

		'';

	//End of your messages
	// Begin the ticker code
	var resumesspeed=sspeed
	function start() {
			if (document.all) iemarquee(ticker);
			else if (document.getElementById)
			ns6marquee(document.getElementById('ticker'));
		}
        
		function iemarquee(whichdiv){
			iediv=eval(whichdiv)
			sheight += 50;
			iediv.style.pixelTop=sheight
			iediv.innerHTML=msg 
			sizeup=iediv.offsetHeight
			ieslide()
		}
        
		function ieslide(){
			if (iediv.style.pixelTop>=sizeup*(-1)){
				iediv.style.pixelTop-=sspeed
				setTimeout("ieslide()",100)
			}
			else{
				iediv.style.pixelTop=sheight
				ieslide()
			}
		}
        
		function ns6marquee(whichdiv){
			ns6div=eval(whichdiv)
			sheight += 50;
			ns6div.style.top=sheight + "px";
			ns6div.innerHTML=msg
			sizeup=ns6div.offsetHeight
			ns6slide()
		}
		function ns6slide(){
			if (parseInt(ns6div.style.top)>=sizeup*(-1)){
				theTop = parseInt(ns6div.style.top)-sspeed
				ns6div.style.top = theTop + "px";
				setTimeout("ns6slide()",100)
			}
			else {
				ns6div.style.top = sheight + "px";
				ns6slide()
			}
		}
// END NEWS TICKER