

function loadInFrames()
{
//framesetpage="index.asp";
//thispage=window.location.href;
//if (thispage.indexOf('://')<0) {thispage="://"+thispage;};
//prefix=thispage.substring(0,thispage.lastIndexOf('://'));
//suffix=thispage.substring(thispage.lastIndexOf('://')+3,thispage.length);
//// alert('the subpage is:['+prefix+']['+suffix+']');
//if (parent.location.href==window.location.href) {parent.location.href=framesetpage+"?"+prefix+"&&&"+suffix};

//if (parent.location.href == self.location.href)
//window.location.href = 'index.asp';

if (self == top)
{
var url = self.location;
self.location = "index.asp?" + url;
}

}


function themoviestring()
{
	//IE and Netscape refer to the object differently
	//This function returns the appropriate syntax depending on the browser
	if (navigator.appName.indexOf("Microsoft")!=-1)
	      { return window.parent.topframe.timeline }
	else { return window.parent.topframe.document.timeline }
}

function timelineJump(sectno,infono)
{

themoviestring().SetVariable("sectno", sectno);
themoviestring().SetVariable("infono", infono);
}

function delayedTimelineJump(sectno,infono)
{
	setTimeout("timelineJump("+sectno+","+infono+")",1500)
}



function printWindow() {
bV = parseInt(navigator.appVersion);
if (bV >= 4) window.print();
}

function openGlossary(theTerm) {
	var glossaryWin = window.open("glossaryPopup.asp?t="+theTerm,"glossWin","top=100,left=100,width=300,height=250,scrollbars,resizable");
	glossaryWin.focus();
}
