/**
 * @author stephen
 */

$(function(){
	$('.issue').children('div').children('h1').next('div').hide();
	$('.issue').children('div').children('h1').bind('click',function(){
		$(this).next().toggle();
	});
	$('#feature #leftlist a').bind('click',function(){
		$('#title').html($(this).html());
		oname = $(this).html().replace(new RegExp(' ',"gm"),'');
		if(oname == 'Features'){
			$('#reddot').html('');	
		}else{
			$('#reddot').html('<img src="/img/default/redcircl.png"/><div>&nbsp;Mouse over the red dot to see details</div>');	
		}
		$('#right').css('height','auto');
		$('.featureimg').hide();
		$('.featureimg').css('margin-left',0);
		$('#'+oname).show();
		$('#feature #leftlist a').css('color','#75BB00');
		$(this).css('color','#00ADCC');
		$('#header a').css('color','#00ADCC');
	});
	$('.redwarn').live('mousemove',function(){
		$(this).next().show();
	})
	$('.redwarn').live('mouseout',function(){
		$(this).next().hide();
	});
	$('.faq #leftlist').corner("round left 10px");
	$('.faq #right').corner("round 10px");
	$('.faq .info').corner("round 5px");
	$('#support .showinfo').corner("round 8px");
	$('.textbox').corner("round 10px");
})