function portrait () {
if((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >=4)) { 
	windowwidth = window.innerWidth;
	windowheight = window.innerHeight;
	windowwidth = screen.width;
	windowheight = screen.height;
	}
else if((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >=4)) { 
	windowwidth = document.body.clientWidth;
	windowheight = document.body.clientHeight;
	windowwidth = screen.Width;
	windowheight = screen.Height;
	}
else { 
	windowwidth = 0;
	windowheight = 0;
	}
    document.write("<a href=kontakt><img border=0 align=left src=peterneff.asp?") 
    document.write(windowwidth) 
    document.write("x") 
    document.write(windowheight) 
    document.write(" xwidth= xheight= align=left alt='Peter&nbsp;Neff, Fotograf&nbsp;aus&nbsp;Leidenschaft. Fotostudio&nbsp;Peter&nbsp;Neff, Kantonsstrasse&nbsp;149, 8807&nbsp;Freienbach.'") 
    document.write("></a>")
}

function xhide (count) {
if((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >=4)) { 
	windowwidth = window.innerWidth;
	windowheight = window.innerHeight;
	}
else if((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >=4)) { 
	windowwidth = document.body.clientWidth;
	windowheight = document.body.clientHeight;
	}
else { 
	windowwidth = 0;
	windowheight = 0;
	}
if(count*128>windowheight && windowheight>0) {
	document.write('</tr><tr style="visibility:hidden" bgcolor=red>')
}

}



function startxhide (count) {
if((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >=4)) { 
	windowwidth = window.innerWidth;
	windowheight = window.innerHeight;
	}
else if((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >=4)) { 
	windowwidth = document.body.clientWidth;
	windowheight = document.body.clientHeight;
	}
else { 
	windowwidth = 0;
	windowheight = 0;
	}
if(count*128>windowheight && windowheight>0) {
	document.write('<!-- ')
}

}



function stopxhide (count) {
if((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >=4)) { 
	windowwidth = window.innerWidth;
	windowheight = window.innerHeight;
	}
else if((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >=4)) { 
	windowwidth = document.body.clientWidth;
	windowheight = document.body.clientHeight;
	}
else { 
	windowwidth = 0;
	windowheight = 0;
	}
if(count*128>windowheight && windowheight>0) {
	document.write(' -->')
}

}

