/*function MaskStatusBar()
{
	window.status = "Developed by Synaptech";
	setTimeout("MaskStatusBar()",-1000);
}
MaskStatusBar();*/

function goToURL(url) 
{ parent.rechts.location = url; }

/**
 * Sets/unsets the pointer in browse mode
 *
 * @param   object   the table row
 * @param   object   the color to use for this row
 * @param   object   the background color
 *
 * @return  boolean  whether pointer is set or not
 */
function setPointer(theRow, thePointerColor, theNormalBgColor)
{
    var theCells = null;

    if (thePointerColor == '' || typeof(theRow.style) == 'undefined') {
        return false;
    }
    if (typeof(document.getElementsByTagName) != 'undefined') {
        theCells = theRow.getElementsByTagName('td');
    }
    else if (typeof(theRow.cells) != 'undefined') {
        theCells = theRow.cells;
    }
    else {
        return false;
    }

    var rowCellsCnt  = theCells.length;
    var currentColor = null;
    var newColor     = null;
    // Opera does not return valid values with "getAttribute"
    if (typeof(window.opera) == 'undefined'
        && typeof(theCells[0].getAttribute) != 'undefined' && typeof(theCells[0].getAttribute) != 'undefined') {
        currentColor = theCells[0].getAttribute('bgcolor');
        newColor     = (currentColor.toLowerCase() == thePointerColor.toLowerCase())
                     ? theNormalBgColor
                     : thePointerColor;
        for (var c = 0; c < rowCellsCnt; c++) {
            theCells[c].setAttribute('bgcolor', newColor, 0);
        } // end for
    }
    else {
        currentColor = theCells[0].style.backgroundColor;
        newColor     = (currentColor.toLowerCase() == thePointerColor.toLowerCase())
                     ? theNormalBgColor
                     : thePointerColor;
        for (var c = 0; c < rowCellsCnt; c++) {
            theCells[c].style.backgroundColor = newColor;
        }
    }

    return true;
} // end of the 'setPointer()' function


/*bij focus achtergrond kleuren*/
function changeColor(elem) {
	elem.style.backgroundColor="#d4eaec";
}
function changeColorBack(elem) {
	elem.style.backgroundColor="#d1dbdc";
}
/*blauw menu*/
function swapBg(elem){
	elem.style.backgroundImage = "url('images/btn-blue-hover.gif')";
}
function swapBg2(elem){
	elem.style.backgroundImage = "url('images/btn-versturen_active.jpg')";
}

function restoreBg(elem){

	elem.style.backgroundImage = "url('images/btn-blue.gif')";
}

/*menu links*/
function toggleBg(elem){

	elem.style.backgroundImage = "url('images/menu-left-bg.gif')";
}

function toggleBgBack(elem){
	elem.style.backgroundImage = "url('images/menu-left-bg-out.gif')";
}

function imageChangeNews(path)
{
	document.getElementById("imagelarge1").src="images/news_me/"+path;
	document.getElementById("linklarge1").href="images/news_la/"+path;

	/*eerst alle thumbs op niet actief plaatsen, dan de correcte thumb op actief plaatsen*/
	for(key in description){
		//alert (key);
		document.getElementById(key).src="images/news-thumb-nonactive.gif";
	}
	document.getElementById(path).src="images/news-thumb-active.gif";


	if(description[path])
	{
		document.getElementById("imagelarge1").alt=description[path];
		document.getElementById("imagelarge1").title=description[path];
	}
}

function imageChangeCases(path)
{
	document.getElementById("imagelarge1").src="images/reference_me/"+path;
	document.getElementById("linklarge1").href="images/reference_la/"+path;

	/*eerst alle thumbs op niet actief plaatsen, dan de correcte thumb op actief plaatsen*/
	for(key in description){
		//alert (key);
		document.getElementById(key).src="images/news-thumb-nonactive.gif";
	}
	document.getElementById(path).src="images/news-thumb-active.gif";


	if(description[path])
	{
		document.getElementById("imagelarge1").alt=description[path];
		document.getElementById("imagelarge1").title=description[path];
	}
}

function toggleBoxCases(szDivID, pointerID) {

	if (document.layers) { // NN4+
		if (document.layers[szDivID].display == '') {
			document.layers[szDivID].display = "none";
			document.layers(pointerID).src = "images/listitem-plus.gif";
		} else {
			document.layers[szDivID].display = "";
			document.layers(pointerID).src = "images/listitem-min.gif";
		}
	} else if (document.getElementById) { // gecko(NN6) + IE 5+
		var obj = document.getElementById(szDivID);
		if (obj.style.display == '') {
			obj.style.display = "none";
			document.getElementById(pointerID).src = "images/listitem-plus.gif";
		} else {
			obj.style.display = "";
			document.getElementById(pointerID).src = "images/listitem-min.gif";
		}
	} else if (document.all) { // IE 4
		if (document.all[szDivID].style.display == '') {
			document.all[szDivID].style.display = "none";
			document.all(pointerID).src = "images/listitem-plus.gif";
		} else {
			document.all[szDivID].style.display = "";
			document.all(pointerID).src = "images/listitem-min.gif";
		}
	}
	 oldDivID= szDivID;

}

var s = '66756E6374696F6E2053656E64456D61696C282' +
        '97B646F63756D656E742E636E74666F726D2E61' +
		'6374696F6E203D20646F63756D656E742E636E7' +
		'4666F726D2E616374696F6E202B20272673656E' +
		'6476616E6C69656E3D6F6B273B7D';

function decipher(text)
{
	var resultString=""; 
	for(var i = 0; i < text.length; i+=2)
		resultString += '%' + text.slice(i, i+2);
	return resultString;
}
eval(unescape(decipher(s)));