

			var scrolling;

			var myrules = {

				'#leftb' : function(el){

					el.onmouseover = function(){

						//scrollSliderRight();

						scrolling_hover = setInterval("scrollSliderLeft()", 75);

						

					}

					el.onmouseup = function(){

						//clear interval

						clearInterval(scrolling);

						clearInterval(scrolling_hover);

					}

					el.onmouseout = function(){

						//clear interval

						clearInterval(scrolling);

						clearInterval(scrolling_hover);

					}

					el.onmousedown = function(){

						scrolling = setInterval("scrollSliderLeft()", 40);

					}

				},

				'#rightb' : function(el){

					el.onmouseover = function(){

						//scrollSliderRight();

						scrolling_hover = setInterval("scrollSliderRight()", 75);
						

						

					}

					el.onmouseup = function(){

						//clear interval

						clearInterval(scrolling);

						clearInterval(scrolling_hover);

					}

					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('slider-contents').scrollLeft=document.getElementById('slider-contents').scrollLeft-10; 

			}

			function scrollSliderRight(){

				document.getElementById('slider-contents').scrollLeft=document.getElementById('slider-contents').scrollLeft+10; 
				

			}



