st_columnSetup = function()
	{
	p = gId(VIEWER);
	p.innerHTML = "";
	column_position = 0;

	for (i=0; i < COLUMN_NUM; i++)
		{
		var o = gId(CONTENTS)
		var aT = document.createElement("div");
		aT.setAttribute("id","at"+i)
		aT.setAttribute("className","stText");
		aT.setAttribute("class","stText");
		aT.style.width=Math.ceil((CONTENTS_WIDTH-((COLUMN_NUM-1)*distancia_entre_colunas))/COLUMN_NUM);
		aT.innerHTML = o.innerHTML;

		//if (document.all) var cur = "hand"
		//else  var cur = "pointer"
		//if (i == 0 || i == COLUMN_NUM-1)
			//{
			//aT.style.cursor = cur;
			//aT.onclick = st_columnClick;
			//aT.onmouseover = st_columnOverTxt;
			//aT.onmouseout = st_columnOutTxt;
			//}
		//else
			//{
   			//aT.onmouseover = function (e) {lshow('menu_defs_txt');};
			//aT.onmouseout = function (e) {lhidde_to('menu_defs_txt');};
			//}

		aT.style.display = "block";
		p.appendChild(aT);
		}
	}


/*
function  st_columnOverTxt(e)
	{

	// if there is more than one column
	if (COLUMN_NUM > 1)
		{

		var cur = document.all ? "hand" : "pointer";
		obj = st_getEventObj(e);
		if (obj.id.indexOf("0") > -1) // if the first column is moused over
			{
			var hilite = (column_position > 0);
			obj.style.cursor = hilite ? cur : "default";
			if (hilite)
				try {st_over("previous");}
				catch(error){}
			}
		else
		{
		if (obj.id.indexOf(COLUMN_NUM-1) > -1) //if the last column is moused over
			{
			var hilite = ((viewer_height*(column_position+COLUMN_NUM)) <
			column_height_total);
			obj.style.cursor = hilite ? cur : "default";
			if (hilite)
				try {st_over("next");}
				catch(error){};
			}
		}
		}

		lshow('menu_defs_txt');
	}


function st_columnOutTxt(e)
	{
	// if there is more than one column
	if (COLUMN_NUM > 1)
		{
		obj = st_getEventObj(e);
		if (obj.id.indexOf("0") > -1) // if the first column is moused out
			{
			try {st_out("previous");}
				catch(error){}
			}
		else
		{
		if (obj.id.indexOf(COLUMN_NUM-1) > -1) //if the last column is moused out
			{
	   		try {st_out("next");}
				catch(error){}
	   		}
  		}
		}                      
		lhidde_to('menu_defs_txt');
	}

*/
