var doc_1 = "#playermenu .titlebar div";
  
$(function(){

	$(doc_1).click(function(){
	
			$(doc_1).attr("class","n");
			$(this).attr("class","y");
		
			$("#playermenu .contents").hide();
			$("#playermenu_" + $(this).attr("id").split("_")[1]).show();
	 
	});
 
	
 
 
});

var rateTimer=false,s_signin=false;
var hideRateTimer;
//rate
function showRatePanel(){
	if (rateTimer==true){
		clearTimeout(hideRateTimer);
		rateTimer=false;
	}else{
		document.getElementById("rate-panel").style.display="block";
	}
}

function hideRatePanel(){
	rateTimer=true;
	hideRateTimer=setTimeout("hideRate()",0);
}

function keepShowingRate(){
	if (rateTimer==true){
		clearTimeout(hideRateTimer);
		rateTimer=false;
	}	
}

function hideRate(){
	document.getElementById("rate-panel").style.display="none";
	rateTimer=false;
}


function showtext(){
	document.getElementById('lrc_1').className="geci_r on";
	document.getElementById('lrc_2').className="geci_r off";
	document.getElementById('songword').style.display='';
	document.getElementById('songlrc1').style.display='none'
}
function showlrc(){
	document.getElementById('lrc_1').className='geci_r off';
	document.getElementById('lrc_2').className='geci_r on';
	document.getElementById('songword').style.display='none';
	document.getElementById('songlrc1').style.display=''
}
