if (wallpaperLink = document.getElementById('wallpaperbeweb')) {
	//Création d'un link vers le fichier CSS
	var oLink = document.createElement('link');
	oLink.setAttribute('rel', 'stylesheet');
	oLink.setAttribute('type', 'text/css');
	if (oScript = document.getElementById('script')){
		var sHrefValue = oScript.src.replace('wallpaperbeweb.js', "wallpaperbeweb.css");
		oLink.setAttribute('href', sHrefValue);
		//ajout du link au head
		if (oHead=document.getElementsByTagName("head")[0]){
			oHead.appendChild(oLink);
		}
	}
	//Placement de l'image en background de l'élément body
	var oImg = wallpaperLink.getElementsByTagName('img')[0];
	var oBody = document.getElementsByTagName('body')[0];
	oBody.style.backgroundImage="url("+oImg.src+")";
	//Destruction de l'img
	//wallpaperLink.removeChild(oImg);
	oImg.height=1;
	oImg.width=1;
	//Création d'un élément div qui devient le premier enfant du body
	var oWallpaperLinkParent = document.createElement('div');
	oBody.insertBefore(oWallpaperLinkParent, oBody.firstChild);
	//wallpaperLink est placé dans l'élément div
	oWallpaperLinkParent.appendChild(wallpaperLink);	
}