BrowserVersion = parseInt(navigator.appVersion);
var bversion = "k";
if(BrowserVersion >= 4) bversion = "4";

function is_msie() {
return (navigator.appName == "Microsoft Internet Explorer");
}

function is_win32() {
return (navigator.platform == "Win32");
}

function Framing()
{ 
if (parent.frames.length == "0") {
var doctitle = document.title;
document.clear();
document.open("text/html");
document.writeln('<html>\n<head><title>' +doctitle+ 
'</title></head>');
document.writeln('<frameset border=0 frameborder=0 framespacing="0" cols="180,*">'+
'<frame name="Inhalt" target="Hauptframe" src="navigation.htm" scrolling="no" noresize marginwidth="0" marginheight="0">'+
'<frame src="'+top.location.href+'" name="Hauptframe" target="_top">'+
'</frameset></html>');
document.close();
return true;
} 
return false;
}

function msieFraming() {
if (is_msie()) {
if (is_win32()) {
if (Framing()) {
window.setTimeout('top.frames["Hauptframe"].location.href = '+
'"'+top.location.href+'";',10);
}
}
}
}

function netscFraming() {
if (!is_msie()) Framing();
}

msieFraming();

var showwinf = window.open;
function showwin(name,size) 
{
attrbts = size + ",resizable=yes,scrollbars=no";
if (showwinf.closed == false) showwinf.close();
showwinf= window.open(name, "Photos", attrbts);
}

function goBack()
{
history.go(-1);
}
function goForward()
{
history.go(1);
}