<!--
var win = null;
function pop_hidden(page){
	win = window.open(page,"pop_hidden","width=20,height=20,left=0,top=0");
	win.blur();
}

function popup(page,nom){
	w= 800;
	h= 600;
	l = (screen.width) ? (screen.width-w)/2 : 0;
	t = (screen.height) ? (screen.height-h)/2 : 0;
	style = "width="+w+", height="+h+", top="+t+", left="+l+", status=yes, scrollbars=yes, menubar=yes, resizable=yes"
	win = window.open(page, nom, style)
	if(win.window.focus){
		win.window.focus();
	}
}

function open_url(page) {
	if (document.all)
		var xMax = screen.width, yMax = screen.height;
	else
		if (document.layers)
			var xMax = window.outerWidth, yMax = window.outerHeight;
		else
			var xMax = 640, yMax=480;
	var xOffset = (xMax - 640)/2, yOffset = (yMax - 480)/2;
	winProp = 'width=xMax, height=yMax'
	winProp = winProp + ',top='+yOffset+', left='+xOffset
	winProp = winProp + ', resizable=1, toolbar=1, scrollbars=1'
	Win = window.open(page, 'dev54', winProp)
	if (parseInt(navigator.appVersion) >= 4) { 
		Win.window.focus(); 
	}
}

function f(size){
	document.getElementById('content').style.fontSize= size + "px";;
}

function changebg(img) {
	document.body.style.background= "url(./pic/"+img+")";
}

function roll(img, rep, nom, nb){
	img.src= rep+'/'+nom+nb+'.png';
}
// -->