// JavaScript Document
 
// Master function ran at end of site HTML. Do not put start/end <script> tags.
function masterJSFunction(){
//Start global code here
//Move content animation frames into Homepage-banner DIV


document.getElementById('homepage-banner').innerHTML = document.getElementById('slider').innerHTML;
//Slider
	window.addEvent('domready', function() {
		//slider variables for making things easier below
		var itemsHolder = $('slidecontainer');
		var myItems = $$(itemsHolder.getElements('.item'));
		//create instance of the slider, and start it up		
		var mySlider = new SL_Slider({
			slideTimer: 10000,
			orientation: 'none',      //vertical, horizontal, or none: None will create a fading in/out transition.
			fade: true,                    //if true will fade the outgoing slide - only used if orientation is != None
			isPaused: false,
			container: itemsHolder,
			items: myItems
		});
		mySlider.start();
	});

//End global code here
}
window.onload = masterJSFunction;

//Insert your own fuctions/script here

