﻿
function Tooltip_HTML(heading,description){Tip('<div id=ej-box-modal-drop-shadow-hover><div id=ej-box-text-hover><p><strong>'+heading+'</strong><br />'+description+'</p></div></div>',BORDERWIDTH,0,SHADOW,false,BGCOLOR,'',WIDTH,0,FONTCOLOR,'#000000');}
function Tooltip_Buy(){Tooltip_HTML('Purchase the article','If you are not a subscriber, you may purchase this item with our pay-per-view service.')}
function Tooltip_Buy_Collection(){Tooltip_HTML('Purchase the collection','If you are not a subscriber, you may purchase this item with our pay-per-view service.')}
function Tooltip_Partial(){Tooltip_HTML('Partial access to the issue','Some of the content within this issue is free. You do not need to be a subscriber to access free content.')}
function Tooltip_Free(){Tooltip_HTML('Free access','This item has free access. You do not need to be a subscriber to access this item.')}
function Tooltip_SDC(){Tooltip_HTML('Supplemental Digital Content','This article contains supplemental content that can be downloaded by clicking a link in the full text.')}
function Tooltip_OnlineOnly(){Tooltip_HTML('Online only','This item is only available online and cannot be found in any print issue of the journal.')}
function Tooltip_CE(){Tooltip_HTML('Continuing Education','This item is accredited for continuing education. Please contact your society or state board for additional information.')}
function Tooltip_CME(){Tooltip_HTML('Continuing Medical Education','This item is accredited for continuing medical education. Please contact your society or state board for additional information.')}
function Tooltip_PAP(){Tooltip_HTML('Published Ahead-of-Print','This article has not yet been published in print. For a limited time, it is available online.')}
function Tooltip_Errata(){Tooltip_HTML('Errata','This article contains errata.')}
function Tooltip_Erratum(){Tooltip_HTML('Erratum','This article contains an erratum.')}
function Tooltip_DeepArchive(){Tooltip_HTML('Deep Archive','This is an archive item.')}
function Tooltip_CustomIndicator(Custom_Indicator_Name,Custom_Indicator_Description){Tooltip_HTML(findAndReplace(Custom_Indicator_Name),findAndReplace(Custom_Indicator_Description))}
function Tooltip_LOCK(){Tooltip_HTML('Locked Content','You do not have access to this content. Login or subscribe to view this content.')}
function Tooltip_RSS(){Tooltip_HTML('RSS Feed','Subscribe to this feed to be notified of updates or changes to this content.')}
function Tooltip_MouseOut(){UnTip();}
function findAndReplace(indicator){return indicator.replace(/&amp;/g,"&").replace(/&apos;/g,"\'");}
function Tooltip_Article(title,author,year,volume,issue,pageRange){Tip('<div id=ej-box-modal-drop-shadow-hover><div id=ej-box-text-hover><p><strong>'+title+'</strong><br />'+author+'<br />'+year+' - Volume '+volume+' - Issue '+issue+' - pp '+pageRange+'</p> </div></div>',BORDERWIDTH,0,SHADOW,false,BGCOLOR,'',WIDTH,0,FONTCOLOR,'#000000');}
function Tooltip_Video(title,source,createdOn,associatedWith,description){if(associatedWith!=null&&associatedWith!=''){Tip('<div id="ej-box-modal-drop-shadow-hover"><div id="ej-box-text-hover"><p><strong>'+title+'</strong><br /><br /><strong>Author: </strong>'+source+'<br /><strong>Created on: </strong>'+createdOn+'<br /><strong>Associated with: </strong><br />'+associatedWith+'<br />'+description+'</p></div></div>',BORDERWIDTH,0,SHADOW,false,BGCOLOR,'',WIDTH,0,FONTCOLOR,'#000000');}
else{Tip('<div id="ej-box-modal-drop-shadow-hover"><div id="ej-box-text-hover"><p><strong>'+title+'</strong><br /><br /><strong>Author: </strong>'+source+'<br /><strong>Created on: </strong>'+createdOn+'<br />'+description+'</p></div></div>',BORDERWIDTH,0,SHADOW,false,BGCOLOR,'',WIDTH,0,FONTCOLOR,'#000000');}}