var currentLocation = document.location.href;

if (document.forms[0].PageType.value == "article") {

// email a friend
document.write('<img src="templates/domEd/$file/it_tools_thispage2.gif" width="49" height="15"><a href="../tools/form?open&type=Email&ed=itechne/itechneed.nsf&ui=dom&template=domEd&page=',document.forms[0].PageTitle.value,'&uri=',escape(currentLocation),'" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Email\',\'\',\'templates/domEd/$file/it_tools_email_roll.gif\',1)"><img src="templates/domEd/$file/it_tools_email_off.gif" alt="Email a friend" name="Email" width="42" height="15" border="0"></a>');


// print friendly

if (currentLocation.indexOf('?open') == -1) {  
document.write('<a href="',currentLocation,'?open&ui=dom&template=domPrint" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Print\',\'\',\'templates/domEd/$file/it_tools_print_roll.gif\',1)"><img src="templates/domEd/$file/it_tools_print_off.gif" alt="Print friendly" name="Print" width="37" height="15" border="0"></a>');
}
else {
document.write('<a href="',currentLocation,'&ui=dom&template=domPrint" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Print\',\'\',\'templates/domEd/$file/it_tools_print_roll.gif\',1)"><img src="templates/domEd/$file/it_tools_print_off.gif" alt="Print friendly" name="Print" width="37" height="15" border="0"></a>');
}



function resizeText (textsize){

  document.getElementById('edDeskBody').className = "body" + textsize;
//  document.getElementById('intro').className = textsize + "intro";
//  document.getElementById('author').className = textsize + "author"
//  document.getElementById('maincontent').className = textsize + "body"

}




document.write('<a style="cursor: hand;" onclick="resizeText(\'normal\')" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Text\',\'\',\'templates/domEd/$file/it_tools_smallA_roll.gif\',1)"><img src="templates/domEd/$file/it_tools_smallA_off.gif" alt="Decrease text size" name="Text" width="18" height="15" border="0"></a><a style="cursor: hand;" onclick="resizeText(\'large\')" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Text2\',\'\',\'templates/domEd/$file/it_tools_bigA_roll.gif\',1)"><img src="templates/domEd/$file/it_tools_bigA_off.gif" alt="Increase text size" name="Text2" width="17" height="15" border="0"></a>');


}