(function($) {
	$(function() {
		/* IE dropdown nav */
		$("#nav ul li").hover(
			function() {
				$(this).addClass("hover");
			},
			function() {
				$(this).removeClass("hover");
			}
		);
		
		$("#nav ul ul").hover(
			function() {
				$(this).parent().children("a").addClass("hover");
			},
			function() {
				$(this).parent().children("a").removeClass("hover");
			}
		);
		/* end_IE dropdown nav */

		if ($('a[rel=toggle]').length > 0) {
			$.getScript('/mysite/javascript/toggle.js',function(){
					$("a[rel=toggle]").show().addClass('toggle');
				}
			);
		}
		
		if ($('div.tabContainer > div.panel').length > 0) {
			$.getScript('/mysite/javascript/tabs.js');
		}
		
		if ($('input.valueFx').length > 0) {
			$.getScript('/mysite/javascript/jquery.valueFx.js',function(){
					$('input.valueFx').valueFx();
				}
			);
		}
		
		$.getScript('/mysite/javascript/tracking.js');
		
		/*if ($('a[rel=shadowbox]').length > 0) {
			$.getScript('/mysite/javascript/shadowbox/shadowbox.js',function(){
				Shadowbox.init();
			});
		}*/
	});
})(jQuery);