/* --- Script © 2005 EC Software --- */
var ua = navigator.userAgent;
var dom = (document.getElementById) ? true : false;
var ie4 = (document.all && !dom) ? true : false;
var ie5_5 = ((ua.indexOf("MSIE 5.5")>=0 || ua.indexOf("MSIE 6")>=0) && ua.indexOf("Opera")<0) ? true : false;
var ns4 = (document.layers && !dom) ? true : false;
var offsxy = 6;
function hmshowPopup(e, txt, stick) {
  var tip = '<table  border="1" cellpadding="6" cellspacing="0" bgcolor="#FFFFFF" style="{border-width:1px; border-color:#000000; border-collapse:collapse;}"><tr valign=top><td>'+ txt + '<\/td><\/tr><\/table>';
  var tooltip = atooltip();
  e = e?e:window.event;
  var mx = ns4 ? e.PageX : e.clientX;
  var my = ns4 ? e.PageY : e.clientY;
  var bodyl = (window.pageXOffset) ? window.pageXOffset : document.body.scrollLeft;
  var bodyt = (window.pageYOffset) ? window.pageYOffset : document.body.scrollTop;
  var bodyw = (window.innerWidth)  ? window.innerWidth  : document.body.offsetWidth;
  if (ns4) {
    tooltip.document.write(tip);
    tooltip.document.close();
    if ((mx + offsxy + bodyl + tooltip.width) > bodyw) { mx = bodyw - offsxy - bodyl - tooltip.width; if (mx < 0) mx = 0; }
    tooltip.left = mx + offsxy + bodyl;
    tooltip.top = my + offsxy + bodyt;
  }
  else {
    tooltip.innerHTML = tip;
    if (tooltip.offsetWidth) if ((mx + offsxy + bodyl + tooltip.offsetWidth) > bodyw) { mx = bodyw - offsxy - bodyl - tooltip.offsetWidth; if (mx < 0) mx = 0; }
    tooltip.style.left = (mx + offsxy + bodyl)+"px";
    tooltip.style.top  = (my + offsxy + bodyt)+"px";
  }
  with(tooltip) { ns4 ? visibility="show" : style.visibility="visible" }
  if (stick) document.onmouseup = hmhidePopup;
}
function hmhidePopup() {
  var tooltip = atooltip();
  ns4 ? tooltip.visibility="hide" : tooltip.style.visibility="hidden";
}
function atooltip(){
 return ns4 ? document.hmpopupDiv : ie4 ? document.all.hmpopupDiv : document.getElementById('hmpopupDiv')
}
popid_104006318X="<p>Hi,<\/p>\n\r<p>&nbsp;<\/p>\n\r<p>I am trying to install a script on my server and the software company has provided me with a simple php script to make sure mysql is working on the server. If it is working the script will output \"mysql_ok\" and I am getting errors so that means I have not plugged in the right mysql info. The script is really simple and is only a few lines and all I have to do is fill out the first couple lines with the mysql information. Please let me know exactly what should be filled in these first few lines so I can get this to work. If possible can you fill out the information and make sure it displays \"mysql_ok\"<\/p>\n\r<p>&nbsp;<\/p>\n\r<p>Here is the simple script that was provided:<\/p>\n\r<p>&nbsp;<\/p>\n\r<p>&lt;?php<\/p>\n\r<p>\/* Please enter your database info below *\/<\/p>\n\r<p>\$database=\'database\';<\/p>\n\r<p>\$user=\'user\';<\/p>\n\r<p>\$password=\'password\';<\/p>\n\r<p>\$host=\'localhost\';<\/p>\n\r<p>&nbsp;<\/p>\n\r<p>\/* DO NOT EDIT FURTHER !!! *\/<\/p>\n\r<p>&nbsp;<\/p>\n\r<p>\$dbh=mysql_pconnect(\$host,\$user,\$password);<\/p>\n\r<p>mysql_select_db(\$database);<\/p>\n\r<p>mysql_query(\"create table mysql_ok ( b bigint )\");<\/p>\n\r<p>\$q=mysql_query(\"show tables\");<\/p>\n\r<p>while(list(\$table)=mysql_fetch_row(\$q)) {<\/p>\n\r<p>echo \"\$table&lt;br&gt;\";<\/p>\n\r<p>}<\/p>\n\r<p>?&gt;<\/p>\n\r"

