

/* This function will send thumbnail images to the main image, and associate a string of text with it */

var usingInternetExplorer= document.all;        // Sets identifiier for Internet Explorer
var usingNetscape4x = document.layers;         // Sets identifier for Netscape 4.x
                                              // All others will be handled by the else command
var change, bigger, slash, smaller;


function makeBigger(){

/* Determine client's Browser */
if ( usingInternetExplorer ){
        change = document.all.targetImage;
        } else {
           if ( usingNetscape4x ) {
                change = document.targetImage;
           } else {
                  change = document.getElementById ("targetImage");
        }
}



/* Do not allow picture to get larger than the screen permits */
 if (change.width <= 460){
  change.height = change.height * 1.1;
  change.width  = change.width  * 1.1;
 }
 /* If the size is at max, hide the bigger ability   */
 if ((change.width * 1.1) > 480){
  change.height = 360;
  change.width = 480;
 }
};

function makeSmaller () {

/* Determine client's Browser */
if ( usingInternetExplorer ){
        change = document.all.targetImage;
        } else {
           if ( usingNetscape4x ) {
                change = document.targetImage;
           } else {
                  change = document.getElementById ("targetImage");
        }
}


/* Do not allow picture to get too small */
 if (change.width >= 300){
  change.height = change.height * .9;
  change.width  = change.width  * .9;
 }
  /* If the size is at min, hide the smaller ability  */
 if ((change.width * .9) < 100){
  change.height = 75;
  change.width = 100;
 }
};