//<script language="javascript">
	//var AllMenus;//=new Array();
	var CurrentMenu;
	var PrevSel;
	function Menus()
	{
		this.AddMenus			= AddMenus;
		this.GetMenu			= GetMenu;
		this.HideAllSubMenus	= HideAllSubMenus;
		this.HideSubMenus		= HideSubMenus;
		this.ShowSubMenus		= ShowSubMenus;
		this.AddMenu			= AddMenu;
		this.CancelHideFlag		= false;
		this.MenuMouseOut		= Menu_MouseOut;
		this.Click				= Menu_Click;
		this.GetLevel			= GetLevel;
		window.MenuContainer	= this;				//Register Window Container
	}
	function AddMenus(Menus)
	{
		var iM=0;		//Menu Index
		if (Menus==null){return 0;}
		if (Menus.length>0)
		{
			for (iM=0;iM<Menus.length;iM++)
			{
				this.AddMenu(Menus[iM]);
			}
		}
		else
		{
			this.AddMenu(Menus);
		}
	}
	function GetMenu(sId)
	{
		var oMenu	= null;
		for(var i=0;i<this.AllMenus.length;i++)
		{		
			oMenu = this.AllMenus[i]	
			if (oMenu.MenuID==sId)
			{
				return oMenu;
			}
		}
	}
	function HideAllSubMenus()
	{
		var i;
		var obj;
		if(this.CancelHideFlag==true)
		{
			return;
		}
		if (this.AllMenus==null)
		{
			return;
		}
		for(i=0;i<this.AllMenus.length;i++)
		{
			obj=GetObjRef(this.AllMenus[i].MenuID);
			if (obj!=null)
			{
				if (this.AllMenus[i].ParentID!=null && this.AllMenus[i].ParentID!=""){SetObjAttrib(obj,"visibility",1,"'hidden'");}		//only hide elements with a parent id
			}
		}
	}
	function HideSubMenus(ParentID)
	{
		var i;
		var obj;
		if(this.CancelHideFlag==true)
		{
			return;
		}
		if(ParentID==null || ParentID=="")
		{
			this.HideAllSubMenus();
			return;
		}
		
		else
		{
			if (this.AllMenus==null)
			{
				return;
			}
			for(i=0;i<this.AllMenus.length;i++)
			{
				
				if (this.AllMenus[i].ParentID==ParentID)
				{
					obj=GetObjRef(this.AllMenus[i].MenuID);
					if (obj!=null)
					{
						SetObjAttrib(obj,"visibility",1,"'hidden'");		//only hide elements with a parent id
						//SetObjAttrib(obj,"zIndex",1,"0");
					}
				}
			}
		}
		
	}
	function GetLevel(sItemId)			//This is a recursive function that finally gives us the level @ which a specific menu is nested
	{
		/*
		var id=new Number(iItemId)
		if (isNaN(id))
		{
			return 1;	//Return Level
		}
		*/
		var oItem = this.GetMenu(sItemId);
		if(oItem==null)
		{
			return 1;
		}
		else
		{
			return this.GetLevel(oItem.ParentID) + 1;
		}
		
	}
	function ShowSubMenus(ParentID)
	{
		var i;
		var obj;		
		var thisItem;
		var iRootId
		var oMenu=null;
		var oParent=GetObjRef(ParentID);
		//alert(event==null);
		this.CancelHideFlag=true;
		if(is.ie4||is.ie5||is.ie55||is.ie6)
		{
			window.event.cancelBubble=true;
		}
		if (this.AllMenus==null)
		{
			return;
		}
		this.CurrentMenu=ParentID;
		
		thisItem=GetObjRef(ParentID);
		
		if (thisItem!=null)
		{
			//if (thisItem.cMCount==0){return ;}
		}
		for(i=0;i<this.AllMenus.length;i++)
		{
			oMenu=this.AllMenus[i];
			if (oMenu.ParentID==ParentID)
			{
				obj=GetObjRef(oMenu.MenuID);
				
				if (obj!=null)
				{
					SetObjAttrib(obj,"visibility",1,"'visible'");		//only hide elements with a parent id
					SetObjAttrib(obj,"zIndex",1,oMenu.Level);		//only hide elements with a parent id
					//alert(obj.style.zIndex);
					//alert(Menu.Level);
				}
			}
			else 
			{
				obj=GetObjRef(this.AllMenus[i].MenuID);
				if (obj!=null)
				{
					if (thisItem!=null && (obj.Root!=thisItem.Root || this.AllMenus[i].ParentID==ParentID || obj.Level>thisItem.Level) && (this.AllMenus[i].ParentID!=null || this.AllMenus[i].ParentID==""))
					{
						SetObjAttrib(obj,"visibility",1,"'hidden'");
						
					}
					//SetObjAttrib(obj,"zIndex",1,"0");
				}		//only hide elements with a parent id
			}
		}
		
	}
	function AddMenu(Menu)
	{
		var mParent;
		var x=0;
		var y=0;
		var i;
		var bFirstItem=false;
		var obj;
		var	pID=-1;
		//var Menu.Level = 0;
		if (this.AllMenus==null){this.AllMenus=new Array();bFirstItem=true;}
		Menu.Level = this.GetLevel(Menu.ParentID);						//Retrieve the level in the hierarchy
		if (Menu.ParentID!=""&&Menu.ParentID!=null)						//this is a child menu, with a parent menu
		{
			mParent=GetObjRef(Menu.ParentID);
			if(mParent==null){return false};		//Specified Parent is not available, Menu cannot be nested
			
			//y+=new Number(GetObjAttrib(mParent,"height",0))+5;
			//x=new Number(GetObjAttrib(mParent,"left",0));
			
			for (i=0;i<this.AllMenus.length;i++)
			{
				if(this.AllMenus[i].MenuID==Menu.ParentID)
				{
					y+=new Number(this.AllMenus[i].yPos);
					y+=new Number(this.AllMenus[i].Height);					
					x= new Number(this.AllMenus[i].xPos)+1;		
					
					pID=i;									//record the index of the parent
					
				}
				else if (this.AllMenus[i].ParentID==Menu.ParentID)
				{
					y+=new Number(this.AllMenus[i].Height)+1;			//This must be added to the end of all other menus
				}			
			}
			if(mParent.Level>1)
			{
				x+=new Number(this.AllMenus[pID].Width);
				y-=new Number(this.AllMenus[0].Height);
				
				y+=3;									//Create a small Offset
				x-=7;									//Create a small Offset
				//alert(AllMenus[pID].Width+x);
			}
			
			Menu.yPos=y;
			Menu.xPos=x;
			Menu.Container=this;
			//mParent.outerHTML+=Menu.toString();
			document.write(Menu.toString());
			mParent.cMCount++;
			obj=GetObjRef(Menu.MenuID);
			if (obj!=null)
			{
				obj.Root=mParent.Root;
				obj.Level=mParent.Level+1;
			}
		}
		else										//This is Top Level Menu
		{
			if (this.AllMenus.length>0)					//Set the alignment to the first menu item that was added
			{
				x=this.AllMenus[0].xPos;y=this.AllMenus[0].yPos;
			}		
			else
			{
				x=Menu.xPos;y=Menu.yPos;
			}
			for (i=0;i<this.AllMenus.length;i++)
			{
				
				if (this.AllMenus[i].ParentID==null || this.AllMenus[i].ParentID=="")
				{
					x+=this.AllMenus[i].Width;			//This must be added to the end of all top Level menus
				}
			}
			Menu.yPos=y;
			Menu.xPos=x;
			//alert(x);
			//document.body.innerHTML+=Menu.toString();
			document.write(Menu.toString());
			obj=GetObjRef(Menu.MenuID);
			if (obj!=null)
			{
				obj.Root=Menu.MenuID;
				obj.Level=1;
			}
		}
		if (bFirstItem==true)
		{
			this.AllMenus[0]=Menu;
		}
		else
		{
			this.AllMenus[this.AllMenus.length]=Menu;
		}
		
	}
	function Menu(MenuID,ParentID,MenuName,xPos,yPos,Width,Height,Text,URL,Image,Container)
	{
		this.MenuID		= MenuID;
		this.ParentID	= ParentID;
		this.MenuName	= MenuName;
		this.xPos		= xPos;
		this.yPos		= yPos;
		this.Width		= Width;
		this.Height		= Height;
		this.Text		= Text;
		this.URL		= URL;
		this.Image		= Image;
		this.toString	= Menu_toString;
		this.Container	= Container;
		this.Level		= 0;
		
	}
	function Menu_toString()
	{
		var TagName;
		var strHTML;
		var sServerName=GetServer();
		
		//var strHoverAction=" onmouseover=" + '"' + "ShowSubMenus('" + this.MenuID + "');" + '"' + " onmouseout=" + '"' + "HideSubMenus('" + this.MenuID + "');" + '"'
		//if(this.URL.length>0 && this.URL.charAt(this.URL.length-1)!=";"){this.URL+=";";}
		//var strHoverAction=strHoverAction = " onclick='" + this.URL + "window.MenuContainer.Click();' onMouseOver=" + '"' + "window.MenuContainer.ShowSubMenus('" + this.MenuID + "');HiLiteRow(this,1);" + '"' + " onMouseOut=" + '"' + "window.MenuContainer.MenuMouseOut('" + this.MenuID + "');HiLiteRow(this,0);" + '"'
		var strHoverAction=strHoverAction = " onclick='//window.MenuContainer.Click();' onMouseOver=" + '"' + "window.MenuContainer.ShowSubMenus('" + this.MenuID + "');HiLiteRow(this,1);" + '"' + " onMouseOut=" + '"' + "window.MenuContainer.MenuMouseOut('" + this.MenuID + "');HiLiteRow(this,0);" + '"'
		if(is.ns4 ||is.ns4b || is.ns6) 
		{
			TagName="layer";
			strHTML = "<" + TagName + " " + strHoverAction + " Border='0' bordercolor='#FF6600' bgcolor='#FFFFFF' class='clsMenu' cMCount='0' visibility='show' id='" + this.MenuID + "' name='" + this.MenuName + "' top='" + this.yPos + "' left='" + this.xPos + "' height='" + this.Height + "' width='" + this.Width + "'>\n"
		} 
		else if(is.ie4||is.ie5||is.ie55||is.ie6) 
		{
			TagName="div";
			strHTML ="<" + TagName + " " + strHoverAction + " class='clsMenu' valign='middle' cMCount='0' style='POSITION: absolute; TOP:" + this.yPos + ";LEFT:" + this.xPos + "; HEIGHT:" + this.Height + "; width:" + this.Width + ";' id='" + this.MenuID + "' name='" + this.MenuName + "' top='" + this.yPos + "' left='" + this.xPos + "' height='" + this.Height + "' width='" + this.Width + "'>\n"
		}
		else
		{
			TagName="div";
			strHTML = "<" + TagName + " " + strHoverAction + " cMCount='0' visibility='hidden' id='" + this.MenuID + "' name='" + this.MenuName + "' top='" + this.yPos + "' left='" + this.xPos + "' height='" + this.Height + "' width='" + this.Width + "'>\n"
			
		}
		
		strHTML+= "\t<Table border='0' cellpadding='0' cellspacing='0' width='" + this.Width + "' height='" + this.Height + "' bgcolor='#FFFFFF'>\n" +
				  "\t\t<tr><td colspan='3' width='" + this.Width + "' height='1'><img src='" + sServerName + "/images/orangeline.gif' height='1' width='" + this.Width + "'></td></tr>\n"
		strHTML+= "\t\t<tr>\n" +
				  "\t\t\t<td width='1' height='" + this.Height + "'><img src='" + sServerName + "/images/orangeline.gif' width='1' height='" + this.Height + "'></td>\n" +
				  "\t\t\t<td width='" + this.Width + "' height='" + this.Height + "' valign='top'>\n";
					  
		//strHTML ="<" + TagName + " style='POSITION: absolute' visibility='show' id='" + this.MenuID + "' name='" + this.MenuName + "' top='" + this.yPos + "' left='" + this.xPos + "' height='" + this.Height + "' width='" + this.Width + "'>\n"
		if (this.URL==null){this.URL="";}		
		//strHTML+="<img src='images/none.gif' width='2' height='1' align='top' >";
		if (this.URL.toString().length>0)
		{
			strHTML+="	<a href=" + '"' + this.URL + '"' + ">" ;
			if (this.Image!=null)
			{
				if (this.Image.length>0)
				{
					if(is.ns4 ||is.ns4b || is.ns6) 
					{
						strHTML+="&nbsp;<img align='top' height='10' width='10' border='0' src='" + this.Image + "' border=0>\n "
					}
					else
					{
						strHTML+="&nbsp;<img align='middle' height='10' width='10' border='0' src='" + this.Image + "' border=0>\n "
					}
				}
			
			}
			strHTML+= " &nbsp;<font color='black' face='verdana'>" + this.Text + "</font></a>\n";
		}
		else
		{
			if (this.Image!=null)
			{
				if (this.Image.length>0){strHTML+="<img height='15' width='15' border='0' src='" + this.Image + "' border=0>\n "};
			
			}
			strHTML+="	&nbsp;" + this.Text;
		}
		
			strHTML+= "\t\t\t</td>\n" + 
					  "\t\t\t<td align='right' width='1' height='" + this.Height + "'><img src='" + sServerName + "/images/orangeline.gif' width='1' height='" + this.Height + "'></td>\n"+
					  "\t\t</tr>\n";
			strHTML+= "\t\t<tr><td align='right' colspan='3' width='" + this.Width + "' height='1'><img src='" + sServerName + "/images/orangeline.gif' height='1' width='" + this.Width + "'></td>\n</tr>\n" +
				      "\t</table>";
		
		strHTML+="</" + TagName + ">";
		//alert(strHTML);
		return strHTML;
		
		
	}
	function cMenu2(MenuID,ParentID,MenuName,xPos,yPos,Width,Height,Text,URL,Image,Container,ClassName,HoverClassName)
	{
		this.MenuID=MenuID;
		this.ParentID=ParentID;
		this.MenuName=MenuName;
		this.xPos=xPos;
		this.yPos=yPos;
		this.Width=Width;
		this.Height=Height;
		this.Text=Text;
		this.URL=URL;
		this.Image=Image;
		this.toString=cMenu2_toString;
		this.Container=Container;
		this.ClassName=ClassName;
		this.HoverClassName=HoverClassName;
		
	}
	function cMenu2_toString()
	{
		var TagName			= "";
		var sClassName		= ((this.ClassName==null || this.ClassName.length==0)? "clsMenu" : this.ClassName);
		var strHoverAction	= "";
		if(this.HoverClassName==null || this.HoverClassName.length==0)
		{
			strHoverAction	= " onclick='//window.MenuContainer.Click();' onMouseOver=" + '"' + "window.MenuContainer.ShowSubMenus('" + this.MenuID + "');HiLiteRow(this,1);" + '"' + " onMouseOut=" + '"' + "window.MenuContainer.MenuMouseOut('" + this.MenuID + "');HiLiteRow(this,0);" + '"'
		}
		else
		{
			strHoverAction	= " onclick='//window.MenuContainer.Click();' onMouseOver=" + '"' + "window.MenuContainer.ShowSubMenus('" + this.MenuID + "');this.className='" + this.HoverClassName + "';" + '"' + " onMouseOut=" + '"' + "window.MenuContainer.MenuMouseOut('" + this.MenuID + "');this.className='" + sClassName + "';" + '"'
		}
		if(is.ns4 ||is.ns4b || is.ns6) 
		{
			TagName="layer";
			strHTML = "<" + TagName + " " + strHoverAction + " Border='1' bordercolor='black' bgcolor='#99CCFF' class='" + sClassName + "' cMCount='0' Z-INDEX='" + this.zOrder + "' visibility='show' id='" + this.MenuID + "' name='" + this.MenuName + "' top='" + this.yPos + "' left='" + this.xPos + "' height='" + this.Height + "' width='" + this.Width + "'>\n"
			strHTML+= "<Table border='1' cellpadding='0' cellspacing='0' width='100%' height='100%'><tr><td>\n"
		} 
		else if(is.ie4||is.ie5||is.ie55) 
		{
			TagName="div";
			strHTML ="<" + TagName + " " + strHoverAction + " class='" + sClassName + "' valign='middle' cMCount='0' style='Z-INDEX:" + this.zOrder + ";POSITION: absolute; TOP:" + this.yPos + ";LEFT:" + this.xPos + "; HEIGHT:" + this.Height + "; width:" + this.Width + ";" + this.Style + "' id='" + this.MenuID + "' name='" + this.MenuName + "' top='" + this.yPos + "' left='" + this.xPos + "' height='" + this.Height + "' width='" + this.Width + "'>\n"
		}
		else
		{
			TagName="div";
			strHTML = "<" + TagName + " " + strHoverAction + " cMCount='0' Z-INDEX='" + this.zOrder + "' visibility='hidden' id='" + this.MenuID + "' name='" + this.MenuName + "' top='" + this.yPos + "' left='" + this.xPos + "' height='" + this.Height + "' width='" + this.Width + "'>\n"

		}
		if (this.URL==null){this.URL="";}		

		if (this.URL.toString().length>0)
		{
		strHTML+="	<a href=" + '"' + this.URL + '"' + ">" ;
			if (this.Image!=null && this.Image.length>0)
			{
				strHTML+="<img height='7' width='7' border='0' name='img" + this.MenuID + "' src='" + this.Image + "' border=0> ";

			}
		strHTML+= " &nbsp;" + this.Text + "</a>\n";
		}
		else
		{
			if (this.Image!=null && this.Image.length>0)
			{
				strHTML+="<img height='7' width='7' border='0' name='img" + this.MenuID + "' src='" + this.Image + "' border=0> ";

			}
		strHTML+="	&nbsp;" + this.Text + "\n";
		}
		if(is.ns4 ||is.ns4b || is.ns6) 
		{
			strHTML+= "</td></tr></Table>\n"
		} 
		strHTML+="</" + TagName + ">";
		//alert(strHTML);
		return strHTML;
			
	}
	
	function cTopMenu(MenuID,ParentID,MenuName,xPos,yPos,Width,Height,Text,URL,Image,Container,ClassName,HoverClassName)
	{
		this.MenuID=MenuID;
		this.ParentID=ParentID;
		this.MenuName=MenuName;
		this.xPos=xPos;
		this.yPos=yPos;
		this.Width=Width;
		this.Height=Height;
		this.Text=Text;
		this.URL=URL;
		this.Image=Image;
		this.toString=cTopMenu_toString;
		this.Container=Container;
		this.ClassName=ClassName;
		this.HoverClassName=HoverClassName;
		
	}
	function cTopMenu_toString()
	{
		var TagName			= "";
		var sClassName		= ((this.ClassName==null || this.ClassName.length==0)? "clsMenu" : this.ClassName);
		var strHoverAction	= "";
		var sServerName=GetServer();
		if(this.HoverClassName==null || this.HoverClassName.length==0)
		{
			strHoverAction	= " onclick='//window.MenuContainer.Click();' onMouseOver=" + '"' + "window.MenuContainer.ShowSubMenus('" + this.MenuID + "');HiLiteRow(this,1);" + '"' + " onMouseOut=" + '"' + "window.MenuContainer.MenuMouseOut('" + this.MenuID + "');HiLiteRow(this,0);" + '"'
		}
		else
		{
			strHoverAction	= " onclick='//window.MenuContainer.Click();' onMouseOver=" + '"' + "window.MenuContainer.ShowSubMenus('" + this.MenuID + "');this.className='" + this.HoverClassName + "';" + '"' + " onMouseOut=" + '"' + "window.MenuContainer.MenuMouseOut('" + this.MenuID + "');this.className='" + sClassName + "';" + '"'
		}
		if(is.ns4 ||is.ns4b || is.ns6) 
		{
			TagName="layer";
			strHTML = "<" + TagName + " " + strHoverAction + " Border='0' bordercolor='black' bgcolor='#99CCFF' class='" + sClassName + "' cMCount='0' visibility='show' id='" + this.MenuID + "' name='" + this.MenuName + "' top='" + this.yPos + "' left='" + this.xPos + "' height='" + this.Height + "' width='" + this.Width + "'>\n"
		} 
		else if(is.ie4||is.ie5||is.ie55) 
		{
			TagName="div";
			strHTML ="<" + TagName + " " + strHoverAction + " class='" + sClassName + "' valign='middle' cMCount='0' style='POSITION: absolute; TOP:" + this.yPos + ";LEFT:" + this.xPos + "; HEIGHT:" + this.Height + "; width:" + this.Width + ";" + this.Style + "' id='" + this.MenuID + "' name='" + this.MenuName + "' top='" + this.yPos + "' left='" + this.xPos + "' height='" + this.Height + "' width='" + this.Width + "'>\n"
		}
		else
		{
			TagName="div";
			strHTML = "<" + TagName + " " + strHoverAction + " cMCount='0' visibility='hidden' id='" + this.MenuID + "' name='" + this.MenuName + "' top='" + this.yPos + "' left='" + this.xPos + "' height='" + this.Height + "' width='" + this.Width + "'>\n"	
		}
		
		strHTML+= "\t<Table border='0' cellpadding='0' cellspacing='0' width='" + this.Width + "' height='" + this.Height + "' bgcolor='#FFFFFF'>\n" +
				  "\t\t<tr><td colspan='2' width='" + this.Width + "' height='1'><img src='" + sServerName + "/images/orangeline.gif' height='1' width='" + this.Width + "'></td></tr>\n"
		strHTML+= "\t\t<tr>\n" +
				  "\t\t\t<td width='" + this.Width + "' height='" + this.Height + "' valign='top'>\n";
				  
		if (this.URL==null){this.URL="";}		
		
		if (this.URL.toString().length>0)
		{
		strHTML+="	<a href=" + '"' + this.URL + '"' + ">" ;
			if (this.Image!=null)
			{
				if (this.Image.length>0){strHTML+="&nbsp;<img height='7' width='7' border='0' src='" + this.Image + "' border=0> "};
			
			}
		strHTML+= " &nbsp;" + this.Text + "</a>\n";
		}
		else
		{
			if (this.Image!=null)
			{
				if (this.Image.length>0){strHTML+="&nbsp;<img height='7' width='7' border='0' src='" + this.Image + "' border=0> "};
			
			}
		strHTML+="	&nbsp;" + this.Text + "\n";
		}
			strHTML+= "\t\t\t</td>\n" + 
					  "\t\t\t<td align='right' width='1' height='" + this.Height + "'><img src='" + sServerName + "/images/orangeline.gif' width='1' height='" + this.Height + "'></td>\n"+
					  "\t\t</tr>\n";
			strHTML+= "\t\t<tr><td align='right' colspan='2' width='" + this.Width + "' height='1'><img src='" + sServerName + "/images/orangeline.gif' height='1' width='" + this.Width + "'></td>\n</tr>\n" +
				      "\t</table>";
		strHTML+="</" + TagName + ">";
		//alert(strHTML);
		return strHTML;
		
	}
	
	function cMenuEnd(MenuID,ParentID,MenuName,xPos,yPos,Width,Height,Text,URL,Image,Container,ClassName,HoverClassName)
	{
		this.MenuID=MenuID;
		this.ParentID=ParentID;
		this.MenuName=MenuName;
		this.xPos=xPos;
		this.yPos=yPos;
		this.Width=Width;
		this.Height=Height;
		this.Text=Text;
		this.URL=URL;
		this.Image=Image;
		this.toString=cMenuEnd_toString;
		this.Container=Container;
		this.ClassName=ClassName;
		this.HoverClassName=HoverClassName;
		
	}
	function cMenuEnd_toString()
	{
		var TagName			= "";
		var sClassName		= ((this.ClassName==null || this.ClassName.length==0)? "clsMenu" : this.ClassName);
		var strHoverAction	= "";
		var sServerName=GetServer();
		if(this.HoverClassName==null || this.HoverClassName.length==0)
		{
			strHoverAction	= " onclick='//window.MenuContainer.Click();' onMouseOver=" + '"' + "window.MenuContainer.ShowSubMenus('" + this.MenuID + "');HiLiteRow(this,1);" + '"' + " onMouseOut=" + '"' + "window.MenuContainer.MenuMouseOut('" + this.MenuID + "');HiLiteRow(this,0);" + '"'
		}
		else
		{
			strHoverAction	= " onclick='//window.MenuContainer.Click();' onMouseOver=" + '"' + "window.MenuContainer.ShowSubMenus('" + this.MenuID + "');this.className='" + this.HoverClassName + "';" + '"' + " onMouseOut=" + '"' + "window.MenuContainer.MenuMouseOut('" + this.MenuID + "');this.className='" + sClassName + "';" + '"'
		}
		if(is.ns4 ||is.ns4b || is.ns6) 
		{
			TagName="layer";
			strHTML = "<" + TagName + " " + strHoverAction + " Border='0' bordercolor='black' bgcolor='#99CCFF' class='" + sClassName + "' cMCount='0' visibility='show' id='" + this.MenuID + "' name='" + this.MenuName + "' top='" + this.yPos + "' left='" + this.xPos + "' height='" + this.Height + "' width='" + this.Width + "'>\n"
		} 
		else if(is.ie4||is.ie5||is.ie55) 
		{
			TagName="div";
			strHTML ="<" + TagName + " " + strHoverAction + " class='" + sClassName + "' valign='middle' cMCount='0' style='POSITION: absolute; TOP:" + this.yPos + ";LEFT:" + this.xPos + "; HEIGHT:" + this.Height + "; width:" + this.Width + ";" + this.Style + "' id='" + this.MenuID + "' name='" + this.MenuName + "' top='" + this.yPos + "' left='" + this.xPos + "' height='" + this.Height + "' width='" + this.Width + "'>\n"
		}
		else
		{
			TagName="div";
			strHTML = "<" + TagName + " " + strHoverAction + " cMCount='0' visibility='hidden' id='" + this.MenuID + "' name='" + this.MenuName + "' top='" + this.yPos + "' left='" + this.xPos + "' height='" + this.Height + "' width='" + this.Width + "'>\n"	
		}
		
		strHTML+= "\t<Table border='0' cellpadding='0' cellspacing='0' width='" + this.Width + "' height='" + this.Height + "' bgcolor='#FFFFFF'>\n" +
				  "\t\t<tr><td colspan='1' width='" + this.Width + "' height='1'><img src='" + sServerName + "/images/orangeline.gif' height='1' width='" + this.Width + "'></td>\n" +
				  "\t\t\t<td rowspan='4' align='right' width='1' height='" + this.Height + "'><img src='" + sServerName + "/images/MenuRightEnd.gif'></td>\n" + 
				  "\t\t</tr>";
		strHTML+= "\t\t<tr>\n" +
				  "\t\t\t<td width='" + this.Width + "' height='" + this.Height + "' valign='top'>\n";
				  
		if (this.URL==null){this.URL="";}		
		
		if (this.URL.toString().length>0)
		{
		strHTML+="	<a href=" + '"' + this.URL + '"' + ">" ;
			if (this.Image!=null)
			{
				if (this.Image.length>0){strHTML+="&nbsp;<img height='7' width='7' border='0' src='" + this.Image + "' border=0> "};
			
			}
		strHTML+= " &nbsp;" + this.Text + "</a>\n";
		}
		else
		{
			if (this.Image!=null)
			{
				if (this.Image.length>0){strHTML+="&nbsp;<img height='7' width='7' border='0' src='" + this.Image + "' border=0> "};
			
			}
		strHTML+="	&nbsp;" + this.Text + "\n";
		}
			strHTML+= "\t\t\t</td>\n" +
					  "\t\t</tr>\n";
			strHTML+= "\t\t<tr><td align='right' colspan='1' width='" + this.Width + "' height='1'><img src='" + sServerName + "/images/orangeline.gif' height='1' width='" + this.Width + "'></td>\n</tr>\n" +
				      "\t</table>";
		strHTML+="</" + TagName + ">";
		//alert(strHTML);
		return strHTML;
		
	}
	
	function HiLiteRow(srcElm,OnOff) {
		if (srcElm!=PrevSel){
			if (OnOff==1)
			{
				//if (srcElm.style.backgroundColor != "highlight")
				//srcElm.style.backgroundColor = "SkyBlue";	//threedlightshadow
				//SetObjAttrib(srcElm,"backgroundColor",1,"'#6699FF'");
			}
			else
			{
				//srcElm.style.backgroundColor = "";
				//SetObjAttrib(srcElm,"backgroundColor",1,"''");
			}
		}
	}
	function Menu_MouseOut(MenuID)
	{
		this.CancelHideFlag=false;
		window.setTimeout("window.MenuContainer.HideAllSubMenus()",100);
		//this.HideAllSubMenus();
	}
	function Menu_Click()
	{
		this.CancelHideFlag=false;
		window.MenuContainer.HideAllSubMenus();
 	}
 	
 	
 	
 	//This is the method that actually builds menus
 	function BuildLinks()
 	{
 		var ms=new Menus();
		var lHeight=0;
		var sServerName=GetServer();
		if(is.ns4 ||is.ns4b || is.ns6) 
		{
			lHeight=123;
		}
		else
		{
			lHeight=115;
		}			
		//var x=new cMenu2("mnuLeftFill",null,"mnuHome",165,lHeight,30,20,"","","","cLeftMenu","cLeftMenu");
		//ms.AddMenu(x);
		var x=new cTopMenu("mnuHome",null,"mnuHome",190,lHeight,100,20,"Home",sServerName,sServerName + "/images/RightArrow.gif","","clsMenu","clsMenu");
		ms.AddMenu(x);
		var x=new cTopMenu("mnuVision",null,"mnuVision",185,lHeight,120,20,"About Us",sServerName + "/Company/vision.aspx",sServerName + "/images/RightArrow.gif","","clsMenu","clsMenu");
		ms.AddMenu(x);
		var x=new cTopMenu("mnuServices",null,"mnuServices",385,lHeight,125,20,"Services",sServerName + "/Services/default.aspx",sServerName + "/images/RightArrow.gif","","clsMenu","clsMenu");
		ms.AddMenu(x);
		var x=new cTopMenu("mnuPricing",null,"mnuPricing",285,lHeight,125,20,"Pricing",sServerName + "/Pricing/default.aspx",sServerName + "/images/RightArrow.gif","","clsMenu","clsMenu");
		ms.AddMenu(x);
		var x=new cMenuEnd("mnuContactUs",null,"mnuContactUs",485,lHeight,118,20,"Contact Us",sServerName + "/Company/ContactUs.aspx",sServerName + "/images/RightArrow.gif","","clsMenu","clsMenu");
		ms.AddMenu(x);
		
		x=new Menu("mnuFilmTransfer","mnuServices","mnuFilmTransfer",0,10,150,20,"Film Transfer",sServerName + "/Services/Film.aspx",sServerName + "/images/RightArrow.gif");
		ms.AddMenu(x);
			x=new Menu("mnuFilmTransfer8mm","mnuFilmTransfer","mnuFilmTransfer8mm",0,10,150,20,"8mm Film",sServerName + "/Formats/s8mm.aspx",sServerName + "/images/RightArrow.gif");
			ms.AddMenu(x);
			x=new Menu("mnuFilmTransferSuper8mm","mnuFilmTransfer","mnuFilmTransferSuper8mm",0,10,150,20,"Super 8mm Film",sServerName + "/Formats/s8mm.aspx",sServerName + "/images/RightArrow.gif");
			ms.AddMenu(x);
			x=new Menu("mnuFilmTransfer16mm","mnuFilmTransfer","mnuFilmTransfer16mm",0,10,150,20,"16mm Film",sServerName + "/Formats/16mm.aspx",sServerName + "/images/RightArrow.gif");
			ms.AddMenu(x);
			
		x=new Menu("mnuVideoTransfer","mnuServices","mnuVideoTransfer",0,10,150,20,"Video Transfer",sServerName + "/Services/Video.aspx",sServerName + "/images/RightArrow.gif");
		ms.AddMenu(x);
	
		x=new Menu("mnuPhotoArchive","mnuServices","mnuPhotoArchive",0,10,150,20,"Digital Photo Albums",sServerName + "/Services/Photos.aspx",sServerName + "/images/RightArrow.gif");
		ms.AddMenu(x);
	
		x=new Menu("mnuBusinessServices","mnuServices","mnuBusinessServices",0,10,150,20,"DVD Authoring",sServerName + "/Services/Authoring.aspx",sServerName + "/images/RightArrow.gif");
		ms.AddMenu(x);
	
	
		x=new Menu("mnuTransferPricing","mnuPricing","mnuTransferPricing",0,10,150,20,"Transfer Prices",sServerName + "/Pricing/default.aspx",sServerName + "/images/RightArrow.gif");
		ms.AddMenu(x);
		
		x=new Menu("mnuDvdAuthoringPricing","mnuPricing","mnuDvdAuthoringPricing",0,10,150,20,"Authoring Prices",sServerName + "/Pricing/Authoring.aspx",sServerName + "/images/RightArrow.gif");
		ms.AddMenu(x);
	
		x=new Menu("mnuOtherServicesPricing","mnuPricing","mnuOtherServicesPricing",0,10,150,20,"Other Services",sServerName + "/Pricing/OtherServices.asp",sServerName + "/images/RightArrow.gif");
		ms.AddMenu(x);
		
		ms.HideAllSubMenus();
 	}
 
//</script>