	$(document).ready(function() { 
			var config = {    
				 sensitivity: 7,   
				 interval: 100, 
				 over: display,
				 timeout: 500,
				 out: hide
			};
			$("#navigation li").hoverIntent( config );
			
			$("a.iframe").fancybox({
				'hideOnContentClick': false,
				'frameWidth': 700,
				'frameHeight': 500,
				'overlayOpacity': 0.8 			
			});	

			$("input#SearchForm_SearchForm_Search").click(function(){
				
				var InputVar = $("input#SearchForm_SearchForm_Search").val();
				
				if ( InputVar == "Search") { 
					$("input#SearchForm_SearchForm_Search").val("");
				}
								
			});			
			
			$('.ticker-wrap').cycle({ 
				fx:    'fade', 
				pause:  1 
			});			
		
	});

	function display(){
		$(this).children("ul").fadeIn("fast");
	}
	
	function hide(){
		$(this).children("ul").hide();
	}
	
	var avenir = { src: 'themes/arq/swf/avenir.swf' };
	var univers = { src: 'themes/arq/swf/univers.swf' };

	sIFR.activate(avenir,univers);

	sIFR.replace(avenir, {
	  selector: '#content-wrap h2, #categories h2',
	  css: '.sIFR-root { color: #ffffff; font-size: 12px; font-weight: normal; text-transform: uppercase; }',
	  wmode: 'transparent'
	});
	
	sIFR.replace(avenir, {
	  selector: '#footer-top h2',
	  css: '.sIFR-root { color: #ffffff; font-size: 12px; font-weight: normal; text-transform: uppercase; }',
	  wmode: 'transparent'
	});	
	
	sIFR.replace(avenir, {
		selector: 'h3',
		wmode: 'transparent',
		css: [
		'.sIFR-root { color: #666666; font-size: 12px; font-weight: normal; text-transform: uppercase; }'
		,'a { color: #666666; text-decoration: none; }'
		,'a:link { color: #666666; }'
		,'a:hover { color: #333333; }'
		]	
	});		
	
	sIFR.replace(univers, {
	  selector: 'h4',
	  css: '.sIFR-root { color: #1c1916; font-size: 25px; font-weight: normal; }',
	  wmode: 'transparent'
	});	
