
window.addEvent('domready', function() {
  var accordion = new Accordion($$('#accordion h3'), $$('.acc_content'), {
	  show: 0,
	  alwaysHide : true
}); 

$$('#leftcol ul li').each(function(el,index){
	el.addEvent('click', function(e){
		var arr = $ES('h3', 'accordion');
		arr[index].fireEvent('click');
		e = new Event(e).stop();
	})
});      
});



		    var scrolling;
		    var myrules = {
			    '#LEFT_SLIDER' : function(el){
				    el.onmouseover = function(){
					    //scrollSliderRight();
					    scrolling_hover = setInterval("scrollSliderLeft()", 75);
				    }
				    el.onmouseup = function(){
					    //clear interval
					    clearInterval(scrolling);
					    clearInterval(scrolling_hover);
					    scrolling_hover = setInterval("scrollSliderLeft()", 75);
				    }
				    el.onmouseout = function(){
					    //clear interval
					    clearInterval(scrolling);
					    clearInterval(scrolling_hover);
				    }
				    el.onmousedown = function(){
					    scrolling = setInterval("scrollSliderLeft()", 40);
				    }
			    },
			    '#RIGHT_SLIDER' : function(el){
				    el.onmouseover = function(){
					    //scrollSliderRight();
					    scrolling_hover = setInterval("scrollSliderRight()", 75);
				    }
				    el.onmouseup = function(){
					    //clear interval
					    clearInterval(scrolling);
					    clearInterval(scrolling_hover);
					    scrolling_hover = setInterval("scrollSliderRight()", 75);
				    }
				    el.onmouseout = function(){
					    //clear interval
					    clearInterval(scrolling);
					    clearInterval(scrolling_hover);
				    }
				    el.onmousedown = function(){
					    //scrollSliderRight();
					    scrolling = setInterval("scrollSliderRight()", 40);
				    }
			    }
		    };
    		
		    //window.onload=function(){
			    Behaviour.register(myrules);
		    //}
    		
		    function scrollSliderLeft(){
			    document.getElementById('PRODUCT_SLIDER_CONTENT').scrollLeft=document.getElementById('PRODUCT_SLIDER_CONTENT').scrollLeft-10; 
		    }
		    function scrollSliderRight(){
			    document.getElementById('PRODUCT_SLIDER_CONTENT').scrollLeft=document.getElementById('PRODUCT_SLIDER_CONTENT').scrollLeft+10; 
		    }

	<!-- /SCROLLING PRODUCTS -->
	

      
      window.addEvent('domready', function() {
        var Tips1 = new Tips($$('.popup_b'), {
          maxOpacity: 1,  
          className: 'custom',
          //showDelay: 0,
          //hideDelay: 0,        
          initialize:function(){
            this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 500, wait: false}).set(0);
          },
          onShow: function(toolTip) {
            this.fx.start(1);
          },
          onHide: function(toolTip) {
            this.fx.start(0);
          }
        });
        
        var Tips2 = new Tips($$('.popup_g'), {
          maxOpacity: 1,  
          className: 'custom_g',
          //showDelay: 0,
          //hideDelay: 0,        
          initialize:function(){
            this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 500, wait: false}).set(0);
          },
          onShow: function(toolTip) {
            this.fx.start(1);
          },
          onHide: function(toolTip) {
            this.fx.start(0);
          }
        });
        
        var Tips2 = new Tips($$('.popup_o'), {
          maxOpacity: 1,  
          className: 'custom_o',
          //showDelay: 0,
          //hideDelay: 0,        
          initialize:function(){
            this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 500, wait: false}).set(0);
          },
          onShow: function(toolTip) {
            this.fx.start(1);
          },
          onHide: function(toolTip) {
            this.fx.start(0);
          }
        });
        
      });
