/*

Not sure what additional javascript you guys are adding

All the template js will be encapsulated

*/



/*

Scrollbar plugin will probably be replaced since the current one only works if element is display: (not hidden)

Pretty sure it looks for a scrollbar then renders it, src is minified, cant determine :\

Suggested Replacement: jScrollPane

*/

(function() {jQuery(document).ready(function() {

	// prep fonts

	Cufon.replace(".menu-primary-container",{hover:{color:"#981f00"}});

	Cufon.replace("#subnav");

	Cufon.replace(".sidebar-right",{textShadow: '#000 1px 1px'});

	// links per click

	

	//nav



	//subnav link highlight

	jQuery(".sidebar-right li a").live("click",function() {

		jQuery(this).animate({opacity:"1.0"}, 1, function() {

			jQuery(".sidebar-right li a").css({"background-image":"none"});

			jQuery(this).css({"background-image":"url('http://208.100.8.19/~damianc/wp-content/themes/page-press/images/subnav-hover.png')"});									

		});
		
	});

	

});})(jQuery);
