/*
	browser-Variable aus nse_inc_allg: 
	
	ff IsFirefox 
	ie MSExplorer 
	ismac = Mac 
	iswin = Windows 
	ns4 Netscpe 4
	ns6 Netscpe 6
	ns7 Netscpe 7
*/


/*
	var ie=document.all?1:0;
	var ns6=document.getElementById&&!document.all?1:0;
	var ns4=document.layers?1:0;
	function ZuFavoriten(){
			if (ie) window.external.AddFavorite(top.location.href, top.document.title);	
			if (ns6) alert('Drücken Sie STRG + D um die Seite als Bookmark aufzunehmen.\n Please press STRG + D to bookmark this site.');
			if (ns4) alert('Drücken Sie STRG + D um die Seite als Bookmark aufzunehmen.\n Please press STRG + D to bookmark this site.');
	}
*/	

	function zeiglinks(){
	   MeinFenster =window.open("../nsred/links_j.cfm?pSprache=#pSprache#", "Zweitfenster","width=150,height=240,screenX=370,screenY=130,top=130,left=370");
	   MeinFenster.focus();
	}

function checkBrowser () {
	var nMSIE = 0;
	var nNS = 0;
	var ie = 0;
	// OS
	isMac  = (navigator.appVersion.indexOf("Mac")!=-1) ? true : false;
	isPC   = (navigator.appVersion.indexOf("Windows")!=-1) ? true : false;
	isUnix = (navigator.appVersion.indexOf("Unix")!=-1) ? true : false;
	// MS Browser
	var ie4=document.all
	if (ie4) nMSIE = 4;
	var ie5=document.getElementById&&document.all;
	if (ie5) nMSIE = 5;
	var ie6= (navigator.appVersion.indexOf("MSIE 6.")!=-1);
	if (ie6) nMSIE = 6;
	var ie7= (navigator.appVersion.indexOf("MSIE 7.")!=-1);
	if (ie7) nMSIE = 7;
	ie = nMSIE;
	//alert(navigator.appVersion + ", Browser: " + nMSIE);
	// NS Browser
	var ns4=document.layers
	if (ns4) nNS = 4;
	var ns6=document.getElementById&&!document.all
	if (ns6) nNS = 6;
	if (nMSIE > 0) sBrowser = "MS " + nMSIE;
	else sBrowser = "NS " + nNS;
	return sBrowser;
}

/*
	Useragent: navigator.userAgent;
    var ns="";
    ns = ns+"&scrw=" +screen.width;
    ns = ns+"&scrh=" +screen.height;
    ns = ns+"&scrcd="+screen.colorDepth;
    ns = ns+"&winiw="+window.innerWidth;
    ns = ns+"&winih="+window.innerHeight;
    ns = ns+"&navL=" +navigator.language;
    ns = ns+"&navCE="+navigator.cookieEnabled;
    ns = ns+"&navJE="+navigator.javaEnabled();
    var ie="";
    ie = ie+"&navuL="+navigator.userLanguage;
    ie = ie+"&docw=" +document.body.offsetWidth;
    ie = ie+"&doch=" +document.body.offsetHeight;
    var jsr = "&jsr="+document.referrer;
    var ua  = "&navuA="+navigator.userAgent;
*/

function ZuFavoriten(){
	var ie =document.all?1:0;
	var ns4 = document.layers?1:0;
	var ns6 = document.getElementById&&!document.all?1:0;
	var ns7 = ns6;
	var ff = ns6;
	
	if (ie ) {
		window.external.AddFavorite(top.location.href, top.document.title);
	} else if (ns4 || ns6 || ns7 || ff)	{
		alert("Dr&uuml;cken Sie STRG + D um die Seite als Bookmark aufzunehmen.\n Please press STRG + D to bookmark this site.");
	}
}

