//alert(location.pathname.substring(0,location.pathname.lastIndexOf('/')).toLowerCase());
z=location.pathname.substring(0,location.pathname.lastIndexOf('/')).toLowerCase();

if (z=="/pages"){a='/PublishingImages/network/btn_print.gif';}
if (z=="/weightloss/pages"){a='/PublishingImages/weightloss/btn_print.gif';}
if (z=="/heart/pages"){a='/PublishingImages/heart/btn_print.gif';}
if (z=="/cancer%20care/pages"){a='/PublishingImages/cancer/btn_print.gif';}
if (z=="/imaging/pages"){a='/PublishingImages/imaging/btn_print.gif';}
if (z=="/maternity/pages"){a='/PublishingImages/maternity/btn_print.gif';}
if (z=="/everythingispossible/pages"){a='/PublishingImages/network/btn_print.gif';}
if (z=="/sleep/pages"){a='/PublishingImages/sleep/btn_print.gif';}
if (z=="/behavioralhealth/pages"){a='/PublishingImages/behavioralhealth/btn_print.gif';}
if (z=="/breastcare/pages"){a='/PublishingImages/breastcare/btn_print.gif';}
if (z=="/neurosciences/pages"){a='/PublishingImages/neurosciences/btn_print.gif';}
if (z=="/rehab/pages"){a='/PublishingImages/rehab/btn_print.gif';}
if (z=="/other/pages"){a='/PublishingImages/other/btn_print.gif';}
if (z=="/pediatrics/pages"){a='/PublishingImages/pediatrics/btn_print.gif';}
if (z=="/orthopedics/pages"){a='/PublishingImages/Orthopedics/btn_print.gif';}
if (z=="/ssmstclare/pages"){a='/PublishingImages/network/btn_print.gif';}

document.write("<a href='javascript:onclick=printlayout()'><img src="+a+" width='59' height='38' style='float:center;' border='0' /></a>");
