// JavaScript Document

// Cross-browser object getter thing 
function getobj(id)
	{
	if (document.getElementById)
		{
		return document.getElementById(id);
		}
	else if (document.all)
		{
		return document.all[id];
		}
	else // satisfy mozilla js debugger
		{
		return document.all[id];
		}
	}

// Cell hide-show tool
function visibletoggle(i)
	{
	var myrow = getobj(i);
	if (myrow.style.display) myrow.style.display = '';
	else myrow.style.display = 'none';
	}

// Cell hide-show tool
function visible_show(i)
	{ getobj(i).style.width = '975'; }

// Cell hide-show tool
function visible_hide(i)
	{ getobj(i).style.width = '752'; }
	

function findLiveWidth(){
	if(window.innerWidth != null)
		return window.innerWidth;
	if (document.body.clientWidth != null)
		return document.body.clientWidth;
	return (null);
}

function resizer()
	{
	
	if (findLiveWidth() > 985)
	 	{
		visible_show('setup');
		}
	else
		{
		visible_hide('setup');
		}
		
	}