function changeSection(sectionName, sectionTitle){
	if (sectionTitle!=undefined){
		document.title = sectionTitle;
	}
	window.location.hash = "#/" + sectionName;
}

function changeLanguage(param_language){
	var currentLocation = window.location.toString();
	var newLocation = currentLocation.split("/");
	newLocation.splice(newLocation.length-2,1,param_language);
	newLocation = newLocation.join("/");
	window.location = newLocation;
}

function thisMovie(movieName) {
	if (navigator.appName.indexOf("Microsoft") != -1) {
		return window[movieName]
	}else {
		return document[movieName]
	}
}

function setFlashWidth(divid, newW){
		document.getElementById(divid).style.width = newW+"px";
}

function setFlashHeight(divid, newH){
		document.getElementById(divid).style.height = newH+"px";  
}

function setFlashSizeOpen(divid) {
		setFlashWidth(divid, 980);
		setFlashHeight(divid, 520);
}
function setFlashSizeClose(divid) {
		setFlashWidth(divid, 980);
		setFlashHeight(divid, 105);
}

function menuRoll(param_status) {
	var btn = document.getElementById("flashcontent"); 
	if (param_status=="on"){   
		btn.className= "flashcontentOn";  
	}else{
		 btn.className= "flashcontentOff";  
	}
}