	function visa(bild) {


		pic = new Image();


		pic.src = bild;





		infoWin=window.open("loadinfo.html","waitload","width=300,height=100,left="+((screen.width/2)-150)+",top="+((screen.height/2)-50));


		infoWin.focus();


		waitForLoad();


	}


	function waitForLoad() {


			if (pic.complete==false) {


				setTimeout("waitForLoad()",1000);


				}


			else {


			infoWin.close();


			showIt(pic);


			}


	}


	function showIt(img) {


		var bredd=screen.width;


		var hojd=screen.height;


		


		if (is_nav4up) {


			sizeX="innerWidth=";


			sizeY="innerHeight=";


			}


		else {


			sizeX="width=";


			sizeY="height=";


		}


		


		if (img.width < bredd) {


			var option=sizeX + img.width + ","+sizeY + img.height + ",top="+Math.ceil(((hojd/2)-(img.height/2)))+",left="+Math.ceil(((bredd/2)-(img.width/2)));


		}


		else {


			var option="top=0,left=0,"+sizeX+ (bredd-8) + ","+sizeY + (hojd - 64) + ",scrollbars,toolbar=false";


		}


			ruta=window.open("","bildruta",option);


			var text="<html><head><script language=JavaScript type='text/javascript'>function stang(){\n<!"+"--\nwindow.close();\n}\n/"+"/ --"+">\n</script><title>Click To Close</title></head><body topmargin=0 leftmargin=0><a href='#' onClick=stang()><img src='"+img.src+"' vspace=0 hspace=0 border=0></a></body></html>";


			with(ruta.document) {


				open("text/html","replace");


				write(text);


				close();


			}


		window.status='';


		return;


	}