function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function equalHeight(group) {
	tallest = 0;
	group.each(function() {
		thisHeight = $(this).height();
		if(thisHeight > tallest) {
			tallest = thisHeight;
		}
	});
	group.height(tallest);
}

function initCaptcha(elem) {
	$(".captcha_btn_refresh a",elem).bind("click.captcha", function(){
		var url = this.href;
		url += "&"+(new Date()).getTime();
		$(".captcha_image img",elem).attr("src", url);
		
		this.blur();
		return false;
	});
}

$(document).ready(function() {
	equalHeight($("#homepage>.box"));
	 $('a[rel*=facebox]').facebox();
		 $('.tTip').betterTooltip({speed: 150, delay: 300});
	$(".colorbox").colorbox({width:"80%", height:"80%", iframe:true});	 
});
