function get(e) {
  if(typeof(e)!='string') return e;
  if(document.getElementById) e=document.getElementById(e);
  else if(document.all) e=document.all[e];
  else e=null;
  return e;
}

function setVis(e,boo)
{
	get(e).style.visibility=(boo)?"visible":"hidden";
	
}

function setDisp(e,boo)
{
	e.style.display=(boo)?"block":"none";
}

function repos()
{
/*	var wi=document.body.clientWidth,he=document.body.clientHeight;
	var le,to;
	if(wi>770) le=(wi - 770)/2; else le=0;
	//if(he>450) to=(he - 450)/2; else to=0;
	
	get("main_x").style.left=le+"px";
	//get("main").style.top=to+"px";
	
	if(le>0)
	{
		get("marginL").style.width=le+'px';
		get("marginL").style.left='-'+le+'px';
		get("marginR").style.width=wi-770-le-1+'px';
	}
	else
	{
		get("marginR").style.width='0px';
		get("marginL").style.width='0px';
	}*/
}
