//<script language="JavaScript">
<!--

  /* THIS IS A DIFFERENT FILE THAN OTHER headerfooter.js, it contains notice functions */
  /* adds generalJS.js call for notice */
document.write('<script src="http://www1.us.elsevierhealth.com/generalJS.js"></script>');

  //adjusts the domain name and protocol for internal sites, setting default for external
function frontURL() {
 var mysearch = document.URL;
 frontURL = mysearch.split(".com/");
 frontURL = frontURL[0] + ".com";
 //linkURL is where a page/site is located
 //contentURL is where a file included on this page is located
 if (frontURL.split("us.elsevierhealth.com")[0] == "http://www."
  || frontURL.split("harcourthealth")[0] == "http://www."
  || (frontURL.split("mosby")[0] == "http://www." && frontURL.split("mosby")[1] == -1)
  || frontURL.split("wbsaunders")[0] == "http://www.")
      { linkURL = ""; contentURL = linkURL; } //use relative
 else if(frontURL.split("mosbydrugs")[0] == "http://www.")
      { linkURL = "http://www.us.elsevierhealth.com"; contentURL = linkURL; } //use both relative
 else if(frontURL.split("us.elsevierhealth.com")[0] == "https://secure."
  || frontURL.split("harcourthealth")[0] == "https://secure."
  || frontURL.split("mosbysdrugconsult")[0] == "http://www.")
      { linkURL = "http://www.us.elsevierhealth.com"; contentURL = ""; } //use both relative and non
 else { linkURL = "http://www.us.elsevierhealth.com"; contentURL = linkURL; }//www.harcourthealth.com
 linkURL = linkURL.split("www1").join("www");
 frontURL = linkURL; //exists for other JavaScript, may not be in use (5/30/02)
 contentURL = contentURL.split("www1").join("www"); //exists to ensure all content of secure pages is secured

   //temporary until files moved to www
 contentURL = contentURL.split("www.us.elsevierhealth.com").join("www3.us.elsevierhealth.com");
   //Sets document domain to bare minimum for security purposes
 domainArray = document.domain.split('.');
 if (domainArray.length >= 2 && (!NS || ver != 4)) { //NS4 looks at domain when resizing windows!! and if this is already just a dotted pair we're at the lowest allowable level
  tempdomain = domainArray[1];
  for(i=2;i<domainArray.length;i++) { tempdomain = tempdomain + '.' + domainArray[i]; }
  document.domain = tempdomain;
 }
}


  //Code to check browser (see browsercheck.js)
NS = (navigator.appName == "Netscape");
IE = (navigator.appName == "Microsoft Internet Explorer");

  //see NS code at http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html
var agt=navigator.appVersion.toLowerCase();
ver = parseInt(agt);
if (agt.indexOf("msie ") != -1) { ver = parseInt(agt.split("msie ")[1]); }
if (agt.indexOf("mac") != -1) { var OS = "M"; }
//alert(navigator.appName +'::'+ navigator.appVersion +'::'+ ver);


if (NS && ver == 4) {
 frontURL(); document.write('<LINK REL="STYLESHEET" HREF="' + contentURL + '/HS/HHSns4.css">');
 document.write('<SCRIPT SRC="' + contentURL.split("www.").join("www3.") +'/NS4resize.js"></SCRIPT>');
 WM_netscapeCssFix(); WM_netscapeCssFixCheckIn();
}
else if (NS && ver == 5) { frontURL(); document.write('<LINK REL="STYLESHEET" HREF="' + contentURL + '/HS/HHSns6.css">'); }
else if (IE && ver == 4) { frontURL(); document.write('<LINK REL="STYLESHEET" HREF="' + contentURL + '/HS/HHSie4.css">'); }
else if (IE && ver == 5 && OS == "M") { frontURL(); document.write('<LINK REL="STYLESHEET" HREF="' + contentURL + '/HS/HHSie5M.css">'); }
else if (IE && (ver == 5)) { frontURL(); document.write('<LINK REL="STYLESHEET" HREF="' + contentURL + '/HS/HHSie5.css">'); }
else if (IE && (ver == 6)) { frontURL(); document.write('<LINK REL="STYLESHEET" HREF="' + contentURL + '/HS/HHSie6.css">'); } //closer, but not quite done yet
else { frontURL(); } //So everything has frontURL's variables available


function HHSheader() {
 Standardheader()
} //end HHSheader()

function HHSAbsheader() {
 HHSheader();
} //end HHSheader()

function CLheader() {
 Standardheader()
} //end CLheader()

function Mosbyheader() {

  var today = new Date();
  var dieDate = new Date();
  dieDate.setFullYear(2007,0,1);
 
 if(read_cart('DrugConsultNotice=') == -1 || dieDate > today) {
  if(document.domain == 'mosbydrugs.com') { noticeLoc = document.getElementsByTagName('form')[0]; }
  else { noticeLoc = document.getElementById('page'); } //mosbysdrugconsult.com
  
  noticeLoc.style.opacity = '.25';
  if(IE && ver<=6) {
    noticeLoc.style.width = '100%';
    noticeLoc.style.position = 'relative';
    noticeLoc.style.filter = 'alpha(opacity=25)';
    noticeLoc.style.zIndex = '1';
  }
 
  noticeElement = document.createElement("div");
  /* IE 6 wouldn't setAttributes on the new div, so this was moved to innerHTML
  noticeElement.setAttribute('id', 'notice');
  noticeElement.setAttribute('style', 'position:absolute; z-index:3; background-color:#f00; border:solid 1px #cccccc; top:50px; width:300px; top:25%; left:30%; padding:2em; opacity:1;');
  */
  
  if(dieDate > today) {
   closeButton = '<div style="position:absolute; top:0px; right:0px; border:solid 1px #0000ff; padding:1px;"><a href="" title="Close" onclick="return closeNotice(noticeLoc);" style="text-decoration:none;">×</a></div>';
  } else {
   closeButton = '';
  }
  
  noticeElement.innerHTML = '<div id="notice" style="position:absolute; z-index:3; background-color:#ffffff; border:solid 1px #cccccc; top:50px; width:300px; top:25%; left:30%; padding:2em; opacity:1;">' +
    closeButton +
    '<h2>Discontinued Product Announcement</h2>' +
    '<p>Elsevier is discontinuing the Mosby\'s Drug Consult line of products as of December 31, 2006. We will no longer sell individual subscriptions or provide online access to the Mosby\'s Drug Consult database after that date.</p>' +
    '<dl class="easyread">' +
    '<dt>Individual subscribers:</dt>' +
    '<dd>Please call Elsevier Customer Service at 800-545-2522 for more information.</dd>' +
    '<dt>Licensing customers:</dt>' +
    '<dd>Please contact <a href="mailto:M.Wisniewski@elsevier.com">Mike Wisniewski</a> or 215-239-3275 with questions.</dd>' +
    '</dl>' +
    '</div>';
  
  document.getElementsByTagName('body')[0].insertBefore(noticeElement, noticeLoc);
 }
 Standardheader();
} //end Mosbyheader()


 // COPIED FROM GENERALJS.JS
function read_cart(cookieName) { //cookieName should include "=" at end
  if (document.cookie.length > 0) { //if any cookies exist
  offset = document.cookie.indexOf(cookieName); //start of $cookieName
  if(cookieName.indexOf('=')==-1) { offset++; } //accounts for = sign not in cookieName
    if (offset != -1) { //if cookie exists
      offset += cookieName.length; //moves from start to end of $cookieName
      end = document.cookie.indexOf(";",offset);
      if (end == -1) { end = document.cookie.length; }
      var result = unescape(document.cookie.substring(offset,end)); //returns all values
      if ((result == null) || (result == "") || (result == "undefined") || (result == "null") || (result == cookieName))
       { return ""; }
      else { return result; }
    }
    else { return -1; }
  }
  else { return -1; }
}


function closeNotice(noticeLoc) {
 document.getElementById('notice').style.display = 'none';
 noticeLoc.style.opacity = 1;
 if(IE && ver<=6) {
   noticeLoc.style.filter = 'alpha(opacity=100)';
 }
 generate_cookie('DrugConsultNotice=Read',1*24*60,document.domain);
 return false;
}

function MosbyAbsheader() {
 Mosbyheader();
} //end Mosbyheader()

function WBSheader() {
 Standardheader()
} //end WBSheader()

function WBSAbsheader() {
 Standardheader()
} //end WBSheader()

function IMNGheader() {
 
} //end IMNGheader()


	//This is the actual header used on all EHS.com pages
function Standardheader() {
  //NS4 on servers other than where headerfooter is hosted bizarrely omits anything on page after <DIV> if included
 if(!NS || ver != 4) { divstyle = 'style="text-align:left;margin-bottom:2px;"'; }
 else { divstyle = ''; }
 document.writeln('<div ' + divstyle + ' class="fullsize">' +
 '<a href="' + linkURL + '/" target="_top"\n' +
 ' title="Elsevier: Saunders, Mosby, Churchill Livingstone, Butterworth-Heinemann">' +
 '<img border="0" src="' + contentURL + '/HS/redesign1104/graphics/Elsevier.gif" width="87" height="95"\n' +
 ' alt="Elsevier" style="margin:12px 27px 13px 64px;"/>' +
 '<img border="0" src="' + contentURL + '/HS/redesign1104/graphics/Elsevier_imprints.gif" width="248" height="60"\n' +
 ' alt="Elsevier: Saunders, Mosby, Churchill Livingstone, Butterworth-Heinemann"' +
 ' style="margin:6px 0px 54px 0px;"/></a>\n' +
 '<div style="background:url(' + contentURL + '/HS/redesign1104/graphics/Hbar.gif);height:45px;"></div></div>');

	//duped in headerfooter.js
 if (location.port == "8300") //checks if site is being protected by PIN 2.0
  { document.writeln('<DIV CLASS="topTools">:: <A HREF="/Logout.jsp">Log Out</A> ::&nbsp;</DIV>'); }
 else if (location.pathname == "/servlet/pin") //checks if site is being protected by PIN 1.0
  { document.writeln('<DIV CLASS="topTools">:: <A HREF="/servlet/pin?ACTION=logout">Log Out</A> ::&nbsp;</DIV>'); }
}


var copyrightYear = "2006"; //default copyright year for all products

	//Used for copyright statements without Standardfooter();
function Basicfooter(Imprint,Year,Type) {
 if(!Year) { var Year = copyrightYear; }
 if (Imprint == 'MKP') {
  document.writeln('<p class="copy" title="MKP">&copy; ' + Year + ', Elsevier Science (USA) | <a href="http://www.elsevier.com" target="_top">www.elsevier.com');
 } else {
  document.writeln('<p class="copy" title="EHS"><a href="' + linkURL + '/AboutUs/copyright.jsp" target="_top">Copyright</a> &copy; '+ Year + ' ');
  if (Imprint == 'WBS' || Imprint == 'Saunders')
   document.writeln('Saunders, an imprint of '); //http://www.wbsaunders.com/
 else if (Imprint == 'CL' || Imprint == 'CLUS' ||Imprint == 'Churchill Livingstone')
   document.writeln('Churchill Livingstone, an imprint of '); //http://www.churchillus.com/
  else if (Imprint == 'Mosby')
   document.writeln('Mosby, an imprint of '); //http://www.mosby.com/
beginCorporate = '<A HREF="http://www.elsevier.com/" TARGET="elsevier" ONCLICK="popup(this,\'Evolveoffsite\'); return false;">Elsevier';
   if (Imprint == 'MosbyCanada' || Imprint == 'Mosby Canada') { endCorporate = '</A> Canada'; }
   else if (Imprint == 'MosbyAustralia') { endCorporate = '</A> Australia'; }
   else if (Imprint == 'CL') { endCorporate = '</A> Ltd.'; }
   else { endCorporate = '</A> Inc.'; }
 document.writeln(beginCorporate + endCorporate + ' All rights reserved.<BR>');
  document.writeln('For problems or suggestions regarding this service, please contact: <a href="mailto:');

 if (Type == 'Evolve') { document.writeln('evolve-feedback@elsevier.com?Subject=Evolve website concern">evolve-feedback@elsevier.com'); }
  else { document.writeln('EHSwebmaster@elsevier.com?Subject=EHS website concern">Webmaster'); }
 } //END !MKP
 document.writeln('</a></p>');
} //end Basicfooter()

function HHSfooter() {
 Standardfooter();
 document.writeln('<p class="copy" title="EHS">Copyright &copy; ' + copyrightYear + ' ');
 document.writeln('<a href="http://www.elsevier.com/" target="_top">Elsevier</a> Inc.');
 document.writeln(' All rights reserved.<br/>');
 document.writeln('For problems or suggestions regarding this service, please contact: <a href="mailto:EHSwebmaster@elsevier.com?Subject=EHS website concern">Webmaster</a></p>');
} //end HHSfooter() 

function HHSMarketingfooter() {
 Marketingfooter();
 document.writeln('<p class="copy" title="EHS">Copyright &copy; ' + copyrightYear + ' ');
 document.writeln('<a href="http://www.elsevier.com/" target="_top">Elsevier</a> Inc.');
 document.writeln(' All rights reserved.<br/>');
 document.writeln('For problems or suggestions regarding this service, please contact: <a href="mailto:EHSwebmaster@elsevier.com?Subject=EHS website concern">Webmaster</a></p>');
} //end HHSfooter()

function CLfooter() {
 Standardfooter();
 document.writeln('<p class="copy" title="EHS">Copyright &copy; ' + copyrightYear + ' ');
 document.writeln('Churchill Livingstone');
 document.writeln(', an imprint of <a href="http://www.elsevier.com/" target="_top">Elsevier</a> Ltd.');
 document.writeln(' All rights reserved.<br/>');
 document.writeln('For problems or suggestions regarding this service, please contact: <a href="mailto:EHSwebmaster@elsevier.com?Subject=EHS website concern">Webmaster</a></p>');
} //end CLfooter()

function Mosbyfooter() {
 Standardfooter();
 document.writeln('<p class="copy" title="EHS">Copyright &copy; ' + copyrightYear + ' ');
 document.writeln('Mosby');
 document.writeln(', an imprint of <a href="http://www.elsevier.com/" target="_top">Elsevier</a> Inc.');
 document.writeln(' All rights reserved.<br/>');
 document.writeln('For problems or suggestions regarding this service, please contact: <a href="mailto:EHSwebmaster@elsevier.com?Subject=EHS website concern">Webmaster</a></p>');
 } //end Mosbyfooter()

function MosbyRealfooter() {
 Standardfooter();
 document.writeln('<p class="copy" title="EHS">Copyright &copy; ' + copyrightYear + ' ');
 document.writeln('Mosby');
 document.writeln(', an imprint of <a href="http://www.elsevier.com/" target="_top">Elsevier</a> Inc.');
 document.writeln(' All rights reserved.<br/>');
 document.writeln('For problems or suggestions regarding this service, please contact: <a href="mailto:EHSwebmaster@elsevier.com?Subject=EHS website concern">Webmaster</a></p>');
 } //end MosbyRealfooter()

function WBSfooter() {
 Standardfooter();
 document.writeln('<p class="copy" title="EHS">Copyright &copy; ' + copyrightYear + ' ');
 document.writeln('Saunders');
 document.writeln(', an imprint of <a href="http://www.elsevier.com/" target="_top">Elsevier</a> Inc.');
 document.writeln(' All rights reserved.<br/>');
 document.writeln('For problems or suggestions regarding this service, please contact: <a href="mailto:EHSwebmaster@elsevier.com?Subject=EHS website concern">Webmaster</a></p>');
 } //end WBSfooter()

function MosbyDrugConsultfooter() {
 document.writeln('<P CLASS="copy" TITLE="EHS">Mosby Inc. derived items <A HREF="' + linkURL + '/AboutUs/copyright.jsp" TARGET="_blank">copyright</A> &copy; ' + copyrightYear + ' ');
 document.writeln('<A HREF="http://www.mosby.com/" TARGET="_blank">Mosby</A> Inc. ');
 document.writeln(' All rights reserved.</P>');
} //end MosbyDrugConsultfooter()

function IMNGfooter() {
 var mysearch = top.location.pathname;
  if (mysearch.length >= 1) {
   mysearch = mysearch.split("IMNG/");
   if (mysearch[1] == "famprac/") { var bookAbbrev = "qf"; }
   else if (mysearch[1] == "intmed/") { var bookAbbrev = "qm"; }
   else if (mysearch[1] == "obgyn/") { var bookAbbrev = "qo"; }
   else if (mysearch[1] == "pedia/") { var bookAbbrev = "qp"; }
   else if (mysearch[1] == "skinaller/") { var bookAbbrev = "qa"; }
   else if (mysearch[1] == "psyche/") { var bookAbbrev = "qc"; }
   else { var bookAbbrev = ""; }
  }
 document.write('<P CLASS="copy" TITLE="EHS">\n');
 document.write('<A HREF="http://www.imng.com/scripts/om.dll/serve?web=copyright-imng.html&id='+bookAbbrev+'" TARGET="_top"></A>Copyright &copy; ' + copyrightYear + ' \n');
 document.write('International Medical News Group<A HREF="http://www.imng.com/" TARGET="_top"></A>');
} //end IMNGfooter()

function BHfooter() {
  document.writeln('<DIV CLASS="intro"> ');
  document.writeln('<P>&copy; ' + copyrightYear + ', Elsevier Inc. |');
  document.writeln('<A HREF="http://www.elsevier.com" TARGET="_top">www.elsevier.com</A></P> </DIV>');
} //end BHfooter()

function APfooter() {
  document.writeln('<DIV CLASS="intro"> ');
  document.writeln('<P>&copy; ' + copyrightYear + ', Academic Press. |');
  document.writeln('<A HREF="http://www.academicpress.com" TARGET="_top">www.academicpress.com</A></P> </DIV>');
} //end BHfooter()

function Wongfooter() {
 Standardfooter();
 document.writeln('<P CLASS="copy" TITLE="Wong"><A HREF="' + linkURL + '/AboutUs/copyright.jsp" TARGET="_top">Copyright</A> &copy; ' + copyrightYear + ' ');
 document.writeln('Donna Wong, PhD, RN, PNP, CPN, FAAN.');
 document.writeln(' All rights reserved.<BR>Read our <A HREF="' + linkURL + '/AboutUs/copyright.jsp#terms" TARGET="_top" CLASS="off">Terms and Agreements of Use</A> and our <A HREF="' + linkURL + '/AboutUs/copyright.jsp#Privacy" TARGET="_top">Privacy Policy</A>.<BR>');
 document.writeln('For problems or suggestions regarding this service, please contact: <A HREF="mailto:EHSwebmaster@elsevier.com?Subject=EHS website concern">EHSwebmaster@elsevier.com</A></P>');
} //end Wongfooter()

function HJCfooter() {
 Standardfooter();
 document.writeln('<P CLASS="copy" TITLE="Hall Johnson Consulting"><A HREF="' + linkURL + '/AboutUs/copyright.jsp" TARGET="_top">Copyright</A> &copy; ' + copyrightYear + ' ');
 document.writeln('<A HREF="http://members.aol.com/suzannehj/hello.htm" TARGET="_top">Hall Johnson Consulting</A>, 9137 W. Ohio Ave., Lakewood, CO 80226.');
 document.writeln(' All rights reserved.<BR>Read our <A HREF="' + linkURL + '/AboutUs/copyright.jsp#terms" TARGET="_top" CLASS="off">Terms and Agreements of Use</A> and our <A HREF="' + linkURL + '/AboutUs/copyright.jsp#Privacy" TARGET="_top">Privacy Policy</A>.<BR>');
 document.writeln('For problems or suggestions regarding this service, please contact: <A HREF="mailto:EHSwebmaster@elsevier.com?Subject=EHS website concern">EHSwebmaster@elsevier.com</A></P>');

} //end HJCfooter()


	//This creates a toolbar at the bottom of every page
function Standardfooter() {
 document.writeln('<p class="groupbox" align="CENTER" title="Standardfooter"><nobr><span class="sm"><a href="' + linkURL +
  '/" target="_top">Home</a> | <a href="' + linkURL +
  '/AboutUs/terms_conditions.jsp" target="_top">Terms and Conditions</a> | <a href="' + linkURL +
  '/AboutUs/privacy.jsp" target="_top">Privacy Policy</a> | <a href="' + linkURL +
  '/search.jsp" target="_top">Advanced Search</a> | <a href="' + linkURL +
  '/viewcart.jsp" target="_top">Shopping Cart</a> | <a href="' + linkURL +
  '/Help/" target="_top">Help</a> | <a href="' + linkURL +
  '/Help/sitemap.jsp" target="_top">Site Map</a></span></nobr></p>');
}

function Marketingfooter() {
 document.writeln('<p align="CENTER" title="Standardfooter"><nobr><span class="sm"><a href="' + linkURL +
  '/" target="_top">Home</a> | <a href="' + linkURL +
  '/AboutUs/terms_conditions.jsp" target="_top">Terms and Conditions</a> | <a href="' + linkURL +
  '/AboutUs/privacy.jsp" target="_top">Privacy Policy</a> | <a href="' + linkURL +
  '/search.jsp" target="_top">Advanced Search</a> | <a href="' + linkURL +
  '/viewcart.jsp" target="_top">Shopping Cart</a> | <a href="' + linkURL +
  '/Help/" target="_top">Help</a> | <a href="' + linkURL +
  '/Help/sitemap.jsp" target="_top">Site Map</a></span></nobr></p>');
}


	//Master list on us.elsevierhealth.com
browsers_IE = {name:"Internet Explorer 6", url:"http://www.microsoft.com/windows/ie/downloads/critical/ie6sp1/default.asp"};
browsers_NN = {name:"Netscape 7", url:"http://channels.netscape.com/ns/browsers/download.jsp"};
browsers_OP = {name:"Opera 6", url:"http://www.opera.com/download/"};
browsers_ALL = '<a href="' + browsers_IE.url + '">' + browsers_IE.name + '</a>, <a href="' + browsers_NN.url + '">' + browsers_NN.name + '</a>, or <a href="' + browsers_OP.url + '">' + browsers_OP.name + '</a>';
Flash = {name:"Macromedia Flash Player", url:"http://www.macromedia.com/software/flashplayer/"};
PDF = {name:"Adobe Acrobat Reader", url:"http://www.adobe.com/prodindex/acrobat/readstep.html"};
PDFPDA = {name:"Adobe Acrobat Reader for mobile devices", url:"http://www.adobe.com/products/acrobat/acrrmobiledevices.html"};
PowerPoint = {name:"PowerPoint or a PowerPoint viewer", url:"http://office.microsoft.com/Downloads/9798/Ppview97.aspx"};
Quicktime = {name:"QuickTime Player", url:"http://www.apple.com/quicktime/download/"};
RealPlayer = {name:"RealOne Player", url:"http://www.real.com/"};
Shockwave = {name:"Shockwave Player", url:"http://sdc.shockwave.com/shockwave/download/"};
WindowsMedia = {name:"Windows Media Player", url:"http://www.microsoft.com/windows/windowsmedia/download/default.asp"};
WinZip = {name:"WinZip", url:"http://www.winzip.com/"};
PKZIP = {name:"PKZIP", url:"http://nct.digitalriver.com/fulfill/0018.1"};
StuffIt = {name:"StuffIt Expander", url:"http://www.stuffit.com/downloads.html"};
FreeZip = {name:"Free Zip!", url:"http://www.braxio.com/zip.htm"};

	//This is used for standard Application statements. The pagename is text like "these sample chapters"; the
	//AppName is the common filetype nomenclature (eg, PDF, PowerPoint, RealAudio).
function HelperApp(AppName,pagename) {
 if (!pagename) { pagename = AppName + ' files'; }

 if (AppName == 'multi-select') {//Not really an app, used to explain multi-select on <SELECT>
  document.write('To select multiple ' + pagename + ': <u>PC users:</u> Hold down control key.  <u>Macintosh users:</u> Hold down command key.');
 }
 else if (AppName == 'browsers') {
  document.write('Download ' + browsers_ALL + '.');
 }
 else if (AppName == 'Flash') {
  document.write('<strong>Note:</strong> To review and run ' + pagename + ' you must have the ' + Flash.name + ' installed, which is free and ');
  document.write('<a href="' + Flash.url + '">available for download from the Macromedia site</a>.');
 }
 else if (AppName == 'PDF') {
  document.write('<strong>Note:</strong> To read and print ' + pagename + ' you must have the ' + PDF.name + ' installed, which is free and ');
  document.write('<a href="' + PDF.url + '">available for download from the Adobe site</a>.');
 }
 else if (AppName == 'PDF-PDA') {
  document.write('<strong>Note:</strong> To read and print ' + pagename + ' you must have the ' + PDFPDA.name + ' installed, which is free and ');
  document.write('<a href="' + PDFPDA.url + '">available for download from the Adobe site</a>.');
 }
 else if (AppName == 'PowerPoint' || AppName == 'PPT') { //see also PowerPoint_exe below
  document.write('<strong>Note:</strong> To view and print ' + pagename + ', you must have ' + PowerPoint.name + ' installed on your computer.  The latter is free and ');
  document.write('<a href="' + PowerPoint.url + '">available for download from the Microsoft site</a>.');
 }
 else if (AppName == 'Quicktime') {
  document.write('<strong>Note:</strong> To review and run ' + pagename + ' you must have the ' + Quicktime.name + ' installed, which is free and ');
  document.write('<a href="' + Quicktime.url + '">available for download from the Apple site</a>.');
 }
 else if (AppName == 'RealPlayer') {
  document.write('<strong>Note:</strong> To review and run ' + pagename + ' you must have ' + RealPlayer.name + ' installed, which is free and ');
  document.write('<a href="' + RealPlayer.url + '">available for download from the Real.com site</a>.');
 }
 else if (AppName == 'RTF') {
  document.write('<strong>Note:</strong> To view, edit, and print ' + pagename + ' you must have a word processing program such as Word, WordPad, or WordPerfect.');
 }
 else if (AppName == 'self-extracting_ZIP' || AppName == 'PowerPoint_exe') {
  document.write('<strong>Note:</strong> To use ' + pagename.split("_").join(" ") + ' simply download the file');
    //IE drops the .exe from filename if anything is found after filename in URL (eg, "?PIN=foo")
  if (IE) { document.write(' -- <strong>be certain the .exe extension is retained</strong> --'); }
  document.write(' and double-click it. The file will automatically extract all files bundled in it to a pre-determined location on your hard drive;');
  document.write(' you may change this location when extracting if you choose. <u>Macintosh users</u>: if your computer does not recognize the .exe file you can drop it onto <a href="' + StuffIt.url + '">' + StuffIt.name + '</a> for extraction.');
  if (AppName == 'PowerPoint_exe') {
   document.write('<br/>To then view and print ' + pagename + ', you must have ' + PowerPoint.name + ' installed on your computer.  The latter is free and ');
   document.write('<a href="' + PowerPoint.url + '">available for download from the Microsoft site</a>.');
  }
 }
 else if (AppName == 'Shockwave') {
  document.write('<strong>Note:</strong> To review and run ' + pagename + ' you must have the ' + Shockwave.name + ' installed, which is free and ');
  document.write('<a href="' + Shockwave.url + '">available for download from the Macromedia site</a>.');
 }
 else if (AppName == 'WindowsMedia') {
  document.write('<strong>Note:</strong> To review and run ' + pagename + ' you must have the ' + WindowsMedia.name + ' installed, which is free and ');
  document.write('<a href="' + WindowsMedia.url + '">available for download from the Microsoft site</a>.');
 }
 else if (AppName == 'ZIP') {
  document.write('<strong>Note:</strong> To use ' + pagename + ' you must have an extraction application such as <a href="' + WinZip.url + '">' + WinZip.name + '</a>, <a href="' + PKZIP.url + '">' + PKZIP.name + '</a>, <a href="' + StuffIt.url + '">' + StuffIt.name + '</a> (free), or <a href="' + FreeZip.url + '">' + FreeZip.name + '</a> (free).');
 }
}


	//This is used for placing our name on the site
function SiteBrand(usage) {
 if (!usage) { usage = 'dotcom'; }

 if (usage == 'corporateFull' || usage == 'corporateFirst') {
  document.write('Elsevier, Health Sciences Division');
 }
 else if (usage == 'corporateSecond') {
  document.write('Elsevier Health Sciences');
 }
 else if (usage == 'corporateES') {
  document.write('Elsevier');
 }
 else if (usage == 'dotcom' || usage == 'dotcomshort') {
  document.write('ElsevierHealth.com');
 }
}


//validates the fields of forms for PIN 2.0 (shouldn't be on headerfooter.js)
function validateForm(formname){	
 if(formname == 'Login') { //login form named 'login'
  if (isEmpty(document.loginForm.login.value)) { alert('Please enter a valid user name.'); }
  else if (isEmpty(document.loginForm.pass.value)) { alert('Please enter a password.'); }
  else { document.loginForm.submit(); }
 }
 else if(formname == 'Registration') { //registration form named 'registerForm'
  if (isEmpty(document.registerForm.registerpin.value)) { alert('Please enter a valid passcode.'); }
  else{ document.registerForm.submit(); }
 }
}

function isEmpty(value) { return (value==""); }



//-->
//</script>
