 $(document).ready(function(){
	$("#items1").hide();
	$("#items2").hide();
	$("#items3").hide();
	$("#items4").hide();
	$("div").hover(
	  function () {
		//var colorBlack = {color: "#FFFFFF"}
		//alert(colorBlack.css("color"));
		if($(this).attr("class") == 'menuText'){
			var id = this.id;
			var number = id.substring(9);
			var menu = id. substring(4,5);
			var list = 'menu'+ menu+ 'item'+number;
			$("#"+list).css("background-color","red");
			
	
		}
		
	

		if(this.id == 'select1num'){
			$("#items1").show();
			$("#items2").hide();
			$("#items3").hide();
			$("#items4").hide();



		}else
		if(this.id == 'select2num'){	
			$("#items1").hide();
			$("#items2").show();
			$("#items3").hide();
			$("#items4").hide();    


		}else
   		if(this.id == 'select3num'){
			$("#items1").hide();	
			$("#items2").hide();
			$("#items3").show();
			$("#items4").hide();    


		}else
		if(this.id == 'select4num'){
			$("#items1").hide();	
			$("#items2").hide();
			$("#items3").hide();
			$("#items4").show();    


		}
	  },
		function () {
	
			if(this.id == 'select1num'){
				$("#items1").hide();	
				$("#items2").hide();
				$("#items3").hide();
				$("#items4").hide();
			}

			if(this.id == 'select2num'){
				$("#items1").hide();	
				$("#items2").hide();
				$("#items3").hide();
				$("#items4").hide();
			}

			if(this.id == 'select3num'){
				$("#items1").hide();	
				$("#items2").hide();
				$("#items3").hide();
				$("#items4").hide();
			}
			if(this.id == 'select4num'){
				$("#items1").hide();	
				$("#items2").hide();
				$("#items3").hide();
				$("#items4").hide();
			}
			var color = $(this).css("background-color");
			//var colorBlack = {color: "#FFFFFF"}
			//alert(colorBlack.css("color"));
		
			if($(this).attr("class") == 'menuText'){
					var id = this.id;
				var number = id.substring(9);
				var menu = id. substring(4,5);
				var list = 'menu'+ menu+ 'item'+number;
				$("#"+list).css("background-color","black");				
		
			}
	
		
		}
	);


});


 <!--Scroll1-->
 /*
 var headline_count1;
 var headline_interval1;
 var old_headline1 = 0;
 var current_headline1 = 0;
 
 $(document).ready(function(){
   headline_count1 = $("div.headline1").size();
   $("div.headline1:eq("+current_headline1+")").css('top','5px');
 
   headline_interval1 = setInterval(headline_rotate1,5000); //time in milliseconds
   $('#scrollup1').hover(function() {
     clearInterval(headline_interval1);
   }, function() {
     headline_interval1 = setInterval(headline_rotate1,5000); //time in milliseconds
     headline_rotate1();
   });
 });
 
 function headline_rotate1() {
   current_headline1 = (old_headline1 + 1) % headline_count1; 
   $("div.headline1:eq(" + old_headline1 + ")").animate({top: -205},"slow", function() {
     $(this).css('top','210px');
   });
   $("div.headline1:eq(" + current_headline1 + ")").show().animate({top: 5},"slow");  
   old_headline1 = current_headline1;
 }



 
 <!--Scroll2-->
 var headline_count2;
 var headline_interval2;
 var old_headline2 = 0;
 var current_headline2 = 0;
 
 $(document).ready(function(){
   headline_count2 = $("div.headline2").size();
   $("div.headline2:eq("+current_headline2+")").css('top','5px');
 
   headline_interval2 = setInterval(headline_rotate2,5000); //time in milliseconds
   $('#scrollup2').hover(function() {
     clearInterval(headline_interval2);
   }, function() {
     headline_interval2 = setInterval(headline_rotate2,5000); //time in milliseconds
     headline_rotate2();
   });
 });
 
 function headline_rotate2() {
   current_headline2 = (old_headline2 + 1) % headline_count2; 
   $("div.headline2:eq(" + old_headline2 + ")").animate({top: -205},"slow", function() {
     $(this).css('top','210px');
   });
   $("div.headline2:eq(" + current_headline2 + ")").show().animate({top: 5},"slow");  
   old_headline2 = current_headline2;
 }

 <!--Scroll3-->
 var headline_count3;
 var headline_interval3;
 var old_headline3 = 0;
 var current_headline3 = 0;
 
 $(document).ready(function(){
   headline_count3 = $("div.headline3").size();
   $("div.headline3:eq("+current_headline3+")").css('top','5px');
 
   headline_interval3 = setInterval(headline_rotate3,5000); //time in milliseconds
   $('#scrollup3').hover(function() {
     clearInterval(headline_interval3);
   }, function() {
     headline_interval3 = setInterval(headline_rotate3,5000); //time in milliseconds
     headline_rotate3();
   });
 });
 
 function headline_rotate3() {
   current_headline3 = (old_headline3 + 1) % headline_count3; 
   $("div.headline3:eq(" + old_headline3 + ")").animate({top: -205},"slow", function() {
     $(this).css('top','210px');
   });
   $("div.headline3:eq(" + current_headline3 + ")").show().animate({top: 5},"slow");  
   old_headline3 = current_headline3;
 }


 <!--Scroll4-->
 var headline_count4;
 var headline_interval4;
 var old_headline4 = 0;
 var current_headline4 = 0;
 
 $(document).ready(function(){
   headline_count4 = $("div.headline4").size();
   $("div.headline4:eq("+current_headline4+")").css('top','5px');
 
   headline_interval4 = setInterval(headline_rotate4,5000); //time in milliseconds
   $('#scrollup4').hover(function() {
     clearInterval(headline_interval4);
   }, function() {
     headline_interval4 = setInterval(headline_rotate4,5000); //time in milliseconds
     headline_rotate4();
   });
 });
 
 function headline_rotate4() {
   current_headline4 = (old_headline4 + 1) % headline_count4; 
   $("div.headline4:eq(" + old_headline4 + ")").animate({top: -205},"slow", function() {
     $(this).css('top','210px');
   });
   $("div.headline4:eq(" + current_headline4 + ")").show().animate({top: 5},"slow");  
   old_headline4 = current_headline4;
 }
 
 
*/ 
 

$(document).ready(
	function(){
		$('#scrollings').innerfade({
			animationtype: 'fade',
			speed: 1000,
			timeout: 5000,
			type: 'sequence',
			containerheight: '1em'
		});
	
		$('#scrollings2').innerfade({
			animationtype: 'fade',
			speed: 1000,
			timeout: 5000,
			type: 'sequence',
			containerheight: '1em'
		});
	
		$('#scrollings3').innerfade({
			animationtype: 'fade',
			speed: 1000,
			timeout: 5000,
			type: 'sequence',
			containerheight: '1em'
		});
	
		$('#scrollings4').innerfade({
			animationtype: 'fade',
			speed: 1000,
			timeout: 5000,
			type: 'sequence',
			containerheight: '1em'
		});
	}
);