// JavaScript Document
// Flash Scripts
function setHref(href) { location.href = href; } //sets new anchor
function setTitle(title) { document.title = title; } //sets new window title

var inurl=String(document.location); //initial browser state

function setPage(newPage){ //set new 'newvars' variable in flash
	//check to see if flash exists
	if (window.document.mainflash)
	//set newvars variable on _root of timeline.
	window.document.mainflash.SetVariable("newvars", unescape(newPage));
}

function checkHeader(){//if not IE, check for browser state change, and pass in variable
	if(navigator.appName.indexOf("Microsoft") == -1 && inurl!=String(document.location)){
		inurl = String(document.location);
		var mySplitResult = inurl.split("#");
		setPage(mySplitResult[1]);
	}
}
// Popup Scripts
function open_popup(gohere) {
	window.open(gohere, "popup", config="height=475,width=600,scrollbars=yes,toolbar=no,menubar=yes,resizable=yes,top=0,left=0")
}
