﻿/* ***********************begin toggle images***********************  */
function imageover(el,which){
  el.src=el.getAttribute(which || "off");
}

function imageswap(){
  var x = document.getElementsByTagName("img");
  for (var i=0;i<x.length;i++){
    var over = x[i].getAttribute("over");
    if (!over) continue;
      
    // preload image
    x[i].over_img = new Image();
    x[i].over_img.src=over;
    // set event handlers
    x[i].onmouseover = new Function("imageover(this,'over');");
    x[i].onmouseout = new Function("imageover(this);");
    // save original src
    x[i].setAttribute("off",x[i].src);
  }
}
/* ***********************end toggle images***********************  */


/* ***********************Begin rotating quotes tags*********************** */
/*
Rotating image or text(You can use for changing banners)
Author: Narayan Chand Thakur
Source: http://ncthakur.itgo.com/
This may be used freely as long as this message is intact.
*/
<!--

//you may add your image file or text below
var quote=new Array()
quote[0]="<img src=\"/images/logos/accenture.gif\" alt=\"Accenture\" /><img src=\"/images/logos/broadview.gif\" alt=\"Broadview\" /><img src=\"/images/logos/centurytel.gif\" alt=\"CenturyTel\" /><img src=\"/images/logos/comcast.gif\" class=\"last\" alt=\"Comcast\" />"
quote[1]="<p>\"In less than six months Razorsight saved us over $12 million dollars. Their expertise...has allowed us to stay competitive and effective in our business.\"<br /><b>- Verizon</b></p>"
quote[2]="<img src=\"/images/logos/covad.gif\" alt=\"Covad\" /><img src=\"/images/logos/cupress.gif\" alt=\"Cypress\" /><img src=\"/images/logos/deltacom.gif\" alt=\"Deltacom\" /><img src=\"/images/logos/excel.gif\" class=\"last\" alt=\"Excel\" />"
quote[3]="<p>\"Razorsight's comprehensive solution fully automates our network costing processes and provides insightful analytics that will help increase productivity.\"<br /><b>- Cypress Communications</b></p>"
quote[4]="<img src=\"/images/logos/gci.gif\" alt=\"GCI\" /><img src=\"/images/logos/globalcrossing.gif\" alt=\"Global Crossing\" /><img src=\"/images/logos/globalcom.gif\" alt=\"GlobalCom\" /><img src=\"/images/logos/ibm.gif\" class=\"last\" alt=\"IBM\" />"
quote[5]="<p>\"Razorsight's intuitive workflow modules and the ease of functionality was a major contributor to the decision to go with Razorsight.\"<br /><b>- TELUS</b></p>"
quote[6]="<img src=\"/images/logos/internap.gif\" alt=\"Internap\" /><img src=\"/images/logos/neutraltandem.gif\" alt=\"Neutral Tandem\" /><img src=\"/images/logos/telos.gif\" alt=\"Telos\" /><img src=\"/images/logos/nuvox.gif\" class=\"last\" alt=\"Nuvox\" />"
quote[7]="<p>\"It is clear that Razorsight's platform is the most innovative solution in the marketplace today.\"<br /><b>- Nuvox Communications</b></p>"
quote[8]="<img src=\"/images/logos/orange.gif\" alt=\"Orange\" /><img src=\"/images/logos/rcn.gif\" alt=\"RCN\" /><img src=\"/images/logos/savvis.gif\" alt=\"Savvis\" /><img src=\"/images/logos/spectrum.gif\" class=\"last\" alt=\"Spectrum\" />"
quote[9]="<p>\"An innovative and complete solution.\"<br /><b>- Global Crossing</b></p>"
quote[10]="<img src=\"/images/logos/telus.gif\" alt=\"Telus\" /><img src=\"/images/logos/telwest.gif\" alt=\"Telwest\" /><img src=\"/images/logos/timewarner.gif\" alt=\"TimeWarner\" /><img src=\"/images/logos/tp.gif\" class=\"last\" alt=\"TP\" />"
quote[11]="<p>\"Highly scalable, flexible and proven.\"<br /><b>- Comcast</b></p>"
quote[12]="<img src=\"/images/logos/verizon.gif\" alt=\"Verizon\" /><img src=\"/images/logos/verizonbusiness.gif\" alt=\"Verizon Business\" /><img src=\"/images/logos/windstream.gif\" class=\"last\" alt=\"Windstream\" />"


var current=0
var quoteID

var ns6=document.getElementById&&!document.all
function changeItem(){
if(document.layers){
document.layer1.document.write(quote[current])
document.layer1.document.close()
}
if(ns6)document.getElementById("rotatequotes").innerHTML=quote[current]
{
if(document.all){
rotatequotes.innerHTML=quote[current]
}
}
if (current==12) current=0
else current++
quoteID = setTimeout("changeItem()",10000)
}

function nextQuote() {
  clearTimeout(quoteID)
  changeItem()
}

function previousQuote() {
  current=current-2
  if (current==-2) current=11
  if (current==-1) current=12
  clearTimeout(quoteID)
  changeItem()
}

//-->


/* ***********************end rotating quotes tags*********************** */



