
function css4x() { /* the style to remove background image for Netscape 4.x */
  var tmp = '';
  if (document.layers) {
    tmp = '<style type="text/css">';
    tmp += 'body { font-family:arial; font-size:12px; color:#000; background-image:none; }';
    tmp += '</style>';
  }
  return tmp;
}

function cpy() { /* the include for the copyright statement */
  var tmp2 = '<div align="center"><br />';
  tmp2 +='    <table width="600" border="0" cellpadding="0" cellspacing="0" bgcolor="#5777A6"><tr>';
  tmp2 +='    <td valign="top" align="center"><img src="/images/dot_clear.gif" width="600"';
  tmp2 +='     height="1" alt="" border="0"/></td></tr></table>';
  tmp2 +='    <img src="/images/dot_clear.gif" width="1" height="5" alt="" border="0" /><br />';
  tmp2 +='    <span class="cpy">Copyright &copy; 2011&nbsp;&nbsp;&nbsp;';
  tmp2 +='    <a href="http://www.altwheels.org" class="blue">www.AltWheels.org</a>';
  tmp2 +='            &nbsp;&nbsp;&nbsp;AltWheels is a 501(c)(3) not-for-profit organization</span><br />';
  tmp2 +='    <span class="tinygrey"><a href="suggestion_box.html" class="grey">';
  tmp2 +='    <i>... website corrections and suggestions welcome...</i></span>';
  tmp2 +='    </div>';
  return tmp2;
}

	/* ... in more_map below - replaced more.html with altwheels_info.html ... */

function maps() { /* the include for the image maps needed */
  var tmp3 = '<map name="wel_map"><area coords="32,0,107,39" alt="Home/Welcome" href="index.html" onMouseOver="roll(\'wel\',\'on\');" onMouseOut="roll(\'wel\',\'off\');" /></map>';
  tmp3 += '<map name="more_map"><area coords="0,0,120,31" alt="More Information" href="more.html" onMouseOver="roll(\'more\',\'on\');" onMouseOut="roll(\'more\',\'off\');" /></map>'
  return tmp3;
}
function water() { /* the include for the needed watermark, used in place of background-image in Netscape 4.x, b/c background-repeat doesn't work */
  var tmp4 = '<div id="water"><img src="images/watermark.jpg" width="700" height="520" alt="" border="0" /></div>';
  return tmp4;
}

function roll(im,act) { /* im is the id of the image, act is on or off */
  var myImage = eval('document.' + im);
  var newIm = eval(im + '_' + act);
  myImage.src = newIm.src;    
}

if (document.images) {
  wel_on = new Image; wel_off = new Image; fest_on = new Image; fest_off = new Image;
  who_on = new Image; who_off = new Image; evnt_on = new Image; evnt_off = new Image;
  exh_on = new Image; exh_off = new Image; get_on = new Image; get_off = new Image;
  more_on = new Image; more_off = new Image;
  
  wel_on.src = 'images/navW_welcomeS.jpg'; wel_off.src = 'images/navW_welcome.jpg';
  fest_on.src = 'images/navW_festivalS.jpg'; fest_off.src = 'images/navW_festival.jpg';
  who_on.src = 'images/navW_whoS.jpg'; who_off.src = 'images/navW_who.jpg';
  evnt_on.src = 'images/navW_eventsS.jpg'; evnt_off.src = 'images/navW_events.jpg';
  exh_on.src = 'images/navW_exhibitS.jpg'; exh_off.src = 'images/navW_exhibit.jpg';
  get_on.src = 'images/navW_getS.jpg'; get_off.src = 'images/navW_get.jpg';
  more_on.src = 'images/navW_moreS.jpg'; more_off.src = 'images/navW_more.jpg';
}

else {
  web_on.src = ''; web_off.src = ''; prn_on.src = ''; prn_off.src = '';
  logo_on.src = ''; logo_off.src = ''; bio_on.src = ''; bio_off.src = '';
  cv_on.src = ''; cv_off.src = ''; con_on.src = ''; con_off.src = '';
  
  arrow_on.src = ''; arrow_off.src = '';
}


