	/*Global Variables*/
	var rollUpdates = new Array();//This holds all of the updates to roll
	var curRollIndex;
	var numOfStrings;
	var block = 0;
	
	/*Function to Scroll it*/
	function scrollIt(){
	if(block != 1){
			block = 1;
			alert('this needs to be changed for ie');
			var currentRoll = document.getElementById("currentRoll");
			var newRoll = document.createElement("table");
		
			/*Update current index*/
			curRollIndex++;
			if(curRollIndex >= numOfStrings){
				curRollIndex = 0;
			}
		
			/*Populate the DIV*/
			newRoll.className = "rollTable";
			newRoll.innerHTML = "<tr><td>"+rollUpdates[curRollIndex]+"</td></tr>";
			newRoll.id = "currentRoll";
	
			/*Insert the Div*/
			document.getElementById("scroller").insertBefore(newRoll, currentRoll);
			newRoll.style.marginTop = "0px;"
	
			$(newRoll).animate({marginTop:"35px"},{queue:false, duration: 1000, easing:'easeOutBounce'});
			$(currentRoll).animate({marginTop:"70px"},{queue:false, duration: 1000, easing:'easeOutBounce',complete:function(){
				document.getElementById("scroller").removeChild(currentRoll);
				block = 0;
			}});
		}

	}
	
	
	
	
	/*Function To Fade It*/
	function fadeIt(){
		if(block != 1){
			block = 1;
			var currentFade = document.getElementById("currentRoll");
		
			/*Update current index*/
			curRollIndex++;
			if(curRollIndex >= numOfStrings){
				curRollIndex = 0;
			}
		
			/*Fade*/
			$(currentFade).fadeOut(500,function(){
				document.getElementById("rollUpdates").innerHTML = ""+rollUpdates[curRollIndex];
				$(currentFade).fadeIn(500);
				block = 0;
			});
		}
	}
	
	/*Function To Slide It*/
	function slideIt(){
		if(block != 1){
			block = 1;
			var currentSlide = document.getElementById("currentRoll");	
	
			/*Update current index*/
			curRollIndex++;
			if(curRollIndex >= numOfStrings){
				curRollIndex = 0;
			}	
		
			$(currentSlide).animate({marginTop: "0px"},500,function(){
				document.getElementById("rollUpdates").innerHTML = ""+rollUpdates[curRollIndex];

				$(currentSlide).animate({marginTop: "35px"},500);
				block = 0;
			});
		}
	}
	
	
	/*To Run at document Ready*/
	function rollParser(){
		numOfStrings = document.getElementById("rollText").innerHTML.split("...").length;
		
		for(var x = 0; x < (numOfStrings); x++){
			rollUpdates[x] = document.getElementById("rollText").innerHTML.split("...")[x];
		}
		curRollIndex = 0;

		document.getElementById("rollUpdates").innerHTML = ""+rollUpdates[curRollIndex];
	}
