var BrowserDetect = { init: function () { this.browser = this.searchString(this.dataBrowser) || "An unknown browser"; this.version = this.searchVersion(navigator.userAgent) || this.searchVersion(navigator.appVersion) || "an unknown version"; this.OS = this.searchString(this.dataOS) || "an unknown OS"; }, searchString: function (data) { for (var i=0;i3.5)||(BrowserDetect.browser=="Safari"&&BrowserDetect.version>2.0)) doFlash=false; var dims=xmlHttpObject.responseText.split(","); document.getElementById(id).style.width=dims[0]; document.getElementById(id).style.height=dims[1]; var prepHTML= ''; if (doFlash) prepHTML+= ''; prepHTML+= ''; if (doFlash) prepHTML+= ''; document.getElementById(id).innerHTML=prepHTML; if (document.getElementById(id+'_first')!=undefined) { if (document.getElementById(id+'_first').innerHTML==document.getElementById(id+'_initial').value) document.getElementById(id+'_first').innerHTML=document.getElementById(id+'_followed').value; } if (doFlash) { var flashvars = {url:path+no[id]+bildname}; var params = { quality: "high", wmode: "normal", allowscriptaccess: "always", bgcolor: "#f8fbfe" } } var attributes = {id:'flash'+id.substring(6)}; swfobject.embedSWF("flash/img.swf", 'flash'+id.substring(6), "100%", "100%", "10", false, flashvars, params, attributes); } } function changeStatic(id,path,bildname) { document.getElementById(id).src = path+bildname; if (document.getElementById(id+'_first')!=undefined) { if (document.getElementById(id+'_first').innerHTML==document.getElementById(id+'_initial').value) document.getElementById(id+'_first').innerHTML=document.getElementById(id+'_followed').value; } } function loadURL(URL) { location.href=URL; } function loadExtURL(URL) { try{ pageTracker._trackPageview("/external/"+URL.substring(7)); } catch(e) {} var newWindow = window.open(URL, 'external'); } function preloadImages(urls,pics,i,no,dir){ if (i < urls.length) { pics.push(new Image(1,1)); pics[i].src=dir+no+"_"+urls[i]; i++; pics[i-1].onLoad=preloadImages(urls,pics,i,no,dir); } return pics; } function preload(array,no,dir){ var pics= new Array(); var test = preloadImages(array,pics,0,no,dir); return pics; } function refresh(){ document.forms['myform'].submit(); } function trackPage(url){ try{ pageTracker._trackPageview(url); } catch(e) {} } function visible(id){ document.getElementById(id).style.visibility="visible"; alert("JA"); } var xmlHttpObject = false; //HTTP-Requestobjekt if (typeof XMLHttpRequest != 'undefined') xmlHttpObject = new XMLHttpRequest(); if (!xmlHttpObject){ try{ xmlHttpObject = new ActiveXObject("Msxml2.XMLHTTP");} catch(e){ try{ xmlHttpObject = new ActiveXObject("Microsoft.XMLHTTP");} catch(e){ xmlHttpObject = null;} }}