var $j = jQuery.noConflict();

$j(document).ready(function () {
	Cufon.replace('ul.buckets h2');
	Cufon.replace('.media_footer h3');
	Cufon.replace('#footer h3');
	Cufon.replace('.call_out_inner h3');
	Cufon.replace('.title h1');
	
	// equalize the children container heights
	  /*$j(".equalize").each(function() {
	    // initializes a max height
	    var heightfixmax = 0;
	    // iterates through all the children and finds the tallest height
	    $j(this).children().each(function() {
	      if ($j(this).height() > heightfixmax) {
	        heightfixmax = $j(this).height();
	      }
	    });
	    // makes all children the same (max) height
	    $j(this).children().each(function() {
	      $j(this).height(heightfixmax);
	    });
	  });*/
	  
	  // equalize the children container heights
	  $j(".top_nav .products").each(function() {
	    // initializes a max height
	    var heightfixmax = 0;
	    // iterates through all the children and finds the tallest height
	    $j(this).children().each(function() {
	      if ($j(this).height() > heightfixmax) {
	        heightfixmax = $j(this).height();
	      }
	    });
	    // makes all children the same (max) height
	    $j(this).children().each(function() {
	      $j(this).height(heightfixmax);
	    });
	  });
});