

window.onload = function() {
	
	dhtmlHistory.initialize();
	dhtmlHistory.addListener(oberonHistoryChange);
//	thisMovie('oberonflash').init();
}

function oberonHistoryChange(newLocation, historyData) {
	var historyMsg = (typeof historyData == "object" && historyData != null
		? historyStorage.toJSON(historyData)
		: historyData
	);
	try {
		thisMovie('oberonflash').goBack();
	}catch(e){
	
	}
	
}

function setPathArray(k) {
	dhtmlHistory.add(k, '');
	pageTracker._trackPageview(k);
}



function thisMovie(movieName) {
	if (document.embeds && document.embeds[movieName]){
		return document.embeds[movieName]; 
	} else if (window.document[movieName]) {
		return window.document[movieName];
	} else {
		return document.getElementById(movieName);
	}
}
