function ro()
{
	$('.ro').mouseover( function()
	{
		rep = ".";
		ext = $(this).attr('src').substr(-4, 4);
		src = $(this).attr('src').replace(rep, "-on.");
		$(this).attr('src', src);
		
	});
	$('.ro').mouseout( function()
	{
		rep = "-on.";
		ext = $(this).attr('src').substr(-4, 4);
		src = $(this).attr('src').replace(rep, ".");
		$(this).attr('src', src);
		
	});
}

function cycle()
{
	$('#content .inner').cycle({
		speed: 1250,
		timeout: 7000
	});
}

function investor_login(){
	if(('.radio-wrap').length > 0 ){
		$('.radio-wrap').click( function(){
			$(this).siblings('.radio-wrap').removeClass('radio-wrap-selected');
			$(this).addClass('radio-wrap-selected');
		});
	}
}

$(document).ready(function(){
	ro();
	$('.nav li.send a').click( function(){
		$('#send-to-friend').slideToggle();
		return false;
	});
	$('#send-to-friend .close').click( function(){
		$(this).parent().slideToggle();
		return false;
	});
	
	$('.investor-tabs').tabs();
//	$('.bgPng').ifixpng();
	investor_login();
});