function findLivePageWidth() 
{

	if (window.innerWidth != null)
		return window.innerWidth;
	if (document.body.clientWidth != null)
		return document.body.clientWidth;
	return (null);
}
	
function popup(evt,objectID)
	{}	
function popup1(evt,objectID) 
{
	if (isDHTML) 
		{
			// Makes sure this is a DHTML browser
			var livePageWidth = findLivePageWidth();
			//alert(livePageWidth);
			domStyle = findDOM(objectID,1);
			dom = findDOM(objectID,0);
			state = domStyle.visibility;
			if (dom.offsetWidth)
				{
					 elemWidth = dom.offsetWidth;
				}
			else
				{ 
					if (dom.clip.width)  
						{
							elemWidth = dom.clip.width; 
						}
				}

			if (state == "visible" || state == "show") 
				{ 
					domStyle.visibility = "hidden"; 
					//document.rfq.units1.style.display = ""	
					//document.rfq.dp1.style.display = ""
					//document.rfq.module1.style.display = ""	
					//document.rfq.cp1.style.display = ""	
					//document.rfq.stub1.style.display = ""
					//document.rfq.kwy1.style.display = ""
					//document.rfq.ss1.style.display = ""
					//document.rfq.mat1.style.display = ""	
				}
			else 
				{
					if (evt.pageY)
						 { 
							//Calculates the position for Navigator 4 
							topVal = evt.pageY + 4;
							leftVal = evt.pageX - (elemWidth / 2); 
						}
			else 
				{ 
					if (evt.y) 
						{ 
							// Calculates the position for IE4
							var changetpval = 0
							var changelfval = 0 
							switch(objectID)
								{
									case "pitchdesc" :
										changetpval = 30
										changelfval = -120
										break
									//case "facewdesc" :
										//changetpval = -95
										//break
									default :
									changetpval = 20
								}
								topVal = evt.y + changetpval + document.body.scrollTop;
								//leftVal = evt.x - (elemWidth / 2) + changelfval + document.body.scrollLeft;
								leftVal = evt.x - (elemWidth / 2) + (-120)  + document.body.scrollLeft;
						}
				}

			//*If the element goes off the page to the left, this moves it back */
			if(leftVal < 2) 
				{ 
					leftVal = 2; 
				}
			else 
				{ 
					if ((leftVal + elemWidth) > livePageWidth) 
						{ 
							leftVal = leftVal - (elemWidth / 6); }
						}
				domStyle.top = topVal; // Positions the element from the top
				domStyle.left = leftVal; // Positions the element from the left
				domStyle.visibility = "visible"; // Makes the element visible 
					//if(objectID == "gtdesc")
						{
							//document.rfq.units1.style.display = "none"
						}
					//if(objectID == "inchdesc")
						{
							//document.rfq.dp1.style.display = "none"
							//document.rfq.module1.style.display = "none"
						}
					//if(objectID == "qtydesc")
						{
							//document.rfq.dp1.style.display = "none"
							//document.rfq.module1.style.display = "none"
							//document.rfq.cp1.style.display = "none"
							//document.rfq.stub1.style.display = "none"
							//document.rfq.kwy1.style.display = "none"
							//document.rfq.ss1.style.display = "none"
							//document.rfq.mat1.style.display = "none"
						}
				}
		}
}