var jQueryScriptOutputted = false;
	
	function initJQuery() {
		
		if (typeof(jQuery) == 'undefined') {
		
			if (!jQueryScriptOutputted) {
				jQueryScriptOutputted = true;
				
			}
			setTimeout("initJQuery()", 50);
			
		} else {
			
			// jQuery way of loading scripts
			$.getScript('js/jquery.backgroundPosition.js', function() {
			 
				// Set CSS in Firefox (Required to use the backgroundPosition js)
				$('#shutter').css({backgroundPosition: '0px 0px'});
				$('#shutter2').css({backgroundPosition: '0px 0px'});
				$('#shutter3').css({backgroundPosition: '0px 0px'});
				$('#shutter4').css({backgroundPosition: '0px 0px'});
				$('#shutter5').css({backgroundPosition: '0px 0px'});
				$('#shutter6').css({backgroundPosition: '0px 0px'});
				$('#shutter7').css({backgroundPosition: '0px 0px'});
				$('#shutter8').css({backgroundPosition: '0px 0px'});
	
				// Animate the Shutter  
				$("#garagedoor a").hover(function() {	
					  $(this).parent().stop().animate({backgroundPosition: '(0px -100px)'}, 500);
					}, function() {
					  $(this).parent().stop().animate({backgroundPosition: '(0px 0px)'}, 500);
				});
				
			});
	
		}
				
	}
if (!Modernizr.csstransitions) {
	initJQuery();
}
