<!--
		
	var iIndex = 1;
	var sKey = "";
	var sMode = "";

	function content(blockID,imgID) {
		if (blockID.style.display == "block") {
			blockID.style.display = "none";
			imgID.src="images/close.gif";
		}
		else {
			blockID.style.display = "block";			
			imgID.src="images/open.gif";
		}
		window.event.cancelBubble=true;
	}

	function contentcolor(blockID,imgID,color) {
		if (blockID.style.display == "block") {
			blockID.style.display = "none";
			imgID.src="images/open_" + color + ".gif";
		}
		else {
			blockID.style.display = "block";			
			imgID.src="images/close_" + color + ".gif";
		}
		window.event.cancelBubble=true;
	}

	function childs(blockID,imgID) {
		if (blockID.style.display == "block") {
			blockID.style.display = "none";
			imgID.src="images/plus.gif";
		}
		else {
			blockID.style.display = "block";			
			imgID.src="images/minus.gif";
		}
	}
		
	function showMenueElement(menueID,offx,offy,width) {
		var top = 0;
		var left = 0;
		top = window.event.srcElement.offsetTop;
		left = window.event.srcElement.offsetLeft;
		objParent = window.event.srcElement.offsetParent;
		while (objParent.tagName.toUpperCase() != "BODY") {
			top += objParent.offsetTop;
			left += objParent.offsetLeft;
			objParent = objParent.offsetParent;
		}
		menueID.style.top = top + offy;
		menueID.style.left = left + offx;
		menueID.style.width = width;
		for (i=0; i < menues.all.length; i++) {
			if (menues.all[i].className == "menue") {
				menues.all[i].style.display = "none";
			}
		}
		for (i=0; i < menues2.all.length; i++) {
			if (menues2.all[i].className == "menue") {
				menues2.all[i].style.display = "none";
			}
		}
		menueID.style.display = 'block';
	}
		
	function showMenueMousePos(menueID) {
		if (event.button == 1) {
			window.event.cancelBubble=true;
			menueID.style.top = window.event.clientY + document.body.scrollTop - 10;
			menueID.style.left = window.event.clientX - 10;
			menueID.style.display = 'block';
			//return false;
		}
	}
	
	function hidemenue(menueID) {
		if ((window.event.offsetX < 0) || (window.event.offsetX > menueID.offsetWidth - 2) || 
		    (window.event.offsetY < 0) || (window.event.offsetY > menueID.offsetHeight - 2))
			menueID.style.display = 'none';
	}
	
	function hidemenuesall() {
		for (i=0; i < menues.all.length; i++) {
			if (menues.all[i].className == "menue") {
				menues.all[i].style.display = "none";
			}
		}
		for (i=0; i < menues2.all.length; i++) {
			if (menues2.all[i].className == "menue") {
				menues2.all[i].style.display = "none";
			}
		}
	}
	
	function setkey(key) {
		sKey = key;
	}
	
	function setURL(anchorID) {
		anchorID.href = anchorID.href + sKey;
	}
	
	function funwin(navString) {
		s = navString
		if (sKey != "") s = s + sKey;
		window.name = "parent";
		funwindow = window.showModelessDialog(s,"","dialogWidth:600px;dialogHeight:450px;center:yes");
	}
	
	function showBars() {
		for (i=0; i < bars.all.length; i++) {
			if (bars.all[i].className == "bar") {
				bars.all[i].style.visibility = "visible";
			}
		}
	}
	function hideBars() {
		for (i=0; i < bars.all.length; i++) {
			if (bars.all[i].className == "bar") {
				bars.all[i].style.visibility = "hidden";
			}
		}
	}
	
	function lowTabs(color) {
		for (i=0; i < bars.all.length; i++) {
			if (bars.all[i].className == "tab") {
				bars.all[i].style.backgroundColor = color;
			}
		}
	}
	
	function showError(id) {
		if (id != null) {
			id.style.backgroundColor = '#ffcccc';
		}
	}
		
	function io_show(parentid,classname,id) {
		if (classname != "") {
			for (i=0; i < document.getElementById(parentid).childNodes.length; i++) {
				if (document.getElementById(parentid).childNodes[i].className == classname) {
					document.getElementById(parentid).childNodes[i].style.display = 'none';
				}
			}
		}
		document.getElementById(id).style.display = 'block';
	}
		
	function io_hideall(parentid,classname) {
		for (i=0; i < document.getElementById(parentid).all.length; i++) {
			if (document.getElementById(parentid).childNodes.getElementById(i).className == classname) {
				document.getElementById(parentid).childNodes.getElementById(i).style.display = 'none';
			}
		}
	}
		
	function io_hide(parentid,id) {
		document.getElementById(id).style.display = 'none';
	}
	
	function openwindow(url,name,features) {
		window.open(url,name,features);
	}
		
	function io_imagesrc(id,src) {
		document.images[id].src = src;
	}
	
	function doaction(id,on,action,target,cols,col,level) {
		if (level == 0) {
			parent.frames["header"].navigate("page.asp?id=header&idi=h&cat=" + id + "&cols=" + cols);
			parent.frames["nav_main"].navigate("page.asp?id=nav_main&idi=nm&cat=" + id + "&cols=" + cols);
		};
		if (level >= 0) {
			parent.frames["nav_theme"].navigate("page.asp?id=nav_theme&idi=nt&cat=" + id + "&cols=" + cols);
		};
		if (on == 1) {
			if (target == "") {
				navigate(action);
			}
			else if (target == "_blank") {
				window.open(action);
			}
			else if ((target == "_top") || (target == "_parent")) {
				parent.navigate(action);
			}
			else {
				parent.frames[target].navigate(action + "&idi=&cat=" + id + "&cols=" + cols);
			}
		}
	}

//-->

