window.addEvent('domready', function(){

	/* generic code to open all links with rel=_blank in new window, to pass validation in xhtml strict. */
	$$('a').each(function(link,i){
		if(link.get('rel')=='_blank') link.setProperty('target','_blank');
	});	
	/* end link code */

	/* Standard function to give mCCWrapper the remaining window height if avoidElements is defined */
	//autosize_mCCWrapper();
	Array.each($$('.check_height'), function(el, i){
		if(el.getSize().y < 136)
		{
			el.addClass('fake_height');
		}
	});
});

window.addEvent('resize', function(){
	
	/* Standard function to give mCCWrapper the remaining window height if avoidElements is defined */
	//autosize_mCCWrapper();
	
});
