Shadowbox.init({skipSetup:true});

//try{Typekit.load();}catch(e){}


Typekit.load( "daw3mot" );

/* */
(function($){

	afterLoadHandler = function()
	{
		setTypeKitStyles();
	}

	setTypeKitStyles = function()
	{
		$("link[@rel*=style][title]").each(
			function(i) 
			{
				if (this.getAttribute("title") == "typekit")
					this.setAttribute("media","all");
			}
		);
	};	
})(jQuery);

jQuery.fn.fadeIn = function(speed, callback) { 
	if ( jQuery.browser.msie && jQuery.isFunction(callback) )
	{
		callback();
		return;
	}	
    return this.animate({opacity: 'show'}, speed, function() { 
        if (jQuery.browser.msie)  
            this.style.removeAttribute('filter');  
        if (jQuery.isFunction(callback)) 
            callback();  
    }); 
}; 
 
jQuery.fn.fadeOut = function(speed, callback) { 
	if ( jQuery.browser.msie && jQuery.isFunction(callback) )
	{
		callback();
		return;
	}	
    return this.animate({opacity: 'hide'}, speed, function() { 
        if (jQuery.browser.msie)  
            this.style.removeAttribute('filter');  
        if (jQuery.isFunction(callback)) 
            callback();  
    }); 
}; 
 
jQuery.fn.fadeTo = function(speed,to,callback) {
	if ( jQuery.browser.msie && jQuery.isFunction(callback) )
	{
		callback();
		return;
	}	
    return this.animate({opacity: to}, speed, function() { 
        if (to == 1 && jQuery.browser.msie)  
            this.style.removeAttribute('filter');  
        if (jQuery.isFunction(callback)) 
            callback();  
    }); 
}; 