
                    function setOffset() {
                        var currentOffset = document.documentElement.scrollTop || document.body.scrollTop; // body for Safari
                        var offset = currentOffset + 10;
                        document.getElementById("mfgInfo").style.top = offset+20 + 'px';
                        document.getElementById("mfgInfoBorder").style.top = offset + 'px';
                    }

                    function closeInfo() {
                        document.getElementById("mfgInfo").style.display = 'none';
                        document.getElementById("mfgInfoBorder").style.display = 'none';
                    }

                    function dispInfo(mfgid) {
                        xmlHttp=GetXmlHttpObject()
                        if (xmlHttp==null)
                        {
                            alert ("Your browser does not support AJAX!");
                            return;
                        }
                        var url="includes/get_mfg_info.php";
                        url=url+"?id="+mfgid;
                        url=url+"&sid="+Math.random();
                        xmlHttp.onreadystatechange=dispInfoChange;
                        xmlHttp.open("GET",url,true);
                        xmlHttp.send(null);
                    }
                    
                    function dispInfoChange() {
                        if (xmlHttp.readyState==4) {
                            //set the info box location on the screen
                            setOffset()
                            //make the box visible
                            document.getElementById("mfgInfo").style.display = 'inline';
                            document.getElementById("mfgInfoBorder").style.display = 'inline';
                            //display the gathered information
                            document.getElementById("mfgText").innerHTML=xmlHttp.responseText;
                            //set the border height
                            document.getElementById("mfgInfoBorder").innerHTML=xmlHttp.responseText;
                        }
                    }
                    
                    function GetXmlHttpObject() {
                       var xmlHttp=null;
                       try {
                           // Firefox, Opera 8.0+, Safari
                           xmlHttp=new XMLHttpRequest();
                       } catch (e) {
                           // Internet Explorer
                           try {
                               xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
                           } catch (e) {
                               xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
                           }
                       }
                           return xmlHttp;
                    }
