// z.B. QT-Virtuelle Tour


function isForm() {

    var agt=navigator.userAgent.toLowerCase()
	this.major = parseInt(navigator.appVersion)
	this.win   = (agt.indexOf("win")!=-1)
	this.mac    = (agt.indexOf("mac")!=-1)
	this.nav  = ((agt.indexOf('mozilla')!=-1) && ((agt.indexOf('spoofer')==-1) && (agt.indexOf('compatible')==-1)))
	this.nav3 = (this.nav && (this.major == 3))
	this.nav4 = this.nav && (this.major == 4)
	this.nav6 = this.nav && (this.major >= 5)
	this.ie   = (agt.indexOf("msie") != -1)
	this.ie3  = (this.ie && (this.major == 2))
	this.ie4n5  = this.ie  && (this.major == 4)
	this.ie5up = this.ie  && (this.major >= 5)
 }


var isForm;
isForm = new isForm();

function fenster(page) 
			{
			if (self.screen) { 
            sw = screen.width
            sh = screen.height
            w = 400;
			h = 500;
          
		    if (isForm.win && isForm.nav4) {w = 400;h=500;}
			else if (isForm.win && isForm.ie4n5) {w = 400;h=500;} 
			else if (isForm.win && isForm.ie5up) {w = 400;h=500;} 
			else if (isForm.mac && isForm.nav) {w = 420;h=520;} 
			else if (isForm.mac && isForm.nav6) {w = 420;h=520;} 
			else if (isForm.mac && isForm.ie4n5) {w = 420;h=520;} 
			else if (isForm.mac && isForm.ie5up) {w = 420;h=520;} 

			cx = (.5*sw) - (w*.5)
			cy = (.5*sh) - (h*.5)
            
			var  para = 'status=no,scrollbars=yes,resizable=no,directories=no,menubar=0,width='+w+','+'height='+h+',' + 'screenX=' +cx+','+'screenY='+cy+','+'left='+cx+','+'top='+cy
            }

 Pop=window.open(page,"Strauss",para);   

}
