var j = jQuery.noConflict();

j(document).ready(function(){
	
	// News box is displayed 
	j(".start-box-1 .start-box-hover").css('display','block');
	j(".start-box-1 .start-box-link").addClass("start-box-link-act");
		
	// toggle function
	j(".start-box-link").click(function(){
		// Proceed only if there is a hover box	inside the start box		
		if ((j('.start-box-hover', this).length) > 0) {			
			j(this).toggleClass("start-box-link-act");
			j('.start-box-hover', this).slideToggle(800);
		}		
	});
	
	// toggle function on the image
	j(".start-box-img").click(function(){		
		// Proceed only if there is a hover box	inside the start box
		if ((j(this).next().children(".start-box-hover").length) > 0) {
			j(this).next(".start-box-link").toggleClass("start-box-link-act");
			j(this).next().children(".start-box-hover").slideToggle(800);
		}		
	});	
 
    // cycle function 
    j('.impression-start-images').cycle({
		fx: 'fade', 
		speed:    1000, 
		timeout:  8000 
	});
    
})
  
