if (navigator.appVersion.substring(0,1) >= 3) {
 	btn00_u                     = new Image (161,19);
        btn00_u.src                 = "../active/p_0.jpg";
        btn00_d                     = new Image (161,19);
        btn00_d.src                 = "../active/p-0.jpg";

  	btn01_u                     = new Image (161,19);
        btn01_u.src                 = "../active/p_1.jpg";
        btn01_d                     = new Image (161,19);
        btn01_d.src                 = "../active/p-1.jpg";

  	btn02_u                     = new Image (161,19);
        btn02_u.src                 = "../active/p_2.jpg";
        btn02_d                     = new Image (161,19);
        btn02_d.src                 = "../active/p-2.jpg";

 	btn03_u                     = new Image (161,19);
        btn03_u.src                 = "../active/p_3.jpg";
        btn03_d                     = new Image (161,19);
        btn03_d.src                 = "../active/p-3.jpg";

 	btn04_u                     = new Image (161,19);
        btn04_u.src                 = "../active/p_4.jpg";
        btn04_d                     = new Image (161,19);
        btn04_d.src                 = "../active/p-4.jpg";

 	btn05_u                     = new Image (161,19);
        btn05_u.src                 = "../active/p_5.jpg";
        btn05_d                     = new Image (161,19);
        btn05_d.src                 = "../active/p-5.jpg";

}

function navMouseOver(imgid,imgnew) {
        if (navigator.appVersion.substring(0,1) >= 3) {
                document.images[imgid].src=eval(imgnew + ".src");
        }
}

function Open(inp){
plat=pic[inp].x;
augst=pic[inp].y;
bilde=pic[inp].href;
	var l = 16, t = 16;
	bilde="fotowin.htm#../galery/"+bilde;
	var props = "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,copyhistory=0,";
		props += "width=" + plat + ",height=" + augst;
	if (window.screen && window.screen.availWidth) {
		l = Math.floor(((screen.availWidth - plat)/2) + 5);
		t = Math.floor((screen.availHeight - augst)/2);
		if (l < 0) l = 0; if (t < 0) t = 0;
		props += ",left=" + l + ",top=" + t;
	}
	aWinObj = window.open(bilde,'newWin', props);
}
