function people(page,level) {

		directorPage = '../people/' + page + '_f.html';

		if (level == '2') {
			directorPage = '../' + directorPage;
		}
		top.parent.frames['main'].location.href = directorPage;


	leftFrame = "" + top.parent.frames['menu'].location;
	lf_length = leftFrame.length;
	leftFrame = leftFrame.substring(lf_length - 16, lf_length);

	if (leftFrame != 'people/menu.html') {

		leftPage = '../people/menu.html';
		if (level == '2') {
			leftPage = '../' + leftPage;
		}

		top.parent.frames['menu'].location.href = leftPage;
	}

}

function peoplex(page,level) {

	if (top.parent.frames['main'].frames['heading']) {

		headingFrame = "" + top.parent.frames['main'].frames['heading'].location;
		rf_length = headingFrame.length;
		headingFrame = headingFrame.substring(rf_length - 19, rf_length);

		directorPage = '../people/' + page + '.html';
		peoplePage = '../people/heading.html';

		if (level == '2') {
			directorPage = '../' + directorPage;
			peoplePage = '../' + peoplePage;
		}

		if (headingFrame != 'people/heading.html') {
			top.parent.frames['main'].frames['heading'].location.href = peoplePage;
		}
		top.parent.frames['main'].frames['contents'].location.href = directorPage;

	}
	else {
		top.parent.frames['main'].location.href = '../people/people.html';
	}

	leftFrame = "" + top.parent.frames['menu'].location;
	lf_length = leftFrame.length;
	leftFrame = leftFrame.substring(lf_length - 16, lf_length);

	if (leftFrame != 'people/menu.html') {

		leftPage = '../people/menu.html';
		if (level == '2') {
			leftPage = '../' + leftPage;
		}

		top.parent.frames['menu'].location.href = leftPage;
	}

}

function film(who) {
	top.parent.frames['menu'].location.href = "../films/menu.html";
	top.parent.frames['main'].location.href = "../films/" + who + "/main.html";
}


function contactus(dir){

	appPopupX = 80;
	appPopupY = 80;

	if (dir == null) dir = "";
	url = dir + "../main/contactus.html";

	appPopup = window.open(url,"appPopup","toolbar=no,width=200,height=150,top=" + appPopupY + ",left=" + appPopupX + ",directories=no,status=no,scrollbars=no,resizable=no,menubar=no")
	appPopup.moveTo(appPopupX,appPopupY);
	appPopup.focus();

}