function printObject(config,width,height){
var browserName=navigator.appName; 
var element=document.getElementById('network_tool');
 if (browserName!="Microsoft Internet Explorer")
 {
	element.innerHTML="<object codebase=\"http://myspeed1.hosting365.ie/myspeed\" classid=\"java:myspeedserver/applet/myspeed.class\" type=\"application/x-java-applet\" height=\""+height+"\" width=\""+width+"\" >	          <param name=\"config\" value=\""+config+"\" /><param name=\"archive\" value=\"/myspeed/myspeed.jar,/myspeed/plugins.jar\" /><param name='codebase' value=\"http://myspeed1.hosting365.ie/myspeed\" /> </object>"
 }
 else
  {
	element.innerHTML="<object classid=\"clsid:8AD9C840-044E-11D1-B3E9-00805F499D93\"                 codebase=\"http://java.sun.com/update/1.5.0/jinstall-1_5_0-windows-i586.cab\"                height=\""+height+"\" width=\""+width+"\" >           <param name=\"code\" value=\"myspeedserver/applet/myspeed.class\" />          <param name=\"archive\" value=\"/myspeed/myspeed.jar,/myspeed/plugins.jar\" />	<param name='codebase' value=\"http://myspeed1.hosting365.ie/myspeed\" />   <param name=\"config\" value=\""+config+"\" />       <strong>            This browser does not have a Java Plug-in.            <br />            <a href=\"http://java.sun.com/products/plugin/downloads/index.html\">              Get the latest Java Plug-in here.            </a>         </strong>        </object> "
	
//    alert("What ARE you browsing with here?");
  }

}

   function createMarker(point, number) {
        var marker = new GMarker(point);

        // Show this marker's index in the info window when it is clicked.
        var dataCentreHtml = "<div style=\"white-space:nowrap; font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 1em\"><img src='/images/logoSmall.gif'><Br/>Hosting365 Ltd., Unit 5 Beckett Way, <br/>Park West Business Park</div>";
        GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(dataCentreHtml);
        });

        return marker;
    }

    function showMeTheMap() {
        // Create the map...
        var map = new GMap(document.getElementById("map"));
        map.addControl(new GSmallMapControl());

        // ... and centre on Hosting365 ...
        map.centerAndZoom(new GPoint(-6.376619,53.330745), 4);

        // ... and create the marker for our data centre
        var dataCentrePoint = new GPoint(-6.377381, 53.330847);
        var dataCentreMarker = createMarker(dataCentrePoint, 1);

        map.addOverlay(dataCentreMarker);
        GEvent.trigger(dataCentreMarker, 'click');

    }
