<!--
		
	var iIndex = 1;
	var sKey = "";
	var sMode = "";
	var actShowItem = new Object();	

	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,hide) {
		var v;
		if (hide != null) {
			v=hide.split('|');
			for (i=0; i < v.length; i++) {
				document.getElementById(v[i]).style.display = 'none';
			}
		}
		if (actShowItem[classname] != null) {
			document.getElementById(actShowItem[classname]).style.display = 'none';
		}
		document.getElementById(id).style.display = 'block';
		actShowItem[classname] = id;
	}
		
	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);
			}
		}
	}
	
	function getFlashMovieObject() {
		var errmsg = 'Sorry, your browser is missing the functionality for viewing this page...';
		alert(errmsg);
		return false;
	}
		
	function loadClip(i) {
		var notLoaded = 'Not loaded yet, please wait and try again...';
				
		//alert('flash nav says: ' + i + ', to container...');
				
				
		var movieObj = getFlashMovieObject();
		var amount = movieObj.PercentLoaded();
		if (amount==100) {
			if (i=='play'){
				//alert('play')
				movieObj.Play();
			}else{
				movieObj.GotoFrame(i);
			}
		} else {
			alert(notLoaded);
		}
	}

	function openwindow(url,name,features) {
		window.open(url,name,features);
	}

//-->
