/* You need to include wz_tooltip.js right after you include this file */
var tooltips = new Array();
function showTooltip(index) {
	Tip(tooltips[index]);
}

tooltips['discountEzp'] = "Purchase multiple styles and save!<br />- <b>12% off</b> 2nd style<br />- <b>25% off</b> 2nd and 3rd style"
tooltips['discountEzpro'] = "Pro Discount offer: <b>ends soon!</b><br />Save <b>$20</b> on EazyPaper Pro or EazyMedical. <br />Cannot be combined with Home and Work offer. <br /> This is a one time offer."
tooltips['discountHomeAndWork'] = "<b>Home and Work offer</b>: Save 50% on your <b>2nd and 3rd license</b><br />(perfect for adding EazyPaper to your laptop and work computer) <br />Cannot be combined with Pro Discount offer. <br /> This is a one time offer."

tooltips['elite'] = "The Elite toolbar is <b>16 pixels high</b> and saves you space. The Basic toolbar is 32 pixels high."

tooltips['ezd'] = "Join the EazyPaper research community to share your research, and access others' research from <b>anywhere in the world</b>. Search by author, title, or keyword for any reference you or anyone else have ever entered, and <b>add it</b> to your paper in <b>one click</b>. <br /><br />Access your online, <b>backed-up</b> database of previously entered references from <b>any document, anywhere in the world</b>. <br /><br /> Works for <b>all EazyPaper licenses</b> in your account. Save tons of research hours!"
tooltips['ezd_moneyback'] = 'An EazyDatabase 12 month subscription comes with a 1 month no-questions asked money-back guarantee.  Simply login to the My EazyPaper account that you create upon purchase, click "Update EazyDatabase Subscription", and follow the on-screen instructions to cancel your subscription.'

tooltips['ezl'] = "Search by author, title, ISBN, or keyword in <b>libraries from around the world</b>. Find your source in one click and add it to your paper in another. <b>Included</b> in EazyPaper Pro and EazyMedical."
tooltips['ezlIncluded'] = "<b>Included</b> in EazyPaper Pro and EazyMedical. <br />It may be <b>cheaper</b> to buy them instead!"

tooltips['ezp'] = "Intended for public educational use only (students, teacher assistants, and professors).<br />All other users, or non-educational uses of EazyPaper (including professional research) must license EazyPaper Pro or EazyMedical.<br><br>Product supports:<ul><li>Win98 or later, including Windows Vista 64 bit (note: Mac is not supported)</li><li>Word 2000 or later, including Word 2007 <br>(note: WordPerfect, WordPerfect in Word mode, and Microsoft Works are not supported)</li></ul>"

tooltips['ezmed'] = "Includes EazyPaper Pro and support for the <b>AMA style</b>."
tooltips['ezpOnly'] = "Includes the style(s) that you purchase. If you need to cite emails or write journal articles, choose EazyPaper Pro instead."
tooltips['ezpro'] = "Includes all three styles, <b>EazyLibrary</b> and support for citing emails and writing journal articles."

tooltips['faqEmail'] = "If you already have a license, use the email you used to purchase that license so we can look it up. You can change your account's email at www.eazypaper.com/portal.cfm";

tooltips['insuranceBoth'] = "<b>Priority support:</b> Need help? Jump the line in getting your support request answered as soon as possible.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +<br /><b>License insurance:</b> Don't want to repurchase your license if you ever lose it, or need to move it to another computer? Insure it!"
tooltips['insuranceLicense'] = "<b>License insurance:</b> Don't want to repurchase your license if you ever lose it, or need to move it to another computer? Insure it! Does not include priority support."

tooltips['visa'] = "Click to pay by Visa credit card."
tooltips['mastercard'] = "Click to pay by MasterCard credit card."
tooltips['paypal'] = "Click to pay by PayPal (though your bank account), or any credit card that it accepts (like American Express and Discover)."
tooltips['interac'] = "Click to pay by INTERAC&reg; Online.  To use this option, you must have a bank account with web access from one of the following Canadian banks: TD Canada Trust, BMO Bank of Montreal, RBC Royal Bank or Scotia Bank.<br /><br />&reg; Trade-mark of Interac Inc. Used under license."

tooltips['alreadyRefunded'] = "We have already refunded all your eligible EazyPaper purchases. This referral will be credited upon your next EazyPaper purchase or upgrade."
tooltips['refundTomorrow'] = "We will process this referral soon, usually the next day, as only one referral per user can be processed per day. You should get a status update email within a week."
tooltips['refundError'] = "The bank has refused to refund your credit card with the above error message. However, we can credit this referral on your next EazyPaper purchase or upgrade."

tooltips['unsupportedOS'] = "Note: Mac is not supported."
tooltips['unsupportedWord'] = "Note: Word 2010 64 bit edition, OpenOffice, WordPerfect and WordPerfect in Word mode are not supported."
tooltips['unsupportedWorks'] = "Note: Microsoft Works is not supported.  However, Microsoft Works <b>Suite</b> (which is no longer being sold) contains Microsoft Word, which is supported."

tooltips['editing'] = "EazyEditing is a paper submission service where you can get your paper edited and graded by a professor."
tooltips['editingContactUs'] = "Contact us for a quote."
tooltips['editingSendPaperLater'] = "An email with your editing ticket id will be sent to you. Reply to that email with your paper, and Professor Randy will return your paper within the turnaround time after he receives it."
tooltips['editing1Day'] = "Professor Randy will edit your paper for mechanics, style, and some content using Word's Track Changes feature. <b>24 hour</b> turnaround, not including Sundays."
tooltips['editing2Day'] = "Professor Randy will edit your paper for mechanics, style, and some content using Word's Track Changes feature. <b>48 hour</b> turnaround."
tooltips['editing3Day'] = "Professor Randy will edit your paper for mechanics, style, and some content using Word's Track Changes feature. <b>72 hour</b> turnaround."
tooltips['editing4Day'] = "Professor Randy will edit your paper for mechanics, style, and some content using Word's Track Changes feature. <b>4-7 day</b> turnaround."
tooltips['editingBasic'] = "Professor Randy will edit your paper <b>only for mechanics</b> (ie: spelling, grammar, punctuation, and capitalization) using Word's Track Changes feature. <b>24 hour</b> turnaround, not including Sundays."
tooltips['editingGrading'] = "Professor Randy will grade the first 20 pages of your paper as if you were attending one of his classes, and then give you an estimate on how much his editing could improve your grade. <b>24 hour</b> turnaround, not including Sundays."
tooltips['editingWordCount'] = "Click for instructions on how to get the word count."

tooltips['subscriptionAnnual'] = "Subscribe to EazyPaper on an annual basis. You can cancel your subscription at any time.<br /><b>25% off permanent license price</b>."
tooltips['subscriptionPermanent'] = "Your license never expires."

tooltips['typer'] = "Type words with fewer keystrokes."

tooltips['xray'] = "Hover your mouse over a word to see its synonyms, antonyms, and with the dictionary add-on, definitions."
tooltips['xray_dict'] = "Hover your mouse over a word to see its dictionary definition while viewing its synonyms and antonyms. Requires a license to EazyPaper and EazyXray after the two-day free trial.  Click to see a screenshot."

//===================  GLOBAL TOOPTIP CONFIGURATION  =========================//
var  tt_Debug	= false		// false or true - recommended: false once you release your page to the public
var  tt_Enabled	= true		// Allows to (temporarily) suppress tooltips, e.g. by providing the user with a button that sets this global variable to false
var  TagsToTip	= false		// false or true - if true, the script is capable of converting HTML elements to tooltips

// For each of the following config variables there exists a command, which is
// just the variablename in uppercase, to be passed to Tip() or TagToTip() to
// configure tooltips individually. Individual commands override global
// configuration. Order of commands is arbitrary.
// Example: onmouseover="Tip('Tooltip text', LEFT, true, BGCOLOR, '#FF9900', FADEIN, 400)"

var config = new Object();
config. Above			= false 	// false or true - tooltip above mousepointer?
config. BgColor 		= '#E4E7FF' // Background color
config. BgImg			= ''		// Path to background image, none if empty string ''
config. BorderColor 	= '#002299'
config. BorderStyle 	= 'solid'	// Any permitted CSS value, but I recommend 'solid', 'dotted' or 'dashed'
config. BorderWidth 	= 1
config. CenterMouse 	= false 	// false or true - center the tip horizontally below (or above) the mousepointer
config. ClickClose		= false 	// false or true - close tooltip if the user clicks somewhere
config. CloseBtn		= false 	// false or true - closebutton in titlebar
config. CloseBtnColors	= ['#990000', '#FFFFFF', '#DD3333', '#FFFFFF']	  // [Background, text, hovered background, hovered text] - use empty strings '' to inherit title colors
config. CloseBtnText	= '&nbsp;X&nbsp;'	// Close button text (may also be an image tag)
config. CopyContent		= true		// When converting a HTML element to a tooltip, copy only the element's content, rather than converting the element by its own
config. Delay			= 400		// Time span in ms until tooltip shows up
config. Duration		= 0 		// Time span in ms after which the tooltip disappears; 0 for infinite duration
config. FadeIn			= 0 		// Fade-in duration in ms, e.g. 400; 0 for no animation
config. FadeOut 		= 0
config. FadeInterval	= 30		// Duration of each fade step in ms (recommended: 30) - shorter is smoother but causes more CPU-load
config. Fix 			= null		// Fixated position - x- an y-oordinates in brackets, e.g. [210, 480], or null for no fixation
config. FollowMouse		= true		// false or true - tooltip follows the mouse
config. FontColor		= '#000044'
config. FontFace		= 'Verdana,Geneva,sans-serif'
config. FontSize		= '8pt' 	// E.g. '9pt' or '12px' - unit is mandatory
config. FontWeight		= 'normal'	// 'normal' or 'bold';
config. Left			= false 	// false or true - tooltip on the left of the mouse
config. OffsetX 		= 14		// Horizontal offset of left-top corner from mousepointer
config. OffsetY 		= 8 		// Vertical offset
config. Opacity 		= 100		// Integer between 0 and 100 - opacity of tooltip in percent
config. Padding 		= 3 		// Spacing between border and content
config. Shadow			= false 	// false or true
config. ShadowColor 	= '#C0C0C0'
config. ShadowWidth 	= 5
config. Sticky			= false 	// Do NOT hide tooltip on mouseout? false or true
config. TextAlign		= 'left'	// 'left', 'right' or 'justify'
config. Title			= ''		// Default title text applied to all tips (no default title: empty string '')
config. TitleAlign		= 'left'	// 'left' or 'right' - text alignment inside the title bar
config. TitleBgColor	= ''		// If empty string '', BorderColor will be used
config. TitleFontColor	= '#ffffff'	// Color of title text - if '', BgColor (of tooltip body) will be used
config. TitleFontFace	= ''		// If '' use FontFace (boldified)
config. TitleFontSize	= ''		// If '' use FontSize
config. Width			= 410 		// Tooltip width; 0 for automatic adaption to tooltip content
