
var pausecontent=new Array()
pausecontent[0]='<dl><dt>Very Pleased</dt><dd class\=\"first\">Stan, your experience and professionalism must make you a valuable aset to Crystal Production Group. We were very pleased with the final video produced by your company. It will be a useful tool for our sales staff.</dd><dd class=second><b>Gary James</b><br />Manager, Customer Service<br />TKS USA, Inc., Japanese Manufacturer of Printing Presses</dd></dl>'

pausecontent[1]='<dl><dt>A Real Pleasure</dt><dd class\=\"first\">I just wanted to thank you again for the fine job you and your staff did on our \"Kendon\" video. It was perfect! It was exactly what we needed to make our seminar presentation a complete success. We were as happy with this video as we were with the first one that you did for us. As always, it was a real pleasure to work with you.</dd><dd class=second><b>Don Ditto, Jr.</b><br />President Kendon, Inc.,<br />Manufacturer of Home Interior Accessories</dd></dl>'

pausecontent[2]='<dl><dt>Turned an Idea into a Creative Reality</dt><dd class\=\"first\">From the original concept to the final product, your production company was creative, meticulous, flexible, able to think outside the box on a dime, and were receptive and responsive to our input. You were organized, efficient, and willing to do whatever was needed to assist us in staying within our budget. On a personal note, you were an absolute joy to work with.</dd><dd class=second><b>Tim McMullen, JD, CAE</b><br />Legislative Manager<br />Associated Locksmiths of America, Inc.</dd></dl>'

pausecontent[3]='<dl><dt>A Blast to Work With!</dt><dd class\=\"first\">You always made us feel like we were an integral part of the process and we appreciate all your recommendations that made the end product a better piece.  Plus, you’re just a blast to work with! Thank you again for turning our idea into creative reality.</dd><dd class=second><b>Ellen McEwen</b><br />Director of Marketing &amp; Communications<br />Associated Locksmiths of America, Inc.</dd></dl>'

pausecontent[4]='<dl><dt>Excellent Product At Every Stage</dt><dd class=first>Your producer at Crystal Production Group was genuinely interested in an excellent product at every stage and his experience in the industry proved helpful in our avoiding many of the pitfalls and wastes of the amateur.<br />I can wholeheartedly endorse their approach and work for delivering a quality product that surpasses the most professional scrutiny.</dd><dd class=second><b>Tim Salladay</b><br />Manager<br />Cantrell Training and Consulting, Leadership Training</dd></dl>'

pausecontent[5]='<dl><dt>' +
'From Creation to Completion'
+ '</dt><dd class=first>' +
'Thank you for the excellent job of producing our Grand Opening Video. As you know, we have now mailed it as part of the Grand Opening marketing and PR program for twelve openings in seven states. I especially appreciate the unique way in which you handled the video production and fulfillment as a turnkey project.'
+ '</dd><dd class=second><b>' +
'Paula Schultz'
+ '</b><br />' +
'Director of Marketing'
+ '<br />' +
'Don Pablo\'s Mexican Kitchens, National Mexican Restaurant Chain'
+ '</dd></dl>'

pausecontent[6]='<dl><dt>' +
'Professional Attention to Detail '
+ '</dt><dd class=first>' +
"The quality of the video is superb, which is a direct reflection of Crystal Production Group's professional attention to detail. The video has become a major part of our wait staff training. I intend to continue this direction for all other unit positions and have every intention to use you in the future."
+ '</dd><dd class=second><b>' +
'Diane Earl'
+ '</b><br />' +
'President'
+ '<br />' +
'Harrigan\'s Restaurants, Casual Dining Restaurant Chain'
+ '</dd></dl>'

pausecontent[7]='<dl><dt>' +
'Good Feeling'
+ '</dt><dd class=first>' +
"After speaking with several production companies, I chose Crystal Production Group based more on a feeling than on knowledge. That 'good feeling' came from the time you spent to explain the process to enable me to know more of what would be needed on the various levels of quality available in video productions."
+ '</dd><dd class=second><b>' +
'Jerry Guenther'
+ '</b><br />' +
'Logistics Manager'
+ '<br />' +
'Fasson-an Avery Company, International Label Manufacturer'
+ '</dd></dl>'

pausecontent[8]='<dl><dt>' +
'We Chose the Right One!'
+ '</dt><dd class=first>' +
"I want to thank you and your team for your tenacity, dedication and follow-through on what seemed to be such a difficult task. After interviewing over ten production companies, it is so satisfying to know that we chose the right one."
+ '</dd><dd class=second><b>' +
'Dianne Rochefort'
+ '</b><br />' +
'Director of Public Relations'
+ '<br />' +
'Hyatt Regency DFW, International Hotel Chain'
+ '</dd></dl>'

pausecontent[8]='<dl><dt>' +
'You Listened-Positive Results'
+ '</dt><dd class=first>' +
"Well, the video is 'in the can' and has been shown to several high-level individuals in healthcare information systems, consultants and sales prospects. The feedback has ranged from 'very good' to actual applause! I believe that is a direct result of your sensitivity to the 'human factors' in conveying a technical message, and not simply cranking out a video."
+ '</dd><dd class=second><b>' +
'Richard Weitzel'
+ '</b><br />' +
'VP Marketing & Corporate Communications'
+ '<br />' +
'Healthcare Communications, Inc., Healthcare Software Developers'
+ '</dd></dl>'

pausecontent[9]='<dl><dt>' +
'Good Feeling-Excellent Results'
+ '</dt><dd class=first>' +
"Thank you once again for the great job you and your crew did on our custom video project. Not only were the results excellent, the entire process from audition through editing was handled professionally and very supportively. Our clients were most impressed by the knowledge and efficiency of everyone involved in the project."
+ '</dd><dd class=second><b>' +
'Bonnie M. Burroughs'
+ '</b><br />' +
'Commercial Banking Manager'
+ '<br />' +
'ES Actions Systems, Inc., Banking Industry Training'
+ '</dd></dl>'

/***********************************************
pausecontent[1]="<dl><dt>Very Pleased</dt><dd class=first>Stan, your experience and professionalism must make you a valuable aset to Crystal Production Group. We were very pleased with the final video produced by your company. It will be a useful tool for our sales staff.</dd><dd class=second><b>Gary James</b><br />Manager, Customer Service<br />TKS USA, Inc., Japanese Manufacturer of Printing Presses</dd></dl>
";

* 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
}

