$(document).ready(function(){
		
		/* LINKS OUTLINE NONE IE */
		$("a").focus(function() {
  			$(this).blur();
		});
		
		$('a[rel=external]').click(function(){
			window.open(this.href); 
			return false;
  		});

		
		$("a[href=#]").attr("href", "javascript:void(0);");
		
		

		/*CYCLE*/
		$('#slideshow').cycle({
        	timeout:       4000,  // milliseconds between slide transitions (0 to disable auto advance) 
    		speed:         6000,  // speed of the transition (any valid fx speed value) 
    		next:          null,  // id of element to use as click trigger for next slide 
    		prev:          null,  // id of element to use as click trigger for previous slide 
    		before:        null,  // transition callback (scope set to element to be shown) 
    		after:         null,  // transition callback (scope set to element that was shown) 
    		//height:       '200px', // container height 
    		sync:          1,     // true if in/out transitions should occur simultaneously 
    		fit:           0,     // force slides to fit container 
    		pause:         0,     // true to enable "pause on hover" 
    		delay:         0,     // additional delay (in ms) for first transition (hint: can be negative) 
    		slideExpr:     null   // expression for selecting slides (if something other than all children is required) 
    	});

		



		/* ACCORDION  	*/				
	 	
		$(".opening").hide();
		$(".to_open").eq(0).addClass("opened");
		$(".opening").eq(0).show();

		$(".to_open").click(function(){
			$(this).next(".opening").slideToggle("slow")
			.siblings(".opening:visible").slideUp("slow");
			$(this).toggleClass("opened");
			$(this).siblings(".to_open").removeClass("opened");
		});
	


});// The end of our jQuery function	
