
if ($("#ContentText h1 p") != null) {
	$("#ContentText h1 p").css('line-height', '0.0em');
}
if ($("#Navigation ul") != null) {
	$("#Navigation ul").addClass('jStyle');
}
Cufon.replace('.cufon', { hover: true, fontFamily: 'Helveticaneue' });
Cufon.replace('.cufonBerling', { hover: true, fontFamily: 'Berling' });

Cufon.now();

(function($) {

	$("#Main a")
	.css("background-position", "0 -155px")
	.hover(function() {
		$(this).stop().animate({ backgroundPosition : "(0 -195px)", color : "#fff" }, {duration:500});
	}, function() {
		$(this).stop().animate({ backgroundPosition : "(0 -155px)", color : "#000"  }, {duration:200});
		
	});
	
	$('#Sub a')
		.css( {backgroundPosition: "0px -90px"} )
		.hover(function() {
			$(this).stop().animate({ backgroundPosition:"(0px -50px)"}, {duration:500});
		}, function() {
			$(this).stop().animate({ backgroundPosition:"(0px -90px)"}, {duration:200, complete:function(){
				$(this).css({backgroundPosition: "0px -90px"})
			}});
		});
	
	$.fn.supersized.options = {  
			startwidth: 1169,  
			startheight: 805,
			vertical_center: 1,
			slideshow: 0,
			navigation: 1,
			transition: 1, //0-None, 1-Fade, 2-slide top, 3-slide right, 4-slide bottom, 5-slide left
			pause_hover: 0,
			slide_counter: 1,
			slide_captions: 1,
			slide_interval: 3000  
		};
	$('#supersize').supersized(); 
	$('body').css('background', 'url(foo) fixed');
	// var isIE6 = () ? true : false;
	if (navigator.userAgent.toLowerCase().substr(25,6)=="msie 6") {
		var h = $(window).height();
		$('#supersizeContainer').height(h);
	}
	
})(jQuery)

