var bg= "http://www.heberger-image.fr/data/images/67813_fond_3.0_1600px_1200px.png"; if(screen.width < 801) bg="http://img4.hostingpics.net/pics/947691800x600font40last.png"; else if(screen.width < 1025) bg="http://img4.hostingpics.net/pics/3567291024x768font40last.png"; else if(screen.width < 1281) bg="http://img4.hostingpics.net/pics/8393851280x960font40last.png"; else if(screen.width < 1601) bg="http://img4.hostingpics.net/pics/8430171600x1200font40last.png"; document.body.style.backgroundImage="url("+bg+")";