/* <![CDATA[ */

function detectBrowser(){
 /*  Autor, Entwicklung 8/2002 Kristof Lipfert Duesseldorf    */
 /*  Version 2005-12-09                                  */
var x = '';

if(document.ids)x='nc4';
else if( document.all && !document.getElementById )x='ie4';
else if( window.opera && !document.createElement )x='op5';
else if( window.opera && window.getComputedStyle )  {
          if(document.createRange)x='op8';
            else if(window.navigate)x='op7.5';
                             else x='op7.2';                   }
else if( window.opera && document.compatMode )x='op7';
else if( window.opera && document.releaseEvents )x='op6';
else if( document.contains && !window.opera )x='kq3';
else if(window.pkcs11&&window.XML)x='f15';
else if( window.getSelection && window.atob && window.XML )x='f35';
else if( window.getSelection && window.atob )x='nn7';
else if( window.getSelection && !document.compatMode )x='nn6';
else if( window.clipboardData && document.compatMode )
  x=window.XMLHttpRequest? 'IE7' : 'IE6';
else if( window.clipboardData ){x='ie5';
     if( !document.createDocumentFragment ) x+='.5';
     if( document.doctype && !window.print ) x+='m';}
else if( document.getElementById && !document.all ) x='op4';
else if( document.images && !document.all ) x='nn3';
else if(document.clientWidth&&!window.RegExp)x='kq2';
else x='???';

return x;

}

function loadCSS(val){
	//alert(val);
	
	var b = ";op8;kq3;nn7;";
	if(b.indexOf(val) > -1){
		//alert(val);
		//document.write('<link href="http://central.tic24.de/css/curve_corner_ie.css.php?bcol=000&bgcol=eee" rel="stylesheet" type="text/css" />');
	}

	
}

function replaceIETags(){
	
	var c1 = '<!--[if IE]><b';
	var n1 = '<b';
	
	var c2 = '</b></b><![endif]-->';
	var n2 = '</b></b>';
	
	var rep = replaceIt(document.body.innerHTML, c1, n1);
	
	rep = replaceIt(rep, c2, n2);
	
	document.body.innerHTML = rep;
	
}

 function replaceIt(string,suchen,ersetzen) {
	ausgabe = "" + string;
	while (ausgabe.indexOf(suchen)>-1) {
		pos= ausgabe.indexOf(suchen);
		ausgabe = "" + (ausgabe.substring(0, pos) + ersetzen +
		ausgabe.substring((pos + suchen.length), ausgabe.length));
	}
	return ausgabe;
}


function check(){
	//alert(val);
	//alert(detectBrowser());
	var b = ";op8;kq3;nn7;";
	if(b.indexOf(detectBrowser()) > -1){
		//alert(detectBrowser());
		return 0;
	}else{
		return -1;
	}

	
}



loadCSS(detectBrowser());




/* ]]> */// JavaScript Document







