/*************************************************************************
  This code is from Dynamic Web Coding at www.dyn-web.com
  Copyright 2003 by Sharon Paine 
  See Terms of Use at 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!
*************************************************************************/

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();
}
	
// variables for tooltip content 
var tipRich = '<div class="tp1">This text is in a div with it\'s own class for different style specifications than the tooltip. </div>';
var tipImg = '<div style="text-align:center"><img src="/images/btns/dot-com-btn.gif" width="176" height="30" alt="" border="0"></div>';
var tipImgTxt = '<img src="/images/common/sm-duck.gif" width="90" height="44" alt="" border="0"><div class="tp2">Images and text can go together in a tooltip.</div>';
var tipFM = "You can turn off this feature by setting the Tooltip.followMouse property to false.";
var tipCstm = "You can control font, size, color, background color, border, offsets, etc. through style sheet and property settings.";
var tipZip = "Click to download a zipped file with all the necessary code and example tooltip documents.";
var tipOld = "This version of the tooltip works for Netscape 4, Internet Explorer 4, as well as newer browsers, including Netscape6+ and Mozilla.";
var tipTerms = "If you plan to use our code, please follow our terms. Thank you.";
var tipBg = "The zipped download file contains an example demonstrating a background image in the tooltip."
var tipMod = 'A "wrapTipContent" function can be created to modify the tooltip for special purposes.';
var tipTxtImg = 'Click to see the specially formatted tooltip for images with descriptive text.';
var tipWrtDrag = 'Write onclick to a layer you can drag. It has tooltip-like features. Set up for image display.';
var tipMenu = 'A modified tooltip that you can hover over and display links in.';
var tipUnder = 'Tooltips and other DHTML layers appear behind form select lists in some browsers. Find a solution here.';

