/**
 * js_main.js
 */

jQuery.noConflict();

jQuery(document).ready(function() {
	
	window.count = 0;
	
    // handle home page load...
    jQuery('.home #logo-list li').each( function() {
		jQuery(this).css('display', 'none');
		jQuery(this).delay(250 * window.count).fadeIn(1400);
		++window.count;
	});
	
    // handle inner page load...
    jQuery('.inner #header-inner img').each( function() {
		jQuery(this).css('opacity', 0);
		jQuery(this).delay(250 * window.count).fadeTo(700, 1);
		++window.count;
	});

	/* legacy (menu drop-downs)...
	sfHover = function() {
		var sfEls = document.getElementById("nav").getElementsByTagName("LI");
		for (var i=0; i<sfEls.length; i++) {
			sfEls[i].onmouseover=function() {
				this.className+=" sfhover";
			}
			sfEls[i].onmouseout=function() {
				this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
			}
		}
	};
	*/
	
});
