﻿var myNotes=new Array();

var tempX = 0;
var tempY = 0;
var IE = document.all?true:false;

var noteOpen = 0;

myNotes[0] = "<div class=\"title\">??</div>\n<div>??</div>";
myNotes[1] = "<div class=\"title\">24/7 Watch</div>\n<div>OpenDL 24/7 Monitoring System will monitor key network devices for connectivity, detailed services such as disk space or CPU utilization, and applications such as SQL and exchange server. <br/>The monitoring service varies from device to device. The OpenDL 24/7 Monitoring System alerts the OpenDL support team of system problems and outages the moment they occur. This option allows OpenDL support team to start diagnostics on and fix an issue immediately, and notify the Customer of the issue, most times even before they are aware there is a problem. In addition this option gives the OpenDL support team the ability to trend utilization over a period of time and estimate the life expectancy of a device or an entire system.</div>";
myNotes[2] = "<div class=\"title\">Remote Support</div>\n<div>Remote support allows Customer to receive direct remote connections from the OpenDL support team to Customer's network for purposes of diagnostics and maintenance (Customer must have available internet connection). In addition, this service also acts as a centralized console for computer management allowing the Customer to receive OpenDL support team remote connections and diagnosis anywhere in the world. Customers who do not choose or are not offered this option do not have telephone or remote connection support but are offered on-site support only.</div>";
myNotes[3] = "<div class=\"title\">Proactive Maintenance</div>\n<div>Proactive Maintenance enrolls servers, key network devices, and computers to maximally prevent equipment failures. It allows the OpenDL support team to prevent equipment failure, instabilities, viruses, worms, and Trojans by monitoring the network intensively and by installing and applying the latest pertinent patches and service packs.<br/>Without such maintenance, servers, key network devices, and computers quickly fall behind Microsoft released patches (or other firmware updates) and become progressively more vulnerable to attacks which can lead to data theft, downtime, as well as other emergency situations. Our support team will perform the Proactive Maintenance on a regularly scheduled basis, which will aid in reducing the actual support hours for those devices enrolled in the service.</div>";
myNotes[4] = "<div class=\"title\">Scheduled On-Site Support</div>\n<div>Fixed number of hours services rendered by OpenDL support team at Customer's location on a pre-scheduled basis for the entire length of the contract.</div>";
myNotes[5] = "<div class=\"title\">Standard Support Hours</div>\n<div>Monday to Friday, 9am to 5pm except public holidays</div>";
myNotes[6] = "<div class=\"title\">After Hours</div>\n<div>After Hours are defined as any support request made outside Standard Support Hours that is scheduled at least three business days in advance.</div>";
myNotes[7] = "<div class=\"title\">Emergency Hours</div>\n<div>Emergency Hours are defined as any support request made outside Standard Support Hours that is NOT scheduled at least three business days in advance.</div>";
myNotes[8] = "<div class=\"title\">Dedicated Professional</div>\n<div>With this option OpenDL will assign Customer a dedicated technical professional and account manager. It allows Customer have single point of contact and direct telephone access to the OpenDL support team for telephone support response in accordance with the customer's SLA.</div>";

function getMouseXY(e) {
  if (IE) { // grab the x-y pos.s if browser is IE
    tempX = event.clientX + document.body.scrollLeft;
    tempY = event.clientY + document.body.scrollTop;
  }
  else {  // grab the x-y pos.s if browser is NS
    tempX = e.pageX;
    tempY = e.pageY;
  }  
  if (tempX < 0){tempX = 0;}
  if (tempY < 0){tempY = 0;}  
  return true;
}

function updateNote(noteid) {
  noteOpen = 1;
  if(myNotes[noteid]) {
    document.getElementById('notePopWin').style.visibility  = "visible";
    document.getElementById('notePopWin').innerHTML = myNotes[noteid];
    document.getElementById('notePopWin').style.display = "block";
    document.getElementById('notePopWin').style.left = tempX+50;
    document.getElementById('notePopWin').style.top = tempY+15;    
  }
}

function hideNote() {
    noteOpen = 0;
    document.getElementById('notePopWin').style.visibility  = "hidden";
    timer = setTimeout("closePopInner()", 250);
}

function closePopInner() {
  if(document.getElementById('notePopWin').innerHTML != "" && !noteOpen) {
    document.getElementById('notePopWin').innerHTML = "";
    document.getElementById('notePopWin').style.display = "none";
  }
}

function showNote() {
    noteOpen = 1;
}