<!-- Hide script from old browsers

// Copyright © 2009 Crossware Associates. All rights reserved.

	function MouseDown(Div)
	{
		MenuItem = FindMenuItemObject(Div.id, MenuItems);
		if (MenuItem.m_Url)
			window.location = MenuItem.m_Url;
	}

	function MouseOver(Div)
	{
		//Div.style.background = "#00FF00";
		MenuItem = FindMenuItemObject(Div.id, MenuItems);
		MenuItem.Activate();
	}

	function MouseOutAfterDelay(Id)
	{
		MenuItem = FindMenuItemObject(Id, MenuItems);
		if (MenuItem && MenuItem == ActiveItem)
		{
			// we are still active so nothing else has been selected
			MenuItem.DeactivateParents();
		}
	}

	function MouseOut(Div)
	{
		//Div.style.background = "#00FF00";
		var Function = "MouseOutAfterDelay(\"" + Div.id + "\")";

		window.setTimeout(Function, 100);
	}

	function ImageMouseOver()
	{
		document.body.style.cursor = 'pointer';
	}

	function ImageMouseOut()
	{
		document.body.style.cursor = 'auto';
	}

	var ImageWindow;

	function NewWindow(id)
	{
		if (ImageWindow)
			ImageWindow.close();
		path = "";
		if (id == "franking_machine")
		{
			path = "/t1000.jpg";
			size="width=820,height=653";
		}
		else if (id == "payphone")
		{
			path = "/payphone.jpg";
			size="width=820,height=476";
		}
		else if (id == "multidrive")
		{
			path = "/multidrive.jpg";
			size="width=495,height=620";
		}
		else if (id == "tiltsensor")
		{
			path = "/images/tiltsensor.jpg";
			size="width=820,height=605";
		}
		else if (id == "osiris")
		{
			path = "/osiris.jpg";
			size="width=820,height=567";
		}
		if (path != "")
			ImageWindow = window.open(path, "mywin", size);
	}


	function ImageNewWindow(path, size)
	{
		if (ImageWindow)
			ImageWindow.close();
		ImageWindow = window.open(path, "mywin", size);
//		if (ImageWindow == NULL || ImageWindow.closed)
//			alert("Window failed to open");
//		alert(typeof(ImageWindow));
	}

	function ImageLink(path)
	{
		window.location = path;
	}


	function CreateMenus()
	{
		if (document.getElementById)
		{
			var I1 = document.getElementById("franking_machine");
			if (I1)
			{
				I1.onmouseover = function() { ImageMouseOver(); }
				I1.onmouseout = function() { ImageMouseOut(); }
			}
			var I2 = document.getElementById("payphone");
			if (I2)
			{
				I2.onmouseover = function() { ImageMouseOver(); }
				I2.onmouseout = function() { ImageMouseOut(); }
			}
			var I3 = document.getElementById("multidrive");
			if (I3)
			{
				I3.onmouseover = function() { ImageMouseOver(); }
				I3.onmouseout = function() { ImageMouseOut(); }
			}
			var I4 = document.getElementById("tiltsensor");
			if (I4)
			{
				I4.onmouseover = function() { ImageMouseOver(); }
				I4.onmouseout = function() { ImageMouseOut(); }
			}
			var I5 = document.getElementById("osiris");
			if (I5)
			{
				I5.onmouseover = function() { ImageMouseOver(); }
				I5.onmouseout = function() { ImageMouseOut(); }
			}
			ImageWindow = null;
			
		}
	}


// end hiding script from old browsers -->

