﻿// Set up the image files to be used.
        
        var theImages = new Array() // do not change this
        
// To add more image files, continue with the
// pattern below, adding to the array.

        theImages[0] = 'navimages/dovesite-775px-h-famoffour.jpg'
        theImages[1] = 'navimages/dovesite-775px-h-family.jpg'
        theImages[2] = 'navimages/dovesite-775px-h-gramps.jpg'
        theImages[3] = 'navimages/dovesite-775px-h-popcorn.jpg'
        theImages[4] = 'navimages/dovesite-775px-h-tv.jpg'
        theImages[4] = 'navimages/dovesite-775px-h-videostore.jpg'

// do not edit anything below this line

        var j = 0
        var p = theImages.length;
        var preBuffer = new Array()
        for (i = 0; i < p; i++) {
            preBuffer[i] = new Image()
            preBuffer[i].src = theImages[i]
        }
        var whichImage = Math.round(Math.random() * (p - 1));
        function showImage() {
            document.write('<IMG NAME="dovesite_775px_01" SRC="' + theImages[whichImage] + '" WIDTH=775 HEIGHT=147 BORDER=0 ALT="" USEMAP="#dovesite_775px_01_Map">');
        }

//  End

        HM_PG_MenuWidth = 150;
        HM_PG_FontFamily = "arial";
        HM_PG_FontSize = 10;
        HM_PG_FontBold = 0;
        HM_PG_FontItalic = 0;
        HM_PG_FontColor = "red";
        HM_PG_FontColorOver = "white";
        HM_PG_BGColor = "#696969";
        HM_PG_BGColorOver = "#A9A9A9";
        HM_PG_ItemPadding = 1;

        HM_PG_BorderWidth = 2;
        HM_PG_BorderColor = "black";
        HM_PG_BorderStyle = "solid";
        HM_PG_SeparatorSize = 1;
        HM_PG_SeparatorColor = "#C0C0C0";

        HM_PG_ImageSrc = "HM_More_white_right.gif";
        HM_PG_ImageSrcLeft = "HM_More_black_left.gif";
        HM_PG_ImageSrcOver = "HM_More_white_right.gif";
        HM_PG_ImageSrcLeftOver = "HM_More_white_left.gif";

        HM_PG_ImageSize = 5;
        HM_PG_ImageHorizSpace = 0;
        HM_PG_ImageVertSpace = 2;

        HM_PG_KeepHilite = true;
        HM_PG_ClickStart = 0;
        HM_PG_ClickKill = false;
        HM_PG_ChildOverlap = 20;
        HM_PG_ChildOffset = 10;
        HM_PG_ChildPerCentOver = null;
        HM_PG_TopSecondsVisible = .5;
        HM_PG_StatusDisplayBuild = 0;
        HM_PG_StatusDisplayLink = 0;
        HM_PG_UponDisplay = null;
        HM_PG_UponHide = null;
        HM_PG_RightToLeft = 0;

        HM_PG_CreateTopOnly = 0;
        HM_PG_ShowLinkCursor = 1;
        HM_PG_NSFontOver = true;

        //HM_a_TreesToBuild = []

			    function newImage(arg) {
			        if (document.images) {
			            rslt = new Image();
			            rslt.src = arg;
			            return rslt;
			        }
			    }
			    function changeImagesArray(array) {
			        if (preloadFlag == true) {
			            var d = document; var img;
			            for (var i = 0; i < array.length; i += 2) {
			                img = null; var n = array[i];
			                if (d.images) { img = d.images[n]; }
			                if (!img && d.getElementById) { img = d.getElementById(n); }
			                if (img) { img.src = array[i + 1]; }
			            }
			        }
			    }
			    function changeImages() {
			        changeImagesArray(changeImages.arguments);
			    }


			    var preloadFlag = false;
			    function preloadImages() {
			        if (document.images) {
			            homebutton_over = newImage('navimages/homebutton-over.jpg');
			            aboutdovebutton_over = newImage('navimages/aboutdovebutton-over.jpg');
			            reviewsbutton_over = newImage('navimages/reviewsbutton-over.jpg');
			            newsbutton_over = newImage('navimages/newsbutton-over.jpg');
			            producersbutton_over = newImage('navimages/producersbutton-over.jpg');
			            filmfestivalbutton_over = newImage('navimages/filmfestivalbutton-over.jpg');
			            moviebutton_over = newImage('navimages/dovespotlight-btn-over.jpg');
			            opinionpollbutton_over = newImage('navimages/opinionpollbutton-over.jpg');
			            preloadFlag = true;
			        }
			    }
