$(document).ready(function(){
  
  
/*
	Class:    	dwFadingLinks
	Author:   	David Walsh
	Website:    http://davidwalsh.name
	Version:  	1.0.0
	Date:     	10/08/2008
	Built For:  jQuery 1.2.6
*/

jQuery.fn.dwFadingLinks = function(settings) {
	settings = jQuery.extend({
		color: '#ffffff',
		duration: 200
	}, settings);
	return this.each(function() {
		var original = $(this).css('color');
		$(this).mouseover(function() { $(this).animate({ color: settings.color },settings.duration); });
		$(this).mouseout(function() { $(this).animate({ color: original },settings.duration); });
	});
};

$(window).bind('load', function() {
	$('#content a').dwFadingLinks('#ffffff',200);
});

$("#switcher a").css('opacity', 0.7);

$("#switcher a").mouseover(function () {
      $(this).fadeTo("fast", 1);
});

$("#switcher a").mouseout(function () {
      $(this).fadeTo("fast", 0.7);
});



if ($.browser.msie && $.browser.version.substr(0,1)<7) {
  void(0);
}

else {

$("#mainmenu a").mouseover(function () {
      $(this).fadeTo("fast", 0.4);
});

$("#mainmenu a").mouseout(function () {
      $(this).fadeTo("fast", 1);
});

}



$('#container').supersleight();
});



Cufon.replace('h1');
Cufon.replace('h2');
Cufon.replace('#footer');
Cufon.replace('#mainmenu a', {
	hover: true
});
