		// v1.0 write content in layer (c) Gerben Versluis
		function settext(id, exporttext) {
			if (document.getElementById)	// DOM1
				document.getElementById(id).innerHTML=exporttext
			else if (document.all)		// ie
				document.all[id].innerHTML=exporttext
			else if (document.layers) {	// ns
				with(document.layers[id].document) {
					open();
					write(exporttext);
					close();
				}
			}
		}

		function getimgMSIE(checkdoc, name) {
			for (i in checkdoc) {
				if (checkdoc[i].tagName=="IMG") {
					if (checkdoc[i].id==name) return checkdoc[i];
				} else if (checkdoc[i].children) {
					link=getimgMSIE(checkdoc[i].children);
					if (link) return link;
				}
			} return false;
		}

		// returns first anchor element in another element (id) DOM & MSIE only
		function findimg(id, name) {
			if (document.getElementById) { // jeej DOM supported
				element=document.getElementById(id);
				for (i=0; i<element.getElementsByTagName("IMG").length; i++) {
					link=element.getElementsByTagName("IMG")[i];
					if (link.id==name) break;
				}
			} else if (document.all) {		// old MSIE
				link=getimgMSIE(document.all[id].children,name);
			}
			return link;
		}


		function ceinit(id) {
			if (document.getElementById) {	// DOM1

				document.getElementById(id).style.heightoriginal=document.getElementById(id).style.height;
			} else if (document.all) {		// ie
				if (document.all[id].style)
					document.all[id].style.heightoriginal=document.all[id].style.height;
			}
		}

		function ceinverse(id) {
			if (document.getElementById || document.all) {
				var img=findimg(id, "arrowdown");
				if (img) {	// not false or null
//					alert(img.style.visibility);
					if (img.style.visibility!="hidden") {
						cedown(id);
					} else {
						ceup(id);
					}
				}
			}
		}

		function cedown(id) {
			if (document.getElementById) {	// DOM1
				document.getElementById(id).style.height="";
//				alert(""+document.getElementById(id).style.height+" : "+document.getElementById(id).style.heightoriginal);
				findimg(id, "arrowdown").style.visibility="hidden";
			} else if (document.all) {		// ie
				if (document.all[id].style) {
					document.all[id].style.height=document.all[id].style.scrollHeight;
					var img=findimg(id, "arrowdown");
					if (img) img.style.visibility="hidden";
				}
			}
		}

		function ceup(id) {
			if (document.getElementById) {
				document.getElementById(id).style.height="21px";
				findimg(id, "arrowdown").style.visibility="visible";
			} else if (document.all) {		// ie
				if (document.all[id].style) {
					document.all[id].style.height="21px";
					var img=findimg(id, "arrowdown");
					if (img) img.style.visibility="visible";
				}
			}
		}