$(document).ready(function () {	
	$('h1').css('color','white');
	$('img#topLogo').css('behavior', 'url(/css/iepngfix.htc)');
	//
	$('a[rel="nofollow"]').click(function(){
		this.target = "_blank";
	});

	/*build menu*/
	
	$('h2').css('text-indent','-9999px');
	
	$('#sideMenu>li').each(function(){
		
		var menuLink = $(this).find('h2>a');
		var menuTxt = menuLink.text().split(' - ');
		
		$(this).css('background','url(/images/menuOver'+menuTxt[1]+'.png) no-repeat');
		menuLink.css('background','url(/images/menu'+menuTxt[1]+'.png) no-repeat');
		menuLink.css('text-indent','-9999px');
		menuLink.hover(
			function(){
				$(this).stop();
				$(this).animate({opacity: 0, filter: 'alpha(opacity=0)'},250);
				},
			function(){
				$(this).stop();
				$(this).animate({opacity: 1, filter: 'alpha(opacity=100)'},250);
			}
		);
	});
	/*end menu*/
	
	/*build blockquote*/
	$('q').sifr({
		font: '/font/garamondpremrpro.swf',
		version: 3,
		color: '#41858A',
		fontSize: '18'
	});
	$('q').css('color','white');
	/*end blockquote*/
	
	/*build h1*/
	$('h1').sifr({
		font: '/font/garamondpremrpro.swf',
		version: 3,
		color: '#41858A',
		fontSize: '26'
	});
	$('h1').css('color','white');
	/*end h1*/
	
});
