$(document).ready(function() {

	// hopefully fix safari onload fckup
	var ignoreMe = document.body.offsetWidth;
	var ignoreMe = document.body.offsetLeft;
			
/*
    $('A[rel="external"]').click( function() {
		window.open( $(this).attr('href'),"ducatiwindow",'width=400,height=600,status=yes,toolbar=no,menubar=no,location=no,scrollbars=yes' );
        return false;
    });
    

  	$(".inactive").bind("mouseenter",function(){
		var self = this
		$(self).fadeTo("fast",0.75);
    }).bind("mouseleave",function(){
		var self = this
		$(self).fadeTo("fast",1);
    });
*/



	
	var effect = function(el, n, o) {
		
		$.extend(o, {
			easing: "easeOutQuint"
		});
		
		$(el).bind("mousedown", function() {
			
			$(this).addClass("current").show(n, o, 100, function() {
			});
		});
		
	};

// FLIR
	FLIR.init();
	FLIR.auto( [ 'li.flir' ] );
//	FLIR.auto( [ 'li.active', 'li.inactive', 'li.current' ] );
/* 	FLIR.auto( [ 'div#headernav li.active', 'div#headernav li.inactive', 'div#headernav li.current' ] ); */
/* 	FLIR.auto( [ 'h1', 'h2', 'h3' ] );	 */


});  

