/* This file incorporates a number of JavaScript functions
common to all the pages on our web site (e.g.: function
that draws a menu at the top of the page, a links
list and signature at the bottom of the page) */

var maxindex = 25;
var maxindex_folder = 25;
var oldimagearray = new Array();
var currentimagearray = new Array();
var imagearray = new Array();
var folderarray = new Array();
var folder_file = new Image();




function WM_preloadImages() {

/*
WM_preloadImages()
Loads images into the browser's cache for later use.

Source: Webmonkey Code Library
(http://www.hotwired.com/webmonkey/javascript/code_library/)

Author: Nadav Savio
Author Email: nadav@wired.com

Usage: WM_preloadImages('image 1 URL', 'image 2 URL', 'image 3 URL', ...);
*/

  // Don't bother if there's no document.images
  if (document.images) {
    if (typeof(document.WM) == 'undefined'){
      document.WM = new Object();
    }
    document.WM.loadedImages = new Array();
    // Loop through all the arguments.
    var argLength = WM_preloadImages.arguments.length;
    for(arg=0;arg<argLength;arg++) {
      // For each arg, create a new image.
      document.WM.loadedImages[arg] = new Image();
      // Then set the source of that image to the current argument.
      document.WM.loadedImages[arg].src = WM_preloadImages.arguments[arg];
    }
  }
}


function loadimages()
{
   for (i = 0; i <= maxindex_folder+15; i++)
   {
      imagearray[i] = new Image();
      oldimagearray[i] = new Image();
      folderarray[i] = new Image();
   }

   imagearray[0].src = ".//images//home_b.gif";
   imagearray[1].src = ".//images//vancomelady_b.gif";
   imagearray[2].src = ".//images//bio_b.gif";
   imagearray[3].src = ".//images//antoniap_b.gif";
   imagearray[4].src = ".//images//filmography_b.gif";
   imagearray[5].src = ".//images//darlenemcbride_b.gif";
   imagearray[6].src = ".//images//roles_b.gif"
   imagearray[7].src = ".//images//guestbook_b.gif";
   imagearray[8].src = ".//images//pictures_b.gif";
   imagearray[9].src = ".//images//links_b.gif";
   imagearray[10].src = ".//images//soundvideo_b.gif";
   imagearray[11].src = ".//images//review_b.gif";
   imagearray[12].src = ".//images//transcript_b.gif";
   imagearray[13].src = ".//images//news_b.gif";
   imagearray[14].src = ".//images//char_b.gif";
   imagearray[15].src = ".//images//baby_b.gif";
   imagearray[16].src = ".//images//talktome_b.gif";
   imagearray[17].src = ".//images//movies_b.gif";
   imagearray[18].src = ".//images//theater_b.gif";
   imagearray[19].src = ".//images//message_b.gif";
   imagearray[20].src = ".//images//kingofqueens_b.gif";
   imagearray[21].src = ".//images//kimpossible_b.gif";
   imagearray[22].src = ".//images//clonehigh_b.gif";
   imagearray[23].src = ".//images//hotproperties_b.gif";
   imagearray[24].src = ".//images//raines_b.gif";
   imagearray[25].src = ".//images//email_b.gif";
   imagearray[26].src = ".//images//email_b.gif";
   imagearray[27].src = ".//images//email_b.gif";
   imagearray[28].src = ".//images//email_b.gif";
   imagearray[29].src = ".//images//email_b.gif";
   imagearray[30].src = ".//images//email_b.gif";
   imagearray[31].src = ".//images//email_b.gif";

   oldimagearray[0].src = ".//images//home.gif";
   oldimagearray[1].src = ".//images//vancomelady.gif";
   oldimagearray[2].src = ".//images//bio.gif";
   oldimagearray[3].src = ".//images//antoniap.gif";
   oldimagearray[4].src = ".//images//filmography.gif";
   oldimagearray[5].src = ".//images//darlenemcbride.gif";
   oldimagearray[6].src = ".//images//roles.gif"
   oldimagearray[7].src = ".//images//guestbook.gif";
   oldimagearray[8].src = ".//images//pictures.gif";
   oldimagearray[9].src = ".//images//links.gif";
   oldimagearray[10].src = ".//images//soundvideo.gif";
   oldimagearray[11].src = ".//images//review.gif";
   oldimagearray[12].src = ".//images//transcript.gif";
   oldimagearray[13].src = ".//images//news.gif";
   oldimagearray[14].src = ".//images//char.gif";
   oldimagearray[15].src = ".//images//baby.gif";
   oldimagearray[16].src = ".//images//talktome.gif";
   oldimagearray[17].src = ".//images//movies.gif";
   oldimagearray[18].src = ".//images//theater.gif";
   oldimagearray[19].src = ".//images//message.gif";
   oldimagearray[20].src = ".//images//kingofqueens.gif";
   oldimagearray[21].src = ".//images//kimpossible.gif";
   oldimagearray[22].src = ".//images//clonehigh.gif";
   oldimagearray[23].src = ".//images//hotproperties.gif";
   oldimagearray[24].src = ".//images//raines.gif";
   oldimagearray[25].src = ".//images//email.gif";
   oldimagearray[26].src = ".//images//email.gif";
   oldimagearray[27].src = ".//images//email.gif";
   oldimagearray[28].src = ".//images//email.gif";
   oldimagearray[29].src = ".//images//email.gif";
   oldimagearray[30].src = ".//images//email.gif";
   oldimagearray[31].src = ".//images//email.gif";

   folderarray[0].src = ".//images//logobottom.gif";
   folderarray[1].src = ".//images//logobot_vancomelady.gif";
   folderarray[2].src = ".//images//logobot_bio.gif";
   folderarray[3].src = ".//images//logobot_antoniap.gif";
   folderarray[4].src = ".//images//logobot_career.gif";
   folderarray[5].src = ".//images//logobot_darlenemcbride.gif";
   folderarray[6].src = ".//images//logobot_roles.gif";
   folderarray[7].src = ".//images//logobot_guestbook.gif";
   folderarray[8].src = ".//images//logobot_pictures.gif";
   folderarray[9].src = ".//images//logobot_links.gif";
   folderarray[10].src = ".//images//logobot_soundvideo.gif";
   folderarray[11].src = ".//images//logobot_review.gif";
   folderarray[12].src = ".//images//logobot_transcripts.gif";
   folderarray[13].src = ".//images//logobot_news.gif";
   folderarray[14].src = ".//images//logobot_char.gif";
   folderarray[15].src = ".//images//logobot_babyblues.gif";
   folderarray[16].src = ".//images//logobot_talktome.gif";
   folderarray[17].src = ".//images//logobot_movies.gif";
   folderarray[18].src = ".//images//logobot_theater.gif";
   folderarray[19].src = ".//images//logobot_messages.gif";
   folderarray[20].src = ".//images//logobot_kingofqueens.gif";
   folderarray[21].src = ".//images//logobot_kimpossible.gif";
   folderarray[22].src = ".//images//logobot_clonehigh.gif";
   folderarray[23].src = ".//images//logobot_hotproperties.gif";
   folderarray[24].src = ".//images//logobot_raines.gif";
   folderarray[25].src = ".//images//logobottom.gif";
   folderarray[26].src = ".//images//logobottom.gif";
   folderarray[27].src = ".//images//logobottom.gif";
   folderarray[28].src = ".//images//logobottom.gif";
   folderarray[29].src = ".//images//logobottom.gif";
   folderarray[30].src = ".//images//logobottom.gif";
   folderarray[31].src = ".//images//logobottom.gif";

  
   for (i = 0; i <= maxindex_folder; i++)
   {
      currentimagearray[i] = new Image();
      currentimagearray[i].src = oldimagearray[i].src;
   }
}

web_file = new Array();
web_file[0] = new String("nicolesullivantop.html");
web_file[1] = new String("vancometop.html");
web_file[2] = new String("nicolebio.html");
web_file[3] = new String("antoniapage.html");
web_file[4] = new String("nicolecareer.html");
web_file[5] = new String("darlenemcbride.html");
web_file[6] = new String("nicoleappearances.html");
web_file[7] = new String("guestbook.html");
web_file[8] = new String("nicolepictures.html");
web_file[9] = new String("nicolesitelist.html");
web_file[10] = new String("nicolewavs.html");
web_file[11] = new String("review_archive.html");
web_file[12] = new String("nicoletranscripts.html");
web_file[13] = new String("nicolenews.html");
web_file[14] = new String("nicolecharacters.html");
web_file[15] = new String("nicolebabyblues.html");
web_file[16] = new String("nicoletalktome.html");
web_file[17] = new String("nicolecareerfilm.html");
web_file[18] = new String("nicoletheater.html");
web_file[19] = new String("nicolemessageboard.html");
web_file[20] = new String("nicolekingofqueens.html");
web_file[21] = new String("nicolekimpossible.html");
web_file[22] = new String("nicoleclonehigh.html");
web_file[23] = new String("nicolehotproperties.html");
web_file[24] = new String("nicoleraines.html");
web_file[25] = new String("mailto:dzien@nic.com");


var button_state = new Array(maxindex+5);

function init_button_state()
{
   for (i = 0; i < maxindex_folder+5; i++)
        button_state[i] = new Boolean(false);
}

function img_roll(state,i)
{
    var j, oldimg, newimg;
    if (document.images)
    {
       for (j = 0; j <= maxindex_folder+5; j++)
       {
          if (state == '_b')
          {
             oldimg = currentimagearray[i].src;
             newimg = imagearray[i].src;
          }
          else
          {
             oldimg = imagearray[i].src;
             newimg = currentimagearray[i].src;
          }

          if (document.images[j].src == oldimg)
             document.images[j].src = newimg;
       }
                  
    }
}

function set_button_state()
{
        var doc_name, file_name;
        var index, i;


        doc_name = new String(document.URL);

        index = doc_name.lastIndexOf("\\");
        if (index == -1)
                index = doc_name.lastIndexOf("\/");

                
       
        if (index != -1)
        {
                file_name = new String(doc_name.substr(index+1));
                for (i = 0; i <= maxindex_folder; i++)
                   if (web_file[i].match(file_name.toLowerCase()))
                      currentimagearray[i].src = imagearray[i].src;
              //     if (file_name.toLowerCase() == web_file[i].toLowerCase())
                //   {
                 //       currentimagearray[i].src = imagearray[i].src;
                  // }
        }
}

function set_folder_title()
{
        var doc_name, file_name;
        var index, i;

        doc_name = new String(document.URL);

        index = doc_name.lastIndexOf("\\");
        if (index == -1)
                index = doc_name.lastIndexOf("\/");

        folder_file.src = folderarray[0].src;

        if (index != -1)
        {
                file_name = new String(doc_name.substr(index+1));
                for (i = 0; i <= maxindex_folder; i++)
                        if (web_file[i].match(file_name.toLowerCase()))
                                folder_file.src = folderarray[i].src;
        }


}

function write_css()
{
        document.write('<link rel=stylesheet href="style.css" type="text/css">');
        //document.write('<style type="text/css">         ');
        //document.write('<!--');
        //document.write('P (text-indent: 1000pt)         ');
        //document.write('-->                           ');
        // document.write('</style>');
        //document.write('<center>Some shit</center>');
}

function format_page()
{
        // This is to define style sheet info
        // and any other tags that have to set up
        // in the header

        write_css();
}

function make_menu()
{
        WM_preloadImages('.//images//home_b.gif','.//images//vancomelady_b.gif','.//images//bio_b.gif','.//images//antoniap_b.gif','.//images//filmography_b.gif','.//images//darlenemcbride_b.gif','.//images//roles_b.gif','.//images//guestbook_b.gif','.//images//pictures_b.gif','.//images//links_b.gif','.//images//soundvideo_b.gif','.//images//reviews_b.gif','.//images//news_b.gif','.//images//babyblues.gif','.//images//babyblues_b.gif','.//images//talktome.gif','.//images//talktome_b.gif','.//images//movies.gif','.//images//movies_b.gif','.//images//theater.gif','.//images//theater_b.gif','.//images//email.gif','.//images//email_b.gif');                
        loadimages();
        set_button_state();
        set_folder_title();
        document.write('<table border="0" cellpadding="0" cellspacing="0">');
        document.write('<tr>');
        document.write('<td colspan="3" width="590" bgcolor="#F5BE1D">');
        document.write('<img src=".//images//logo.gif" height="72" width="590"></td>');        
        document.write('<td height="72" width="37"><img src=".//images//topright.gif" height="72" width="37"></td>');
        
        document.write('</tr>'); 
        document.write('<tr><td colspan="1" width="114" bgcolor="#F5BE1D">&nbsp;</td>');
        document.write('<td colspan="2" width="590"><img src="');
        document.write(folder_file.src);
        document.write('" height="27" width="590"></td>');    
        document.write('<td bgcolor="#F5BE1D">&nbsp;</td></tr>');
        //document.write('<tr><td width="114"><table border="0" cellpadding="0" cellspacing="0"><tr>');

        document.write('<tr><td valign="top" bgcolor="#F5BE1D" width="114">');

        document.write('<table width="114" valign="top">');
        document.write('<tr><td>&nbsp;</td></tr>');
        document.write('<tr>');
        document.write('<a href="nicolesullivantop.html" onMouseOver="');
        document.write("img_roll('_b',0)");
        document.write('" onMouseout="');
        document.write("img_roll('',0)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[0].src);
        document.write('" alt="Home" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="nicolebio.html" onMouseOver="');
        document.write("img_roll('_b',2)");
        document.write('" onMouseout="');
        document.write("img_roll('',2)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[2].src);
        document.write('" alt="Bio Sheet" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="nicolecareer.html" onMouseOver="');
        document.write("img_roll('_b',4)");
        document.write('" onMouseout="');
        document.write("img_roll('',4)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[4].src);
        document.write('" alt="Filmography" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="nicolecareerfilm.html" onMouseOver="');
        document.write("img_roll('_b',17)");
        document.write('" onMouseout="');
        document.write("img_roll('',17)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[17].src);
        document.write('" alt="Movie Filmography" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="nicoletheater.html" onMouseOver="');
        document.write("img_roll('_b',18)");
        document.write('" onMouseout="');
        document.write("img_roll('',18)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[18].src);
        document.write('" alt="Theater Appearances" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="nicolecharacters.html" onMouseOver="');
        document.write("img_roll('_b',14)");
        document.write('" onMouseout="');
        document.write("img_roll('',14)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[14].src);
        document.write('" alt="Characters played by Nicole Sullivan on Mad TV" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="nicoleappearances.html" onMouseOver="');
        document.write("img_roll('_b',6)");
        document.write('" onMouseout="');
        document.write("img_roll('',6)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[6].src);
        document.write('" alt="Guest Appearances on TV Shows" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="nicolepictures.html" onMouseOver="');
        document.write("img_roll('_b',8)");
        document.write('" onMouseout="');
        document.write("img_roll('',8)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[8].src);
        document.write('" alt="Image Archives" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="nicolewavs.html" onMouseOver="');
        document.write("img_roll('_b',10)");
        document.write('" onMouseout="');
        document.write("img_roll('',10)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[10].src);
        document.write('" alt="Sound and Video Files" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="nicoletranscripts.html" onMouseOver="');
        document.write("img_roll('_b',12)");
        document.write('" onMouseout="');
        document.write("img_roll('',12)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[12].src);
        document.write('" alt="Transcripts" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="vancometop.html" onMouseOver="');
        document.write("img_roll('_b',1)");
        document.write('" onMouseout="');
        document.write("img_roll('',1)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[1].src);
        document.write('" alt="Vancome Lady" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="antoniapage.html" onMouseOver="');
        document.write("img_roll('_b',3)");
        document.write('" onMouseout="');
        document.write("img_roll('',3)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[3].src);
        document.write('" alt="Antonia" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="darlenemcbride.html" onMouseOver="');
        document.write("img_roll('_b',5)");
        document.write('" onMouseout="');
        document.write("img_roll('',5)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[5].src);
        document.write('" alt="Darlene McBride" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="nicolesitelist.html" onMouseOver="');
        document.write("img_roll('_b',9)");
        document.write('" onMouseout="');
        document.write("img_roll('',9)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[9].src);
        document.write('" alt="Other Links" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="review_archive.html" onMouseOver="');
        document.write("img_roll('_b',11)");
        document.write('" onMouseout="');
        document.write("img_roll('',11)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[11].src);
        document.write('" alt="Review Archive" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="nicolenews.html" onMouseOver="');
        document.write("img_roll('_b',13)");
        document.write('" onMouseout="');
        document.write("img_roll('',13)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[13].src);
        document.write('" alt="News Archive" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="nicoletalktome.html" onMouseOver="');
        document.write("img_roll('_b',16)");
        document.write('" onMouseout="');
        document.write("img_roll('',16)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[16].src);
        document.write('" alt="Baby Blues" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="nicolebabyblues.html" onMouseOver="');
        document.write("img_roll('_b',15)");
        document.write('" onMouseout="');
        document.write("img_roll('',15)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[15].src);
        document.write('" alt="Talk To Me" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="nicolekingofqueens.html"');
        document.write(' onMouseOver="');
        document.write("img_roll('_b',20)");
        document.write('" onMouseout="');
        document.write("img_roll('',20)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[20].src);
        document.write('" alt="King Of Queens" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="nicolekimpossible.html"');
        document.write(' onMouseOver="');
        document.write("img_roll('_b',21)");
        document.write('" onMouseout="');
        document.write("img_roll('',21)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[21].src);
        document.write('" alt="Kim Possible" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="nicoleclonehigh.html"');
        document.write(' onMouseOver="');
        document.write("img_roll('_b',22)");
        document.write('" onMouseout="');
        document.write("img_roll('',22)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[22].src);
        document.write('" alt="Clone High" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="nicolehotproperties.html" onMouseOver="');
        document.write("img_roll('_b',23)");
        document.write('" onMouseout="');
        document.write("img_roll('',23)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[23].src);
        document.write('" alt="Hot Properties" width="114" height="31" border="0"></center></a></tr>');

	document.write('<tr>');
        document.write('<a href="nicoleraines.html" onMouseOver="');
        document.write("img_roll('_b',24)");
        document.write('" onMouseout="');
        document.write("img_roll('',24)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[24].src);
        document.write('" alt="Raines" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="guestbook.html" onMouseOver="');
        document.write("img_roll('_b',7)");
        document.write('" onMouseout="');
        document.write("img_roll('',7)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[7].src);
        document.write('" alt="Guestbook" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="./cgi-bin/yabb/YaBB.pl"');
        document.write(' onMouseOver="');
        document.write("img_roll('_b',19)");
        document.write('" onMouseout="');
        document.write("img_roll('',19)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[19].src);
        document.write('" alt="Message Board" width="114" height="31" border="0"></center></a></tr>');

        document.write('<tr>');
        document.write('<a href="mailto:dzien@nic.com"');
        document.write(' onMouseOver="');
        document.write("img_roll('_b',25)");
        document.write('" onMouseout="');
        document.write("img_roll('',25)");
        document.write('">');
        document.write('<center><img src="');
        document.write(currentimagearray[25].src);
        document.write('" alt="Contact Webmaster" width="114" height="31" border="0"></center></a></tr>');

        document.write('</table>');
        document.write('</td>');
        document.write('<td valign="top">');
        document.write('<table cellpadding="5" cellspacing="5"><td>');
        //document.write<'<table valign="top"><tr><td>');

        format_page();
        //document.write('<center>');
        //document.write('<table border="0" cellpadding="2" width="542">');
        //document.write('<tr>');
        //document.write('<td valign="top" colspan="8"><img src="ns_top.gif" width="542" height="21" alt="top line"></td>');
        //document.write('</tr>');
        //document.write('<tr>');
        //document.write('<td valign="top" colspan="1"><a href="nicolesullivantop.html" onMouseOver="');
        //document.write("img_roll('_b',0)");
        //document.write('" onMouseout="');
        //document.write("img_roll('',0)");
        //document.write('">');
        //document.write('<center><img src="');
        //document.write(currentimagearray[0].src);
        //document.write('" alt="Home" width="120" height="15"></center></a></td>');
        //document.write('<td valign="top" rowspan="8" colspan="1"><center><img src="nswebsm.jpg" alt="Nicole Sullivan" width="280" height="210"></center></td>');
        //document.write('<td valign="top" colspan="1"><a href="vancometop.html" onMouseOver="');
        //document.write("img_roll('_b',1)");
        //document.write('" onMouseout="');
        //document.write("img_roll('',1)");
        //document.write('">');
        //document.write('<center><img src="');
        //document.write(currentimagearray[1].src);
        //document.write('" alt="Vancome Lady" width="120" height="15"></center></a></td>');
        //document.write('</tr>');
        //document.write('<tr>');
        //document.write('<td valign="top" colspan="1"><a href="nicolebio.html" onMouseOver="');
        //document.write("img_roll('_b',2)");
        //document.write('" onMouseout="');
        //document.write("img_roll('',2)");
        //document.write('">');
        //document.write('<center><img src="');
        //document.write(currentimagearray[2].src);
        //document.write('" alt="Bio Sheet" width="120" height="15"></center></a></td>');
        //document.write('<td valign="top" colspan="1"><a href="antoniapage.html" onMouseOver="');
        //document.write("img_roll('_b',3)");
        //document.write('" onMouseout="');
        //document.write("img_roll('',3)");
        //document.write('">');
        //document.write('<center><img src="');
        //document.write(currentimagearray[3].src);
        //document.write('" alt="Antonia" width="120" height="15"></center></a></td>');
        //document.write('</tr>');
        //document.write('<tr>');
        //document.write('<td valign="top" colspan="1"><a href="nicolecareer.html" onMouseOver="');
        //document.write("img_roll('_b',4)");
        //document.write('" onMouseout="');
        //document.write("img_roll('',4)");
        //document.write('">');
        //document.write('<center><img src="');
        //document.write(currentimagearray[4].src);
        //document.write('" alt="Filmography" width="120" height="15"></center></a></td>');
        //document.write('<td valign="top" colspan="1"><a href="darlenemcbride.html" onMouseOver="');
        //document.write("img_roll('_b',5)");
        //document.write('" onMouseout="');
        //document.write("img_roll('',5)");
        //document.write('">');
        //document.write('<center><img src="');
        //document.write(currentimagearray[5].src);
        //document.write('" alt="Darlene McBride" width="120" height="15"></center></a></td>');
        //document.write('</tr>');
        //document.write('<tr>');
        //document.write('<td valign="top" colspan="1"><a href="nicolecharacters.html"');
        //document.write('onMouseOver="');
        //document.write("img_roll('_b',14)");
        //document.write('" onMouseout="');
        //document.write("img_roll('',14)");
        //document.write('">');
        //document.write('<center>');
        //document.write('<img src="');
        //document.write(currentimagearray[14].src);
        //document.write('" alt="Nicole Sullivan Characters" width="120" height="15">');
        //document.write('</center></a></td>');
        //document.write('<td valign="top" colspan="1"><a href="guestbook.html" onMouseOver="');
        //document.write("img_roll('_b',7)");
        //document.write('" onMouseout="');
        //document.write("img_roll('',7)");
        //document.write('">');
        //document.write('<center>');
        //document.write('<img src="');
        //document.write(currentimagearray[7].src);
        //document.write('" alt="Guestbook" width="120" height="15"></center></a></td>');
        //document.write('</tr>');
        //document.write('<tr>');
        //document.write('<td valign="top" colspan="1"><a href="nicoleappearances.html" onMouseOver="');
        //document.write("img_roll('_b',6)");
        //document.write('" onMouseout="');
        //document.write("img_roll('',6)");
        //document.write('">');
        //document.write('<center>');
        //document.write('<img src="');
        //document.write(currentimagearray[6].src);
        //document.write('" alt="Guest Appearances on Other Shows" width="120" height="15"></center></a></td>');
        //document.write('<td valign="top" colspan="1"><a href="nicolesitelist.html" onMouseOver="');
        //document.write("img_roll('_b',9)");
        //document.write('" onMouseout="');
        //document.write("img_roll('',9)");
        //document.write('">');
        //document.write('<center><img src="');
        //document.write(currentimagearray[9].src);        
        //document.write('" alt="Links" width="120" height="15"></center></a></td>');
        //document.write('</tr>');
        //document.write('<tr>');
        //document.write('<td valign="top" colspan="1"><a href="nicolepictures.html" onMouseOver="');
        //document.write("img_roll('_b',8)");
        //document.write('" onMouseout="');
        //document.write("img_roll('',8)");
        //document.write('">');
        //document.write('<center>');
        //document.write('<img src="');
        //document.write(currentimagearray[8].src);
        //document.write('" alt="Pictures" width="120" height="15">');
        //document.write('</center></td>');
        //document.write('<td valign="top" colspan="1"><a href="review_archive.html" onMouseOver="');
        //document.write("img_roll('_b',11)");
        //document.write('" onMouseout="');
        //document.write("img_roll('',11)");
        //document.write('">');
        //document.write('<center><img src="');
        //document.write(currentimagearray[11].src);
        //document.write('" alt="Review Archive" width="120" height="15"></center></a></td>');
        //document.write('</tr>');
        //document.write('<tr>');
        //document.write('<td valign="top" colspan="1"><a href="nicolewavs.html" onMouseOver="');
        //document.write("img_roll('_b',10)");
        //document.write('" onMouseout="');
        //document.write("img_roll('',10)");
        //document.write('">');
        //document.write('<center><img src="');
        //document.write(currentimagearray[10].src);
        //document.write('" alt="Sound and Video" width="120" height="15"></center></a></td>');
        //document.write('<td valign="top" colspan="1"><a href="nicolenews.html" onMouseOver="');
        //document.write("img_roll('_b',13)");
        //document.write('" onMouseout="');
        //document.write("img_roll('',13)");
        //document.write('">');
        //document.write('<center><img src="');
        //document.write(currentimagearray[13].src);
        //document.write('" alt="News Archive" width="120" height="15"></center></a></td>');
        //document.write('</tr>');
        //document.write('<tr>');
        //document.write('<td valign="top" colspan="1"><a href="nicoletranscripts.html" onMouseOver="');
        //document.write("img_roll('_b',12)");
        //document.write('" onMouseout="');
        //document.write("img_roll('',12)");
        //document.write('">');
        //document.write('<center><img src="');
        //document.write(currentimagearray[12].src);
        //document.write('" alt="Transcripts" width="120" height="15"></center></a></td>');
        //document.write('<td valign="top" colspan="1"><a href="nicolebabyblues.html" onMouseOver="');
        //document.write("img_roll('_b',15)");
        //document.write('" onMouseOut="');
        //document.write("img_roll('',15)");
        //document.write('">');
        //document.write('<center><img src="');
        //document.write(currentimagearray[15].src);
        //document.write('" alt="Baby Blues" width="120" height="15"></center></a></td>');
        //document.write('<td valign="top" colspan="1">');
        //document.write('<tr>');
        //document.write('<td valign="top" colspan="8"><img src="ns_bot.gif" width="542" height="21" alt="bottom line"></td>');
        //document.write('</tr>');
        //document.write('</table>');
        //document.write('</center>');
        
}


function write_date_last_modified()
{
        var dateMod = "";
        dateMod = document.lastModified;
        document.write("Late Updated:  ");
        document.write(dateMod);
        document.write();
}

function write_signature()
{             
        document.write('<font face="Arial" size="2" color="#FFFFFF">');
        document.write('<p>This page is maintained by <a href="mailto:dzien@nic.com">Number Six.</a></p>');
        write_date_last_modified();
        document.write('</font>');
}



function draw_image_map()
{
        document.write('<hr>');
        document.write('<p><center><img src="ns_imap2.jpg" usemap="#The Unofficial Nicole Sullivan Tribute Page"></center></p>');
        document.write('<MAP NAME="The Unofficial Nicole Sullivan Tribute Page">');
        document.write('<AREA SHAPE=RECT COORDS="2,0,448,43" HREF="nicolesullivantop.html" ALT="Home Page">');
        document.write('<AREA SHAPE=RECT COORDS="2,46,448,62" HREF="nicolebio.html" ALT="Bio Sheet">');
        document.write('<AREA SHAPE=RECT COORDS="3,63,448,81" HREF="nicolecareer.html" ALT="Unofficial Nicole Sullivan Filmography">');
        document.write('<AREA SHAPE=RECT COORDS="3,83,448,98" HREF="nicolecharacters.html" ALT="Nicole Sullivan Characters">');
        document.write('<AREA SHAPE=RECT COORDS="4,99,448,118" HREF="nicoletranscripts.html" ALT="Nicole Sullivan Transcripts">');
        document.write('<AREA SHAPE=RECT COORDS="4,119,448,136" HREF="vancometop.html" ALT="The Vancome Lady">');
        document.write('<AREA SHAPE=RECT COORDS="0,139,448,155" HREF="antoniapage.html" ALT="The Antonia Page">');
        document.write('<AREA SHAPE=RECT COORDS="0,158,448,173" HREF="darlenemcbride.html" ALT="Darlene McBride">');
        document.write('<AREA SHAPE=RECT COORDS="2,175,448,193" HREF="nicolepictures.html" ALT="Nicole Sullivan Image Galleries">');
        document.write('<AREA SHAPE=RECT COORDS="0,192,448,211" HREF="nicolewavs.html" ALT="Nicole Sullivan Sound and Video Files">');
        document.write('<AREA SHAPE=RECT COORDS="2,213,448,231" HREF="nicoleappearances.html" ALT="Nicole Sullivan Guest Appearances ">');
        document.write('<AREA SHAPE=RECT COORDS="2,234,448,252" HREF="review_archive.html" ALT="Mad TV Review Archive">');
        document.write('<AREA SHAPE=RECT COORDS="2,254,448,272" HREF="guestbook.html" ALT="Sign the Guestbook">');
        document.write('<AREA SHAPE=RECT COORDS="2,275,448,290" HREF="nicolenews.html" ALT="Nicole Sullivan News Archive">');
        document.write('<AREA SHAPE=RECT COORDS="2,291,448,336" HREF="nicolesitelist.html" ALT="Other Nicole Sullivan and Mad TV Links">');
        document.write('<AREA SHAPE=default HREF="nicolesullivantop.html">');
        document.write('</MAP>');

}

function write_links_list()
{
        ////document.write('</table');
        //document.write('</td></tr></table>');
        document.write('</td></table>');
        document.write('</td>');
        document.write('<td>&nbsp;</td>');
        document.write('<td width="37" bgcolor="#F5BE1D">&nbsp;</td>');
        document.write('</tr>');
        document.write('<tr><td width="114"><img src=".//images//bottomleft.gif" width="114" height="72"></td>');
        document.write('<td colspan="2" bgcolor="#F5BE1D">&nbsp;</td>');
        document.write('<td width="37"><img src=".//images//bottomright.gif" width="37" height="72"></td></tr>');

       // document.write<'</table>');
        
        document.write('</table>');
        
        document.write('<font face="Arial" size="2" color="#FFFFFF">');
        document.write('<hr>');
        document.write('<p><center><a href="nicolesullivantop.html">Home Page</a> |');
        document.write('<a href="nicolebio.html">Nicole Sullivan Bio</a> |');
        document.write('<a href="nicolecareer.html">Nicole Sullivan Filmography</a> |');
        document.write('<a href="nicolecareerfilm.html">Nicole Sullivan Movie Filmography</a> |');
        document.write('<a href="nicoletheater.html">Nicole Sullivan');
        document.write("'");
        document.write('s Theater Appearances</a> |');
        document.write('<a href="nicolecharacters.html">Nicole Sullivan Characters</a> |');
        document.write('<a href="nicoleappearances.html">Nicole Sullivan');
        document.write("'");
        document.write('s Guest Appearances on Other Shows</a> |');
        document.write('<a href="nicolepictures.html">Nicole Sullivan Pictures</a> |');
        document.write('<a href="nicolewavs.html">Nicole Sullivan Sound and Video Files</a> |');
        document.write('<a href="nicoletranscripts.html">Nicole Sullivan Transcripts</a> |');
        document.write('<a href="vancometop.html">The Vancome Lady Page</a> |');
        document.write('<a href="antoniapage.html">The Antonia Page</a> |');
        document.write('<a href="darlenemcbride.html">Darlene McBride Song Lyrics</a> |');
        document.write('<a href="review_archive.html">Archive of <em>Mad TV</em> Reviews</a> |');
        document.write('<a href="nicolenews.html">Nicole Sullivan News Archive</a> |');
        document.write('<a href="nicoletalktome.html"><em>Talk To Me</em></a> |');
        document.write('<a href="nicolebabyblues.html"><em>Baby Blues</em></a> |');
        document.write('<a href="nicolekingofqueens.html"><em>King Of Queens</em></a> |');
        document.write('<a href="nicolekimpossible.html"><em>Kim Possible</em></a> |');
        document.write('<a href="nicoleclonehigh.html"><em>Clone High</em></a> |');
        document.write('<a href="nicolehotproperties.html"><em>Hot Properties</em></a> |');
	document.write('<a href="nicoleraines.html"><em>Raines</em></a> |');
        document.write('<a href="guestbook.html">Sign the Guestbook</a> |');
        document.write('<a href="./cgi-bin/yabb/YaBB.pl">Message Board</a> |');
        document.write('<a href="nicolesitelist.html">Other Nicole Sullivan Links</a>');
        document.write('</center></p>');
        document.write('<hr>');
        document.write('<p>DISCLAIMER: I am not Nicole Sullivan. For more information, see the ');
        document.write('<a href="nicolefaq.html">FAQ</a> for this site.</p>');
        document.write('<hr>');
        document.write('</font>');

}

function write_bottom()
{
        //draw_image_map();
        write_links_list();
        write_signature();
}














