function switchHeader(url) {
	
 var header = document.getElementById("CMSheader");
 header.innerHTML="<img src='/Images/pixel.gif' width=960 height=220>";
 header.style.background = "#000000 url('"+url+"') no-repeat center center fixed";
 
}
function goURL(lang,v1,v2,v3) {
	
	location.href='/'+lang+'/'+v1+"/"+v3+".html";
	return false;

}

function showFlv(url) {
	var html = "<iframe src='/flashplayer/flvplayer.php?f="+url+"' width=960 height=220 frameborder=0 style='border:0;overflow: hidden'></iframe>";
	document.getElementById("CMSheader").innerHTML = html;
	
}

function showPano(pano) {
	var html = "<iframe src='http://www.we-are.tv/AVE/VR_AVE/Collection/panoviewer.php?pano="+pano+"' width=480 height=270 frameborder=0 style='border:0;overflow: hidden;'></iframe>";
	document.getElementById("CMSheader").innerHTML = html;
	

}


function showFlashVideo(url) {

	var so = new SWFObject('/flashplayer/player.swf','mpl','100%','100%','9');
	so.addParam('allowscriptaccess','always');
	so.addParam('allowfullscreen','true');
	so.addParam('flashvars','autostart=true&controlbar=over&file='+url);
	so.write('mediaPlayer');
return false;
	
}
