var $j = jQuery.noConflict();
$j(document).ready(function(){

	$j("a img").each(function(i) { $j(this.parentNode).addClass('noBorder'); });
	$j(".cycle-header").cycle({fx: 'fade', speed: 1000, timeout: 5500, pause: 1, slideExpr: 'li'});
	$j("div.careerOpportunities ul").cycle({fx: 'fade', speed: 1000, timeout: 3000, pause: 1 });
	//$j("a.fancyLink").fancybox({'hideOnContentClick': true});
	$j("tr:nth-child(odd)").addClass("odd");
	$j("#print").click(function(){ window.print(); return false; });
	$j(".search").focus(function() { if( this.value == this.defaultValue ) { this.value = ""; } }).blur(function() { if( !this.value.length ) { this.value = this.defaultValue; } });
	$j("a[@href^='http://']:not(.noAutoLink)").addClass("offSite").bind('click keypress', function(event){ var code=event.charCode || event.keyCode; if(!code || (code && code == 13)) { if(pageTracker){ var fixedLink = this.href; fixedLink = fixedLink.replace(/https?:\/\/(.*)/,"$1"); fixedLink = '/outgoing/' + fixedLink; pageTracker._trackPageview(fixedLink); }; }; });

});
