var titlea = new Array();
var texta = new Array();
var linka = new Array();
var trgfrma = new Array();
var heightarr = new Array();
var cyposarr = new Array();
cyposarr[0] = 0;
cyposarr[1] = 1;
cyposarr[2] = 2;
cyposarr[3] = 3;
cyposarr[4] = 4;
cyposarr[5] = 5;
cyposarr[6] = 6;
cyposarr[6] = 7;
titlea[0] = "Latest Ads";
texta[0] = "View the most recent Summa advertising featured in Sign & Digital Graphics Magazine";
linka[0] = "http://digital.sdgmag.com/sdgmag/201003#pg5";
trgfrma[0] = "_parent";
titlea[1] = "Back Cover Feature";
texta[1] = "Check out Summa's latest back cover advertisement from Sign &amp; Digital Graphics Magazine";
linka[1] = "http://digital.sdgmag.com/sdgmag/201003#pg135";
trgfrma[1] = "_parent";
titlea[2] = "Software Update";
texta[2] = "Summa Cutter Tools Updated to version 1.10.0.2 (January 18 2010)";
linka[2] = "support/software.php";
trgfrma[2] = "_parent";
titlea[3] = "USB Driver Updates";
texta[3] = "USB Drivers for DC Series and cutters (January 18 2010)";
linka[3] = "support/software.php";
trgfrma[3] = "_parent";
titlea[4] = "Driver Updates";
texta[4] = "USB drivers for DC Series and cutters updated (December 18 2009)";
linka[4] = "support/software.php";
trgfrma[4] = "_parent";
titlea[5] = "Firmware Update";
texta[5] = "S Class Firmware update. MD9980 revision 28 (December 9 2009)";
linka[5] = "support/firmware.php";
trgfrma[5] = "_parent";
titlea[6] = "OPOS-CAM Update";
texta[6] = "OPOS-CAM USB driver updated (December 3 2009)";
linka[6] = "support/software.php";
trgfrma[6] = "_parent";
titlea[7] = "Software Update";
texta[7] = "Summa WinPlot update for Windows 7 32/64 bit (November 23 2009)";
linka[7] = "support/software.php";
trgfrma[7] = "_parent";
var mc = 8;
uagent = window.navigator.userAgent.toLowerCase();
IEB = (uagent.indexOf('msie') != - 1) ? true : false;
var scompat = document.compatMode;
var spage = null;
var PlcHoldDiv = null;
var cvar = 0, say = 0, tpos = 0, enson = 0, hidsay = 0, hidson = 0;
var VNAME_timeo = null;
var kalan = 0;
var objst = new Array();
stepc = parseInt(20 * (6000 / 1000));
dif = 0.00;
op = 1.00;
dif = (1.00 / stepc);
CalcIcWidth = 215 - 8 - 8 - (2 * 1);
CalcSlideWidth = 215 - (2 * 1);
divtextb = "<div id=d";
divtev1 = " onmouseover=\"ll(";
divtev2 = ")\" onmouseout =\"lll(";
divtev3 = ")\" onclick=\"butclick(";
divtev4 = ")\"";
divtexts = " style=\"position:absolute;visibility:hidden;width:" + CalcIcWidth + "px; COLOR:" + "#666" + "; left:0px; top:0px; FONT-FAMILY: " + "arial,helvetica,sans-serif" + "; FONT-SIZE: " + 8 + "pt; FONT-STYLE:" + "normal" + "; FONT-WEIGHT:" + "normal" + "; TEXT-DECORATION:" + "none" + "; margin:0px; LINE-HEIGHT:" + 12 + "pt; text-align:" + "left" + ";padding:0px;\">";
ns6span = " style=\"position:relative; COLOR:" + "#000" + "; width:" + CalcIcWidth + "px; FONT-FAMILY:" + "arial,helvetica,sans-serif" + "; FONT-SIZE:" + 9 + "pt; FONT-STYLE:" + "normal" + "; FONT-WEIGHT:" + "bold" + "; TEXT-DECORATION:" + "none" + "; LINE-HEIGHT:" + 14 + "pt;text-align:" + "left" + "; padding:0px;\"";
function ll(gnum) {
   if((linka[gnum].length) > 2) {
      var objd = null;
      var objd2 = null;
      objd = document.getElementById('d' + gnum);
      objd2 = document.getElementById('hgd' + gnum);
      objd.style.color = "#0081c6";
      objd2.style.color = "#000";
      objd.style.cursor = 'pointer';
      objd2.style.cursor = 'pointer';
      }
   window.status = "" + linka[gnum];
   }
function lll(gnum2) {
   var objd = null;
   var objd2 = null;
   objd = document.getElementById('d' + gnum2);
   objd2 = document.getElementById('hgd' + gnum2);
   objd.style.color = "#666";
   objd2.style.color = "#000";
   window.status = "";
   }
function butclick(gnum3) {
   if(linka[gnum3].substring(0, 11) == "javascript:") {
      eval("" + linka[gnum3]);
      }
   else {
      if((linka[gnum3].length) > 3) {
         if((trgfrma[gnum3].indexOf("_parent") >- 1)) {
            eval("parent.window.location='" + linka[gnum3] + "'");
            }
         else if((trgfrma[gnum3].indexOf("_top") >- 1)) {
            eval("top.window.location='" + linka[gnum3] + "'");
            }
         else {
            window.open('' + linka[gnum3], '' + trgfrma[gnum3]);
            }
         }
      }
   }
function llll() {
   kalan = kalan - Math.ceil(kalan / (6000 / 1000));
   tpos = 0;
   for(i = hidson; i <= hidsay; i++) {
      objst[i].style.left = "" + (8 + kalan - CalcSlideWidth) + "px";
      }
   for(i = enson; i <= say; i++) {
      objst[i].style.left = "" + (8 + kalan) + "px";
      objst[i].style.top = 4 + tpos + "px";
      objst[i].style.visibility = "visible";
      tpos = tpos + heightarr[i] + 10;
      }
   if(kalan <= 0) {
      hidsay = say;
      hidson = enson;
      say++;
      if(say >= mc) {
         say = 0;
         }
      enson = say;
      VNAME_timeo = setTimeout('lllll()', 7000);
      }
   else {
      VNAME_timeo = setTimeout('llll()', 30);
      }
   }
function FadeBitti() {
   for(i = hidson; i <= hidsay; i++) {
      objst[i].style.zIndex = 2;
      }
   for(i = enson; i <= say; i++) {
      objst[i].style.zIndex = 3;
      }
   hidsay = say;
   hidson = enson;
   say++;
   if(say >= mc) {
      say = 0;
      }
   enson = say;
   VNAME_timeo = setTimeout('lllll()', 7000);
   }
function llllllllll() {
   op = op - dif;
   if(op < (0.00)) {
      op = 0.00;
      }
   if(IEB == true) {
      spage.filters[0].apply();
      }
   for(i = hidson; i <= hidsay; i++) {
      if(IEB == true) {
         objst[i].style.visibility = "hidden";
         }
      else {
         objst[i].style.opacity = op;
         }
      objst[i].style.zIndex = 3;
      }
   tpos = 0;
   for(i = enson; i <= say; i++) {
      objst[i].style.top = 4 + tpos + "px";
      if(IEB == true) {
         objst[i].style.visibility = "visible";
         }
      else {
         objst[i].style.opacity = 1.00 - op;
         }
      tpos = tpos + heightarr[i] + 10;
      objst[i].style.zIndex = 2;
      }
   if(IEB == true) {
      spage.filters[0].play();
      }
   else {
      if(op > (0.00)) {
         VNAME_timeo = setTimeout('llllllllll()', 30);
         }
      else {
         for(i = hidson; i <= hidsay; i++) {
            objst[i].style.zIndex = 2;
            }
         for(i = enson; i <= say; i++) {
            objst[i].style.zIndex = 3;
            }
         hidsay = say;
         hidson = enson;
         say++;
         if(say >= mc) {
            say = 0;
            }
         enson = say;
         VNAME_timeo = setTimeout('lllll()', 7000);
         }
      }
   }
function lllll() {
   if(6 == 6) {
      }
   else if(6 == 0) {
      }
   else {
      if(IEB == true) {
         spage.filters[0].apply();
         }
      for(i = hidson; i <= hidsay; i++) {
         objst[i].style.visibility = "hidden";
         }
      }
   cvar = 0;
   tpos = 0;
   art = 1;
   topla = 0;
   do {
      if(art == 1) {
         topla = 0;
         }
      else {
         topla = 10;
         }
      cvar = cvar + heightarr[say] + topla;
      if(cvar < (100 - 4 - 4 - 1 - 1)) {
         say++;
         if(say > mc) {
            art = 1;
            break;
            }
         }
      else {
         if(art == 1) {
            say++;
            if(say > mc) {
               art = 1;
               break;
               }
            }
         }
      art++;
      }
   while(cvar < (100 - 4 - 4 - 1 - 1));
   say--;
   if(6 == 6) {
      kalan = CalcSlideWidth;
      setTimeout('llll()', 30);
      }
   else if(6 == 0) {
      op = 1.00;
      setTimeout('llllllllll()', 50);
      }
   else {
      for(i = enson; i <= say; i++) {
         objst[i].style.left = 8 + "px";
         objst[i].style.top = 4 + tpos + "px";
         objst[i].style.visibility = "visible";
         tpos = tpos + heightarr[i] + 10;
         }
      if(IEB == true) {
         spage.filters[0].play();
         }
      else {
         hidsay = say;
         hidson = enson;
         say++;
         if(say >= mc) {
            say = 0;
            }
         enson = say;
         VNAME_timeo = setTimeout('lllll()', 7000);
         }
      }
   }
function lllllllll2() {
   i = 0;
   for(i = 0; i < mc; i++) {
      objst[i] = document.getElementById('d' + i);
      heightarr[i] = objst[i].offsetHeight;
      objst[i].style.top = 100 + 200 + "px";
      if(6 != 6) {
         objst[i].style.left = 8 + "px";
         objst[i].style.visibility = "visible";
         }
      }
   if((IEB == true) && (6 != 6)) {
      spage.onfilterchange = FadeBitti;
      }
   lllll();
   }
function lllllllll() {
   if(IEB == true) {
      spage = document.getElementById("spageie");
      }
   else {
      spage = document.getElementById("spagens");
      }
   if(!spage) {
      setTimeout('lllllllll()', 100);
      return;
      }
   i = 0;
   innertxt = "";
	for(i = 0; i < mc; i++) {
      innertxt = innertxt + "" + divtextb + "" + i + "" + divtev1 + i + divtev2 + i + divtev3 + i + divtev4 + divtexts + "<div id=\"hgd" + i + "\"" + ns6span + ">" + titlea[i] + "<br></div>" + texta[i] + "</div>";
      }
   spage.innerHTML = "" + innertxt;
   spage.style.left = "0px";
   spage.style.top = "0px";
   setTimeout('lllllllll2()', 100);
   }
function BuildHtmlCont() {
   PlcHoldDiv = document.getElementById("plcholddiv");
   if(!PlcHoldDiv) {
      setTimeout('BuildHtmlCont()', 100);
      return;
      }
   var intext = "";
   var filterstyle = "";
   if(IEB == true) {
      filterstyle = "";
      }
   intext = "<div id=\"disspageie\" style=\"position:absolute;width:" + 215 + "px; height:" + 100 + "px;left:0px; top:0px;margin:0px;overflow:hidden;padding:0px;border-style:" + "solid" + "; border-width:" + 0 + "px; border-color:" + "#000000" + ";background-image: url(" + "" + "); background-repeat :no-repeat;background-position:" + "0" + "px " + "0" + "px;\"><div id=\"spageie\" style=\"position:absolute;width:" + 215 + "px; height:" + 100 + "px; left:0px; top:0px; border-style:solid; border-width:0px; border-color:" + "#000000" + ";" + filterstyle + "overflow:hidden;clip:rect(" + "4 215 155 0" + ");\"></div></div>";
   if(IEB != true) {
      intext = intext + "<div id=\"spagensbrd\" style=\"position:absolute; width:" + (215 - 2 * 1) + "px; height:" + (100 - 2 * 1) + "px; left:0px; top:0px; border-style:" + "solid" + "; border-width:" + 0 + "px; border-color:" + "#000000" + ";overflow:hidden;\"><div id=\"spagens\" style=\"position:absolute; width:" + (215 - 2 * 1) + "px; height:" + (100 - 2 * 1) + "px; left:0; top:0; border-width:0px; overflow:hidden;clip:rect(" + "4 215 155 0" + ");\"></div></div>";
      }
   PlcHoldDiv.innerHTML = "" + intext;
   setTimeout('lllllllll()', 100);
   }
setTimeout('BuildHtmlCont()', 100);