﻿//<SCRIPT LANGUAGE="JavaScript">
<!--

  //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("coursewareobjects.com")[0] == "http://www."
  || frontURL.split("elsevier.com")[0] == "http://coursewareobjects."
  || frontURL.split("elsevier.com")[0] == "http://evolve."
  || frontURL.split("us.elsevierhealth.com")[0] == "http://www.")
      { linkURL = "http://evolve.elsevier.com"; contentURL = ""; } //use both relative and non
 else if(frontURL.split("coursewareobjects.com")[0] == "https://www."
  || frontURL.split("elsevier.com")[0] == "https://evolve.")
      { linkURL = "http://evolve.elsevier.com"; contentURL = ""; } //use both relative and non
 else { linkURL = "http://evolve.elsevier.com"; contentURL = linkURL; }//evolve.elsevier.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 CW
 contentURL = "http://www1.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!!
  //JS generated pages seem to be recognized only as www.domain.com when writing cookies
  //turn back on when no longer using JS to generate pages with cookie writers (EICs)
  if(domainArray.length >= 3) { tempdomain=document.domain; }
  else {
   tempdomain = domainArray[1];
   for(i=2;i<domainArray.length;i++) { tempdomain = tempdomain + '.' + domainArray[i]; }
   document.domain = tempdomain;
  }
  //alert(document.domain);
 }
}


  //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("www1.") +'/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() {
 Standardheader()
} //end Mosbyheader()

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() {
 document.writeln('<div style="background-color:#ff9933;text-align:left;margin-bottom:2px;" class="fullsize"><a href="' + linkURL + '/" target="_top"><img border="0" src="' + contentURL + '/HS/redesign0902/graphics/plainheader.gif" WIDTH="700" HEIGHT="120" ALT="Elsevier Inc.:');
 document.writeln(' Your Premier Health Science Information Source - WB Saunders, Mosby, Churchill Livingstone, Butterworth-Heinemann" /></a></div>');
 
 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 = "2010"; //default copyright year for all products

	//Used for copyright statements without Standardfooter();
function Basicfooter(Imprint,Year,Type,frame) {
 if(!Year) { var Year = copyrightYear; }
 if(!frame) { destination = eval("document"); }
 else { destination = eval("window.frames[\"" + frame + "\"].document"); }

 destination.writeln('<p class="copy" title="Elsevier">');
 if (Imprint != 'ElsevierGmbH') { 
 		
 		if(Type=='ExCon') {
 			exConURL = "http://www.expertconsultbook.com/expertconsult/o/login.do?method=";
 			legallinks = { termsURL:exConURL + 'copyrightPage', privacyURL:exConURL + 'privacyPage'};
 		} else {
 			legallinks = { termsURL:linkURL + '/disclaimer.html?asis', privacyURL:linkURL + '/privacy_policy.html?asis'};
 		}
 		
		destination.writeln('<a href="' + legallinks.termsURL + '"  onclick="popup(this,\'legal\'); return false;">Terms and Conditions</a> | ' +
		'<a href="' + legallinks.privacyURL + '"  onclick="popup(this,\'legal\'); return false;">Privacy Policy</a> | ');
		if (Type == 'Evolve') { contactus = {email:"evolve-support@elsevier.com", subject:"Evolve website concern", ticketURL:"http://evolvesupport.elsevier.com/"}; }
		else if (Type == 'ExCon') { contactus = {email:"online.help@elsevier.com", subject:"Expert Consult website concern", ticketURL:exConURL + "contactPage"}; }
		else { contactus = {email:"EHSwebmaster@elsevier.com", subject:"EHS website concern"}; }

 if(contactus.ticketURL) {
   destination.writeln('<a href="' + contactus.ticketURL + '" onclick="popup(this,\'Evolve\'); return false;">Contact Us</a> | ');
 } else {
   destination.writeln('<a href="mailto:' + contactus.email + '?Subject=' + contactus.subject + '">Contact Us</a> | ');
 }

}
 else if (Type == 'PflegeHeute') {
contactus = {email:"pflegeheute@elsevier.com", subject:"Pflege Heute website concern"};
}
 destination.writeln('Copyright &copy; '+ Year + ' '); 
 if (Imprint == 'WBS' || Imprint == 'Saunders') //LM added Saunders
  { destination.writeln('Saunders, an imprint of '); } //http://www.wbsaunders.com/
 else if (Imprint == 'CL' || Imprint == 'CLUS' ||Imprint == 'Churchill Livingstone')
  { destination.writeln('Churchill Livingstone, an imprint of '); } //http://www.churchillus.com/
 else if (Imprint == 'Mosby')
  { destination.writeln('Mosby, Inc., an affiliate of '); } //http://www.mosby.com/
 else if (Imprint == 'MosbyUK')
  { destination.writeln('Mosby, Ltd., an affiliate of '); }
 else if (Imprint == 'MosbyJems')
  { destination.writeln('MosbyJems, an imprint of '); }
 else if (Imprint == 'ElsevierGmbH')
  { destination.writeln('Elsevier GmbH, M&uuml;nchen. Alle Rechte vorbehalten. Lesen Sie unsere Allgemeinen Gesch&auml;ftsbedingungen und die Datenschutzrichtlinien.'); }
 else if (Imprint == 'BailliereTindall')
  {destination.writeln('Bailliere Tindall, an imprint of '); }

if (Imprint != 'ElsevierGmbH') {  
  
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' || Imprint == 'AU') { endCorporate = '</a> Australia.'; }
   else if (Imprint == 'CL' || Imprint == 'BailliereTindall' || Imprint == 'MosbyUK') { endCorporate = '</a> Ltd.'; }
   else if (Imprint == 'BH') { endCorporate = '</a> Inc.'; }
   else { endCorporate = '</a> Inc.'; }
 destination.writeln(beginCorporate + endCorporate + ' All rights reserved.<br />');
 if(Type != 'ExCon') {
 	destination.writeln('Evolve&reg; is a registered trademark of ' + beginCorporate + endCorporate + ' in the United States and other jurisdictions.<br />');
 }
}
 if (Type != 'PflegeHeute') {
  if(Type == 'ExCon') { ticketLink = {URL:"mailto:" + contactus.email, text:contactus.email, onclick:'false'}; } //email for ExCon tickets
  else { ticketLink = {URL:contactus.ticketURL, text:contactus.ticketURL, onclick:'true'}; } //website for Evolve tickets
  
  if(ticketLink.onclick == 'true') { onclickAttr=' onclick="popup(this,\'Evolve\'); return false;"'; }
  else { onclickAttr = ''; }
  
  destination.writeln('For problems or suggestions regarding this service, submit a ticket at ' +
  '<a href="' + ticketLink.URL + '"' + onclickAttr + '>' + ticketLink.text + '</a></p>');
 }
 else if (Type == 'PflegeHeute') { destination.writeln('<br />Fragen oder Anregungen zu dieser Seite bitte an <a href="mailto:' + contactus.email + '?Subject=' + contactus.subject + '">' + contactus.email + '</a></p>'); }
 /*CW2
 if (document.cookie.indexOf("Developer=") >= 0 && document.cookie.indexOf("FTP|") >= 1) {
  document.writeln('<form action="http://intranet1/cgi-bin/ftp.pl" method="post" name="developerFTP">' +
  '<p class="toollayer"><input type="hidden" name="filename"><input type="hidden" name="type"><a href="/" title="FTP this page only" onclick="filename.value=document.location; document.developerFTP.submit(); return false;">FTP 1</a>' +
  '<a href="/" title="FTP entire directory" onclick="filename.value=document.location; document.developerFTP.type.value=\'all\'; document.developerFTP.submit(); return false;">FTP all</a></p></form>');
 }*/
} //end Basicfooter()

function HHSfooter() {
 Standardfooter();
 document.writeln('<p class="copy" title="Elsevier">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="Elsevier">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="Elsevier">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="Elsevier">Copyright &copy; ' + copyrightYear + ' ');
 document.writeln('Mosby, Inc.');
 document.writeln(', an affiliate 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="Elsevier">Copyright &copy; ' + copyrightYear + ' ');
 document.writeln('Mosby, Inc.');
 document.writeln(', an affiliate 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="Elsevier">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="Elsevier">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="Elsevier">\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 + '/search.jsp" target="_top">Advanced Search</a> | <a href="' + linkURL + '/viewcart.jsp" target="_top">Shopping Cart</a>');
 document.writeln(' | <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 Inc.');
 }
 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==""); }


  //Used to create standard popup window, only changing focus if requesting same URL if onsite
  //Error checks for offsite vs onsite links to avoid location check permission denied error.
  //Accepts both this object and string (this.href can throw error).
  //Master of file at http://www.us.elsevierhealth.com/generalJS.js (copied here to eliminate a LINK)
     var popupWindow = new Object();
function popup(Location,Target,Width,Height,Type) {
   //if onsite pages these have changed domain to domain.com via headerfooter.js
 var domained = ".html .cfm .pl"; //
 if(!window.offsite) { window.offsite = -1; } //default setting
 
 Locationre = /w+[0-9]*\./; //to check w/o www3 etc
 if(typeof(Location) == "object" && document.location.host.replace(Locationre, "").search(Location.hostname.replace(Locationre, "")) == 0) { //turn location object into string for onsite
  Locationstr = Location.pathname + Location.search + Location.hash;
    //adjusts for IE vs NN pathname formats
  if(Locationstr.substring(0,1) != "/") { Locationstr = "/" + Locationstr; }
  Locationstr = Location.protocol + "//" + Location.hostname + Locationstr;
 }
 else { Locationstr = Location + ""; } //forces stringiness

   //makes Locationstr a full-figured URL
 if(Locationstr.search("http:") == -1 && Locationstr.search("https:") == -1 && Locationstr.search("file:") == -1) {
  if(Locationstr.search(/^\//) == -1) {
   Locationstr = "http://" + document.location.hostname + location.pathname.substring(0,location.pathname.lastIndexOf('/')) + "/" + Locationstr;
  } else  { Locationstr = "http://" + document.location.hostname + Locationstr; }
 }

   // Establishes standard H & W
 if (!Target) { Target = "popup"; }
 if (!Type) { Type = Target; }
  var winname = Target;
  WidthT = 348; HeightT = 448; //Evolve defaults
 if (Type == "eTour") { WidthT = 800; HeightT = 550; }
 if (Type == "eWorkbook") { WidthT = 800; HeightT = 600; }
 if (Type == "postcard") { WidthT = 400; HeightT = 400; }
 if (Type == "onSite") { WidthT = 580; HeightT = 300; }
 if (Type == "VirtualClassroom" || Type == "sample") { WidthT = 560; HeightT = 550; }
 if (Type == "VirtualClassroomBig") { WidthT = 700; HeightT = 550; }
 if (Type == "soundbyte") { WidthT = 250; HeightT = 100; }
 if (Type == "HelpPane") { //a tall window pane on the right
  if(IE) { WidthT = screen.availWidth * .4; HeightT = screen.availHeight * .9; } //stupid IE workaround
  else { WidthT = window.outerWidth * .4; HeightT = window.outerHeight * .9; }
 }
  //WebLinks for sites opened from WebLinks files
  //offsite for sites other than our own which are linked to similarly to WebLinks, but not within that context
  //Evolveoffsite for sites other than immediate Evolve ones which are linked to as though part of our site, includes other elsevier.coms
  //Evolve for internal Evolve sites
  //percent for sites opened smaller than opener
 if (Type == "WebLinks" || Type == "offsite" || Type == "Evolveoffsite" || Type == "Evolve" || Type == "percent") { //easily seen it's a new window cuz it's smaller
  if(IE) { WidthT = screen.availWidth * .9; HeightT = screen.availHeight * .75; } //stupid IE workaround
  else { WidthT = window.outerWidth * .9; HeightT = window.outerHeight * .75; }
 }

  //allows overrides
 if (!Width) { Width = WidthT; }
 if (!Height) { Height = HeightT; }

   // Establishes standard windows based on name, creating window if closed
 if(popupWindow[winname] == null || popupWindow[winname].closed == true) {
  if (Type == "full")
   { window.popupWindow[winname] = window.open(Locationstr, Target, "toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=yes,resizable=yes,width=" + Width + ",height=" + Height); }
  else if (Type == "HelpPane")
   { window.popupWindow[winname] = window.open(Locationstr, Target, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=yes,personalbar=0,width=" + Width + ",height=" + Height + ",screenX=600,screenY=40"); }
  else if (Type == "WebLinks" || Type == "offsite" || Type == "Evolve" || Type == "percent")
   { window.popupWindow[winname] = window.open(Locationstr, Target, "toolbar=1,location=1,directories=0,status=1,menubar=1,scrollbars=yes,resizable=yes,personalbar=0,width=" + Width + ",height=" + Height + ",screenX=50,screenY=20"); }
  else if (Type == "Evolveoffsite")
   { window.popupWindow[winname] = window.open(Locationstr, Target, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=yes,personalbar=0,width=" + Width + ",height=" + Height + ",screenX=50,screenY=20"); }
  else if (Type == "sample") //sample of content
   { window.popupWindow[winname] = window.open(Locationstr, Target, "toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=yes,width=" + Width + ",height=" + Height); }
  else if (Type == "windowpane") //sample of content
   { window.popupWindow[winname] = window.open(Locationstr, Target, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=yes,width=" + Width + ",height=" + Height); }
  else if (Type == "eWorkbook") //eWorkbook
   { window.popupWindow[winname] = window.open(Locationstr, Target, "toolbar=1,location=0,directories=0,status=0,menubar=1,scrollbars=yes,resizable=yes,width=" + Width + ",height=" + Height); }
  else if (Type == "VirtualClassroom") //eWorkbook
   { window.popupWindow[winname] = window.open(Locationstr, Target, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=yes,width=" + Width + ",height=" + Height); }
  else if (Type == "VirtualClassroomBig") //eWorkbook
   { window.popupWindow[winname] = window.open(Locationstr, Target, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=yes,width=" + Width + ",height=" + Height); }
  else //the default is basic
   { window.popupWindow[winname] = window.open(Locationstr, Target, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=yes,width=" + Width + ",height=" + Height); }
  if (IE) { var firstTime = 1; } //used to avoid IE 5-6 error generated by first use of popup window
  else { var firstTime = 0; } //NS doesn't have error
 }

 popupWindow[winname].focus(); //force focus on new window--can fail miserably if unrequested windows disallowed
     //document.domain security on location property and NS4 throws error on if statement
  if ((offsite == -1 && Locationstr.search(document.domain) != -1 && domained.search(Locationstr.substring(Locationstr.lastIndexOf('.'))) != -1) && (!NS || ver != 4) && (firstTime != 1))
   { if (popupWindow[winname].location != Locationstr) { popupWindow[winname].location = Locationstr; } }
  else { popupWindow[winname].location = Locationstr; }


    //sets offsite window to avoid location error.  See domained variable above.
  if (Locationstr.search(document.location.host.replace(Locationre, "")) == -1 || domained.search(Locationstr.substring(Locationstr.lastIndexOf('.'))) == -1) { window.offsite = 1; }
  else { window.offsite = -1; }
}//END popup




//-->
//</SCRIPT>