var testimonialcontent=new Array()

testimonialcontent[0]="<p>We had three employees take the 'Developing Applications with ApEx' course and we are very pleased with the results. The course and the lab exercises were clear and well-designed. The presentation technology worked smoothly, about as well as could be hoped. This on-line training is very cost-effective and because of this training, we have made a commitment internally to use ApEx for most future in-house development.</p><p><strong>- Pat Holmes, North Hollywood, CA, USA</strong></p>"

testimonialcontent[1]="<img src='images/customer_audemarspiguet.png'><img src='images/customer_niit.gif'>"

testimonialcontent[2]="<table border='0' align='center'><tr><td align='center'><img src='images/country_india.jpg'>India</td></tr></table>"

testimonialcontent[3]="<p>Both the Basic and Advanced APEX training programs are well worth the cost - more than enough information to get even a newbie up and running. The instructor truly understands the programming environment and is able to answer questions which are outside the realm of the lessons.</p><p><strong>- Cynthia Carey, University Park, PA, USA</strong></p>"

testimonialcontent[4]="<img src='images/customer_noaa.png'><img src='images/customer_FDIC.jpg'>"

testimonialcontent[5]="<table border='0' align='center'><tr><td align='center'><img src='images/country_usa.png'>USA</td></tr></table>"

testimonialcontent[6]="<p>This online training is well-organized and professionally presented. It is an excellent immersion training program. Highly recommend. A+.</p><p><strong>- John M. Slick, Hendersonville, TN, USA</strong></p>"

testimonialcontent[7]="<img src='images/customer_csc.png'><img src='images/customer_accenture.png'>"

testimonialcontent[8]="<table border='0' align='center'><tr><td align='center'><img src='images/country_canada.png'>Canada</td></tr></table>"

testimonialcontent[9]="<p>This was a wonderful overview of APEX, broad enough at just the right depth of explanation, with truly helpful exercises. </p><p><strong>- Todd Niepke, Pasadena, CA, USA</strong></p>"

testimonialcontent[10]="<img src='images/customer_deloitte.png'><img src='images/customer_siemens.png'>"

testimonialcontent[11]="<table border='0' align='center'><tr><td align='center'><img src='images/country_uk.png'>UK</td></tr></table>"

testimonialcontent[12]="<p>All I can say is that it was probably one of the 5 most useful classes I have taken in 15 years! Great class, great instructor!</p><p><strong>- Kitty Dua, Pasadena, CA, USA</strong></p> "

testimonialcontent[13]="<img src='images/customer_boeing.png'><img src='images/customer_att.png'>"

testimonialcontent[14]="<table border='0' align='center'><tr><td align='center'><img src='images/country_australia.png'>Australia</td></tr></table>"

testimonialcontent[15]="<p>From content to deliverable technique DBCON delivers outstanding quality and knowledge.</p><p>- <strong>Alejandro Barrere, Florida, USA</strong></p>"

testimonialcontent[16]="<img src='images/customer_gsk.png'><img src='images/customer_cummins.png'>"

testimonialcontent[17]="<table border='0' align='center'><tr><td align='center'><img src='images/country_denmark.gif'>Denmark</td></tr></table>"

testimonialcontent[18]="<p>I really enjoyed the training course, it was interactive and the instructor really engages you in the live online training. It's convenient and reasonably priced. Everything I learned applied to my work environment and was utilized on my project. I am looking forward to taking the advanced apex training too!</p><p>- <strong>Annie, McLean, Virginia, USA</strong></p>"

testimonialcontent[19]="<img src='images/customer_businesswire.png'><img src='images/customer_fisheries_ocean_canada.png'>"

testimonialcontent[20]="<table border='0' align='center'><tr><td align='center'><img src='images/country_germany.png'>Germany</td></tr></table>"

testimonialcontent[21]="<p>Reasonably priced, very well organized and executed. Really helped me to start APEX development for my company.</p><p>- <strong>Andrei Solonnikov, Ottawa, Ontario, Canada</strong></p>"

testimonialcontent[22]="<img src='images/customer_washburn.png'><img src='images/customer_wesleyan.png'>"

testimonialcontent[23]="<table border='0' align='center'><tr><td align='center'><img src='images/country_switzerland.png'>Switzerland</td></tr></table>"

testimonialcontent[24]="<p>I recommend this course to anyone who needs to quickly start using APEX. The training materials were to the point and the instructor struck a perfect balance between theory and practice. It was a very supportive and productive introduction to APEX.</p><p>- <strong>Carol McCarthy, Portland, OR, USA</strong></p>"

testimonialcontent[25]="<img src='images/customer_ed_gov.png'><img src='images/customer_wisconsin.png'>"

testimonialcontent[26]="<table border='0' align='center'><tr><td align='center'><img src='images/country_brazil.png'>Brazil</td></tr></table>"

testimonialcontent[27]="<table border='0' align='center'><tr><td align='center'><img src='images/country_russia.png'>Russia</td></tr></table>"

/***********************************************
* Pausing up-down scroller- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

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()}, 500)
}

// -------------------------------------------------------------------
// 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()}, 50)
}
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()}, 100)
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
}
