	jQuery.noConflict();

	jQuery(document).ready(function(){

		jQuery("ul.sf-menu").superfish({
			animation:{height: "show"},
			pathClass:  'current',
			autoArrows:  false
		});

		jQuery(".homebox").hover(function() {
			jQuery(this).animate( { backgroundColor: "#ECECED" }, 150)
               }, function() {
	   	        jQuery(this).animate( { backgroundColor: "#DFE0E1" }, 400);
		});

		jQuery("#bgimage").cycle({ 
			fx:     'fade', 
			speed:   1000, 
			timeout: 10000, 
			delay:  -4000
		});

		jQuery('#contentarea').height(jQuery('#page').height()-40);

		jQuery("").attr("src","/assets/templates/lucrafts/images/submitbutton_over.gif");
		jQuery("#Search_submit").hover(function(){
			jQuery(this).attr( { src : "assets/templates/lucrafts/images/submitbutton_over.gif"} )
		}, function(){
			jQuery(this).attr( { src: "assets/templates/lucrafts/images/submitbutton.gif"} );
		});

	jQuery.fn.equalHeights = function(px) {
		jQuery(this).each(function(){
			var currentTallest = 0;
			jQuery(this).children().each(function(i){
				if (jQuery(this).height() > currentTallest) { currentTallest = jQuery(this).height(); }
			});
			if (!px || !Number.prototype.pxToEm) currentTallest = currentTallest.pxToEm(); //use ems unless px is specified
			// for ie6, set height since min-height isn't supported
			if (jQuery.browser.msie && jQuery.browser.version == 6.0) { jQuery(this).children().css({'height': currentTallest}); }
			jQuery(this).children().css({'min-height': currentTallest}); 
		});
		return this;
	};

	});