var $j = jQuery.noConflict();
$j(function () {

	$j('#menu ul li').hover(function () {
        $j('ul', this).stop(true, true).fadeIn('slow')
    }, function () {
        $j('ul', this).stop(true, true).fadeOut('slow')
    });

    $j('a, area').filter(function () {
        return this.hostname && (this.hostname).split(':')[0] !== (location.hostname).split(':')[0] || $j(this).attr('rel') == 'external'
    }).not(':has(img, div, mailto)').addClass('external').end().click(function (e) {
        open(this.href);
        e.preventDefault()
    });
	
	$j('.slidetabs').tabs('.images > div.slide', {

		// enable 'cross-fading' effect
		effect: 'fade',
		fadeOutSpeed: 'slow',
		
	
		// start from the beginning after the last tab
		rotate: true

	// use the slideshow plugin. It accepts its own configuration
	}).slideshow({autoplay:'true', interval:14000});
		
});
