
/*************************************************************************
  This code is from Dynamic Web Coding at http://www.dyn-web.com/
  Copyright 2003 by Sharon Paine 
  See Terms of Use at http://www.dyn-web.com/bus/terms.html
  regarding conditions under which you may use this code.
  This notice must be retained in the code as is!
*************************************************************************/

// This portion of the code should be placed in the head section of the document.  
// Script tags for the external JavaScipt files should be placed just before the end of the document.

// leave in page to avoid errors if onmouseovers/outs before page completely loaded
function doTooltip(e, msg) {
  if ( typeof Tooltip == "undefined" || !Tooltip.ready ) return;
  Tooltip.show(e, msg);
}

function hideTip() {
  if ( typeof Tooltip == "undefined" || !Tooltip.ready ) return;
  Tooltip.hide();
}
	
// preload images that will be displayed in tooltip
// put images to preload in this array
var preload_list = new Array("");
var path_to_images = "images/";

if (document.images) {
	var image_list = new Array();
	for (var preload_counter=0; preload_counter<preload_list.length; preload_counter++) {
  	image_list[preload_counter] = new Image(); 
		image_list[preload_counter].src = path_to_images + preload_list[preload_counter];	
  }
}

// variables for tooltip content 
// name them whatever you want, add as many as you need
var tip1 = '<img src="images/sm-duck.gif" width="90" height="44" alt="" border="0"><div class="tp1">A transparent gif looks nice over a background.</div>';


