$(document).ready(function(){
	$('ul#titularvisual').show();
	
	$('ul#titularvisual').innerfade({
		speed: 1000,
		timeout: 5000,
		type: 'sequence',
		containerheight: '146px'
	});

	$('div#runline marquee').marquee('pointer').mouseover(function () {
            $(this).trigger('stop');
        }).mouseout(function () {
            $(this).trigger('start');
        }).mousemove(function (event) {
            if ($(this).data('drag') == true) {
                this.scrollLeft = $(this).data('scrollX') + ($(this).data('x') - event.clientX);
            }
        }).mousedown(function (event) {
            $(this).data('drag', true).data('x', event.clientX).data('scrollX', this.scrollLeft);
        }).mouseup(function () {
            $(this).data('drag', false);
        });
	
		$(".fade img").fadeTo("slow", 0.3);
		$(".fade img").hover(function(){
			$(this).fadeTo("slow", 1.0);
		},function(){
			$(this).fadeTo("slow", 0.3);
		});

	
});
