
 //\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
 //                                                                        
 //  This file was created by rjc from system/js/ii_easel_support.js%
 //  on 2002/11/03 01:20:42.
 //                                                                        
 //    Copyright 1999-2002 Interactive Information Ltd, All Rights Reserved 
 //    http://information.overlaid.com
 //                                                                        
 //  It is almost certainly a bad idea to edit it.
 //  
 //  ------------------------------------------------------------------------
 //  
 //  Version:	2.3.0 for Map Weasel
 //  Features:	SELECT HSPOPUP HSSTATUS BEANINFO NS IE OPERA BRIGHTEN LABEL DATACOPYRIGHT
 //  Scales:	linear latlong
 //  Hotspots:	rect poly
 //  Markers:	circle cross image
 //  
 //\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
var easel_application_window=window;var easel_try_init;var easel_browser="hello";
function easel_identify(){if(navigator.appName=="Netscape"){easel_browser="navigator";
}else if(document.all!=null)easel_browser="explorer";else alert("Sorry,I don't recognise this browser");
}function easel_applet_tag(name,dir,width,height,path){easel_identify();
var archive="easel.jar";if(path!=null)archive=path+"/"+archive;
var codebase="";archive=dir+"/"+archive;document.writeln("<applet MAYSCRIPT "+codebase+" archive='"+archive+"' code=Easel name='"+name+"' width='"+width+"' height='"+height+"'>");
}function onSetupCatch(easel){easel_application_window.easel_on_setup(easel);
}function onImageStartCatch(easel){easel_application_window.easel_on_image_start(easel);
}function onImageEndCatch(easel){easel_application_window.easel_on_image_end(easel);
}function onClickCatch(easel,hs,x,y,rgb){x=x+""-0;y=y+""-0;rgb=rgb+""-0;
var jhs=null;if(hs!=null)jhs=easel_application_window.hotspots_hotspot_displayed(hs);
easel_application_window.easel_on_click(easel,jhs,x,y,rgb);}function onDoubleClickCatch(easel,hs,x,y,rgb)
{x=x+""-0;y=y+""-0;rgb=rgb+""-0;var jhs=null;if(hs!=null)jhs=easel_application_window.hotspots_hotspot_displayed(hs);
easel_application_window.easel_on_double_click(easel,jhs,x,y,rgb);
}function onKeyClickCatch(easel,hs,x,y,rgb){x=x+""-0;y=y+""-0;
rgb=rgb+""-0;var jhs=null;if(hs!=null)jhs=easel_application_window.hotspots_hotspot_displayed(hs);
easel_application_window.easel_on_key_click(easel,jhs,x,y,rgb);
}function onMarkerDragCatch(easel,hs,mk,x,y){x=x+""-0;y=y+""-0;
var jmk=null,jhs=null;if(mk!=null)jmk=easel_application_window.markers_marker_displayed(mk);
if(hs!=null)jhs=easel_application_window.hotspots_hotspot_displayed(hs);
easel_application_window.easel_on_marker_drag(easel,jhs,jmk,x,y);
}function onAreaDragCatch(easel,x,y,w,h){x=x+""-0;y=y+""-0;w=w+""-0;
h=h+""-0;easel_application_window.easel_on_area_drag(easel,x,y,w,h);
}var onDragCatch=onAreaDragCatch;function onHighlightCatch(easel,hs,onoff)
{onoff=onoff+""-0;onoff=onoff!=0;var jhs=null;if(hs!=null)jhs=easel_application_window.hotspots_hotspot_displayed(hs);
easel_application_window.easel_on_highlight(easel,jhs,onoff);
}

