function Sfondo() {
var width = screen.width;
var res =(((!(640-width))*1)+((!(800-width))*2)+((!(1024-width))*3)+((!(1152-width))*4)+((!(1280-width))*5)+((!(1600-width))*6));
var x=document.getElementById('changerow').rows;
if(!(res)) res = 1;

if (res=='1') {
	document.body.style.backgroundImage='url(images/fnd-640.gif)';
	document.getElementById('changerow').rows
	x[0].height="300";
}
if (res=='2') {
	document.body.style.backgroundImage='url(images/fnd-800.gif)';
	document.getElementById('changerow').rows
	x[0].height="300";
}
if (res=='3') {
	document.body.style.backgroundImage='url(images/fnd-1024.gif)';
	document.getElementById('changerow').rows
	x[0].height="300";
}
if (res=='4') {
	document.body.style.backgroundImage='url(images/fnd-1152.gif)';
	document.getElementById('changerow').rows
	x[0].height="390";
}
if (res=='5') {
	document.body.style.backgroundImage='url(images/fnd-1280.gif)';
	document.getElementById('changerow').rows
	x[0].height="560";
}
if (res=='6') {
	document.body.style.backgroundImage='url(images/fnd-1600.gif)';
	document.getElementById('changerow').rows
	x[0].height="735";
}
if (res!='1' && res!='2' && res!='3' && res!='4' && res!='5' && res!='6') {
	document.body.style.backgroundImage='url(images/fnd-1024.gif)';
} 
}
