defaultStatus ="Richter Chemie-Technik GmbH - InfoWeb"
var pa_fChecked = new Array();
function toggleCheckbox(ia_oElements, i_sPrefix) {
	if (typeof(pa_fChecked[i_sPrefix]) == 'undefined') {
        var fChecked = true;
	    for (var i = 0; i < ia_oElements.length; i++) {
    		var oElement = ia_oElements[i];
    		if (oElement.type == "checkbox" && oElement.name.indexOf(i_sPrefix) == 0) {
    			if (!oElement.checked) {
    			     fChecked = false;
    			}
    		}
    	}
		pa_fChecked[i_sPrefix] = fChecked;
	}
	pa_fChecked[i_sPrefix] = !pa_fChecked[i_sPrefix];
	for (var i = 0; i < ia_oElements.length; i++) {
		var oElement = ia_oElements[i];
		if (oElement.type == "checkbox" && oElement.name.indexOf(i_sPrefix) == 0) {
			oElement.checked = pa_fChecked[i_sPrefix];
		}
	}
	if (pa_fChecked[i_sPrefix]) {
		return "Aktivieren/Deaktivieren";
	}
	else {
		return "Aktivieren/Deaktivieren";
	}
}


function Is ()
{   // convert all characters to lowercase to simplify testing
    var agt=navigator.userAgent.toLowerCase();

    // --- BROWSER VERSION ---
    this.major = parseInt(navigator.appVersion);
    this.minor = parseFloat(navigator.appVersion);

    this.nav  = ((agt.indexOf('mozilla')!=-1) && ((agt.indexOf('spoofer')==-1)
                && (agt.indexOf('compatible') == -1)));
    this.nav2 = (this.nav && (this.major == 2));
    this.nav3 = (this.nav && (this.major == 3));
    this.nav4 = (this.nav && (this.major == 4));

    this.ie   = (agt.indexOf("msie") != -1);
    this.ie3  = (this.ie && (this.major == 2));
    this.ie4  = (this.ie && (this.major == 4));
	this.ie5  = (this.ie && (this.major == 5));

    this.opera = (agt.indexOf("opera") != -1);

    this.nav4up = this.nav && (this.major >= 4);
    this.ie4up  = this.ie  && (this.major >= 4);
}


function changeImage(Prev, Next){
	Prev.src = Next.src;
}

function changeImageEx(Name, BildObjekt){
	window.document.images[Name].src=BildObjekt.src;
}


function moveEltBy (elt, x, y)
{ if (is.nav4up) elt.moveBy(x, y);
  else if (is.ie4up)  {
    elt.style.pixelLeft += x;
    elt.style.pixelTop  += y;
  }
}

function changeBGColor(id, color){
	is = new Is();
	if (is.ie4up){
		document.all(id).style.backgroundColor=color;
	}
}

function Init() {
  IE4 = (document.all);
  NS4 = (document.layers);
  IEmac = (IE4 && navigator.appVersion.indexOf("Mac") != -1);
  ver4 = (IE4 || NS4);
}


function openWindow(url){
  NewWindow = window.open(url,null,"resizable=yes,menubar=yes,scrollbars=yes")
  if (NewWindow) {
	  NewWindow.focus();
  }
}

function openSitemap(url){
	Init();
	if(!ver4) return;
	aW = 380;//screen.availWidth / 4;
	aH = 2 * screen.availHeight / 3;
	if(NS4){
	  NewWindow = window.open(url,null,"outerWidth="+aW+",outerHeight="+aH+",screenX=0,screenY=0,resizable=yes,scrollbars=yes,status=yes")
	}
	else {
	  //wegen Windows Startmenu 70 Pixel abziehen
	  if (navigator.appVersion.indexOf("Windows") != -1) aH = aH - 70;
	  NewWindow = window.open(url,null,"width="+aW+",height="+aH+",left=0,top=0,resizable=yes,scrollbars=yes,status=yes");
	}
  if (NewWindow) {
	  NewWindow.focus();
  }
}

function gotoOpenerWindow(url) {
  if (window.opener) {
    oOpener = window.opener;
    if (oOpener.closed==true){
      ParentWin=window.open(url);
      if (ParentWin) {
        ParentWin.focus();
      }
    }
    else {
      //oOpener.top.frames['mitte'].location.href=url;
      oOpener.top.location.href=url;
      oOpener.top.focus();
    }
  }
  else {
    ParentWin=window.open(url);
    if (ParentWin) {
      ParentWin.focus();
    }
  }
  window.focus();
}

///////////////////////////////////////////////////////

isMac = function () {
	return (navigator.userAgent.indexOf("Mac") > -1);
}

isWin = function () {
	return (navigator.userAgent.indexOf("Win") > -1);
}

isWinXP = function () {
	return (navigator.userAgent.indexOf("NT 5.1") > -1);
}

isNS4 = function () {
	return (parseInt(navigator.appVersion) == 4 && document.layers) ? 1 : 0;
}

isOpera = function () {
    return (window.opera) ? 1 : 0;
}

isNS6 = function () {
	var fIsDom = document.getElementById ? 1 : 0;
	return (fIsDom && parseInt(navigator.appVersion) >= 5 && navigator.userAgent.indexOf("Netscape") > -1) ? 1 : 0;
}

isMozilla = function () {
	var fIsDom = document.getElementById ? 1 : 0;
	return (fIsDom && parseInt(navigator.appVersion) >= 5 && navigator.userAgent.indexOf("Mozilla") > -1 && !this.isNS6() && !this.isIE()) ? 1 : 0;
}

isIE = function () {
	return (navigator.userAgent.indexOf("MSIE") > -1) ? 1 : 0;
}

getCookie = function (i_sName) {
    var re = new RegExp(i_sName + "=([^;]+)");
    var value = re.exec(document.cookie);
    return (value != null) ? unescape(value[1]) : null;
}

setCookie = function (i_sName, i_sValue, i_iSeconds) {
    var sCookie = i_sName + "=" + escape(i_sValue) + ";";
    if (i_iSeconds) {
        var today = new Date();
        var expiry = new Date(today.getTime() + i_iSeconds * 1000);
        sCookie += " expires=" + expiry.toGMTString() + ";";
    }
    sCookie += " path=/;";
    if (p_sCookieDomain) {
        sCookie += " domain=" + p_sCookieDomain + ";";
    }
    document.cookie = sCookie;
}

deleteCookie = function (i_sName) {
    var today = new Date();
    var expiry = new Date(today.getTime() - 1000);
    var sCookie = i_sName + "=; expires=" + expiry.toGMTString() + "; path=/;";
    if (p_sCookieDomain) {
        sCookie += " domain=" + p_sCookieDomain + ";";
    }
    document.cookie = sCookie;
}

setLanguage = function(i_sLanguageCode){
    var sOldLanguageCode = this.getCookie("LANGUAGECODE");
    if (sOldLanguageCode == null) sOldLanguageCode = "de";

    var sOldHRef = this.document.location.href;
    var sEval = "var sNewHRef = sOldHRef.replace(/\\/" + sOldLanguageCode + "\\//g, \"/" + i_sLanguageCode + "/\");";
    eval(sEval);
    this.deleteCookie("LANGUAGECODE");
    if (sNewHRef == sOldHRef) {
        this.setCookie("LANGUAGECODE", i_sLanguageCode, 3600*24*365);
        if (sOldLanguageCode != i_sLanguageCode) {
            this.document.location.reload();
        }
    }
    else {
        if (sNewHRef.indexOf('?') == -1) {
            sNewHRef += "?LANGUAGECODE=" + i_sLanguageCode;
        }
        else {
            var sEval = "var sNewHRef = sNewHRef.replace(/LANGUAGECODE=" + sOldLanguageCode + "/g, \"LANGUAGECODE=" + i_sLanguageCode + "\");";
            eval(sEval);
        }
        this.document.location.replace(sNewHRef);
    }
}

getBaseURL = function (i_oDocument) {
    //Relative URL bezogen auf top-Frame
    var oDocument = i_oDocument ? i_oDocument : document;
    var sBaseURL = oDocument.location.href;
	var iPos = sBaseURL.indexOf('?');
	if (iPos != -1) sBaseURL = sBaseURL.substr(0, iPos);
	iPos = sBaseURL.indexOf('#');
	if (iPos != -1) sBaseURL = sBaseURL.substr(0, iPos);

	iPos = sBaseURL.lastIndexOf('\\');
	if (iPos == -1) iPos = sBaseURL.lastIndexOf('/');
	if (iPos != -1) sBaseURL = sBaseURL.substr(0, iPos+1);
	return sBaseURL;
}

appendURL = function (i_sBaseURL, i_sURL) {
    sURL = i_sURL;
    if (i_sURL.indexOf(':') == -1 && i_sURL.indexOf('/') != 0) {
        sBaseURL = i_sBaseURL;
        var iPos = sURL.indexOf('../');
        while (iPos == 0) {
            sSubBaseURL = sBaseURL.substring(0, sBaseURL.length - 2);
            var iLastPos = sSubBaseURL.lastIndexOf('/');
            if (iLastPos == -1) break;
            sBaseURL = sSubBaseURL.substring(0, iLastPos+1);
            sURL = sURL.substring(iPos+3);
            iPos = sURL.indexOf('../');
        }
  		sURL = sBaseURL + sURL;
    }
    return sURL;
}
    
createURL = function (i_sURL, ia_sParams) {
    sURL = appendURL(getBaseURL(), i_sURL);

    sParams = "";
    if (ia_sParams && ia_sParams.length > 0) {
        sParams = ia_sParams[0];
        for (var iParamIndex = 1; iParamIndex < ia_sParams.length; iParamIndex++) {
            sParam = ia_sParams[iParamIndex]
		    sParams += "&" + sParam;
        }
    }
    if (sParams != "") {
  		if (sURL.indexOf('?') != -1)
		    sURL += "&" + sParams;
		else
		    sURL += "?" + sParams;
    }
    return sURL;
}

getParam = function (i_sParams, i_sName) {
    var a_sParams = explodeParams(i_sParams);
    for (var sName in a_sParams){
        if (sName == i_sName) {
            return a_sParams[sName];
        }
    }
    return null;
}

implodeParams = function (ia_sParams) {
    var sParams = "";
    for (var sName in ia_sParams){
        sParam = ia_sParams[sName];
        if (sParams) sParams += "&";
        sParams += sName + "=" + sParam;
    }
    return sParams;
}

explodeParams = function (i_sParams) {
    var a_sParams = new Array();
    var a_sParamPairs = i_sParams.split("&");
    var sParams = "";
    for (var iPairIndex = 0; iPairIndex < a_sParamPairs.length; iPairIndex++){
        sParamPair = a_sParamPairs[iPairIndex];
        var a_sParamPair = sParamPair.split("=");
        if (a_sParamPair.length == 2) {
            var sName = a_sParamPair[0];
            var sValue = a_sParamPair[1];
            a_sParams[sName] = sValue;
        }
    }
    return a_sParams;
}

getElementScrollTop = function (i_oElement){
//ToDo: i_oElement.pageYOffset gibt es nicht (NN6)
    var iTop = i_oElement.scrollTop;// | i_oElement.pageYOffset;
    return this.getInt(iTop);
}

getElementScrollLeft = function (i_oElement){
//ToDo: i_oElement.pageXOffset gibt es  nicht (NN6)
    var iLeft = i_oElement.scrollLeft;// | i_oElement.pageXOffset;
    return this.getInt(iLeft);
}

getWindowScrollTop = function (i_oWindow){
    var iTop = i_oWindow.document.body.scrollTop | i_oWindow.pageYOffset;
    return this.getInt(iTop);
}

getWindowScrollLeft = function (i_oWindow){
    var iLeft = i_oWindow.document.body.scrollLeft | i_oWindow.pageXOffset;
    return this.getInt(iLeft);
}

getEvent = function (i_oEvent, i_oWindow){
    var oWindow = i_oWindow ? i_oWindow : window;
    var oEvent = i_oEvent ? i_oEvent : oWindow.event ? oWindow.event : null;
    return oEvent;
}

cancelEvent = function (i_oEvent, i_oWindow){
    oEvent = this.getEvent(i_oEvent, i_oWindow);
    if (oEvent) {
        oEvent.cancelBubble = true;
        oEvent.returnValue = false;
    }
}

getEventButton = function (i_oEvent, i_oWindow){
    var oWindow = i_oWindow ? i_oWindow : window;
    var oEvent = i_oEvent ? i_oEvent : oWindow.event ? oWindow.event : null;
    var iButton = oEvent.button;
    if (this.isNS6()) {
        //NS6: links=0, mitte=1, rechts=2
        if (iButton == 0)
            iButton = 1;
        else if (iButton == 1)
            iButton = 3;
    }
    else {
        //IE: links=1, mitte=4, rechts=2
        if (iButton == 4)
            iButton = 3;
    }
    return iButton;
}

getEventLeftAbsolute = function (i_oEvent, i_oWindow, i_oElement){
    var iLeft = this.getEventLeft(i_oEvent, i_oWindow, i_oElement);
    iLeft += this.getElementLeftAbsolute(i_oWindow, i_oElement);
	return iLeft;
}

getEventTopAbsolute = function (i_oEvent, i_oWindow, i_oElement){
    var iTop = this.getEventTop(i_oEvent, i_oWindow, i_oElement);
    iTop += this.getElementTopAbsolute(i_oWindow, i_oElement);
	return iTop;
}

getEventLeft = function (i_oEvent, i_oWindow, i_oElement){
    var oWindow = i_oWindow ? i_oWindow : window;
    var oDocument = oWindow.document;
    var oEvent = this.getEvent(i_oEvent, oWindow);
	var iLeft = 0;

	if (oEvent) {
		if (typeof(oEvent.pageX) != 'undefined')
			iLeft = parseInt(oEvent.pageX);
		else if (typeof(oEvent.clientX) != 'undefined')
			iLeft = parseInt(oEvent.clientX);
		else if (typeof(oEvent.x) != 'undefined')
			iLeft = parseInt(oEvent.x);
		if (oDocument.body && (typeof(oDocument.body.scrollLeft) != 'undefined'))
			iLeft += oDocument.body.scrollLeft;
	}
	if (isNaN(iLeft)) iLeft = 0;

	return iLeft;
}

getEventTop = function (i_oEvent, i_oWindow, i_oElement){
    var oWindow = i_oWindow ? i_oWindow : window;
    var oDocument = oWindow.document;
    var oEvent = this.getEvent(i_oEvent, oWindow);
	var iTop = 0;
	if (oEvent) {
		if (typeof(oEvent.pageY) != 'undefined')
			iTop = parseInt(oEvent.pageY);
		else if (typeof(oEvent.clientY) != 'undefined')
			iTop = parseInt(oEvent.clientY);
		else if (typeof(oEvent.y) != 'undefined')
			iTop = parseInt(oEvent.y);

		if (oDocument.body && (typeof(oDocument.body.scrollTop) != 'undefined'))
			iTop += oDocument.body.scrollTop;
	}
	if (isNaN(iTop)) iTop = 0;

	return iTop;
}

getInt = function (i_vVar){
	iResult = parseInt(i_vVar);
	if (isNaN(iResult)) iResult = 0;
	return iResult;
}

getScreenWidth = function (){
	return this.getInt(screen.availWidth ? screen.availWidth : screen.width);
}

getScreenHeight = function (){
    var iHeight = this.getInt(screen.availHeight ? screen.availHeight : screen.heigth);
    if (iHeight > 40 && this.isWin() && (this.isIE() || this.isNS4() || this.isOpera())) {
        //wegen Taskleiste
        iHeight -= 40;
    }
    return iHeight;
}

getClientWidth = function (i_oWindow){
    var oWindow = i_oWindow ? i_oWindow : window;
	return this.getInt(oWindow.innerWidth ? oWindow.innerWidth : oWindow.document.body.clientWidth);
}

getClientHeight = function (i_oWindow){
    var oWindow = i_oWindow ? i_oWindow : window;
    return this.getInt(oWindow.innerHeight ? oWindow.innerHeight : oWindow.document.body.clientHeight);
}

getElementLeftAbsolute = function (i_oWindow, i_oElement){
    var iLeft = 0;
    if (i_oWindow && i_oWindow.parent) {
        var oParent = i_oWindow.parent;
        if (oParent.p_oComponent){
            oFrame = oParent.p_oComponent.getFrame();
            if (oFrame) iLeft += this.getElementLeftAbsolute(oParent, oFrame);
        }
    }

    var oElement = i_oElement;
    while (oElement && oElement.nodeName && oElement.nodeName != 'BODY') {
        iLeft += this.getElementLeft(oElement);
        oElement = oElement.parentNode;
    }
    return iLeft;
}

getElementTopAbsolute = function (i_oWindow, i_oElement){
    var iTop = 0;
    if (i_oWindow && i_oWindow.parent) {
        var oParent = i_oWindow.parent;
        if (oParent.p_oComponent){
            oFrame = oParent.p_oComponent.getFrame();
            if (oFrame) iTop += this.getElementTopAbsolute(oParent, oFrame);
        }
    }

    var oElement = i_oElement;
    while (oElement && oElement.nodeName && oElement.nodeName != 'BODY') {
        iTop += this.getElementTop(oElement);
        oElement = oElement.parentNode;
    }
    return iTop;
}

getElementLeft = function (i_oElement){
    if (!i_oElement) return 0;
	if (typeof(i_oElement.style.pixelLeft) != 'undefined')
		iResult = this.getInt(i_oElement.style.pixelLeft);
	else if (typeof(i_oElement.pageX) != 'undefined')
		iResult = this.getInt(i_oElement.pageX);
	else
		iResult = this.getInt(i_oElement.style.left);
	return iResult;
}

getElementTop = function (i_oElement){
    if (!i_oElement) return 0;
	if (typeof(i_oElement.style.pixelTop) != 'undefined')
		iResult = this.getInt(i_oElement.style.pixelTop);
	else if (typeof(i_oElement.pageY) != 'undefined')
		iResult = this.getInt(i_oElement.pageY);
	else
		iResult = this.getInt(i_oElement.style.top);
	return iResult;
}

getElementWidth = function (i_oElement){
    if (!i_oElement) return 0;

    if (i_oElement.clip) 
		iResult = this.getInt(i_oElement.clip.width);
	else if (typeof(i_oElement.offsetWidth) != 'undefined')
		iResult = this.getInt(i_oElement.offsetWidth);
	else if (typeof(i_oElement.style.pixelWidth) != 'undefined')
		iResult = this.getInt(i_oElement.style.pixelWidth);
	else
		iResult = this.getInt(i_oElement.style.width);
	return iResult;
}

getElementHeight = function (i_oElement){
    if (!i_oElement) return 0;

    if (i_oElement.clip) 
		iResult = this.getInt(i_oElement.clip.height);
	else if (typeof(i_oElement.offsetHeight) != 'undefined')
		iResult = this.getInt(i_oElement.offsetHeight);
	else if (typeof(i_oElement.style.pixelHeight) != 'undefined')
		iResult = this.getInt(i_oElement.style.pixelHeight);
	else
		iResult = this.getInt(i_oElement.style.height);
	return iResult;
}

setElementLeft = function (i_oElement, i_iLeft){
    if (typeof(i_iLeft) == 'undefined') return;
    var iLeft = this.getInt(i_iLeft);
    if (document.layers) {
        i_oElement.pageX = iLeft;
    }
    else if (i_oElement.style) {
        i_oElement.style.left = iLeft + "px";
    }
}

setElementTop = function (i_oElement, i_iTop){
    if (typeof(i_iTop) == 'undefined') return;
    var iTop = this.getInt(i_iTop);
    if (document.layers) {
        i_oElement.pageY = iTop;
    }
    else if (i_oElement.style) {
        i_oElement.style.top = iTop + "px";
    }
}

setElementWidth = function (i_oElement, i_iWidth){
    if (typeof(i_iWidth) == 'undefined') return;
    var iWidth = this.getInt(i_iWidth);

/*
    if (this.isNS6()){
        //ToDo: i_oElement.style.borderLeftWidth gibt nichts zurück?
        var iBorderLeftWidth = this.getInt(i_oElement.style.borderLeftWidth);
        var iBorderRightWidth = this.getInt(i_oElement.style.borderRightWidth);
        iWidth -= iBorderLeftWidth + iBorderRightWidth;
    }
*/
//ToDo: geht nicht mit NS4 und Opera
    if (document.layers) {
        i_oElement.clip.width = iWidth;
    }
    else if (i_oElement.style) {
        i_oElement.style.width = iWidth + "px";
    }
}

setElementHeight = function (i_oElement, i_iHeight){
    if (typeof(i_iHeight) == 'undefined') return;
    var iHeight = this.getInt(i_iHeight);
/*
    if (this.isNS6()){
        //ToDo: i_oElement.style.borderTopWidth gibt nichts zurück?
        var iBorderTopWidth = this.getInt(i_oElement.style.borderTopWidth);
        var iBorderBottomWidth = this.getInt(i_oElement.style.borderBottomWidth);
        iHeight -= iBorderTopWidth + iBorderBottomWidth;
    }
*/
//ToDo: geht nicht mit NS4 und Opera
    if (document.layers) {
        i_oElement.clip.height = iHeight;
    }
    else if (i_oElement.style) {
        i_oElement.style.height = iHeight + "px";
    }
}

setElementSize = function (i_oElement, i_iWidth, i_iHeight){
    this.setElementWidth(i_oElement, i_iWidth);
    this.setElementHeight(i_oElement, i_iHeight);
}

setElementPosition = function (i_oElement, i_iLeft, i_iTop){
    this.setElementLeft(i_oElement, i_iLeft);
    this.setElementTop(i_oElement, i_iTop);
}

moveElement = function (i_oElement, i_iLeft, i_iTop, i_iWidth, i_iHeight){
    this.setElementPosition(i_oElement, i_iLeft, i_iTop);
    this.setElementSize(i_oElement, i_iWidth, i_iHeight);
}

setElementVisible = function (i_oElement, i_fVisible){
    if (i_fVisible) {
        i_oElement.style.visibility = 'inherit';
    }
    else {
        i_oElement.style.visibility = 'hidden';
    }
}

image_preload = function (i_sSource) {
	sName = i_sSource;
	//Sonderzeichen z.B. ./\ entfernen, die nicht als Variablenname gültig sind
	sName = "_" + sName.replace(/(\W)+/g, "");
	eval("var sType = typeof(" + sName + ");");
	if (sType != 'undefined') return;
	eval("var " + sName + " = new Image();");
	eval(sName + ".src='" + i_sSource + "';");
}

image_change = function (i_sID, i_sSource, i_oDocument) {
    oDocument = i_oDocument ? i_oDocument : document;
    oImage = this.getImageById(i_sID, oDocument);
    if (oImage) oImage.src = i_sSource;
}

getImageById = function (i_sID, i_oDocument) {
    oDocument = i_oDocument ? i_oDocument : document;
    if (oDocument.images[i_sID]) {
        return oDocument.images[i_sID];
    }
    else if (oDocument.layers) {
    	for (var iLayerIndex = 0; iLayerIndex < oDocument.layers.length; iLayerIndex++){
    		oLayer = oDocument.layers[iLayerIndex];
    		oImage = this.getImageById(i_sID, oLayer.document);
    		if (oImage) return oImage;
    	}
	}
	return null;
}

getElementById = function (i_sID, i_oDocument) {
    oDocument = i_oDocument ? i_oDocument : document;
    if (oDocument.getElementById) {
        return oDocument.getElementById(i_sID);
    }
    else if (oDocument.all) {
        return oDocument.all[i_sID];
    }
    else if (oDocument.layers) {
        if (oDocument.layers[i_sID]) {
            var oElement = oDocument.layers[i_sID];
            oElement.style = oElement;
            return oElement;
        }
    	for (var iLayerIndex = 0; iLayerIndex < oDocument.layers.length; iLayerIndex++){
    		oLayer = oDocument.layers[iLayerIndex];
    		var oElement = this.getElementById(i_sID, oLayer.document);
    		if (oElement) return oElement;
    	}
	}
	return null;
}

setStyle = function (i_oElement, i_sClass) {
    if (!i_oElement) return;
    if (i_oElement.className) {
    	var iPos;
    	var sBaseClass;
    	var sElementClass;
    	iPos = i_sClass.lastIndexOf('_');
    	if (iPos != -1)
            sBaseClass = i_sClass.substring(0, iPos);
        else
            sBaseClass = i_sClass;

        sElementClass = i_oElement.className;
        if (sElementClass != sBaseClass) {
        	iPos = sElementClass.lastIndexOf('_');
        	while (iPos != -1) {
                sElementClass = sElementClass.substring(0, iPos);
                if (sElementClass == sBaseClass) {
                    break;
                }
            	iPos = sElementClass.lastIndexOf('_');
            }
        }
    	if (sElementClass == sBaseClass) i_oElement.className = i_sClass;
    }

	if (i_oElement.firstChild) {
		var oChild = i_oElement.firstChild;
		while (oChild) {
			this.setStyle(oChild, i_sClass);
			oChild = oChild.nextSibling;
		}
	}
}

if (this.isOpera()) {
    var fIsCookieSet = this.getCookie("OPERA");
    if (!fIsCookieSet) {
        this.setCookie("OPERA", parseInt(navigator.appVersion), 3600 * 24 * 365);
        fIsCookieSet = this.getCookie("OPERA");
        if (fIsCookieSet) document.location.reload();
    }
}