// Guitar Theory

/**********
* Copyright 2007 Gregg B Larson
* All Rights reserved
***********/

function Files(tctrl){
	this.tabcreator = tctrl;

	this.table = document.createElement('table');
	this.table.border = "0";
	this.table.width = "100%";
	this.table.style.backgroundColor = "#999999";
	
	this.tr1 = document.createElement('tr');

	this.td1 = document.createElement('td');
	this.td1.style.backgroundColor = "#003366";
	this.td1.style.fontSize = "10px";
	this.td1.style.color = "#FFFFFF";
	this.td1.height="10";
	this.td1.align="left";
	
	this.spanlabel = document.createElement('span');
	//this.spanlabel.class="style7";
	this.spanlabel.id="lblcontrols";
	this.spanlabel.innerHTML = "Open File Browser";
	
	this.td1.appendChild(this.btnreturn);
	this.td1.appendChild(this.spanlabel);
	this.tr1.appendChild(this.td1);
	//this.table.appendChild(this.tr1);
	
	this.tr2 = document.createElement('tr');
	this.td2 = document.createElement('td');
	this.td2.style.backgroundColor = "#999999";
	this.td2div = document.createElement('div');
	this.td2div.id="muteoff";
	this.td2div.align="left";
	this.td2.appendChild(this.td2div);
	this.tr2.appendChild(this.td2);
	this.tbody = document.createElement('tbody');
	this.tbody.appendChild(this.tr1);
	this.tbody.appendChild(this.tr2);
	this.table.appendChild(this.tbody);
			
		//show scales
		Event.observe($(this.td1), 'click', function(event){
			 //what to do?
		}.bindAsEventListener(this));
}