function SetBGImage(name) {
	// no dom.
	var d=document
	if (!(d.body.style&&d.getElementById)) return;
	//check if bg image is to be displayed
	if ((screen.width >= 800) && (screen.height >= 600)) {
		//find out where to place the image
		if (screen.width == 800) {
			var pos="bottom";
		}else {
			var pos="center";
		}
		//show the background image. There is plenty of room
		if (d.body.style) {
		    d.body.style.backgroundPosition="left " + pos
		}
	}else {
		d.body.style.backgroundImage=""; //hide the image if javascript is enabled
		var bt=d.getElementById("p_body_table")
		if(bt)bt.style.paddingLeft="0"
	}
}