	/*
		/scripts_common.js

		-------------------------------------------------------------------
		Brought to you by fried-line productions: http://www.fried-line.com
		-------------------------------------------------------------------
		Change log:
		- December 13,2009 - D. Horn - Moved lyrics functions from music.js
	*/


// This function creates an onscreen object
// It's used when there is one object that appears onscreen
// triggered from different locations with different values
function swapObject(swap_name,container) {
	var m_parent = container;
	var m  = document.getElementById(swap_name);
	if (m) {
		m.parentNode.firstChild.style.display = '';
		m.parentNode.removeChild(m);
	}
	m=document.createElement('span'); 
	m.id=swap_name;
	m_parent.firstChild.style.display='none';
	m_parent.appendChild(m);
}

