var maxH;
var h;

function setPic(mH,h0) {
	maxH = mH;
	h = h0;
	putPic();
}

function putPic() {
	if (browser==2) {
		screenDim=[window.innerWidth,window.innerHeight-16];
	} else {
		screenDim=[document.body.offsetWidth-5,document.body.offsetHeight-5];
	}
	put("pic",0,Math.max(maxH,screenDim[1]-h));
	show("pic");
}

function put(nam,x,y) {
	if (browser==1) {
		ebene = eval(nam + ".style");
		ebene.pixelLeft=x;
		ebene.pixelTop=y;
	}
	else {
		ebene = eval("document." + nam);
		ebene.left=x;
		ebene.top=y;
	}
}

