function screenSize(id){
	windowwidth = document.body.clientWidth + 20;
	divwidth = document.getElementById(id).style.width;
	divwidth = divwidth.replace(/px/gi,"");
	divleft = Math.round((windowwidth - divwidth)/2);
	if (divleft > 0){
		document.getElementById(id).style.left = divleft + 'px';
	}else{
		document.getElementById(id).style.left = '0px';
	}
}

function cellImg(idCell, imgName) { 
	try{
		document.all[idCell].style.background = "url(" + imgName + ") bottom center no-repeat";
	}catch(er){
		
	}
}