<!--
var eve;
var mouse_x;
var mouse_y;
var obj;
var str_px;
var site_loaded;
var BrowserName = navigator.appName;
var viewwidth;
var viewheight;
var scrollTop;

function ShowDetails(pd) {
  if (site_loaded == 1) {
    obj.innerHTML = '<table style="font-family: Verdana, Arial, sans-serif; font-size : 10px; background: #fafafa; border-width:4px; border-color:#FFFFFF; border-style:ridge" width="280px"><tr><td>' + pd + '</td></tr></table>';
    moveAction();
  }
}

function HideDetails() {
  if (site_loaded == 1) {
    obj.innerHTML = '';
  }
}

function ShowPicture(pic) {
  if (site_loaded == 1) {
    if (pic != "") {
      obj.innerHTML = '<table style="font-family: Verdana, Arial, sans-serif; font-size : 10px; background: #ffffff; border-width:4px; border-color:#5588ff; border-style:ridge;"><tr><td>' + pic + '</td></tr></table>';
      obj.style.zIndex = 1;
      moveAction();
    }
  }
}

function HidePicture() {
  if (site_loaded == 1) {
    obj.innerHTML = '';
  }
}

function moveAction(eve) {
  if (site_loaded == 1) {
    
    // mozilla/netscape/opera/IE7+
    if (typeof window.innerWidth != 'undefined') {
        viewwidth = window.innerWidth,
        viewheight = window.innerHeight
        scrollTop = window.pageYOffset
    
    // IE6 in standards compliant mode (valid doctype as the first line in the document)
    } else if (typeof document.documentElement != 'undefined' && typeof document.documentElement.clientWidth != 'undefined' && document.documentElement.clientWidth != 0) {
        viewwidth = document.documentElement.clientWidth,
        viewheight = document.documentElement.clientHeight
        scrollTop = document.documentElement.scrollTop
        
    // older IE
    } else {
        viewwidth = document.getElementsByTagName('body')[0].clientWidth,
        viewheight = document.getElementsByTagName('body')[0].clientHeight
        scrollTop = document.getElementsByTagName('body')[0].scrollTop
        str_px = "px";
    }
    
    if (!obj) {
      if (document.getElementById) {
        obj = document.getElementById("divTag");
        str_px = "px";
      } else if (document.all) {
        obj = document.all.divTag;
        str_px = "";
      }
    }
    
    if (!eve) {
      eve = window.event;
    }
    
    mouse_x = parseInt(eve.clientX);
    mouse_y = parseInt(eve.clientY) + scrollTop;
    
    if (obj.innerHTML.lastIndexOf(".jpg") > 0) {
      obj.style.left = (mouse_x - 250) + str_px;
    } else if (mouse_x < (viewwidth / 3)) {
      obj.style.left = (mouse_x - 70) + str_px;
    } else if (mouse_x > (viewwidth / 1.5)) {
      obj.style.left = (mouse_x - 210) + str_px;
    } else {
      obj.style.left = (mouse_x - 140) + str_px;
    }
    obj.style.top = (mouse_y + 25) + str_px;
  }
}

document.onmousemove = moveAction;
//-->

