//activate menu functions

var imgObj;
// find position and display menu
function overMenu(imgNum) {

	//if script is ready 
	if(menuReadyState){ 
	
	// set variable based on title attribute of image	
  imgObj = document.images["b"+imgNum];

	//find position of image 
        xPos = getRealLeft(imgObj); 
        yPos = getRealTop(imgObj); 
       
	   //activate menu with returned co-ordinates (control offsets here)
     activateMenu(imgNum,xPos-20,yPos+8+imgObj.height); 
   }
 }
  
  


