﻿//document.write('<a href="http://www.optimumnetworking.com/contactus.aspx"><img src="http://www.optimumnetworking.com/images/freeassess.jpg" alt="Free Network Assessment" width="160" height="66" border="0"></a><p>');
document.write('<table width="200" cellspacing="0" cellpadding="0" align="center"><tr><td>');

var variableslide=new Array();

//variableslide[x]=["path to image", "OPTIONAL link for image", "OPTIONAL text description (supports HTML tags)"]

variableslide[0]=['http://www.optimumnetworking.com/images/performance_mon_sm.jpg', 'http://www.optimumnetworking.com/msp.htm', '<b>Planning & budgeting for future IT investments:</b><ul><li>Establish baseline for performance</li><li>Analyze performance trends</li><li>Realize proper allocation of resources</li><li>Increase uptime</li></ul>'];
variableslide[1]=['http://www.optimumnetworking.com/images/strategic_reports_sm.jpg', 'http://www.optimumnetworking.com/msp.htm', '<b>Measuring business productivity:</b><ul><li>Formulate  informed financial decisions in regards to your IT infrastructure</li><li>Monitor uptime of your Website</li></ul>'];
variableslide[2]=['http://www.optimumnetworking.com/images/device_mon_sm.jpg', 'http://www.optimumnetworking.com/msp.htm', '<b>Identifying & addressing potential issues:</b><ul><li>Receive in-depth reporting on:<ul><li>Remote management</li><li>Server Assets</li><li>Patch & Server uptime</li></ul></li></ul>'];
variableslide[3]=['http://www.optimumnetworking.com/images/central_dash_sm.jpg', 'http://www.optimumnetworking.com/msp.htm', '<b>Monitoring of critical activities and systems:</b><ul><li>Identify potential  technical issues</li><li>Reduce troubleshooting time</li><li>Efficiently monitor Website response time</li></ul>'];
variableslide[4]=['http://www.optimumnetworking.com/images/increased_sec_sm.jpg', 'http://www.optimumnetworking.com/msp.htm', '<b>Providing enhanced security capabilities:</b><ul><li>Instantly identify critical security vulnerability</li><li>Track unauthorized log-on attempts</li><li>Create alerts on virus detection</li></ul>'];
variableslide[5]=['http://www.optimumnetworking.com/images/asset_tracking_sm.jpg', 'http://www.optimumnetworking.com/msp.htm', '<b>Efficiently tracking organizational resources:</b><ul><li>Immediately generate software & hardware inventory</li><li>Create application summary</li><li>Complete Windows and SNMP inventory</li></ul>'];

//configure the below 3 variables to set the dimension/background color of the slideshow

var slidewidth='200px'; //set to width of LARGEST image in your slideshow
var slideheight='300px'; //set to height of LARGEST iamge in your slideshow, plus any text description
var slidebgcolor='#FFFFFF';

//configure the below variable to determine the delay between image rotations (in miliseconds)
var slidedelay=6000;

////Do not edit pass this line////////////////

var ie=document.all;
var dom=document.getElementById;

for (i = 0; i < variableslide.length; i++) {
  var cacheimage = new Image();
  cacheimage.src = variableslide[i][0];
}

var currentslide = 0;

function rotateimages() {
  contentcontainer = '<center>';
  if (variableslide[currentslide][1] != "") {
    contentcontainer += '<a href="' + variableslide[currentslide][1] + '">';
  }
  contentcontainer += '<img src="' + variableslide[currentslide][0] + '" border="0" vspace="3">';
  if (variableslide[currentslide][1] != "") {
    contentcontainer += '</a>';
  }
  contentcontainer += '</center>';
  if (variableslide[currentslide][2]!="") {
    contentcontainer+=variableslide[currentslide][2];
  }
  
  if (document.layers) {
    crossrotateobj.document.write(contentcontainer);
    crossrotateobj.document.close();
  }
  else if (ie || dom) {
    crossrotateobj.innerHTML=contentcontainer;
  }
  if (currentslide == variableslide.length - 1) {
    currentslide = 0;
  }
  else {
    currentslide++;
  }
  setTimeout("rotateimages()", slidedelay);
}

if (ie || dom) {
  document.write('<div id="slidedom" style="width:' + slidewidth + ';height:' + slideheight + '; background-color:' + slidebgcolor + '; font-size: 8pt;"></div>');
}

function start_slider() {
  crossrotateobj = dom ? document.getElementById("slidedom") : ie? document.all.slidedom : document.slidensmain.document.slidenssub;
  if (document.layers) {
    document.slidensmain.visibility = "show";
  }
  rotateimages();
}

if (ie || dom) {
  start_slider();
}
else if (document.layers) {
  window.onload = start_slider;
}


//document.write('<ilayer id="slidensmain" width=&{slidewidth}; height=&{slideheight}; bgColor=&{slidebgcolor}; visibility=hide><layer id="slidenssub" width=&{slidewidth}; left=0 top=0></layer></ilayer>');
document.write('</td></tr></table>');

