//Yes I know these are default values, its just here as an example
//You don't need to include all of them
//If you only want to change the email link image, just include that one
$XMLmenu->menuIMG(27, 20); //the image dimensions (Width, Height)
$XMLmenu->fileIMG("images/file.gif"); //a file image
$XMLmenu->folderIMG("images/folder.gif", "images/folder.open.gif"); //closed and open folder image
$XMLmenu->linkIMG("images/link.gif"); //external link image
$XMLmenu->emailIMG("images/email.gif"); //email link image

$XMLmenu->Generate();

//Following is an example of how you would check which page was being looked at at the time.
if( isset($_GET["menuname"]) ) $menuname = $_GET["menuname"];
if( isset($_GET["item"]) ) $item = $_GET["item"];