// <![CDATA[

function ToggleRowOn(id) {
	hlcolor = "#432c19";
	hltcolor = "#f2cd65";
	document.getElementById("sr"+id).style.backgroundColor = hlcolor;
		document.getElementById("s"+id).style.color = hltcolor;
		document.getElementById("s"+id).style.fontWeight = "bold";
		document.getElementById("y"+id).style.color = hltcolor;
		document.getElementById("y"+id).style.fontWeight = "bold";
		document.getElementById("c"+id).style.color = hltcolor;
				document.getElementById("ct"+id).style.backgroundImage="url(images/icon_close.gif)";
				document.getElementById("ct"+id).onmouseover= function(){ddrivetip('close')};
				document.getElementById("ct"+id).onmouseout=  function(){hideddrivetip()};


}


function ToggleRowOff(id) {
	hlcolor = "#473626";
	hltcolor = "#dbd9d6";
	document.getElementById("sr"+id).style.backgroundColor = hlcolor;
		document.getElementById("s"+id).style.color = hltcolor;
		document.getElementById("s"+id).style.fontWeight = "normal";
		document.getElementById("y"+id).style.color = hltcolor;
		document.getElementById("y"+id).style.fontWeight = "normal";
		document.getElementById("c"+id).style.color = hltcolor;
				document.getElementById("ct"+id).style.backgroundImage="url(images/icon_down.gif)";
				document.getElementById("ct"+id).onmouseover= function(){ddrivetip('more info')};
				document.getElementById("ct"+id).onmouseout= function(){hideddrivetip()};
	//resets hover colors
	document.getElementById("sr"+id).onmouseover = function(){this.style.backgroundColor="#432c19";};
	document.getElementById("sr"+id).onmouseout = function(){this.style.backgroundColor="#473626";};

}

function ToggleRow(id) {
	var el = document.getElementById("song"+id);
	if ( el.style.display != 'none' ) {
		//hidden
		ToggleRowOff(id);
		new Effect.BlindUp('song'+id, { duration: 0.3 });
	}
	else {
		//showing
		
		new Effect.BlindDown('song'+id);
		ToggleRowOn(id);
	}
}
// ]]>
