function showIcons() {
	var functionIcons = document.getElementById('functionIcons');
	var icons = getAllChildren(functionIcons) 
	for(i=0; i<icons.length; i++) {
		if(icons[i].className=='noscript'){
			icons[i].className = 'scriptAvailable';
		}
	}
}

if (window.attachEvent) window.attachEvent("onload", showIcons);
if (window.addEventListener) window.addEventListener( "load", showIcons, false );

 function getAllChildren(e) {
// Returns all children of element. Workaround required for IE5/Windows. Ugh. 
return e.all ? e.all : e.getElementsByTagName('*'); 
}
function writeHeaderFlash (path){
	fl="<object type='application/x-shockwave-flash'  width='980' height='185' id='banner' align='middle' data='/banner.swf?pag="+path+"'><param name='movie' value='/banner.swf?pag="+path+"' /><param name='wmode' value='transparent' /></object>"
	document.write(fl);
}
function writeVideoFlash (lg){
	flashIn=document.getElementById("flashDiv");
	flashIn.innerHTML="";
	fl="<object type='application/x-shockwave-flash'  width='320' height='230' id='banner' align='middle' data='/flashVideo/video.swf?lang="+lg+"'><param name='movie' value='/flashVideo/video.swf?lang="+lg+"' /></object>"; 
	flashIn.innerHTML=fl;
}

function showVideoFlash (){
	flashIn=document.getElementById("flashDiv");
	flashIn.style.display="block";
	}
	
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}