function showError(wert, head, content )
{
htmlText = "
";
htmlText +="
";
htmlText +="" + head + "";
htmlText +="
";
htmlText += "
" + content +"
";
htmlText +="
";
htmlText += "
";
htmlText +="
";
document.getElementById(wert).innerHTML = htmlText;
document.getElementById(wert).style.visibility="visible";
}
function getServerData(what)
{
var text = document.location.href;
if(text.toLowerCase().indexOf("reda02") >= 0) {
var server = "http://reda02.11.am-gruppe.de/";
} else{
var server = "https://secure3.am-gruppe.de/";
// var server = "http://fate01.11.am-gruppe.de/";
// var server = "http://reda02.11.am-gruppe.de/";
}
var folder = "internet/advocard/";
var db = "tarifonlineabschluss.nsf/";
var agent = "Tarifberechnung";
return eval(what);
}
function getBrowserID()
{
var browser = navigator.appName;
var returnID = "1";
if(browser.indexOf("Microsoft") >= 0)
{
returnID = "0";
}
return returnID;
}
function goBack()
{
history.go(-1);
}
function MM_preloadImages()
{ //v3.0
var d=document;
if(d.images)
{
if(!d.MM_p)
d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments;
for(i=0; i-1 && this.dom && !this.opera) ? 1 : 0;
this.ie6 = (this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera) ? 1 : 0;
this.ie7 = (this.ver.indexOf("MSIE 7")>-1 && this.dom && !this.opera) ? 1 : 0;
this.ie8 = (this.ver.indexOf("MSIE 8")>-1 && this.dom && !this.opera) ? 1 : 0;
this.ie4 = (document.all && !this.dom && !this.opera) ? 1 : 0;
this.ie = this.ie4 || this.ie5 || this.ie6 || this.ie7 || this.ie8;
this.mac = this.agent.indexOf("Mac")>-1;
this.ns6 = (this.dom && parseInt(this.ver)>=5) ? 1 : 0;
this.ie3 = (this.ver.indexOf("MSIE") && (is_major<4));
this.hotjava = (this.agent.toLowerCase().indexOf('hotjava')!=-1) ? 1 : 0;
this.ns4 = (document.layers && !this.dom && !this.hotjava) ? 1 : 0;
this.bw = (this.ie7 || this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera);
this.ver3 = (this.hotjava || this.ie3);
this.opera7 = ((this.agent.toLowerCase().indexOf('opera 7')>-1) || (this.agent.toLowerCase().indexOf('opera/7')>-1));
this.operaOld = this.opera && !this.opera7;
return this;
}
// MouseOver für die Reiterkarten - Setzt Active
function tabHover(listElement) {
if(listElement.className!='active') {
listElement.className='over';
}
}
// MouseOver für die Reiterkarten - Entfernt Active
function tabOut(listElement) {
if(listElement.className!='active') {
listElement.className='';
}
}