function SwfReplacement()
{
     document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="760" height="415">\n');
	 document.write('<param name=movie value="includes/flash/header.swf">\n');
	 document.write('<param name="quality" value="high" />\n');
	 document.write('<embed src="includes/flash/header.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="760" height="415" wmode="opaque"></embed>\n');
	 document.write('</object>\n');
}

function startList() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("navigation");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}

function initAgendaPaginering()	{
	if( paginering = document.getElementById('col1') )
	{
		html = '';
		e = paginering.getElementsByTagName('*');
		
		for(i = 0; i < e.length; i++ ){
			if( e[i].className == 'currentPage' ){
				html += '<option selected>'+e[i].innerHTML+'</option>';
			}
			else if( e[i].tagName == 'A' ){
				html += '<option value="'+e[i].href+'">'+e[i].innerHTML+'</option>';
			}
		}
		
		paginering.innerHTML = '<select onchange="window.location=this.value;">'+html+'</select>';
	}
	
	if( paginering = document.getElementById('col2') )
	{
		html = '';
		e = paginering.getElementsByTagName('*');
		
		for(i = 0; i < e.length; i++ ){
			if( e[i].className == 'currentPage' ){
				html += '<option selected>'+e[i].innerHTML+'</option>';
			}
			else if( e[i].tagName == 'A' ){
				html += '<option value="'+e[i].href+'">'+e[i].innerHTML+'</option>';
			}
		}
		
		paginering.innerHTML = '<select onchange="window.location=this.value;">'+html+'</select>';
	}
}
