if (document.images) {
	var onImgArray = new Array()
	onImgArray[1] = new Image
	onImgArray[2] = new Image
	onImgArray[3] = new Image
	onImgArray[4] = new Image
	onImgArray[5] = new Image
	onImgArray[6] = new Image
	onImgArray[7] = new Image
	onImgArray[8] = new Image
	onImgArray[9] = new Image
	onImgArray[10] = new Image
	onImgArray[11] = new Image
	onImgArray[12] = new Image
	onImgArray[13] = new Image
	onImgArray[14] = new Image
	onImgArray[15] = new Image
	onImgArray[16] = new Image
	onImgArray[17] = new Image
	onImgArray[18] = new Image
	onImgArray[19] = new Image
	onImgArray[20] = new Image
	onImgArray[21] = new Image
	onImgArray[22] = new Image
	onImgArray[1].src = "images/menu/ahome.gif"
	onImgArray[2].src = "images/menu/athefilm.gif"
	onImgArray[3].src = "images/menu/athefilmmakers.gif"
	onImgArray[4].src = "images/menu/atheissue.gif"
	onImgArray[5].src = "images/menu/agetinvolved.gif"
	onImgArray[6].src = "images/menu/alinks.gif"
	onImgArray[7].src = "images/menu/apresskit.gif"
	onImgArray[8].src = "images/submenu4/aaboutmr.gif"
	onImgArray[9].src = "images/submenu4/ahistoryofmr.gif"
	onImgArray[10].src = "images/submenu4/awhatsgoingonnow.gif"
	onImgArray[11].src = "images/submenu4/acontactmr.gif"
	onImgArray[12].src = "images/submenu4/ahowyoucanhelp.gif"
	onImgArray[13].src = "images/submenu4/asynopsis.gif"
	onImgArray[14].src = "images/submenu4/acredits.gif"
	onImgArray[15].src = "images/submenu4/acharacters.gif"
	onImgArray[16].src = "images/submenu4/areviews.gif"
	onImgArray[17].src = "images/submenu4/apastscreenings.gif"
	onImgArray[18].src = "images/submenu4/ahostascreening.gif"
	onImgArray[19].src = "images/submenu4/amakeadonation.gif"
	onImgArray[20].src = "images/submenu4/acontactpolicymakers.gif"
	onImgArray[21].src = "images/submenu4/asignupfornewsletter.gif"
	onImgArray[22].src = "images/submenu4/acontactthefilmmaker.gif"

	var offImgArray = new Array()
	offImgArray[1] = new Image
	offImgArray[2] = new Image
	offImgArray[3] = new Image
	offImgArray[4] = new Image
	offImgArray[5] = new Image
	offImgArray[6] = new Image
	offImgArray[7] = new Image
	offImgArray[8] = new Image
	offImgArray[9] = new Image
	offImgArray[10] = new Image
	offImgArray[11] = new Image
	offImgArray[12] = new Image
	offImgArray[13] = new Image
	offImgArray[14] = new Image
	offImgArray[15] = new Image
	offImgArray[16] = new Image
	offImgArray[17] = new Image
	offImgArray[18] = new Image
	offImgArray[19] = new Image
	offImgArray[20] = new Image
	offImgArray[21] = new Image
	offImgArray[22] = new Image
	offImgArray[1].src = "images/menu/home.gif"
	offImgArray[2].src = "images/menu/thefilm.gif"
	offImgArray[3].src = "images/menu/thefilmmakers.gif"
	offImgArray[4].src = "images/menu/theissue.gif"
	offImgArray[5].src = "images/menu/getinvolved.gif"
	offImgArray[6].src = "images/menu/links.gif"
	offImgArray[7].src = "images/menu/presskit.gif"
	offImgArray[8].src = "images/submenu4/aboutmr.gif"
	offImgArray[9].src = "images/submenu4/historyofmr.gif"
	offImgArray[10].src = "images/submenu4/whatsgoingonnow.gif"
	offImgArray[11].src = "images/submenu4/contactmr.gif"
	offImgArray[12].src = "images/submenu4/howyoucanhelp.gif"
	offImgArray[13].src = "images/submenu4/synopsis.gif"
	offImgArray[14].src = "images/submenu4/credits.gif"
	offImgArray[15].src = "images/submenu4/characters.gif"
	offImgArray[16].src = "images/submenu4/reviews.gif"
	offImgArray[17].src = "images/submenu4/pastscreenings.gif"
	offImgArray[18].src = "images/submenu4/hostascreening.gif"
	offImgArray[19].src = "images/submenu4/makeadonation.gif"
	offImgArray[20].src = "images/submenu4/contactpolicymakers.gif"
	offImgArray[21].src = "images/submenu4/signupfornewsletter.gif"
	offImgArray[22].src = "images/submenu4/contactthefilmmaker.gif"
}
function imageOn(i) {
	if (document.images) {
		document.images["btn" + i].src = onImgArray[i].src
	}
}
function imageOff(i) {
	if (document.images) {
		document.images["btn" + i].src = offImgArray[i].src
	}
}

function displayWindow(theURL,winName,width,height) {
	newWindow = window.open(theURL,winName,"resizable=no,toolbar=no,location=no,width=" + width + ",height=" + height + ",directories=no,status=no,scroll=no,scrollbars=no,menubar=no,left=120,top=120");
	newWindow.focus();
	return;
}

function embedQuicktime(movieAddress, width, height) {
    //remember to add 16 vertical pixels for the nav bar
	document.writeln('<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0" width="'+width+'" height="'+height+'"><param name="controller" value="TRUE"><param name="type" value="video/quicktime"><param name="autoplay" value="true"><param name="target" value="myself"><param name="src" value="'+movieAddress+'"><param name="pluginspage" value="http://www.apple.com/quicktime/download/indext.html"><embed src="'+movieAddress+'" width="'+width+'" height="'+height+'" autostart="true" CONTROLLER="TRUE" TARGET="myself" type="video/quicktime" BGCOLOR="#000000" BORDER="0" PLUGINSPAGE="http://www.apple.com/quicktime/download/indext.html"></EMBED></object>');
}

function embedWindowsMedia(movieAddress, width, height) {
    //remember to add 46 vertical pixels for the nav bar
    document.writeln('<OBJECT ID="MediaPlayer" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"  standby="Loading Microsoft Windows Media Player components..." TYPE="application/x-oleobject" width="'+width+'" height="'+height+'"><PARAM NAME="FileName" VALUE="'+movieAddress+'" width="'+width+'" height="'+height+'"><PARAM NAME="autostart" VALUE="true"><EMBED TYPE="application/x-mplayer2" pluginspage="http://www.microsoft.com/windows95/downloads/contents/wurecommended/s_wufeatured/mediaplayer/default.asp" SRC="'+movieAddress+'" Name=MediaPlayer ShowControls=1 ShowDisplay=0 ShowStatusBar=0 width='+width+' height='+height+' AUTOPLAY="true"></EMBED></OBJECT>');
}


