public void zoneEventOccurred(String eventZone, int eventType){
			// If within the bounds of the text, go to the link

			if(eventType==ZoneEvents.ENTER && eventZone.equals("polygon")){
					Gui.changeCursor(Cursor.HAND_CURSOR);

			}
			else if (eventType==ZoneEvents.CLICK && eventZone.equals("polygon")){
				if(0 == onclick)
				{
					//TODO MAKE ON CLICK WORK
//					java.awt.Desktop desktop = java.awt.Desktop.getDesktop();
					try
					{
//						java.net.URI uri = new java.net.URI( onclickurl);
						BrowserLoader.openURL(onclickurl);//added by Mark Mellar
//				        desktop.browse( uri );
					    return;
				    }
					 catch( Exception e1 ) {
					     System.err.println( e1.getMessage() );
				     }
				}

				//set next slide id
				if(onclick >0)
				{

					// nextslideid = onclick;

					Engine.gotoSlide(onclick);//added by mark mellar
					if(Debug.poly) System.out.println("the next slide ID = " + nextslideid);
				}
		}
	}