/* 	Feldschützen Nottwil - JavaScript

Autor: 	Pascal Gwerder
	Eichmatt 7
	CH-6207 Nottwil
	www.pascalgwerder.ch.vu 
*/

<!---

function is_msie() {
return (navigator.appName == "Microsoft Internet Explorer");
}

function Framing()
{ 
if (this.document == top.document || 
top.location.host != this.location.host) {
var pathprefix = location.protocol + '//' 
+ location.host
+ location.pathname.substring(0, 
location.pathname.lastIndexOf('/')+1);

var doctitle = document.title;
document.clear();
document.open("text/html");
document.writeln('<html>\n<head><title>'+doctitle+
'</title></head>');
document.writeln('<frameset cols="*,1024,*" frameborder="no" border="0">'+
'<frame name="links" src="leer.htm" noresize scrolling="no">'+
'</frame>'+
'<frameset rows="*,630,*" frameborder="no" border="0">'+
'<frame name="mitteoben" src="leer.htm" noresize scrolling="no">'+
'</frame>'+
'<frameset cols="125,*" framespacing="0" border="false" frameborder="0" noresize>'+
'<frame src="inhalt2.shtml" name=inhalt scrolling="no" noresize>'+
'</frame>'+
'<frame src="'+top.location.href+'" name=Hauptframe>'+
'</frame>'+
'</frameset>'+
'<frame name="mitteunten" src="leer_unten.htm" noresize scrolling="no"></frame>'+
'</frame>'+
'</frameset>'+
'<frame name="rechts" src="leer.htm" noresize scrolling="no">'+
'</frame>'+
'</frameset></html>');
document.close();
return true;
} 
return false;
}

function msieFraming() {
if (is_msie()) {
if (Framing()) {
window.setTimeout('top.frames["Hauptframe"].location.href = '+
'"'+top.location.href+'";',10);
}
}
}

function netscFraming() {
if (!is_msie()) Framing();
}

msieFraming();
// --->
