<!-- Hide script from old browsers

// Copyright © 2000-2008 Crossware Products. All rights reserved.

	var HorizontalBar;
	var ColumnSpan;
	var g_nQuickLinks;
	var g_nQuickLinksA;
	var g_nQuickLinksB;
	var g_nQuickLinksC;
	var g_nQuickLinksD;
	var g_nQuickLinksE;
	var g_nQuickLinksF;
	var g_nQuickLinksG;
	var g_nQuickLinksH;
	var g_nQuickLinksI;
	var Headlines;
	var g_nHeadLineOffset;
	var g_PreHeadLineText;
	var g_HeadLineText;
	var g_PostHeadLineText;
	
	function lengthToPixels(parentNode, Text)
	{
	   var div = document.createElement("DIV");
	   div.style.visibility = "hidden";
	   div.style.position = "absolute";
	   //div.style.width=div.style.height=strLength;
	   div.appendChild(Text);
	   parentNode.appendChild(div); // simplistic
	   var px = div.offsetWidth;
	   div.removeChild(Text);
	   parentNode.removeChild(div);
	   return px;
	}

	var BorderHeight = 3;
	var nFlyoutPeriod = 10;
	var bSizeIncludesBorder = false;
	var HandCursor = "pointer";
	if (parseInt(navigator.appVersion) == 4 || parseInt(navigator.appVersion) == 5)
	{
		if (navigator.appVersion.indexOf("MSIE") != -1)
		{
			if (document.compatMode && document.compatMode != "CSS1Compat")
			{
				bSizeIncludesBorder = true;
			}
			if (navigator.appVersion.indexOf("MSIE 5") != -1
				|| navigator.appVersion.indexOf("MSIE 4") != -1)
			{
				HandCursor = "hand";
				bSizeIncludesBorder = true;
			}
			if (navigator.appVersion.indexOf("MSIE 9") != -1)
			{
				BorderHeight = 0;
			}
		}
	}

	var BorderWidth = 3;

	function imgOffsets(id)
	{
		var imgElem = document.getElementById(id);
		var offsetLeft=0;
		var offsetTop=0;
		for (var tmpElem = imgElem; tmpElem != null; tmpElem = tmpElem.offsetParent)
		{
			offsetLeft += tmpElem.offsetLeft;
			offsetTop += tmpElem.offsetTop;
		}
		return [offsetLeft, offsetTop, imgElem.offsetWidth, imgElem.offsetHeight];
	}

	var imgLeft = 0, imgTop = 1, imgWidth = 2, imgHeight = 3;

	var BarBackGround = "#000040";
	var BarHighlight = "#000040";
	var BarBorder = BarBackGround + " solid " + BorderWidth + "px";
	var DropdownBackGround = "#000040";
	var DropdownBorder = DropdownBackGround + " solid " + BorderWidth + "px";
	var DropdownHighlight = "#8080FF";
	var FlyoutBackGround = "#000040";
	var FlyoutBorder = FlyoutBackGround + " solid " + BorderWidth + "px";
	var FlyoutHighlight = "#8080FF";
	var HighLightBorder = "#FFFFFF inset " + BorderWidth + "px";


	function DrawItemFrame()
	{
		this.m_Div.style.borderTop = HighLightBorder;
		this.m_Div.style.borderLeft = HighLightBorder;
		this.m_Div.style.borderRight = HighLightBorder;
		this.m_Div.style.borderBottom = HighLightBorder;
	}

	function EraseItemFrame()
	{
		this.m_Div.style.borderTop = this.m_NormalBorder;
		this.m_Div.style.borderLeft = this.m_NormalBorder;
		this.m_Div.style.borderRight = this.m_NormalBorder;
		this.m_Div.style.borderBottom = this.m_NormalBorder;
	}

	function menuItem(text, type, parent, url, background, highlight, border)
	{
		this.m_pParent = parent;
		this.m_Type = type;
		//this.onmouseover = function() { MouseOver(this); }
		//this.onmouseout = function() { MouseOut(this); }
		this.Activate = ActivateItem;
		this.Deactivate = DeactivateItem;
		this.DeactivateParents = DeactivateParentItems;
		this.ShowChildren = ShowChildItems;
		this.AddChild = AddChildItem;
		this.DrawFrame = DrawItemFrame;
		this.EraseFrame = EraseItemFrame;
		this.m_Text = text;
		this.m_Url = url;
		this.m_Children = new Array;
		this.m_TextColour = "#FFFFFF";
		this.m_BackgroundColour = background;
		this.m_HighlightColour = highlight;
		this.m_Div = null;
		// m_Div.style.top etc are strings (eg "193px")
		this.m_nTop = 0;
		this.m_nLeft = 0;
		this.m_nWidth = 0;
		this.m_nCurrentWidth = 0;
		this.m_nHeight = 0;
		this.m_nCurrentHeight = 0;
		this.m_nIndex = -1;
		this.m_NormalBorder = border;
	}

	function AddChildItem(text, type, url, background, highlight, border)
	{
		this.m_Children[this.m_Children.length] = new menuItem(text, type, this, url, background, highlight, border);
		return this.m_Children[this.m_Children.length - 1];
	}

	var Products = 0, Sales = 1, Services = 2, Support = 3, Tutorials = 4, Downloads = 5;
	var MenuBar = 0, Dropdown = 1, FlyoutRight = 2, FlyoutLeft = 3;

	var MenuItems = new Array;
	MenuItems[Products] = new menuItem("Products", MenuBar, null, null, BarBackGround, BarHighlight, BarBorder);
	MenuItems[Services] = new menuItem("Services", MenuBar, null, null, BarBackGround, BarHighlight, BarBorder);
	MenuItems[Sales] = new menuItem("Sales", MenuBar, null, null, BarBackGround, BarHighlight, BarBorder);
	MenuItems[Support] = new menuItem("Support", MenuBar, null, null, BarBackGround, BarHighlight, BarBorder);
	MenuItems[Tutorials] = new menuItem("Tutorials", MenuBar, null, null, BarBackGround, BarHighlight, BarBorder);
	MenuItems[Downloads] = new menuItem("Downloads", MenuBar, null, null, BarBackGround, BarHighlight, BarBorder);
	
	var Child = MenuItems[Products].AddChild("ARM", Dropdown, null, DropdownBackGround, DropdownHighlight, DropdownBorder);
	Child.AddChild("Development Suite with Jaguar", FlyoutRight, "/arm/index.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);

	Child.AddChild("NXP LPC210X Starter Kit", FlyoutRight, "/arm/lpc210x_kit.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("Jaguar USB JTAG Interface", FlyoutRight, "/arm/jaguar.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("ARM7S/ARM3S Training System", FlyoutRight, "/arm/training_system/index.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	
	Child = MenuItems[Products].AddChild("ColdFire", Dropdown, null, DropdownBackGround, DropdownHighlight, DropdownBorder);
	Child.AddChild("Development Suite", FlyoutRight, "/coldfire/index.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	//Child.AddChild("Debugger", FlyoutRight, "/coldfire/cfdbg.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("FireFly USB BDM Interface", FlyoutRight, "/coldfire/firefly.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);

	Child = MenuItems[Products].AddChild("68XXX", Dropdown, null, DropdownBackGround, DropdownHighlight, DropdownBorder);
	Child.AddChild("C Compiler & Assembler", FlyoutRight, "/68xxx/index.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("68000 Simulator", FlyoutRight, "/68xxx/s68000.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);

	Child = MenuItems[Products].AddChild("8051", Dropdown, null, DropdownBackGround, DropdownHighlight, DropdownBorder);
	Child.AddChild("Development Suite", FlyoutRight, "/8051/index.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("SiLabs Development Suite", FlyoutRight, "/silabs/index.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("Flash Microcontroller Starter Kit", FlyoutRight, "/8051/8051icd.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("Development Suite with In-Circuit Debugger", FlyoutRight, "/8051/8051dsicd.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);

	Child = MenuItems[Products].AddChild("Z80/HD64180", Dropdown, null, DropdownBackGround, DropdownHighlight, DropdownBorder);
	Child.AddChild("Assembler", FlyoutRight, "/z80/index.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);

	Child = MenuItems[Products].AddChild("8085", Dropdown, null, DropdownBackGround, DropdownHighlight, DropdownBorder);
	Child.AddChild("Assembler", FlyoutRight, "/8085/index.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);

	Child = MenuItems[Products].AddChild("6801/6301", Dropdown, null, DropdownBackGround, DropdownHighlight, DropdownBorder);
	Child.AddChild("Assembler", FlyoutRight, "/6301/index.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);

	Child = MenuItems[Products].AddChild("6809", Dropdown, null, DropdownBackGround, DropdownHighlight, DropdownBorder);
	Child.AddChild("Assembler", FlyoutRight, "/6809/index.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);

	Child = MenuItems[Products].AddChild("68HC11", Dropdown, null, DropdownBackGround, DropdownHighlight, DropdownBorder);
	Child.AddChild("Assembler", FlyoutRight, "/68hc11/index.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);

	Child = MenuItems[Products].AddChild("Fully Programmable USB Key", Dropdown, "/usbkey/index.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);

	MenuItems[Services].AddChild("Multi-disciplinary innovation and development", Dropdown, "http://www.crossware.eu", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);

	Child = MenuItems[Sales].AddChild("Prices/On-line shop", Dropdown, null, DropdownBackGround, DropdownHighlight, DropdownBorder);
	Child.AddChild("ARM Tools", FlyoutRight, "/shop.htm?chip=Arm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("8051 Tools", FlyoutRight, "/shop.htm?chip=8051", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("ColdFire Tools", FlyoutRight, "/shop.htm?chip=ColdFire", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("68XXX Tools", FlyoutRight, "/shop.htm?chip=68xxx", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("6801/6301 Assembler", FlyoutRight, "/shop.htm?chip=6801", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("6809 Assembler", FlyoutRight, "/shop.htm?chip=6809", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("68HC11 Assembler", FlyoutRight, "/shop.htm?chip=68HC11", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("Z80 Assembler", FlyoutRight, "/shop.htm?chip=Z80", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("8085 Assembler", FlyoutRight, "/shop.htm?chip=8085", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("USB keys", FlyoutRight, "/shop.htm?chip=Usbkey", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("Everything", FlyoutRight, "/shop.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);


	MenuItems[Sales].AddChild("Shopping Basket", Dropdown, "/shopping_basket.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	MenuItems[Sales].AddChild("Distributors", Dropdown, "/contact.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	MenuItems[Sales].AddChild("Ask a Question", Dropdown, "/sales/feedback.aspx", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);

	MenuItems[Support].AddChild("Blog", Dropdown, "/blog/", DropdownBackGround, DropdownHighlight, DropdownBorder);
	MenuItems[Support].AddChild("Register", Dropdown, "/register.aspx", DropdownBackGround, DropdownHighlight, DropdownBorder);
	MenuItems[Support].AddChild("Get Updated", Dropdown, "/support.htm", DropdownBackGround, DropdownHighlight, DropdownBorder);

	Child = MenuItems[Tutorials].AddChild("Embedded Development Studio", Dropdown, null, DropdownBackGround, DropdownHighlight, DropdownBorder);
	Child.AddChild("Basic operations", FlyoutLeft, "/estudio/tutorials/basics", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child = MenuItems[Tutorials].AddChild("ColdFire", Dropdown, null, DropdownBackGround, DropdownHighlight, DropdownBorder);
	Child.AddChild("Building Freescale's MP3 Application", FlyoutLeft, "/mp3player/triomp3app", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("MCF5282 CAN", FlyoutLeft, "/coldfire/tutorials/mcf5282/can", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("C Functions in SRAM", FlyoutLeft, "/coldfire/tutorials/", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("Using the MCF5213 ADC", FlyoutLeft, "/coldfire/tutorials/", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("All ColdFire Tutorials", FlyoutLeft, "/coldfire/tutorials/", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child = MenuItems[Tutorials].AddChild("8051", Dropdown, null, DropdownBackGround, DropdownHighlight, DropdownBorder);
	Child.AddChild("Debugging", FlyoutLeft, "/8051/tutorials/debugging", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("SiLabs", FlyoutLeft, "/8051/tutorials/silabs", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("All 8051 Tutorials", FlyoutLeft, "/8051/tutorials.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child = MenuItems[Tutorials].AddChild("ARM", Dropdown, null, DropdownBackGround, DropdownHighlight, DropdownBorder);
	Child.AddChild("NXP LPC2XXX", FlyoutLeft, "/arm/tutorials/lpc2xxx", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("Atmel SAM7", FlyoutLeft, "/arm/tutorials/atmel_sam7", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("Atmel AT91SAM9263", FlyoutLeft, "/arm/tutorials/at91sam9263", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("Drag-and-Drop Linker Scripting", FlyoutLeft, "/estudio/tutorials/linker_script/index.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("All ARM Tutorials", FlyoutLeft, "/arm/tutorials.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child = MenuItems[Tutorials].AddChild("Request a Tutorial", Dropdown, "/tutorial_request.htm", DropdownBackGround, DropdownHighlight, DropdownBorder);

	Child = MenuItems[Downloads].AddChild("15 Day Evaluation", Dropdown, null, DropdownBackGround, DropdownHighlight, DropdownBorder);
	Child.AddChild("Development Suite for ARM", FlyoutLeft, "/trialware/21499100/index.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("ColdFire Development Suite", FlyoutLeft, "/trialware/21499110/index.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("8051 Development Suite", FlyoutLeft, "/trialware/21499101/index.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);

	Child = MenuItems[Downloads].AddChild("Community Editions", Dropdown, null, DropdownBackGround, DropdownHighlight, DropdownBorder);
	Child.AddChild("Development Suite for ARM", FlyoutLeft, "/trialware/21499113/index.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("ColdFire Development Suite", FlyoutLeft, "/trialware/21499114/index.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("68XXX C Compiler, Assembler & 68000 Simulator", FlyoutLeft, "/trialware/21499115/index.htm", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);

	Child = MenuItems[Downloads].AddChild("Drivers", Dropdown, null, DropdownBackGround, DropdownHighlight, DropdownBorder);
	Child.AddChild("Sentinel Pro Drivers for Windows Vista", FlyoutLeft, "/sentinelpro", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);
	Child.AddChild("Aladdin Hasp HL Drivers for 64-bit Windows Vista and Windows 7", FlyoutLeft, "/hasphl", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);

//	Child = MenuItems[Downloads].AddChild("Special Editions for Student Assignments", Dropdown, null, DropdownBackGround, DropdownHighlight, DropdownBorder);
//	Child.AddChild("Brunel University March 2006 (68K Tools)", FlyoutLeft, "/trialware/21499093", FlyoutBackGround, FlyoutHighlight, FlyoutBorder);



	var ActiveItem = null;

	function Flyout()
	{
		if (ActiveItem != null)
		{
			if (ActiveItem.m_Children.length)
			{
				var FinalWidth = ActiveItem.m_Children[0].m_nWidth;
				if (!bSizeIncludesBorder && ActiveItem.m_Children[0].m_Type == FlyoutRight)
					FinalWidth += BorderWidth * 2;
				for (var i = 0; i < ActiveItem.m_Children.length; i++)
				{
					if (ActiveItem.m_Children[0].m_Type == FlyoutLeft || ActiveItem.m_Children[0].m_Type == FlyoutRight)
					{
						ActiveItem.m_Children[i].m_nCurrentWidth += 10;
						if (ActiveItem.m_Children[i].m_nCurrentWidth > FinalWidth)
							ActiveItem.m_Children[i].m_nCurrentWidth = FinalWidth;
						if (document.layers)
						{
							ActiveItem.m_Children[i].m_Div.style.clip.right = ActiveItem.m_Children[i].m_nCurrentWidth;
	
						}
						else
						{
							if (ActiveItem.m_Children[0].m_Type == FlyoutRight)
								ActiveItem.m_Children[i].m_Div.style.clip = "rect(auto," + ActiveItem.m_Children[i].m_nCurrentWidth + "px,auto,auto)";
							else if (ActiveItem.m_Children[0].m_Type == FlyoutLeft)
								ActiveItem.m_Children[i].m_Div.style.clip = "rect(auto, auto, auto," + (ActiveItem.m_Children[i].m_nWidth - ActiveItem.m_Children[i].m_nCurrentWidth) + "px)";
							ActiveItem.m_Children[i].m_Div.style.visibility = "hidden";
							ActiveItem.m_Children[i].m_Div.style.visibility = "visible";
						}
						if (ActiveItem.m_Children[0].m_nCurrentWidth < ActiveItem.m_Children[0].m_nWidth)
							window.setTimeout("Flyout()", nFlyoutPeriod);
					}
					else
					{
						// we never come here but leave the code for future use
						// dropdown
						// we will never get to an item whose previous item is not complete
						var FinalHeight = ActiveItem.m_Children[i].m_nHeight;
						//alert(FinalHeight);
						if (!bSizeIncludesBorder)
							FinalHeight += BorderHeight * 2;

						if (ActiveItem.m_Children[i].m_nCurrentHeight != FinalHeight)
						{
							// not yet complete
							ActiveItem.m_Children[i].m_nCurrentHeight += 10;
							if (ActiveItem.m_Children[i].m_nCurrentHeight > FinalHeight)
								ActiveItem.m_Children[i].m_nCurrentHeight = FinalHeight;
							//alert(ActiveItem.m_Children[i].m_nHeight);
							ActiveItem.m_Children[i].m_Div.style.clip = "rect(auto, auto, " + ActiveItem.m_Children[i].m_nCurrentHeight + "px, auto)";
							ActiveItem.m_Children[i].m_Div.style.visibility = "hidden";
							ActiveItem.m_Children[i].m_Div.style.visibility = "visible";
							window.setTimeout("Flyout()", nFlyoutPeriod);
							break;
						}
					}
				}
			}	
		}
	}

	function Flydown(Id)
	{
		MenuItem = FindMenuItemObject(Id, MenuItems);
		if (MenuItem != null)
		{
			if (MenuItem.m_Children.length)
			{
				//alert(MenuItem.m_Children.length);
				// only if children still exist
				//ChildItem = FindMenuItemObject(MenuItem.m_Children[0].m_Div.id, MenuItems);
				//alert(MenuItem.m_Children[0].m_Div.id);
				//if (ChildItem != null)
				{
					for (var i = 0; i < MenuItem.m_Children.length; i++)
					{
						if (!MenuItem.m_Children[i].m_Div)
							break;
						// dropdown
						// we will never get to an item whose previous item is not complete
						var FinalHeight = MenuItem.m_Children[i].m_nHeight;
						//alert(FinalHeight);
						//if (!bSizeIncludesBorder)
							FinalHeight += BorderWidth * 2;
	
						if (MenuItem.m_Children[i].m_nCurrentHeight != FinalHeight)
						{
							// not yet complete
							MenuItem.m_Children[i].m_nCurrentHeight += 10;
							if (MenuItem.m_Children[i].m_nCurrentHeight > FinalHeight)
								MenuItem.m_Children[i].m_nCurrentHeight = FinalHeight;
							//alert(MenuItem.m_Children[i].m_nHeight);
							MenuItem.m_Children[i].m_Div.style.clip = "rect(auto, auto, " + MenuItem.m_Children[i].m_nCurrentHeight + "px, auto)";
							MenuItem.m_Children[i].m_Div.style.visibility = "hidden";
							MenuItem.m_Children[i].m_Div.style.visibility = "visible";
							var Function = "Flydown(\"" + Id + "\")";
							window.setTimeout(Function, nFlyoutPeriod);
							break;
						}
					}
				}
			}	
		}
	}


	function ShowChildItems()
	{
		if (this.m_Children.length)
		{
			// we have children
			if (this.m_Children[0].m_Div == null)
			{
				nParentIndex = this.m_nIndex;
				// element has not yet been created
				var HorizontalBarOffsets = imgOffsets("horizontal_bar");
				var ParentOffsets = imgOffsets(this.m_Div.id);
				var FieldWidth = Math.floor(HorizontalBarOffsets[imgWidth] / MenuItems.length);
				var ButtonWidth = FieldWidth - BorderWidth * 2;
				var ButtonHeight = HorizontalBarOffsets[imgHeight] - BorderHeight * 2;
				var Top = 0;
				if (this.m_Children[0].m_Type == Dropdown)
					Top = HorizontalBarOffsets[imgTop] + HorizontalBarOffsets[imgHeight];
				else if (this.m_Children[0].m_Type == FlyoutRight || this.m_Children[0].m_Type == FlyoutLeft)
					Top = this.m_nTop;
				MinWidth = 0;
				if (this.m_Children[0].m_Type == Dropdown)
					MinWidth = this.m_nWidth;
				var MaxWidth = MinWidth;
				for (var i = 0; i < this.m_Children.length; i++)
				{
					this.m_Children[i].m_nTop = Top;
					if (this.m_Children[0].m_Type == Dropdown)
					{
						//this.m_Children[i].m_nTop += BorderWidth;
						this.m_Children[i].m_nLeft = HorizontalBarOffsets[imgLeft] + FieldWidth * nParentIndex;
					}
					else if (this.m_Children[0].m_Type == FlyoutRight || this.m_Children[0].m_Type == FlyoutLeft)
					{
						if (bSizeIncludesBorder)
							this.m_Children[i].m_nLeft = this.m_nLeft + this.m_nWidth;
						else
							this.m_Children[i].m_nLeft = this.m_nLeft + this.m_nWidth + BorderWidth * 2;
					}
					this.m_Children[i].m_nHeight = ButtonHeight;
					this.m_Children[i].m_nIndex = i;
					this.m_Children[i].m_Div = document.createElement("div");
					this.m_Children[i].m_Div.id = this.m_Children[i].m_pParent.m_Div.id + "_" + i;
					//newText = document.createTextNode(this.m_Children[i].m_Text + this.m_Children[i].m_Div.id);
					var newText = document.createTextNode(this.m_Children[i].m_Text);
					var Width = lengthToPixels(ColumnSpan, newText) + 8;
					if (Width > MaxWidth)
						MaxWidth = Width;
					this.m_Children[i].m_Div.appendChild(newText);
					this.m_Children[i].m_Div.style.zIndex = 10;
					this.m_Children[i].m_Div.style.position = "absolute";
					this.m_Children[i].m_Div.style.top = Top;
					this.m_Children[i].m_Div.style.left = this.m_Children[i].m_nLeft;
					this.m_Children[i].m_Div.style.height = this.m_nHeight;
					this.m_Children[i].m_Div.setAttribute("align", "center");
					this.m_Children[i].m_Div.style.color = this.m_Children[i].m_TextColour;
					this.m_Children[i].m_Div.style.background = this.m_Children[i].m_BackgroundColour;
					this.m_Children[i].m_Div.onmouseover = function() { MouseOver(this); }
					this.m_Children[i].m_Div.onmouseout = function() { MouseOut(this); }
					this.m_Children[i].m_Div.onmousedown = function() { MouseDown(this); }
					if (this.m_Children[i].m_Url)
						this.m_Children[i].m_Div.style.cursor = HandCursor;
					else
						this.m_Children[i].m_Div.style.cursor = "default";

					//this.m_Children[i].m_Div.style.marginTop = "1";
					//this.m_Children[i].m_Div.style.marginLeft = "1";
					//this.m_Children[i].m_Div.style.marginRight = "1";
					//this.m_Children[i].m_Div.style.marginBottom = "1";

					this.m_Children[i].m_Div.style.borderTop = this.m_Children[i].m_NormalBorder;
					this.m_Children[i].m_Div.style.borderLeft = this.m_Children[i].m_NormalBorder;
					this.m_Children[i].m_Div.style.borderRight = this.m_Children[i].m_NormalBorder;
					this.m_Children[i].m_Div.style.borderBottom = this.m_Children[i].m_NormalBorder;

					Top += HorizontalBarOffsets[imgHeight];
				}
				// now we know, the final width, do the rest
				for (i = 0; i < this.m_Children.length; i++)
				{
					if (this.m_Children[0].m_Type == FlyoutLeft)
					{
						if (bSizeIncludesBorder)
							this.m_Children[i].m_nLeft = this.m_nLeft - MaxWidth;
						else
							this.m_Children[i].m_nLeft = this.m_nLeft - MaxWidth - BorderWidth * 2;
						this.m_Children[i].m_Div.style.left = this.m_Children[i].m_nLeft;
					}
					this.m_Children[i].m_nWidth = MaxWidth;
					if (this.m_Children[0].m_Type == FlyoutLeft || this.m_Children[0].m_Type == FlyoutRight)
					{
						this.m_Children[i].m_nCurrentWidth = 10;
						this.m_Children[i].m_nCurrentHeight = this.m_Children[i].m_nHeight;
					}
					else	// dropdown
					{
						this.m_Children[i].m_nCurrentWidth = this.m_Children[i].m_nWidth;
						if (i == 0)
							this.m_Children[i].m_nCurrentHeight = 10;
						else
							this.m_Children[i].m_nCurrentHeight = 0;
					}
					this.m_Children[i].m_Div.style.width = this.m_Children[i].m_nWidth;
					if (this.m_Children[0].m_Type == FlyoutLeft)
						this.m_Children[i].m_Div.style.clip = "rect(auto, " + this.m_Children[i].m_nCurrentWidth + "px, auto, auto)";
					else if (this.m_Children[0].m_Type == FlyoutRight)
						this.m_Children[i].m_Div.style.clip = "rect(auto, auto, auto," + (this.m_Children[i].m_nWidth - this.m_Children[i].m_nCurrentWidth) + "px)";
					else if (this.m_Children[0].m_Type == Dropdown)
					{
						if (i == 0)
							this.m_Children[i].m_Div.style.clip = "rect(auto, auto, " + this.m_Children[i].m_nCurrentHeight + "px, auto)";
						else
							this.m_Children[i].m_Div.style.clip = "rect(auto, auto, 0px , auto)";
					}
					ColumnSpan.appendChild(this.m_Children[i].m_Div);
				}
				if (this.m_Children[0].m_Type == FlyoutLeft || this.m_Children[0].m_Type == FlyoutRight)
				{
					window.setTimeout("Flyout()", nFlyoutPeriod);
				}
				else
				{
					var Function = "Flydown(\"" + this.m_Div.id + "\")";
					window.setTimeout(Function, nFlyoutPeriod);
				}
			}
		}
	}

	function ActivateItem()
	{
		if (ActiveItem)
		{
			if (this.m_pParent == null)
				ActiveItem.DeactivateParents();	// nothing needs to be left activated
			else if (ActiveItem.m_pParent && this.m_pParent == ActiveItem.m_pParent)
			{
				// it's a sibling, just deactivate the sibling
				ActiveItem.Deactivate();
			}
			else if (this.m_pParent == ActiveItem)
			{
				// it's our parent, leave it activated
			}
			else
			{
				// deactivate everything stopping if the item is the parent of the one being activated
				Item = ActiveItem;			// grab it before it becomes null
				while (Item)
				{
					Item.Deactivate();	// certainly we need to deactivate the active item
					Item = Item.m_pParent;
					if (Item == this.m_pParent)
						break;
				}
			}
		}
		this.m_Div.style.background = this.m_HighlightColour;
		this.DrawFrame();
		// add nodes for all of our children
		this.ShowChildren();
		ActiveItem = this;
	}

	function DeactivateParentItems()
	{
		this.Deactivate();
		if (this.m_pParent)
			this.m_pParent.DeactivateParents()
	}

	function DeactivateItem()
	{
		if (this.m_Div)
		{
			this.m_Div.style.background = this.m_BackgroundColour;
			this.EraseFrame();
			// remove nodes for all of our children
			//for (i = 0; i < this.m_Children.length; i++)
			if (this.m_Children.length)
			{
				if (this.m_Children[0].m_Div)
				{
					for (var i = this.m_Children.length; i > 0; i--)
					{
						//alert("Removing child" + this.m_Children[i].m_Div.id);
						if (this.m_Children[i - 1].m_Div)
						{
							//alert("Removing child" + this.m_Children[i].m_Div);
							ColumnSpan.removeChild(this.m_Children[i - 1].m_Div);
							this.m_Children[i - 1].m_Div = null;
						}
					}
				}
			}
			ActiveItem = null;
		}
	}



	function FindMenuItemObject(Id, Items)
	{
		for (var i = 0; i < Items.length; i++)
		{
			if (Items[i].m_Div)
			{
				if (Items[i].m_Div.id == Id)
				{
					return Items[i];
				}
			}
		}
		for (i = 0; i < Items.length; i++)
		{
			// try the children
			if (Items[i].m_Children.length && Items[i].m_Children[0].m_Div)
			{
				MenuItem = FindMenuItemObject(Id, Items[i].m_Children);
				if (MenuItem)
				{
					return MenuItem;
				}
			}
		}
		return null;
	}


	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);
	}

	window.onresize = Resize;

	function Resize()
	{
		var HorizontalBarOffsets = imgOffsets("horizontal_bar");
		var FieldWidth = Math.floor(HorizontalBarOffsets[imgWidth] / MenuItems.length);	// no fractional part or we get gaps
		var ButtonWidth = FieldWidth;
		if (!bSizeIncludesBorder)
			ButtonWidth -= BorderWidth * 2;
		var ButtonTop = HorizontalBarOffsets[imgTop];	// + BorderWidth;
		var ButtonHeight = HorizontalBarOffsets[imgHeight] - BorderHeight * 2;
		for (var i = 0; i < MenuItems.length; i++)
		{
			MenuItems[i].m_nTop = ButtonTop;
			MenuItems[i].m_nHeight = ButtonHeight;
			MenuItems[i].m_nLeft = HorizontalBarOffsets[imgLeft] + FieldWidth * i;	// + BorderWidth;
			if (i == MenuItems.length - 1)
			{
				// last item fills rest of space
				MenuItems[i].m_nWidth = HorizontalBarOffsets[imgWidth] - FieldWidth * i;
				if (!bSizeIncludesBorder)
					MenuItems[i].m_nWidth -= BorderWidth * 2;
			}
			else
				MenuItems[i].m_nWidth = ButtonWidth;

			var Div = document.createElement("div");
			Div.id = "MainMenu_" + i;	// MenuItems[i].m_Text;
			newText = document.createTextNode(MenuItems[i].m_Text);
			Div.appendChild(newText);
			Div.style.position = "absolute";
			Div.style.top = MenuItems[i].m_nTop;
			Div.style.left = MenuItems[i].m_nLeft;
			Div.style.width = MenuItems[i].m_nWidth;
			Div.style.height = MenuItems[i].m_nHeight;
			Div.style.zIndex = 10;
			Div.setAttribute("align", "center");
			Div.style.color = MenuItems[i].m_TextColour;
			Div.style.background = MenuItems[i].m_BackgroundColour;
			Div.onmouseover = function() { MouseOver(this); }
			Div.onmouseout = function() { MouseOut(this); }
			if (MenuItems[i].m_Url)
				Div.style.cursor = HandCursor;
			else
				Div.style.cursor = "default";

			//Div.style.marginTop = "1";
			//Div.style.marginLeft = "1";
			//Div.style.marginRight = "1";
			//Div.style.marginBottom = "1";

			Div.style.borderTop = MenuItems[i].m_NormalBorder;
			Div.style.borderLeft = MenuItems[i].m_NormalBorder;
			Div.style.borderRight = MenuItems[i].m_NormalBorder;
			Div.style.borderBottom = MenuItems[i].m_NormalBorder;

			// HorizontalBar.appendChild() does not work with IE6
			if (MenuItems[i].m_Div == null)
				ColumnSpan.appendChild(Div);
			else
				ColumnSpan.replaceChild(Div, MenuItems[i].m_Div);
			MenuItems[i].m_Div = Div;
			MenuItems[i].m_nIndex = i;
		}
		for (var i = 0; i < g_nQuickLinks; i++)
		{
			// spread them out evenly across the columns
			var strQL = "ql" + i;
			var QuickLink = document.getElementById(strQL);
			var Pitch = HorizontalBarOffsets[imgWidth] / g_nQuickLinks;
			if (QuickLink)
			{
				//QuickLink.style.left = QuickLink.offsetLeft + 10;
				var Width = QuickLink.offsetWidth;
				//QuickLink.style.zIndex = -1;
				QuickLink.style.position = "absolute";
				QuickLink.style.left = HorizontalBarOffsets[imgLeft] + Pitch * i + (Pitch - Width) / 2;
				QuickLink.style.visibility = "hidden";
				QuickLink.style.visibility = "visible";
			}
		}
		for (var i = 0; i < g_nQuickLinksA; i++)
		{
			// spread them out evenly across the columns
			var strQL = "qla" + i;
			var QuickLink = document.getElementById(strQL);
			var Pitch = HorizontalBarOffsets[imgWidth] / g_nQuickLinksA;
			if (QuickLink)
			{
				//QuickLink.style.left = QuickLink.offsetLeft + 10;
				var Width = QuickLink.offsetWidth;
				//QuickLink.style.zIndex = -1;
				QuickLink.style.position = "absolute";
				QuickLink.style.left = HorizontalBarOffsets[imgLeft] + Pitch * i + (Pitch - Width) / 2;
				QuickLink.style.visibility = "hidden";
				QuickLink.style.visibility = "visible";
			}
		}
		for (var i = 0; i < g_nQuickLinksB; i++)
		{
			// spread them out evenly across the columns
			var strQL = "qlb" + i;
			var QuickLink = document.getElementById(strQL);
			var Pitch = HorizontalBarOffsets[imgWidth] / g_nQuickLinksB;
			if (QuickLink)
			{
				//QuickLink.style.left = QuickLink.offsetLeft + 10;
				var Width = QuickLink.offsetWidth;
				//QuickLink.style.zIndex = -1;
				QuickLink.style.position = "absolute";
				QuickLink.style.left = HorizontalBarOffsets[imgLeft] + Pitch * i + (Pitch - Width) / 2;
				QuickLink.style.visibility = "hidden";
				QuickLink.style.visibility = "visible";
			}
		}
		for (var i = 0; i < g_nQuickLinksC; i++)
		{
			// spread them out evenly across the columns
			var strQL = "qlc" + i;
			var QuickLink = document.getElementById(strQL);
			var Pitch = HorizontalBarOffsets[imgWidth] / g_nQuickLinksC;
			if (QuickLink)
			{
				var Width = QuickLink.offsetWidth;
				QuickLink.style.position = "absolute";
				QuickLink.style.left = HorizontalBarOffsets[imgLeft] + Pitch * i + (Pitch - Width) / 2;
				QuickLink.style.visibility = "hidden";
				QuickLink.style.visibility = "visible";
			}
		}
		for (var i = 0; i < g_nQuickLinksD; i++)
		{
			// spread them out evenly across the columns
			var strQL = "qld" + i;
			var QuickLink = document.getElementById(strQL);
			var Pitch = HorizontalBarOffsets[imgWidth] / g_nQuickLinksD;
			if (QuickLink)
			{
				var Width = QuickLink.offsetWidth;
				QuickLink.style.position = "absolute";
				QuickLink.style.left = HorizontalBarOffsets[imgLeft] + Pitch * i + (Pitch - Width) / 2;
				QuickLink.style.visibility = "hidden";
				QuickLink.style.visibility = "visible";
			}
		}
		for (var i = 0; i < g_nQuickLinksE; i++)
		{
			// spread them out evenly across the columns
			var strQL = "qle" + i;
			var QuickLink = document.getElementById(strQL);
			var Pitch = HorizontalBarOffsets[imgWidth] / g_nQuickLinksE;
			if (QuickLink)
			{
				var Width = QuickLink.offsetWidth;
				QuickLink.style.position = "absolute";
				QuickLink.style.left = HorizontalBarOffsets[imgLeft] + Pitch * i + (Pitch - Width) / 2;
				QuickLink.style.visibility = "hidden";
				QuickLink.style.visibility = "visible";
			}
		}
		for (var i = 0; i < g_nQuickLinksF; i++)
		{
			// spread them out evenly across the columns
			var strQL = "qlf" + i;
			var QuickLink = document.getElementById(strQL);
			var Pitch = HorizontalBarOffsets[imgWidth] / g_nQuickLinksF;
			if (QuickLink)
			{
				var Width = QuickLink.offsetWidth;
				QuickLink.style.position = "absolute";
				QuickLink.style.left = HorizontalBarOffsets[imgLeft] + Pitch * i + (Pitch - Width) / 2;
				QuickLink.style.visibility = "hidden";
				QuickLink.style.visibility = "visible";
			}
		}
		for (var i = 0; i < g_nQuickLinksG; i++)
		{
			// spread them out evenly across the columns
			var strQL = "qlg" + i;
			var QuickLink = document.getElementById(strQL);
			var Pitch = HorizontalBarOffsets[imgWidth] / g_nQuickLinksG;
			if (QuickLink)
			{
				var Width = QuickLink.offsetWidth;
				QuickLink.style.position = "absolute";
				QuickLink.style.left = HorizontalBarOffsets[imgLeft] + Pitch * i + (Pitch - Width) / 2;
				QuickLink.style.visibility = "hidden";
				QuickLink.style.visibility = "visible";
			}
		}
		for (var i = 0; i < g_nQuickLinksH; i++)
		{
			// spread them out evenly across the columns
			var strQL = "qlh" + i;
			var QuickLink = document.getElementById(strQL);
			var Pitch = HorizontalBarOffsets[imgWidth] / g_nQuickLinksH;
			if (QuickLink)
			{
				var Width = QuickLink.offsetWidth;
				QuickLink.style.position = "absolute";
				QuickLink.style.left = HorizontalBarOffsets[imgLeft] + Pitch * i + (Pitch - Width) / 2;
				QuickLink.style.visibility = "hidden";
				QuickLink.style.visibility = "visible";
			}
		}
		for (var i = 0; i < g_nQuickLinksI; i++)
		{
			// spread them out evenly across the columns
			var strQL = "qli" + i;
			var QuickLink = document.getElementById(strQL);
			var Pitch = HorizontalBarOffsets[imgWidth] / g_nQuickLinksI;
			if (QuickLink)
			{
				var Width = QuickLink.offsetWidth;
				QuickLink.style.position = "absolute";
				QuickLink.style.left = HorizontalBarOffsets[imgLeft] + Pitch * i + (Pitch - Width) / 2;
				QuickLink.style.visibility = "hidden";
				QuickLink.style.visibility = "visible";
			}
		}
	}

	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 == "searmp")
		{
			path = "/arm/searm019.jpg";
			size="width=660,height=500";
		}
		else if (id == "jaguarimage")
		{
			path = "/arm/jaguar560.jpg";
			size="width=580,height=440";
		}
		else if (id == "f120settings")
		{
			path = "/press/october04/c8051f120.jpg";
			size="width=660,height=547";
		}
		else if (id == "5208dbug")
		{
			path = "/press/march06/mcf5208.jpg";
			size="width=580,height=534";
		}
		else if (id == "twizards")
		{
			path = "/press/july02/t_wizards_620.jpg";
			size="width=640,height=490";
		}
		else if (id == "firefly")
		{
			path = "/coldfire/firefly_640.jpg";
			size="width=660,height=500";
		}
		else if (id == "searmp_circuit")
		{
			path = "/arm/searmp_circuit_960.jpg";
			size="width=980,height=660";
		}
		else if (id == "cansim_image")
		{
			path = "/arm/cansim.jpg";
			size="width=921,height=741";
		}
		else if (id == "dvdstudio")
		{
			path = "/multimedia/dvdstudio.jpg";

			size="width=604,height=485";
		}
		else if (id == "register_tooltips")
		{
			path = "/coldfire/register_tooltips.gif";
			size="width=940,height=573";
		}
		else if (id == "church24bpp_image")
		{
			path = "/press/march07/church24bpp_600.jpg";
			size="width=620,height=546";
		}
		else if (id == "flashbp_image")
		{
			path = "/press/april07/flashbp_600.jpg";
			size="width=620,height=470";
		}
		else if (id == "at89c51re2_image")
		{
			path = "/press/june07/at89c51re2.jpg";
			size="width=850,height=713";
		}
		else if (id == "freertos_image")
		{
			path = "/arm/freertos/freertos.jpg";
			size="width=863,height=746";
		}
		else if (id == "arm_simulator")
		{
			path = "/arm/simulator.jpg";
			size="width=912,height=754";
		}
		else if (id == "arm_debugger")
		{
			path = "/arm/debugger.jpg";
			size="width=912,height=754";
		}
		else if (id == "arm_estudio")
		{
			path = "/arm/estudio.jpg";
			size="width=610,height=471";
		}
		else if (id == "atmel_sam7")
		{
			path = "/press/september07/atmel_sam7_800.jpg";
			size="width=820,height=620";
		}
		else if (id == "at91sam9263")
		{
			path = "/press/december07/at91sam9263_800.jpg";
			size="width=820,height=425";
		}
		else if (id == "silabs")
		{
			path = "/press/march08/silabs_800.jpg";
			size="width=820,height=391";
		}
		else if (id == "mmu")
		{
			path = "/press/april08/mmu_800.jpg";
			size="width=820,height=665";
		}
		else if (id == "draganddrop")
		{
			path = "/estudio/tutorials/linker_script/draganddrop.jpg";
			size="width=700,height=621";
		}
		else if (id == "arm_microcontroller_board")
		{
			path = "/arm/training_system/microcontroller_board_800.jpg";
			size="width=820,height=540";
		}
		else if (id == "arm_applications_board")
		{
			path = "/arm/training_system/applications_board_800.jpg";
			size="width=820,height=572";
		}
		else if (id == "c8051f9xx")
		{
			path = "/press/july08/c8051f9xx_800.jpg";
			size="width=820,height=411";
		}
		else if (id == "at91sam9263_lcd")
		{
			path = "/press/august08/at91sam9263_lcd_800.jpg";
			size="width=820,height=797";
		}
		else if (id == "arm7_modular")
		{
			path = "/press/november08/arm7_modular_800.jpg";
			size="width=820,height=621";
		}
		else if (id == "armds")
		{
			path = "/press/december08/armds_800.jpg";
			size="width=820,height=638";
		}
		else if (id == "lwip")
		{
			path = "/press/april09/lwip_862.jpg";
			size="width=882,height=601";
		}
		else if (id == "c8051f7xx")
		{
			path = "/press/may09/c8051f7xx_800.jpg";
			size="width=820,height=444";
		}
		else if (id == "sam3u")
		{
			path = "/press/september09/sam3u_800.jpg";
			size="width=820,height=533";
		}
		else if (id == "armcc")
		{
			path = "/press/november09/armcc_800.jpg";
			size="width=820,height=487";
		}
		else if (id == "sam3uapps")
		{
			path = "/press/january10/sam3uapps_800.jpg";
			size="width=820,height=596";
		}
		else if (id == "at91sam7a3_gui_wizard_menu")
		{
			path = "/arm/at91sam7a3_gui_wizard_menu.jpg";
			size="width=292,height=765";
		}
		else if (id == "at91sam7a3_context_wizard_menu")
		{
			path = "/arm/at91sam7a3_context_wizard_menu.jpg";
			size="width=544,height=708";
		}
		else if (id == "at91sam7a3_register_views")
		{
			path = "/arm/at91sam7a3_register_views.jpg";
			size="width=976,height=224";
		}
		else if (id == "at91sam7a3_register_views_with_tooltips")
		{
			path = "/arm/at91sam7a3_register_views_with_tooltips.jpg";
			size="width=977,height=791";
		}
		else if (id == "stm32f103xe_gui_wizard_menu")
		{
			path = "/arm/stm32f103xe_gui_wizard_menu.jpg";
			size="width=272,height=688";
		}
		else if (id == "stm32f103xe_context_wizard_menu")
		{
			path = "/arm/stm32f103xe_context_wizard_menu.jpg";
			size="width=537,height=789";
		}
		else if (id == "stm32f103xe_register_views")
		{
			path = "/arm/stm32f103xe_register_views.jpg";
			size="width=973,height=284";
		}
		else if (id == "stm32f103xe_register_views_with_tooltips")
		{
			path = "/arm/stm32f103xe_register_views_with_tooltips.jpg";
			size="width=986,height=287";
		}
		else if (id == "stm32f103xb_gui_wizard_menu")
		{
			path = "/arm/stm32f103xb_gui_wizard_menu.jpg";
			size="width=255,height=484";
		}
		else if (id == "stm32f103x6_gui_wizard_menu")
		{
			path = "/arm/stm32f103x6_gui_wizard_menu.jpg";
			size="width=244,height=485";
		}
		else if (id == "stm32f102xb_gui_wizard_menu")
		{
			path = "/arm/stm32f102xb_gui_wizard_menu.jpg";
			size="width=230,height=429";
		}
		else if (id == "stm32f102xb_context_wizard_menu")
		{
			path = "/arm/stm32f102xb_context_wizard_menu.jpg";
			size="width=545,height=520";
		}
		else if (id == "stm32f102x6_gui_wizard_menu")
		{
			path = "/arm/stm32f102x6_gui_wizard_menu.jpg";
			size="width=204,height=366";
		}
		else if (id == "stm32f102x6_context_wizard_menu")
		{
			path = "/arm/stm32f102x6_context_wizard_menu.jpg";
			size="width=544,height=474";
		}
		else if (id == "stm32f103xb_context_wizard_menu")
		{
			path = "/arm/stm32f103xb_context_wizard_menu.jpg";
			size="width=510,height=603";
		}
		else if (id == "stm32f103x6_context_wizard_menu")
		{
			path = "/arm/stm32f103x6_context_wizard_menu.jpg";
			size="width=542,height=598";
		}
		else if (id == "stm32f103xb_register_views")
		{
			path = "/arm/stm32f103xb_register_views.jpg";
			size="width=982,height=135";
		}
		else if (id == "stm32f103xb_register_views_with_tooltips")
		{
			path = "/arm/stm32f103xb_register_views_with_tooltips.jpg";
			size="width=982,height=244";
		}
		else if (id == "stm32f101xe_gui_wizard_menu")
		{
			path = "/arm/stm32f101xe_gui_wizard_menu.jpg";
			size="width=244,height=579";
		}
		else if (id == "stm32f101xe_context_wizard_menu")
		{
			path = "/arm/stm32f101xe_context_wizard_menu.jpg";
			size="width=526,height=711";
		}
		else if (id == "stm32f101xb_gui_wizard_menu")
		{
			path = "/arm/stm32f101xb_gui_wizard_menu.jpg";
			size="width=220,height=436";
		}
		else if (id == "stm32f101xb_context_wizard_menu")
		{
			path = "/arm/stm32f101xb_context_wizard_menu.jpg";
			size="width=521,height=532";
		}
		else if (id == "stm32f101x6_gui_wizard_menu")
		{
			path = "/arm/stm32f101x6_gui_wizard_menu.jpg";
			size="width=207,height=370";
		}
		else if (id == "stm32f101x6_context_wizard_menu")
		{
			path = "/arm/stm32f101x6_context_wizard_menu.jpg";
			size="width=511,height=483";
		}
		else if (id == "stm32f107xc_gui_wizard_menu")
		{
			path = "/arm/stm32f107xc_gui_wizard_menu.jpg";
			size="width=222,height=613";
		}
		else if (id == "stm32f107xc_context_wizard_menu")
		{
			path = "/arm/stm32f107xc_context_wizard_menu.jpg";
			size="width=512,height=765";
		}
		else if (id == "stm32f107xc_register_views")
		{
			path = "/arm/stm32f107xc_register_views.jpg";
			size="width=964,height=246";
		}
		else if (id == "stm32f107xc_register_views_with_tooltips")
		{
			path = "/arm/stm32f107xc_register_views_with_tooltips.jpg";
			size="width=964,height=486";
		}
		else if (id == "stm32f100xb_gui_wizard_menu")
		{
			path = "/arm/stm32f100xb_gui_wizard_menu.jpg";
			size="width=232,height=469";
		}
		else if (id == "stm32f100xb_context_wizard_menu")
		{
			path = "/arm/stm32f100xb_context_wizard_menu.jpg";
			size="width=519,height=621";
		}
		else if (id == "stm32f100xb_register_views")
		{
			path = "/arm/stm32f100xb_register_views.jpg";
			size="width=965,height=179";
		}
		else if (id == "stm32f100xb_register_views_with_tooltips")
		{
			path = "/arm/stm32f100xb_register_views_with_tooltips.jpg";
			size="width=964,height=175";
		}
		else if (id == "ports_scope")
		{
			path = "/arm/stm32/ports_scope.jpg";
			size="width=472,height=364";
		}
		else if (id == "estudio5")
		{
			path = "/press/march10/estudio5.jpg";
			size="width=836,height=696";
		}
		else if (id == "efm32g890_gui_wizard_menu")
		{
			path = "/arm/energymicro/efm32g890_gui_wizard_menu.jpg";
			size="width=244,height=530";
		}
		else if (id == "efm32g890_context_wizard_menu")
		{
			path = "/arm/energymicro/efm32g890_context_wizard_menu.jpg";
			size="width=604,height=636";
		}
		else if (id == "efm32g890_register_views")
		{
			path = "/arm/energymicro/efm32g890_register_views.jpg";
			size="width=946,height=194";
		}
		else if (id == "efm32g890_register_views_with_tooltips")
		{
			path = "/arm/energymicro/efm32g890_register_views_with_tooltips.jpg";
			size="width=588,height=168";
		}
		else if (id == "efm32g890_simulation_events")
		{
			//path = "/arm/energymicro/efm32g890_simulation_events.jpg";
			//size="width=823,height=178";
			path = "/arm/energymicro/efm32g890_simulation_events1.jpg";
			size="width=707,height=137";
		}
		else if (id == "stm32f_primage")
		{
			path = "/press/september10/stm32f_800.jpg";
			size="width=820,height=414";
		}
		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 NextHeadline()
	{
		g_nNextHeadline++;
		if (g_nNextHeadline >= HeadlineText.length)
		{
			g_nNextHeadline = 0;
		}
		Headlines.innerHTML = HeadlineText[g_nNextHeadline];
	}
	function NextHeadlineCharacterAll()
	{
		g_nHeadLineOffset++;
		if (g_nHeadLineOffset <= g_HeadLineText.length)
		{
			var NewText = g_PreHeadLineText;
			NewText += g_HeadLineText;
			NewText += g_PostHeadLineText;
			//alert(NewText);
			Headlines.innerHTML = NewText;
		}
	}
	function NextHeadlineCharacter()
	{
		g_nHeadLineOffset++;
		if (g_nHeadLineOffset <= g_HeadLineText.length)
		{
			var NewText = g_PreHeadLineText;
			for (var i = 0; i < g_nHeadLineOffset; i++)
				NewText += g_HeadLineText.charAt(i);
			NewText += g_PostHeadLineText;
			//alert(NewText);
			Headlines.innerHTML = NewText;
			setTimeout("NextHeadlineCharacter()", 10);
		}
	}
	function StartNewHeadline()
	{
		var Text = HeadlineText[g_nNextHeadline];
		var nOffset = 0;
		g_PreHeadLineText = "";
		g_HeadLineText = "";
		g_PostHeadLineText = "";
		while (1)
		{
			g_PreHeadLineText += Text.charAt(nOffset);
			if (Text.charAt(nOffset++) == '>')
				break;
		}
		while (1)
		{
			g_HeadLineText += Text.charAt(nOffset++);
			if (Text.charAt(nOffset) == '<')
				break;
		}
		while (1)
		{
			g_PostHeadLineText += Text.charAt(nOffset++);
			if (nOffset >= Text.length)
				break;
		}
		g_nNextHeadline++;
		if (g_nNextHeadline >= HeadlineText.length)
		{
			g_nNextHeadline = 0;
		}
		g_nHeadLineOffset = 0;
		//NextHeadlineCharacter();
		NextHeadlineCharacterAll();
	}

	function CreateMenus()
	{
		if (document.getElementById)
		{
			HorizontalBar = document.getElementById("horizontal_bar");
			ColumnSpan = document.getElementById("columnwidth");
			g_nQuickLinks = 0;
			while (true)
			{
				var strQL = "ql" + g_nQuickLinks;
				var QuickLink = document.getElementById(strQL);
				if (QuickLink == null)
					break;
				g_nQuickLinks++;
			}
			g_nQuickLinksA = 0;
			while (true)
			{
				var strQL = "qla" + g_nQuickLinksA;
				var QuickLink = document.getElementById(strQL);
				if (QuickLink == null)
					break;
				g_nQuickLinksA++;
			}
			g_nQuickLinksB = 0;
			while (true)
			{
				var strQL = "qlb" + g_nQuickLinksB;
				var QuickLink = document.getElementById(strQL);
				if (QuickLink == null)
					break;
				g_nQuickLinksB++;
			}
			g_nQuickLinksC = 0;
			while (true)
			{
				var strQL = "qlc" + g_nQuickLinksC;
				var QuickLink = document.getElementById(strQL);
				if (QuickLink == null)
					break;
				g_nQuickLinksC++;
			}
			g_nQuickLinksD = 0;
			while (true)
			{
				var strQL = "qld" + g_nQuickLinksD;
				var QuickLink = document.getElementById(strQL);
				if (QuickLink == null)
					break;
				g_nQuickLinksD++;
			}
			g_nQuickLinksE = 0;
			while (true)
			{
				var strQL = "qle" + g_nQuickLinksE;
				var QuickLink = document.getElementById(strQL);
				if (QuickLink == null)
					break;
				g_nQuickLinksE++;
			}
			g_nQuickLinksF = 0;
			while (true)
			{
				var strQL = "qlf" + g_nQuickLinksF;
				var QuickLink = document.getElementById(strQL);
				if (QuickLink == null)
					break;
				g_nQuickLinksF++;
			}
			g_nQuickLinksG = 0;
			while (true)
			{
				var strQL = "qlg" + g_nQuickLinksG;
				var QuickLink = document.getElementById(strQL);
				if (QuickLink == null)
					break;
				g_nQuickLinksG++;
			}
			g_nQuickLinksH = 0;
			while (true)
			{
				var strQL = "qlh" + g_nQuickLinksH;
				var QuickLink = document.getElementById(strQL);
				if (QuickLink == null)
					break;
				g_nQuickLinksH++;
			}
			g_nQuickLinksI = 0;
			while (true)
			{
				var strQL = "qli" + g_nQuickLinksI;
				var QuickLink = document.getElementById(strQL);
				if (QuickLink == null)
					break;
				g_nQuickLinksI++;
			}
			//alert(g_nQuickLinks);
	
			Resize();
	
			var I1 = document.getElementById("image1");
			if (I1)
				I1.src = Image1;
			var I2 = document.getElementById("image2");
			if (I2)
				I2.src = Image2;
			var I3 = document.getElementById("image3");
			if (I3)
				I3.src = Image3;
			var I4 = document.getElementById("searmp");
			if (I4)
			{
				I4.onmouseover = function() { ImageMouseOver(); }
				I4.onmouseout = function() { ImageMouseOut(); }
				//I4.onmousedown = function() { ImageNewWindow("http://www.crossware.com/arm/searm019.jpg", "width=660,height=500"); }
			}
			var I5 = document.getElementById("jaguarimage");
			if (I5)
			{
				I5.onmouseover = function() { ImageMouseOver(); }
				I5.onmouseout = function() { ImageMouseOut(); }
				//I5.onmousedown = function() { ImageNewWindow("http://www.crossware.com/arm/jaguar560.jpg", "width=580,height=440"); }
			}
			var I6 = document.getElementById("armsuite");
			if (I6)
			{
				I6.onmouseover = function() { ImageMouseOver(); }
				I6.onmouseout = function() { ImageMouseOut(); }
				I6.onmousedown = function() { ImageLink("http://www.crossware.com/arm/index.htm"); }
			}
			var I7 = document.getElementById("f120settings");
			if (I7)
			{
				I7.onmouseover = function() { ImageMouseOver(); }
				I7.onmouseout = function() { ImageMouseOut(); }
				//I7.onmousedown = function() { ImageNewWindow("http://www.crossware.com/press/october04/c8051f120.jpg", "width=660,height=547"); }
			}
			var I8 = document.getElementById("5208dbug");
			if (I8)
			{
				I8.onmouseover = function() { ImageMouseOver(); }
				I8.onmouseout = function() { ImageMouseOut(); }
				//I8.onmousedown = function() { ImageNewWindow("http://www.crossware.com/press/march06/mcf5208.jpg", "width=580,height=534"); }
			}
			var I9 = document.getElementById("twizards");
			if (I9)
			{
				I9.onmouseover = function() { ImageMouseOver(); }
				I9.onmouseout = function() { ImageMouseOut(); }
				//I9.onmousedown = function() { ImageNewWindow("http://www.crossware.com/press/july02/t_wizards_620.jpg", "width=640,height=490"); }
			}
			var I10 = document.getElementById("firefly");
			if (I10)
			{	 
				I10.onmouseover = function() { ImageMouseOver(); }
				I10.onmouseout = function() { ImageMouseOut(); }
				//I10.onmousedown = function() { ImageNewWindow("http://www.crossware.com/coldfire/firefly_640.jpg", "width=660,height=500"); }
			}
			var I11 = document.getElementById("searmp_circuit");
			if (I11)
			{
				I11.onmouseover = function() { ImageMouseOver(); }
				I11.onmouseout = function() { ImageMouseOut(); }
				//I11.onmousedown = function() { ImageNewWindow("http://www.crossware.com/arm/searmp_circuit_960.jpg", "width=980,height=660"); }
			}
			var I12 = document.getElementById("cansim_image");
			if (I12)
			{
				I12.onmouseover = function() { ImageMouseOver(); }
				I12.onmouseout = function() { ImageMouseOut(); }
				//I12.onmousedown = function() { ImageNewWindow("http://www.crossware.com/arm/cansim.jpg", "width=921,height=741"); }
			}
			var I13 = document.getElementById("dvdstudio");
			if (I13)
			{
				I13.onmouseover = function() { ImageMouseOver(); }
				I13.onmouseout = function() { ImageMouseOut(); }
				//I13.onmousedown = function() { ImageNewWindow("dvdstudio.jpg", "width=604,height=485"); }
			}
			var I14 = document.getElementById("register_tooltips");
			if (I14)
			{
				I14.onmouseover = function() { ImageMouseOver(); }
				I14.onmouseout = function() { ImageMouseOut(); }
				//I14.onmousedown = function() { ImageNewWindow("/coldfire/register_tooltips.gif", "width=940,height=573"); }
			}
			var I15 = document.getElementById("church24bpp_image");
			if (I15)
			{
				I15.onmouseover = function() { ImageMouseOver(); }
				I15.onmouseout = function() { ImageMouseOut(); }
				//I15.onmousedown = function() { ImageNewWindow("/press/march07/church24bpp_600.jpg", "width=620,height=546"); }
			}
			var I16 = document.getElementById("flashbp_image");
			if (I16)
			{
				I16.onmouseover = function() { ImageMouseOver(); }
				I16.onmouseout = function() { ImageMouseOut(); }
			}
			var I17 = document.getElementById("at89c51re2_image");
			if (I17)
			{
				I17.onmouseover = function() { ImageMouseOver(); }
				I17.onmouseout = function() { ImageMouseOut(); }
			}
			var I18 = document.getElementById("freertos_image");
			if (I18)
			{
				I18.onmouseover = function() { ImageMouseOver(); }
				I18.onmouseout = function() { ImageMouseOut(); }
			}
			var I19 = document.getElementById("arm_simulator");
			if (I19)
			{
				I19.onmouseover = function() { ImageMouseOver(); }
				I19.onmouseout = function() { ImageMouseOut(); }
			}
			var I20 = document.getElementById("arm_debugger");
			if (I20)
			{
				I20.onmouseover = function() { ImageMouseOver(); }
				I20.onmouseout = function() { ImageMouseOut(); }
			}
			var I21 = document.getElementById("arm_estudio");
			if (I21)
			{
				I21.onmouseover = function() { ImageMouseOver(); }
				I21.onmouseout = function() { ImageMouseOut(); }
			}
			var I22 = document.getElementById("atmel_sam7");
			if (I22)
			{
				I22.onmouseover = function() { ImageMouseOver(); }
				I22.onmouseout = function() { ImageMouseOut(); }
			}
			var I23 = document.getElementById("at91sam9263");
			if (I23)
			{
				I23.onmouseover = function() { ImageMouseOver(); }
				I23.onmouseout = function() { ImageMouseOut(); }
			}
			var I24 = document.getElementById("silabs");
			if (I24)
			{
				I24.onmouseover = function() { ImageMouseOver(); }
				I24.onmouseout = function() { ImageMouseOut(); }
			}
			var I25 = document.getElementById("mmu");
			if (I25)
			{
				I25.onmouseover = function() { ImageMouseOver(); }
				I25.onmouseout = function() { ImageMouseOut(); }
			}
			var I26 = document.getElementById("draganddrop");
			if (I26)
			{
				I26.onmouseover = function() { ImageMouseOver(); }
				I26.onmouseout = function() { ImageMouseOut(); }
			}
			var I27 = document.getElementById("arm_microcontroller_board");
			if (I27)
			{
				I27.onmouseover = function() { ImageMouseOver(); }
				I27.onmouseout = function() { ImageMouseOut(); }
			}
			var I28 = document.getElementById("arm_applications_board");
			if (I28)
			{
				I28.onmouseover = function() { ImageMouseOver(); }
				I28.onmouseout = function() { ImageMouseOut(); }
			}
			var I29 = document.getElementById("c8051f9xx");
			if (I29)
			{
				I29.onmouseover = function() { ImageMouseOver(); }
				I29.onmouseout = function() { ImageMouseOut(); }
			}
			var I30 = document.getElementById("at91sam9263_lcd");
			if (I30)
			{
				I30.onmouseover = function() { ImageMouseOver(); }
				I30.onmouseout = function() { ImageMouseOut(); }
			}
			var I31 = document.getElementById("arm7_modular");
			if (I31)
			{
				I31.onmouseover = function() { ImageMouseOver(); }
				I31.onmouseout = function() { ImageMouseOut(); }
			}
			var I32 = document.getElementById("armds");
			if (I32)
			{
				I32.onmouseover = function() { ImageMouseOver(); }
				I32.onmouseout = function() { ImageMouseOut(); }
			}
			var I33 = document.getElementById("lwip");
			if (I33)
			{
				I33.onmouseover = function() { ImageMouseOver(); }
				I33.onmouseout = function() { ImageMouseOut(); }
			}
			var I34 = document.getElementById("c8051f7xx");
			if (I34)
			{
				I34.onmouseover = function() { ImageMouseOver(); }
				I34.onmouseout = function() { ImageMouseOut(); }
			}
			var I35 = document.getElementById("sam3u");
			if (I35)
			{
				I35.onmouseover = function() { ImageMouseOver(); }
				I35.onmouseout = function() { ImageMouseOut(); }
			}
			var I36 = document.getElementById("armcc");
			if (I36)
			{
				I36.onmouseover = function() { ImageMouseOver(); }
				I36.onmouseout = function() { ImageMouseOut(); }
			}
			var I37 = document.getElementById("sam3uapps");
			if (I37)
			{
				I37.onmouseover = function() { ImageMouseOver(); }
				I37.onmouseout = function() { ImageMouseOut(); }
			}
			var I38 = document.getElementById("at91sam7a3_gui_wizard_menu");
			if (I38)
			{
				I38.onmouseover = function() { ImageMouseOver(); }
				I38.onmouseout = function() { ImageMouseOut(); }
			}
			var I39 = document.getElementById("at91sam7a3_context_wizard_menu");
			if (I39)
			{
				I39.onmouseover = function() { ImageMouseOver(); }
				I39.onmouseout = function() { ImageMouseOut(); }
			}
			var I40 = document.getElementById("at91sam7a3_register_views");
			if (I40)
			{
				I40.onmouseover = function() { ImageMouseOver(); }
				I40.onmouseout = function() { ImageMouseOut(); }
			}
			var I41 = document.getElementById("at91sam7a3_register_views_with_tooltips");
			if (I41)
			{
				I41.onmouseover = function() { ImageMouseOver(); }
				I41.onmouseout = function() { ImageMouseOut(); }
			}
			var I42 = document.getElementById("estudio5");
			if (I42)
			{
				I42.onmouseover = function() { ImageMouseOver(); }
				I42.onmouseout = function() { ImageMouseOut(); }
			}
			var I43 = document.getElementById("stm32f103xe_gui_wizard_menu");
			if (I43)
			{
				I43.onmouseover = function() { ImageMouseOver(); }
				I43.onmouseout = function() { ImageMouseOut(); }
			}
			var I44 = document.getElementById("stm32f103xe_context_wizard_menu");
			if (I44)
			{
				I44.onmouseover = function() { ImageMouseOver(); }
				I44.onmouseout = function() { ImageMouseOut(); }
			}
			var I45 = document.getElementById("stm32f103xe_register_views");
			if (I45)
			{
				I45.onmouseover = function() { ImageMouseOver(); }
				I45.onmouseout = function() { ImageMouseOut(); }
			}
			var I46 = document.getElementById("stm32f103xe_register_views_with_tooltips");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("stm32f103xb_gui_wizard_menu");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("stm32f103xb_context_wizard_menu");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("stm32f103xb_register_views");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			var I46 = document.getElementById("stm32f103xb_register_views_with_tooltips");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("stm32f103x6_gui_wizard_menu");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("stm32f103x6_context_wizard_menu");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("stm32f102xb_gui_wizard_menu");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("stm32f102xb_context_wizard_menu");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("stm32f102x6_gui_wizard_menu");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("stm32f102x6_context_wizard_menu");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("stm32f101xe_gui_wizard_menu");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("stm32f101xe_context_wizard_menu");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("stm32f101xb_gui_wizard_menu");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("stm32f101xb_context_wizard_menu");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("stm32f101x6_gui_wizard_menu");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("stm32f101x6_context_wizard_menu");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("stm32f107xc_gui_wizard_menu");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("stm32f107xc_context_wizard_menu");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("stm32f107xc_register_views");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("stm32f107xc_register_views_with_tooltips");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("stm32f100xb_gui_wizard_menu");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("stm32f100xb_context_wizard_menu");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("stm32f100xb_register_views");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("stm32f100xb_register_views_with_tooltips");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			I46 = document.getElementById("ports_scope");
			if (I46)
			{
				I46.onmouseover = function() { ImageMouseOver(); }
				I46.onmouseout = function() { ImageMouseOut(); }
			}
			var I47 = document.getElementById("efm32g890_gui_wizard_menu");
			if (I47)
			{
				I47.onmouseover = function() { ImageMouseOver(); }
				I47.onmouseout = function() { ImageMouseOut(); }
			}
			var I48 = document.getElementById("efm32g890_context_wizard_menu");
			if (I48)
			{
				I48.onmouseover = function() { ImageMouseOver(); }
				I48.onmouseout = function() { ImageMouseOut(); }
			}
			var I49 = document.getElementById("efm32g890_register_views");
			if (I49)
			{
				I49.onmouseover = function() { ImageMouseOver(); }
				I49.onmouseout = function() { ImageMouseOut(); }
			}
			var I50 = document.getElementById("efm32g890_register_views_with_tooltips");
			if (I50)
			{
				I50.onmouseover = function() { ImageMouseOver(); }
				I50.onmouseout = function() { ImageMouseOut(); }
			}
			var I51 = document.getElementById("efm32g890_simulation_events");
			if (I51)
			{
				I51.onmouseover = function() { ImageMouseOver(); }
				I51.onmouseout = function() { ImageMouseOut(); }
			}
			var I52 = document.getElementById("stm32f_primage");
			if (I52)
			{
				I52.onmouseover = function() { ImageMouseOver(); }
				I52.onmouseout = function() { ImageMouseOut(); }
			}

			Headlines = document.getElementById("headline");
			if (Headlines)
			{
				g_nHeadLineOffset = 0;
				StartNewHeadline();
				setInterval("StartNewHeadline()", 10000);
			}
			ImageWindow = null;
			
		}
	}


// end hiding script from old browsers -->


