// JavaScript Document
function pausescroller(content, divId, divClass, delay){
this.content=content //message array content
this.tickerid=divId //ID of ticker div to display information
this.delay=delay //Delay between msg change, in miliseconds.
this.mouseoverBol=0 //Boolean to indicate whether mouse is currently over scroller (and pause it if it is)
this.hiddendivpointer=1 //index of message array for hidden div
document.write('<div id="'+divId+'" class="'+divClass+'" style="position: relative; overflow: hidden"><div class="innerDiv" style="position: absolute; width: 100%" id="'+divId+'1">'+content[0]+'</div><div class="innerDiv" style="position: absolute; width: 100%; visibility: hidden" id="'+divId+'2">'+content[1]+'</div></div>')
var scrollerinstance=this
if (window.addEventListener) //run onload in DOM2 browsers
window.addEventListener("load", function(){scrollerinstance.initialize()}, false)
else if (window.attachEvent) //run onload in IE5.5+
window.attachEvent("onload", function(){scrollerinstance.initialize()})
else if (document.getElementById) //if legacy DOM browsers, just start scroller after 0.5 sec
setTimeout(function(){scrollerinstance.initialize()}, 100)
}

// -------------------------------------------------------------------
// initialize()- Initialize scroller method.
// -Get div objects, set initial positions, start up down animation
// -------------------------------------------------------------------

pausescroller.prototype.initialize=function(){
this.tickerdiv=document.getElementById(this.tickerid)
this.visiblediv=document.getElementById(this.tickerid+"1")
this.hiddendiv=document.getElementById(this.tickerid+"2")
this.visibledivtop=parseInt(pausescroller.getCSSpadding(this.tickerdiv))
//set width of inner DIVs to outer DIV's width minus padding (padding assumed to be top padding x 2)
this.visiblediv.style.width=this.hiddendiv.style.width=this.tickerdiv.offsetWidth-(this.visibledivtop*2)+"px"
this.getinline(this.visiblediv, this.hiddendiv)
this.hiddendiv.style.visibility="visible"
var scrollerinstance=this
document.getElementById(this.tickerid).onmouseover=function(){scrollerinstance.mouseoverBol=1}
document.getElementById(this.tickerid).onmouseout=function(){scrollerinstance.mouseoverBol=0}
if (window.attachEvent) //Clean up loose references in IE
window.attachEvent("onunload", function(){scrollerinstance.tickerdiv.onmouseover=scrollerinstance.tickerdiv.onmouseout=null})
setTimeout(function(){scrollerinstance.animateup()}, this.delay)
}


// -------------------------------------------------------------------
// animateup()- Move the two inner divs of the scroller up and in sync
// -------------------------------------------------------------------

pausescroller.prototype.animateup=function(){
var scrollerinstance=this
if (parseInt(this.hiddendiv.style.top)>(this.visibledivtop+5)){
this.visiblediv.style.top=parseInt(this.visiblediv.style.top)-5+"px"
this.hiddendiv.style.top=parseInt(this.hiddendiv.style.top)-5+"px"
setTimeout(function(){scrollerinstance.animateup()}, 100)
}
else{
this.getinline(this.hiddendiv, this.visiblediv)
this.swapdivs()
setTimeout(function(){scrollerinstance.setmessage()}, this.delay)
}
}

// -------------------------------------------------------------------
// swapdivs()- Swap between which is the visible and which is the hidden div
// -------------------------------------------------------------------

pausescroller.prototype.swapdivs=function(){
var tempcontainer=this.visiblediv
this.visiblediv=this.hiddendiv
this.hiddendiv=tempcontainer
}

pausescroller.prototype.getinline=function(div1, div2){
div1.style.top=this.visibledivtop+"px"
div2.style.top=Math.max(div1.parentNode.offsetHeight, div1.offsetHeight)+"px"
}

// -------------------------------------------------------------------
// setmessage()- Populate the hidden div with the next message before it's visible
// -------------------------------------------------------------------

pausescroller.prototype.setmessage=function(){
var scrollerinstance=this
if (this.mouseoverBol==1) //if mouse is currently over scoller, do nothing (pause it)
setTimeout(function(){scrollerinstance.setmessage()}, 500)
else{
var i=this.hiddendivpointer
var ceiling=this.content.length
this.hiddendivpointer=(i+1>ceiling-1)? 0 : i+1
this.hiddendiv.innerHTML=this.content[this.hiddendivpointer]
this.animateup()
}
}

pausescroller.getCSSpadding=function(tickerobj){ //get CSS padding value, if any
if (tickerobj.currentStyle)
return tickerobj.currentStyle["paddingTop"]
else if (window.getComputedStyle) //if DOM2
return window.getComputedStyle(tickerobj, "").getPropertyValue("padding-top")
else
return 0
}


/* Quote to Dispaly in the Web Page  BEGIN*/

var pausecontent=new Array()
pausecontent[0]='<a href="client_quotes.shtml" class="greytxt">"We were looking for a robust mailing and security solution for our Gurgaon office. To enhance the security, we were also planning to implement firewall and anti-viruses. We contacted Eon Network and they responded very quickly and came up with a robust solution to address our requirements. We were quite satisfied with their solution and achieved what we wanted to without spending too much time and effort ourselves...</a><br><br><b class="redtext-b">Ravi Bhargava</b><br>DATAWORLD Information Systems Pty. Ltd.<br>-------------------------------------------------------<br><br>'
pausecontent[1]='<a href="client_quotes.shtml" class="greytxt">"Eon Networks is network infrastructure service provider for One Blue Ocean" One Blue Ocean had entrusted Eon Networks to commission a point to point leased line and site to site VPN considering their expertise in networking domain. We were pleased to find that the services provided by Eon Networks were prompt, and of high quality. Eon Networks possess expertise in designing and implementing complex IT solutions...</a><br><br><b class="redtext-b">Srinivas, System Administrator</b><br>One Blue Ocean Business Solutions<br>-------------------------------------------------------<br><br>'
pausecontent[2]='<a href="client_quotes.shtml" class="greytxt">"Eon Networks is an IT Infrastructure consultant and service provider of Knowledge Systems" Knowledge Systems is more than 100 crore turn over company having offices in Delhi & Mumbai. We were looking for a service provider who was not merely a IT products supplier but one who could provide us consultancy to achieve fast and successful implementation. In Eon Networks team we found what we were...</a><br><br><b class="redtext-b">Neeraj Soni, Sr. Network Administrator</b><br>Knowledge Infrastructure Systems<br>-------------------------------------------------------<br><br>'
pausecontent[3]='<a href="client_quotes.shtml" class="greytxt">"Eon Networks is network security service provider for Aerens Group" We at Aerens Builders were looking for a dependable service provider who could advise the right kind of firewall with VPN solution for our organization. After discussion with several service providers we finally short listed Eon Networks considering their in-depth knowledge and their approach. We have ordered a Firewall/UTM as proposed by Eon Networks...</a><br><br><b class="redtext-b">Pradeep Kumar, Network Administrator</b><br>Aerens Builders Pvt Ltd.<br>-------------------------------------------------------<br><br>'
pausecontent[4]='<a href="client_quotes.shtml" class="greytxt">"Eon Networks is IT Infrastructure service provider of Bajaj Capital" Bajaj Capital has selected Eon Networks as a System Integrator and IT products supplier considering their excellent professional services. Eon has so far provided various IT & Networking products along with integration services. The products include Switches, Routers & Eicon cards. The services provided by Eon Networks are accurate, timely and of good quality...</a><br><br><b class="redtext-b">Dheerender Srivastava, AVP (IT)</b><br>Bajaj Capital Ltd.<br>-------------------------------------------------------<br><br>'
pausecontent[5]='<a href="client_quotes.shtml" class="greytxt">We were lucky to get in touch with Eon networks. They studied our communication link problems thoroughly and understood each minute detail. They suggested a complete solution and also took the responsibility to install the same end to end. Eon suggested us RAD ASMi52 lease line modem and on confirmation supplied the same very next day. They installed it at both end i.e. one at BSNL exchange which is 60 KMs away from BRCM...</a><br><br><b class="redtext-b">Naveen Jha, Chief Network Administrator</b> BRCM College<br>-------------------------------------------------------<br><br>'
pausecontent[6]='<a href="client_quotes.shtml" class="greytxt">"Eon Networks is Wireless solution provider for New Era Consultancy" New Era Consultancy is situated in a densely populated market in south Delhi with 3-4 offices nearby. Since digging of road to run fiber cable is not allowed so it was not a straight away solution for us to have connectivity across our offices through cabling. We then contacted Eon Networks for consultancy and Eon proposed us the cost effective...</a><br><br><b class="redtext-b">Kishore Kumar, Network Administrator</b><br> New Era Consultancy Pvt. Ltd.<br>-------------------------------------------------------<br><br>'
pausecontent[7]='<a href="client_quotes.shtml" class="greytxt">At Salwan Public School, Sector 15 [II], Gurgaon, We were in need of an IT supplier who understands our prime requirement of securing our network and desktop computers from any virus, malwares, Trojan or other such thing which could have affected our computer security and resulted in loss of our important documents and valuable data. We contacted Eon Network and they responded promptly, coming out with a robust solution to address...</a><br><br><b class="redtext-b">Mr. Sudhir Kumar, IT Manager</b><br>Salwan Public School, Sector - 15(II), Gurgaon<br>-------------------------------------------------------<br><br>'
pausecontent[8]='<a href="client_quotes.shtml" class="greytxt">At PeopleStrong we were looking for a Security solution for our organization. We had researched in the market and decided to go with Cyberoam UTM as it has multiple security features and flexible management of internet access/internet bandwidth. Apart from it, it is very user friendly and easily configurable. It is a kind of all-in-One Device in security perspective. We searched the best vendor who could provide us the device in...</a><br><br><b class="redtext-b">Surendra Prasad, System Specialist, IT</b><br>PeopleStrong HR Services Pvt. Ltd.<br>-------------------------------------------------------<br><br>'



/* Quote to Dispaly in the Web Page  END */