jQuery.noConflict();




    function setupscroll() {        
        jQuery('#demo-wrapper').mousedown(function (event) {
            jQuery(this)
                .data('down', true)
                .data('x', event.clientX)
                .data('scrollLeft', this.scrollLeft);
                
            return false;
        }).mouseup(function (event) {
            jQuery(this).data('down', false);
        }).mousemove(function (event) {
            if (jQuery(this).data('down') == true) {
                this.scrollLeft = jQuery(this).data('scrollLeft') + jQuery(this).data('x') - event.clientX;
            }
        }).mousewheel(function (event, delta) {
            this.scrollLeft -= (delta * 30);
        }).css({
            'overflow' : 'hidden',
            'cursor' : '-moz-grab'
        });
    }

	    function removescroll() {        
        jQuery('#demo-wrapper').unbind(); 
 
    }
    
    jQuery(window).mouseout(function (event) {
        if (jQuery('#demo-wrapper').data('down')) {
            try {
                if (event.originalTarget.nodeName == 'BODY' || event.originalTarget.nodeName == 'HTML') {
                    jQuery('#demo-wrapper').data('down', false);
                }                
            } catch (e) {}
        }
     
    });
    
    
    
    
   
    
    

