		/*----  change speed of animation here*/
		var speedFreeTools2=10500;
		var speedTutorials2=8650;
				
		var tutorialActive2="";
		var lastTutorial2="";
		var freeItemActive2="";
		var lastFreeItem2="";
		
		var itemNumber2=0
		var lastItemNumber2=0;
		
		var btPause2Enabled2=false;
		var myAnimation2=""
		
		$(document).ready(function(){	
			$("#aboutVZPC").click(function()
			{
				openNewWindow('../home/about.php', 550, 640, 25, 25);
				return false;
			});	
				
			/*---- initiate animations*/	
			//animateTutorials2("#tutorial1")
			animateFreeTools2("#parentalControl2")
			
			/*---- free tools buttons*/			
			$("#btPause2").mouseover(function(){
				btPause2Enabled2=true;
				if(btPause2Enabled2==true){
					$("#btPause2").attr("title", "");
					clearTimeout(myAnimation2);
					$("#btPause2").css({ backgroundPosition:'0px -75px'});
				 }
				 else{
				 	$("#btPause2").attr("title", "");
				 	$("#btPause2").css({ backgroundPosition:'0px -25px'});
					/*---- restart animation*/
					myAnimation2=setTimeout(function(){
				switch(freeItemActive2)
				{
				case "#parentalControl2":
				  validate();
				  itemNumber2+=1;
				  animateFreeTools2("#contentFilters2")
			
				  break;    
				case "#contentFilters2":
				   itemNumber2+=1;
				  animateFreeTools2("#parentalControl2TV2")
	
				  break;
				case "#parentalControl2TV2":
			  		itemNumber2=0;
				  animateFreeTools2("#parentalControl2")
				  break;				 
				default:
				  itemNumber2+=1;
				  animateFreeTools2("#parentalControl2")		  
				}
			}, speedFreeTools2);
				 }	
			});
			
			$("#btPause2").mouseout(function(){
											
					btPause2Enabled2=false;	
					
					/*---- restart animation*/
					myAnimation2=setTimeout(function(){
					switch(freeItemActive2)
					{
					case "#parentalControl2":
					
					validate();
				  itemNumber2+=1;
				  animateFreeTools2("#contentFilters2")	  
			
				  break;    
				case "#contentFilters2":
				   itemNumber2+=1;
				  animateFreeTools2("#parentalControl2TV2")
	
				  break;
				case "#parentalControl2TV2":
			  		itemNumber2=0;
				  animateFreeTools2("#parentalControl2")
				  break;				 
				default:
				  itemNumber2+=1;
				  animateFreeTools2("#parentalControl2")		  
				}
			}, speedFreeTools2);
					
			});

		});

	
	function animateFreeTools2(myDiv2) {
		/*---- animate last item*/
		if (freeItemActive2!=""){
			$(lastFreeItem2).animate( { opacity:'0'}, 100, "easeout");
			$(lastFreeItem2).css({ zIndex:10 });
			/*animate red dot*/
			$("#itemRed2 img:eq(" + lastItemNumber2 +")").animate( { opacity:'0' } , 400, "easeout");
		}
		
		/*---- animate new item*/
		setTimeout(function(){
			$(myDiv2).animate( { opacity:'1' } , 300, "easeout", function() {if ($.browser.msie)this.style.removeAttribute('filter');});
		}, 100);
		$(myDiv2).css({ zIndex:100 });
		/*animate red dot*/
		$("#itemRed2 img:eq(" + itemNumber2 +")").animate( { opacity:'1' } , 400, "easeout");
		freeItemActive2=myDiv2;
		
		/*---- call new item: loop*/
		if (btPause2Enabled2==false){
			myAnimation2=setTimeout(function(){
				switch(myDiv2)
				{
				case "#parentalControl2":
				validate();
				  itemNumber2+=1;
				  animateFreeTools2("#contentFilters2")	  
			
				  break;    
				case "#contentFilters2":
				   itemNumber2+=1;
				  animateFreeTools2("#parentalControl2TV2")
	
				  break;
				case "#parentalControl2TV2":
			  		itemNumber2=0;
				  animateFreeTools2("#parentalControl2")
				  break;				 
				default:
				  itemNumber2+=1;
				  animateFreeTools2("#parentalControl2")		  
				}
			}, speedFreeTools2);
		}
		lastItemNumber2=itemNumber2;
		lastFreeItem2=freeItemActive2;
	};	