function Browser(){
this.ver=navigator.appVersion;
this.agent=navigator.userAgent;
this.dom=document.getElementById?1:0;
this.ie4=(document.all&&!this.dom)?1:0;
this.ie50=(this.agent.indexOf("MSIE 5.0")>-1&&this.dom)?1:0;
this.ie55=(this.agent.indexOf("MSIE 5.5")>-1&&this.dom)?1:0;
this.ie5=(this.agent.indexOf("MSIE 5")>-1&&this.dom)?1:0;
this.ie6=(this.ver.indexOf("MSIE 6")>-1&&this.dom)?1:0;
this.ie=this.ie4||this.ie5||this.ie6;
this.mac=this.agent.indexOf("Mac")>-1;
this.ie5mac=(this.ie5&&this.mac);
this.opera=this.agent.indexOf("Opera")>-1;
this.opera5=this.agent.indexOf("Opera 5")>-1;
this.ns6=(this.dom&&parseInt(this.ver)>=5)?1:0;
this.ns4=(document.layers&&!this.dom)?1:0;
this.bw=(this.ie||this.ie5mac||this.ie6||this.ie5||this.ie4||this.ns4||this.ns6||this.opera4);
return this;
}
var bw=new Browser();
function sendmail(_1,_2,_3){
var p="mailto:";
var u=_1;
var d=_2||location.host.substring(location.host.lastIndexOf(".",location.host.lastIndexOf(".")-1)+1);
var e=u+"@"+d;
void (top.location=p+e);
if(_3){
top.location=document.location.toString()+(_3?_3:"danke/")+"?email="+e;
}
return false;
}
function getTagReferences(){
var a=new Array;
al=arguments.length;
for(var i=0;i<al;i++){
var e=document.getElementsByTagName(arguments[i]);
var el=e.length;
for(var j=0;j<el;j++){
a[a.length]=e[j];
}
}
return a;
}
function sendform(){
this.value="...";
this.disabled=true;
return this.form.submit();
}
function addEvent(_d,_e,fn){
if(_d.addEventListener){
_d.addEventListener(_e,fn,true);
return true;
}else{
if(_d.attachEvent){
var r=_d.attachEvent("on"+_e,fn);
return r;
}else{
return false;
}
}
}

