//makes dynamic layer
//var sWidth = screen.width;
//var leftpos = parseInt((sWidth-740)/2)+350;
//if (leftpos<=393){leftpos = 350}

function makeLayer(id) {
	this.obj = document.getElementById(id).style;
	this.obj.position = 'static';
	//this.obj.left = leftpos;//parseInt(left * xu)
	//this.obj.top = 254;
	this.obj.width = 390;
	//this.obj.height = 300;
	this.obj.display = 'none';
	return this.obj;
}

function show(id) {
	hide();
	document.getElementById('description'+id).style.display = "block";
	}
function hide(){
	for (i=0; i<20; i++){
	 if(document.getElementById('description'+i)){
	 document.getElementById('description'+i).style.display = "none";
	 }
	 if(document.getElementById('description'+i+'a')){
	 document.getElementById('description'+i+'a').style.display = "none";
	 }
	}
	return;
}

