

function detectbrowser(){

  var name = navigator.appName;
  var browser_userAgent = navigator.userAgent;

  if (name=="Microsoft Internet Explorer"){ 
      //Internet Explorer wird verwendet
     //  var targelemeffekt = document.getElementById('naveffekt');
     //  targelemeffekt.style.visibility='visible';

  }  


}

//------------------------------------------------------------------------------------------

function s_set_wz(A_TIME){

  V_BEZ = 'set' + 'Timeout';

  V_LOCATION = "this.location.href = '' + 'ind' + 'ex.htm'";

  eval("window." + V_BEZ + "(V_LOCATION,A_TIME);");

  return;

}

//------------------------------------------------------------------------------------------

function s_set_wz_old_browser(A_TIME){

  V_BEZ = 'set' + 'Timeout';

  V_LOCATION = "this.location.href = '' + 'old' + '_browser.htm'";

  eval("window." + V_BEZ + "(V_LOCATION,A_TIME);");

  return;

}
//------------------------------------------------------------------------------------------

function s_set_wz_need_flash(A_TIME){

  V_BEZ = 'set' + 'Timeout';

  V_LOCATION = "this.location.href = '' + 'need' + '_flash.htm'";

  eval("window." + V_BEZ + "(V_LOCATION,A_TIME);");

  return;

}




function s_wk_open_window(){
  window.open('anzeige.htm','WINAZ','width=450,height=535');
 
return;

}


//------------------------------------------------------------------------------------------
// Browser detection Abfrage in Webseite - bottom!!!!
//------------------------------------------------------------------------------------------
isMac = (navigator.appVersion.indexOf("Mac")!=-1) ? true : false;
NS4 = (document.layers) ? true : false;
IEmac = ((document.all)&&(isMac)) ? true : false;
IE4plus = (document.all) ? true : false;
IE4 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 4.")!=-1)) ? true : false;
IE5 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 5.")!=-1)) ? true : false;
IE6 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 6.")!=-1)) ? true : false;
ver4 = (NS4 || IE4plus) ? true : false;
NS6 = (!document.layers) && (navigator.userAgent.indexOf('Netscape')!=-1)?true:false;

IE5plus = IE5 || IE6;
IEMajor = 0;

if (IE4plus)
{
	var start = navigator.appVersion.indexOf("MSIE");
	var end = navigator.appVersion.indexOf(".",start);
	IEMajor = parseInt(navigator.appVersion.substring(start+5,end));
	IE5plus = (IEMajor>=5) ? true : false;
}

if (NS4){

  A_TIME = 50;
   V_BEZ = 'set' + 'Timeout';

  V_LOCATION = "this.location.href = '' + 'old' + '_browser.htm'";

  eval("window." + V_BEZ + "(V_LOCATION,A_TIME);");

}

//------------------------------------------------------------------------------------------


