function footer(){		
	if (screen.height == 1280 ){
		document.getElementById('containner').style.marginTop = '348px';
	}else{
		if (screen.height==1024 || screen.height==960 ) {		
		document.getElementById('containner').style.marginTop = '200px';
		}else{
			if (screen.height==768 || screen.height==800 || screen.height==864 ) {		
			document.getElementById('containner').style.marginTop = '0px';
			}
		}
	}
	
	if (screen.width >= 1280 ){
		document.getElementById('footer').style.marginLeft = '100px';
	}else{
		if (screen.width == 1024){
			document.getElementById('footer').style.marginLeft = '60px';
		}
	}
}


/*function mudaResolucao(){	
if (screen.width==800||screen.height==600){	
	document.getElementById('fundoResolucao').style.backgroundImage = "url('images/teste1024_2.jpg')";	
}else{ 
	if (screen.width==1024||screen.height==768){		
		document.getElementById('fundoResolucao').style.backgroundImage = "url('images/teste1024_2.jpg')";		
	}else{
		if (screen.width==1152||screen.height==864){
			document.getElementById('fundoResolucao').style.backgroundImage = "url('images/teste1280_2.jpg')";			
		}else{ 
			if (screen.width==1280||screen.height==1024){				
				document.getElementById('fundoResolucao').style.backgroundImage = "url('images/teste1280_2.jpg')";				
			}else{ //if all else
				document.getElementById('fundoResolucao').style.backgroundImage = "url('images/teste1280_2.jpg')";				
			}
		}
	}
}
}*/	//fim da funcao

/*function mudaBackground(x){	
	if (x == 1) {
		if (screen.width==800||screen.height==600 || screen.width==1024||screen.height==768){
			document.body.style.backgroundPosition = '0px -720px';
		}else{
			document.body.style.backgroundPosition = '0px -886px';
		}
	} else {
		document.body.style.backgroundPosition = '0px 0px';
	}	
}*/
