if (lang == "de") { window.defaultStatus = "» Nutricia | Deutschland «";}
if (lang == "at") { window.defaultStatus = "» Nutricia Nahrungsmittel GmbH & Co KG | Österreich «";}



var loaded = false;
var ma_portal = false;
var anim_no = 0;
var diashow_loop = false;
var blend_loop     = false;
var allow = false;


function getChildsByTagName(node,tagname)
{
    var retval = new Array();
    
    if ('undefined' == typeof(node)) { return retval; }
    if ('undefined' == typeof(node.childNodes)) { return retval; }
    
    
    
    for (var z1=0;z1<node.childNodes.length;z1++)
        {
            if (node.childNodes[z1].nodeName==tagname)
                { retval[retval.length] = node.childNodes[z1]; }

            var t0 = getFirstChildByTagName(node.childNodes[z1],tagname);
            retval = retval.concat(t0);
        }

    return retval;
}

function getFirstChildByTagName(node,tagname)
{
    if ('undefined' == typeof(node)) { return false; }
    if ('undefined' == typeof(node.childNodes)) { return false; }
    
    for (var z1=0;z1<node.childNodes.length;z1++)
        {
            if (node.childNodes[z1].nodeName==tagname)
                { return node.childNodes[z1]; }
            var t0 = getFirstChildByTagName(node.childNodes[z1],tagname);
            if (t0!==false)
                { return t0; }
        }
    return false;
}



var wwchanged_cache = new Array();
function akt(o,dir)
{
    if (wwchanged_cache[dir]==undefined)
        { wwchanged_cache[dir] = new Array(false,false); }
    
    var ref = dir=="left"?document.body.clientWidth:document.body.clientHeight;
    
    if (wwchanged_cache[dir][0]!==false && wwchanged_cache[dir][0] == ref)
        { 
            return wwchanged_cache[dir][1];
        } 
    
    wwchanged_cache[dir][0] = ref;
    wwchanged_cache[dir][1] = sumOffset(o,dir);
    
    return wwchanged_cache[dir][1];
}

function sumOffset(o,dir)
{
    var retval = parseInt( dir=="left" ? o.offsetLeft : o.offsetTop); 
		
		// if ( ! confirm(o.tagName+":"+o.id+":"+o.className+":"+o.offsetLeft) )
		// 	{ return retval; }
		
    if (_IE && o.parentNode.tagName!="BODY") //der ie misst das relativ
        { 
            
            if (o.tagName!="DIV") { retval = 0; }
            retval += sumOffset(o.parentNode,dir); 
        }
    
    return retval;
}

var wasin;
var wasinn0;
function checkhover()
{
    minl = akt(d.gEBI('page_navi'),'left') + document.body.scrollLeft;
    maxl = minl + parseInt(d.gEBI('page_navi').offsetWidth);
    
    mint = akt(d.gEBI('page_navi'),'top') + document.body.scrollTop;
    maxt = mint + parseInt(d.gEBI('page_navi').offsetHeight);
    
    var isin = scrollXPos > minl && scrollXPos < maxl && scrollYPos >mint && scrollYPos < maxt;
    
    var isinn0 = scrollXPos > minl && scrollXPos < minl+147 && scrollYPos >mint && scrollYPos < maxt;
    if (wasinn0!==isinn0)
        { wasinn0 = isinn0; }
    
    if (wasin===undefined)
        { wasin = isin; return; }
    
    //nav1+2 ausblenden
    leave_navi_n0()
    //
    
    if (wasin===isin)
        { return; }
    
    if (isin)
        { navi_clicked = false; }
    
    leave_navi(isin===true?1:0);  
    wasin = isin;
}
  
  
function scrolledy()
	{
		return document.body.scrollTop ? document.body.scrollTop: window.pageYOffset;
	}

if (document.layers) { // Netscape
    document.captureEvents(Event.MOUSEMOVE);
    document.onmousemove = captureMousePosition;
} else if (document.all) { // Internet Explorer
    document.onmousemove = captureMousePosition;
} else if (document.getElementById) { // Netcsape 6
    document.onmousemove = captureMousePosition;
}

var scrollXPos = 0;
var scrollYPos = 0;


function captureMousePosition(e)
{
	if (!allow) {return;}
	 
	scrollXPos = 0;
	scrollYPos = 0;
	if (!e) var e = window.event;
	if (e.pageX || e.pageY)
	{
		scrollXPos = e.pageX;
		scrollYPos = e.pageY;
	}
	else if (e.clientX || e.clientY)
	{
		scrollXPos = e.clientX + document.body.scrollLeft;
		scrollYPos = e.clientY + document.body.scrollTop;
	}
	
}

function getWinHeight() // projectseven.com (PVII)
{
     if (!allow) {return;}
     
     if (window.innerWidth) { h = window.innerHeight; } // ns4
     else if(document.body)
     {
        h = document.body.clientHeight;
        
        if (document.body.offsetHeight == h && document.documentElement && document.documentElement.clientHeight)
        {
            h = document.documentElement.clientHeight;
        }
     }
     
     return h;
}



/*
function click (e) {
  if (!e)
    e = window.event;
  if ((e.type && e.type == "contextmenu") || (e.button && e.button == 2) || (e.which && e.which == 3)) {
    if (window.opera)
      window.alert("Das Contextmenu wurde deaktiviert!");
    return false;
  }
}
if (document.layers)
  document.captureEvents(Event.MOUSEDOWN);

document.onmousedown    = click;
document.oncontextmenu  = click;
*/



/*
function opacity (id, opacStart, opacEnd, millisec) 
{
    //speed for each frame
    var speed = Math.round(millisec / 100);
    var timer = 0;

    //determine the direction for the blending, if start and end are the same nothing happens
    if(opacStart > opacEnd) {
        for(i = opacStart; i >= opacEnd; i--) {
            opacfoo = setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed));
            timer++;
        }
    } else if(opacStart < opacEnd) {
        for(i = opacStart; i <= opacEnd; i++)
            {
            opacfoo = setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed));
            timer++;
        }
    }
}
*/


//change the opacity for different browsers
function changeOpac (opacity, id, next_func, opacEnd ) 
{
    var object = document.getElementById(id).style;
    object.opacity = (opacity / 100);
    object.MozOpacity = (opacity / 100);
    object.KhtmlOpacity = (opacity / 100);
    object.filter = "alpha(opacity=" + opacity + ")";
} 







// Popup 

var popupWin = false;
function PopUp (url, breite, hoehe, x, y, noBorder, scrollbars_off)
{

	var fenstereigenschaften = "";
	var win_width  = window.screen.width;
	var win_height = window.screen.height;
	
	//Pruefung, ob zwei Monitore angeschlossen sind
	var secondMon = 0;
	if (win_width >= 1600) {win_width = win_width/2; secondMon=win_width;}

	if (x<0) {x = secondMon+(win_width-breite)/2;} else if (!x){x=0;}
	if (y<0) {y = (win_height-hoehe)/2;} else if (!y){y=0;}
	
	x -= 20;
	
	if (!scrollbars_off) {scrollbars_off = 0;}
	
	
	if (noBorder <= 0) {
	    fenstereigenschaften = "resizable=0,toolbar=0,scrollbars="+scrollbars_off+",fullscreen=0,status=0,directories=0,menubar=0,location=0,width="+breite+",height="+hoehe+",screenX="+x+",left="+x+",screenY="+y+",top="+y;
	} else {
	    fenstereigenschaften = "resizable=1,toolbar=0,scrollbars="+scrollbars_off+",fullscreen=0,status=0,directories=0,menubar=0,location=0,width="+breite+",height="+hoehe+",screenX="+x+",left="+x+",screenY="+y+",top="+y;
    }

    popupWin = window.open(url,"WAIT",fenstereigenschaften);
    
    
    /*
    if (popupWin && noBorder > -1) {
        popupWin.focus();
        popupWin.resizeTo(breite,hoehe);
	    popupWin.moveTo(x,y);
	    
	}
	*/
}




// Zahl zu Dezimalstring mit Nachkommastellen 

function num2dezkomma ( wert )
    {
        var erg="";   
        var sss;
        var ks;   // Kommastelle
        if( wert==0 || isNaN(wert) ){ return erg; }

        if(wert > 0)
        {
            wert    =   runden2(wert);
            sss     =   String(wert);
            sss     =   sss.replace(/\./,",");       
            ks      =   sss.indexOf(",");
        
            if(ks<0){erg=sss+",00";}
            else{
                if(2==(sss.length - ks)){erg=sss+"0";}
                else{erg=sss;}
            }
        }
        else {return wert; } // wenn negativ
        
        return erg;
    }




// Runden-Funktion

function runden2(aaa)
    {
        return Math.round(aaa*100)/100;
    } 
    
    


var layer_lock  = false;
var active_div = false;


function MM_findObj (n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}



// macht LO unsichtbar
function HideObject(LO) {
    if (layer_lock || !LO) {return;}
    //var LO = MM_findObj(div_name);
    if(LO) LO.style.visibility = "hidden";
    else if (_NS4 && LO) LO.visibility = "hide";
    
    active_div = false;
}


// macht LO sichtbar
function ShowObject(LO, lastActive) {
    if (layer_lock || !LO) {return;}
    if (active_div && !lastActive) { HideObject(active_div); }
    //var LO = MM_findObj(div_name);
    if(LO) LO.style.visibility = "visible";
    else if (_NS4 && LO) LO.visibility = "show";
    
    active_div = LO;
   
}


// schreiben in LO
function WriteLayer(LO, value) {
    if (layer_lock || !LO) {return;}
    //var LO = MM_findObj(div_name);
    if(LO) LO.innerHTML = value;
    else if (_NS4 && LO) LO.innerHTML = value;
}



// Popup Footer

var footer_obj = false;

function footer()
{
	koor=((_NS4||_NS6)) ? window.innerHeight+window.pageYOffset-33 : document.body.clientHeight+document.body.scrollTop-33;
	koor2=koor+1;
	y = (_NS4) ? ".top" : ".style.top"; 
	eval("footer_obj"+y+"="+koor);
	ShowObject(footer_obj);
}


function footer_hide (div_name)
{
	if(footer_obj) HideObject(footer_obj);
//	if(!(_NS4||_NS6) && footer_obj2) Hidefooter_object(footer_obj2);
}




    
    

// Browsercheck


_DOM=false; _All=false; _NS4=false; _NS6=false; _NS7=false; _OP=false; _IE=false; _IE4=false; _IE5=false; _IE6=false; _Firefox=false, _OtherBrowser=false; _Mac=false; _Win=false; _OS2=false;

// setzt Browser/OS Variablen
function BrowserCheck(){
  var navAgent=navigator.userAgent.toLowerCase();
  var appVer=navigator.appVersion.toLowerCase();
  var versMinor=parseFloat(appVer);
  var versMajor=parseInt(versMinor);
  
  _Mac=(navAgent.indexOf("mac")!=-1);
  _Win=((navAgent.indexOf("win")!=-1)||(navAgent.indexOf("16bit")!=-1));
  _OS2=(navigator.platform=="OS/2")?true:false;
  _All=(document.all)?true:false;
  _DOM=(document.getElementById)?true:false;
  _OP=(window.opera)?true:false;
  
  var iePos=appVer.indexOf('msie');
  if (iePos!=-1)
  {
    versMinor=parseFloat(appVer.substring(iePos+5,appVer.indexOf(';',iePos)));
    versMajor=parseInt(versMinor);
  }
  
  firefoxPos=navAgent.indexOf('firefox')
  if (firefoxPos!=-1) {
     _Firefox = true;
  }
  
  
  nav6Pos=navAgent.indexOf('netscape6');
  nav7Pos=navAgent.indexOf('netscape/7');
  if (nav6Pos!=-1)
  {
     versMinor=parseFloat(navAgent.substring(nav6Pos+10));
     versMajor=parseInt(versMinor); 
  }
  var netsc=((navAgent.indexOf('mozilla')!=-1) && (navAgent.indexOf('spoofer')==-1) && (navAgent.indexOf('compatible') == -1)
	    && (navAgent.indexOf('opera')==-1) && (navAgent.indexOf('webtv')==-1));
  _NS4=(document.layers)?true:false;
  _NS6=(netsc&&versMajor==6);
  _NS7=(netsc);
  
  var msie=(iePos!=-1);
  _IE =(msie);
  _IE4=(msie&&versMajor==4);
  _IE5=(msie&&versMajor==5);
  _IE6=(msie&&versMajor==6);
  
  
  _OtherBrowser=(!_NS4&&!_NS6&&!_OP&&!_IE4&&!_IE5&&!_IE6&&!_Firefox);
}

BrowserCheck();


/*

//<!--
// Ultimate client-side JavaScript client sniff. Version 3.03
// (C) Netscape Communications 1999-2001.  Permission granted to reuse and distribute.
// Revised 17 May 99 to add is_nav5up and is_ie5up (see below).
// Revised 20 Dec 00 to add is_gecko and change is_nav5up to is_nav6up
//                      also added support for IE5.5 Opera4&5 HotJava3 AOLTV
// Revised 22 Feb 01 to correct Javascript Detection for IE 5.x, Opera 4, 
//                      correct Opera 5 detection
//                      add support for winME and win2k
//                      synch with browser-type-oo.js
// Revised 26 Mar 01 to correct Opera detection
// Revised 02 Oct 01 to add IE6 detection

// Everything you always wanted to know about your JavaScript client
// but were afraid to ask. Creates "is_" variables indicating:
// (1) browser vendor:
//     is_nav, is_ie, is_opera, is_hotjava, is_webtv, is_TVNavigator, is_AOLTV, is_safari, is_firefox
// (2) browser version number:
//     is_major (integer indicating major version number: 2, 3, 4 ...)
//     is_minor (float   indicating full  version number: 2.02, 3.01, 4.04 ...)
// (3) browser vendor AND major version number
//     is_nav2, is_nav3, is_nav4, is_nav4up, is_nav6, is_nav6up, is_gecko, is_ie3,
//     is_ie4, is_ie4up, is_ie5, is_ie5up, is_ie5_5, is_ie5_5up, is_ie6, is_ie6up, is_hotjava3, is_hotjava3up,
//     is_opera2, is_opera3, is_opera4, is_opera5, is_opera5up
// (4) JavaScript version number:
//     is_js (float indicating full JavaScript version number: 1, 1.1, 1.2 ...)
// (5) OS platform and version:
//     is_win, is_win16, is_win32, is_win31, is_win95, is_winnt, is_win98, is_winme, is_win2k
//     is_os2
//     is, is_mac68k, is_macppc
//     is_unix
//     is_sun, is_sun4, is_sun5, is_suni86
//     is_irix, is_irix5, is_irix6
//     is_hpux, is_hpux9, is_hpux10
//     is_aix, is_aix1, is_aix2, is_aix3, is_aix4
//     is_linux, is_sco, is_unixware, is_mpras, is_reliant
//     is_dec, is_sinix, is_freebsd, is_bsd
//     is_vms
//
// See http://www.it97.de/JavaScript/JS_tutorial/bstat/navobj.html and
// http://www.it97.de/JavaScript/JS_tutorial/bstat/Browseraol.html
// for detailed lists of userAgent strings.
//
// Note: you don't want your Nav4 or IE4 code to "turn off" or
// stop working when new versions of browsers are released, so
// in conditional code forks, use is_ie5up ("IE 5.0 or greater") 
// is_opera5up ("Opera 5.0 or greater") instead of is_ie5 or is_opera5
// to check version in code which you want to work on future
// versions.


 // convert all characters to lowercase to simplify testing
    var agt=navigator.userAgent.toLowerCase();

    // *** BROWSER VERSION ***
    // Note: On IE5, these return 4, so use is_ie5up to detect IE5.
    var is_major = parseInt(navigator.appVersion);
    var is_minor = parseFloat(navigator.appVersion);

    // Note: Opera and WebTV spoof Navigator.  We do strict client detection.
    // If you want to allow spoofing, take out the tests for opera and webtv.
    var is_nav  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1)
                && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1)
                && (agt.indexOf('webtv')==-1) && (agt.indexOf('hotjava')==-1));
    var is_nav2 = (is_nav && (is_major == 2));
    var is_nav3 = (is_nav && (is_major == 3));
    var is_nav4 = (is_nav && (is_major == 4));
    var is_nav4up = (is_nav && (is_major >= 4));
    var is_navonly      = (is_nav && ((agt.indexOf(";nav") != -1) ||
                          (agt.indexOf("; nav") != -1)) );
    var is_nav6 = (is_nav && (is_major == 5));
    var is_nav6up = (is_nav && (is_major >= 5));
    var is_gecko = (agt.indexOf('gecko') != -1);
    
    var is_safari = (agt.indexOf('safari') != -1);
    var is_firefox = (agt.indexOf('firefox') != -1 || agt.indexOf('bonecho') != 1);


    var is_ie     = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));
    var is_ie3    = (is_ie && (is_major < 4));
    var is_ie4    = (is_ie && (is_major == 4) && (agt.indexOf("msie 4")!=-1) );
    var is_ie4up  = (is_ie && (is_major >= 4));
    var is_ie5    = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.0")!=-1) );
    var is_ie5_5  = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.5") !=-1));
    var is_ie5up  = (is_ie && !is_ie3 && !is_ie4);
    var is_ie5_5up =(is_ie && !is_ie3 && !is_ie4 && !is_ie5);
    var is_ie6    = (is_ie && (is_major == 4) && (agt.indexOf("msie 6.")!=-1) );
    var is_ie6up  = (is_ie && !is_ie3 && !is_ie4 && !is_ie5 && !is_ie5_5);

    // KNOWN BUG: On AOL4, returns false if IE3 is embedded browser
    // or if this is the first browser window opened.  Thus the
    // variables is_aol, is_aol3, and is_aol4 aren't 100% reliable.
    var is_aol   = (agt.indexOf("aol") != -1);
    var is_aol3  = (is_aol && is_ie3);
    var is_aol4  = (is_aol && is_ie4);
    var is_aol5  = (agt.indexOf("aol 5") != -1);
    var is_aol6  = (agt.indexOf("aol 6") != -1);

    var is_opera = (agt.indexOf("opera") != -1);
    var is_opera2 = (agt.indexOf("opera 2") != -1 || agt.indexOf("opera/2") != -1);
    var is_opera3 = (agt.indexOf("opera 3") != -1 || agt.indexOf("opera/3") != -1);
    var is_opera4 = (agt.indexOf("opera 4") != -1 || agt.indexOf("opera/4") != -1);
    var is_opera5 = (agt.indexOf("opera 5") != -1 || agt.indexOf("opera/5") != -1);
    var is_opera5up = (is_opera && !is_opera2 && !is_opera3 && !is_opera4);

    var is_webtv = (agt.indexOf("webtv") != -1); 

    var is_TVNavigator = ((agt.indexOf("navio") != -1) || (agt.indexOf("navio_aoltv") != -1)); 
    var is_AOLTV = is_TVNavigator;

    var is_hotjava = (agt.indexOf("hotjava") != -1);
    var is_hotjava3 = (is_hotjava && (is_major == 3));
    var is_hotjava3up = (is_hotjava && (is_major >= 3));

    // *** JAVASCRIPT VERSION CHECK ***
    var is_js;
    if (is_nav2 || is_ie3) is_js = 1.0;
    else if (is_nav3) is_js = 1.1;
    else if (is_opera5up) is_js = 1.3;
    else if (is_opera) is_js = 1.1;
    else if ((is_nav4 && (is_minor <= 4.05)) || is_ie4) is_js = 1.2;
    else if ((is_nav4 && (is_minor > 4.05)) || is_ie5) is_js = 1.3;
    else if (is_hotjava3up) is_js = 1.4;
    else if (is_nav6 || is_gecko) is_js = 1.5;
    // NOTE: In the future, update this code when newer versions of JS
    // are released. For now, we try to provide some upward compatibility
    // so that future versions of Nav and IE will show they are at
    // *least* JS 1.x capable. Always check for JS version compatibility
    // with > or >=.
    else if (is_nav6up) is_js = 1.5;
    // NOTE: ie5up on mac is 1.4
    else if (is_ie5up) is_js = 1.3

    // HACK: no idea for other browsers; always check for JS version with > or >=
    else is_js = 0.0;

    // *** PLATFORM ***
    var is_win   = ( (agt.indexOf("win")!=-1) || (agt.indexOf("16bit")!=-1) );
    // NOTE: On Opera 3.0, the userAgent string includes "Windows 95/NT4" on all
    //        Win32, so you can't distinguish between Win95 and WinNT.
    var is_win95 = ((agt.indexOf("win95")!=-1) || (agt.indexOf("windows 95")!=-1));

    // is this a 16 bit compiled version?
    var is_win16 = ((agt.indexOf("win16")!=-1) || 
               (agt.indexOf("16bit")!=-1) || (agt.indexOf("windows 3.1")!=-1) || 
               (agt.indexOf("windows 16-bit")!=-1) );  

    var is_win31 = ((agt.indexOf("windows 3.1")!=-1) || (agt.indexOf("win16")!=-1) ||
                    (agt.indexOf("windows 16-bit")!=-1));

    var is_winme = ((agt.indexOf("win 9x 4.90")!=-1));
    var is_win2k = ((agt.indexOf("windows nt 5.0")!=-1));

    // NOTE: Reliable detection of Win98 may not be possible. It appears that:
    //       - On Nav 4.x and before you'll get plain "Windows" in userAgent.
    //       - On Mercury client, the 32-bit version will return "Win98", but
    //         the 16-bit version running on Win98 will still return "Win95".
    var is_win98 = ((agt.indexOf("win98")!=-1) || (agt.indexOf("windows 98")!=-1));
    var is_winnt = ((agt.indexOf("winnt")!=-1) || (agt.indexOf("windows nt")!=-1));
    var is_win32 = (is_win95 || is_winnt || is_win98 || 
                    ((is_major >= 4) && (navigator.platform == "Win32")) ||
                    (agt.indexOf("win32")!=-1) || (agt.indexOf("32bit")!=-1));

    var is_os2   = ((agt.indexOf("os/2")!=-1) || 
                    (navigator.appVersion.indexOf("OS/2")!=-1) ||   
                    (agt.indexOf("ibm-webexplorer")!=-1));

    var is_mac    = (agt.indexOf("mac")!=-1);
    // hack ie5 js version for mac
    if (is_mac && is_ie5up) is_js = 1.4;
    var is_mac68k = (is_mac && ((agt.indexOf("68k")!=-1) || 
                               (agt.indexOf("68000")!=-1)));
    var is_macppc = (is_mac && ((agt.indexOf("ppc")!=-1) || 
                                (agt.indexOf("powerpc")!=-1)));

    var is_sun   = (agt.indexOf("sunos")!=-1);
    var is_sun4  = (agt.indexOf("sunos 4")!=-1);
    var is_sun5  = (agt.indexOf("sunos 5")!=-1);
    var is_suni86= (is_sun && (agt.indexOf("i86")!=-1));
    var is_irix  = (agt.indexOf("irix") !=-1);    // SGI
    var is_irix5 = (agt.indexOf("irix 5") !=-1);
    var is_irix6 = ((agt.indexOf("irix 6") !=-1) || (agt.indexOf("irix6") !=-1));
    var is_hpux  = (agt.indexOf("hp-ux")!=-1);
    var is_hpux9 = (is_hpux && (agt.indexOf("09.")!=-1));
    var is_hpux10= (is_hpux && (agt.indexOf("10.")!=-1));
    var is_aix   = (agt.indexOf("aix") !=-1);      // IBM
    var is_aix1  = (agt.indexOf("aix 1") !=-1);    
    var is_aix2  = (agt.indexOf("aix 2") !=-1);    
    var is_aix3  = (agt.indexOf("aix 3") !=-1);    
    var is_aix4  = (agt.indexOf("aix 4") !=-1);    
    var is_linux = (agt.indexOf("inux")!=-1);
    var is_sco   = (agt.indexOf("sco")!=-1) || (agt.indexOf("unix_sv")!=-1);
    var is_unixware = (agt.indexOf("unix_system_v")!=-1); 
    var is_mpras    = (agt.indexOf("ncr")!=-1); 
    var is_reliant  = (agt.indexOf("reliantunix")!=-1);
    var is_dec   = ((agt.indexOf("dec")!=-1) || (agt.indexOf("osf1")!=-1) || 
           (agt.indexOf("dec_alpha")!=-1) || (agt.indexOf("alphaserver")!=-1) || 
           (agt.indexOf("ultrix")!=-1) || (agt.indexOf("alphastation")!=-1)); 
    var is_sinix = (agt.indexOf("sinix")!=-1);
    var is_freebsd = (agt.indexOf("freebsd")!=-1);
    var is_bsd = (agt.indexOf("bsd")!=-1);
    var is_unix  = ((agt.indexOf("x11")!=-1) || is_sun || is_irix || is_hpux || 
                 is_sco ||is_unixware || is_mpras || is_reliant || 
                 is_dec || is_sinix || is_aix || is_linux || is_bsd || is_freebsd);

    var is_vms   = ((agt.indexOf("vax")!=-1) || (agt.indexOf("openvms")!=-1));

*/
