		function ExpCollNavigationBar(NavigationBarID)
		{										  
			//alert(NavigationBarID);
			if	( window.document.getElementById("AdminNavigationBar_" + NavigationBarID + "MainImage").style.display == "inline" )
			{
				window.document.getElementById("AdminNavigationBar_" + NavigationBarID + "MainImage").style.display = "none";
				window.document.getElementById("AdminNavigationBar_" + NavigationBarID + "MainImage2").style.display = "inline";
				window.document.getElementById(NavigationBarID + "SubDiv").style.display = "inline";
			}
			else
			{
				window.document.getElementById("AdminNavigationBar_" + NavigationBarID + "MainImage").style.display = "inline";
				window.document.getElementById("AdminNavigationBar_" + NavigationBarID + "MainImage2").style.display = "none";
				window.document.getElementById(NavigationBarID + "SubDiv").style.display = "none";
			}
			return false;
		}

		function mOvr(src,clrOver)
		{
			if (!src.contains(event.fromElement))
			{
				src.style.cursor = 'hand';
				src.bgColor = clrOver;
			}
		}
		function mOut(src,clrIn)
		{
			if (!src.contains(event.toElement))
			{
				src.style.cursor = 'default';
				src.bgColor = clrIn;
			}
		}
		function OpenCreateDoc()
		{
			//newWind=window.open('/appl/buyer/po/createdocument.aspx?fm=1','DocumentCreate','status=yes,resizable=yes,toolbar=no,scrollbars=yes,directories=no,location=no,resize=on,width=550,height=250');
			newWind=WindowOpen('/appl/buyer/po/createdocument.aspx?fm=1','DocumentCreate', 550, 250);
		}
		function PopupWindowCantFind()
		{
			try
			{
				return WindowOpen('/appl/catalog/cantfindit.aspx', 'CantFintIt', 500, 640);
			}
			catch(ex)
			{
				//return window.open('/appl/catalog/cantfindit.aspx', '', 'WIDTH=500,HEIGHT=640,TOOLBARS=NO,SCROLLBARS=NO');
				return WindowOpen('/appl/catalog/cantfindit.aspx', '', 500, 640);
			}
		}
		function goToURL()
		{
			var i, args = goToURL.arguments; document.returnValue = false;
			
			for(i = 0; i < (args.length - 1); i += 2)
			{
				args[i] = 'self';
				
				if(parent.frames.length > 0)
				{
					var FrameCount = 0;
					while(FrameCount < parent.frames.length)
					{
						try
						{
							if(parent.frames[FrameCount].name == "AccessPointeNavigation")
								args[i] = 'parent';
						}
						catch(ex)
						{
						}
						
						FrameCount++;
					}
				}
				
				//alert(args[i] + ".location = '" + args[i+1] + "'");
				if(args[i + 1].substr(0, 11) == "javascript:")
					eval(args[i + 1].substring(11));
				else
					eval(args[i] + ".location.href = '" + args[i + 1] + "'");
			}
		}
