// JavaScript Document
function displayFlashInfo(loc) {
	if (flash) {
		flash.updateSection(loc);
	} else if (parent.flash) {
		parent.flash.updateSection(loc);
	}
}
function setSectionInJavaScript(loc) {
	displayFlashInfo(loc);
}
function setTag(str) {
	document.location.href = "#"+str;
}
function refreshPage() {
	document.location.reload();
}
function setTitle(name) {
	document.title = "Triumph: You Are Wonderful | "+name;
}
function change(str) {
	displayFlashInfo("?"+str);
	updateIframe("hiddenframe.php?"+str);
}
function getLocation() {
	return window.location.toString();
}
function updateIframe(loc) {
	if (document.getElementById('hiddenframe')) {
		var iframe = document.getElementById('hiddenframe');
		iframe.src = loc;
		iframe.reload();
	} else {
		alert('No iFrame');
	}
}
function bookmarkSite(){
	if (document.all)
		window.external.AddFavorite(document.location.href, document.title);
	else if (window.sidebar)
		window.sidebar.addPanel(document.title, document.location.href, '')
}