jQuery.fn.equalizeCols = function() {
 var el, height = 0, h;
 this.each(function() {
   el = jQuery(this).css("height", "auto");
   h = el.outerHeight();
   height = (h > height) ? h : height;
   
 });
 return this.each(function() {
   jQuery(this).css("height", height);
 });
}; 
  $(document).ready(function() {
	var col1 = $("#col1");
	$("#col2").height(col1.height())

	$("ul.subtabs").tabs("div.subtab-panes > div", {effect: 'fade', fadeInSpeed: 300, onClick: function(event, tabIndex) {$("#col2").height(col1.height())}});	
	//$("#col1, #col2").equalizeCols(); 
	$("#box1, #box2").equalizeCols(); 
	$('a.nyroModal').nyroModal({width: '525', type:'swf'});
});



