/***********************************************
* Memory Ticker script- &copy; Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

//configure tickercontents[] to set the messges you wish be displayed (HTML codes accepted)
//Backslash any apostrophes within your text (ie: I\'m the king of the world!)
var tickercontents=new Array()
tickercontents[0]='We bring structure to structured cabling. Contact PIN Technology for all your CAT6 and Fiber cabling needs.'
tickercontents[1]='People don’t plan to fail, they just fail to plan. Talk to PIN Technology for an explicitly planned and executed Network upgrade.'
tickercontents[2]='A computer lets you make more mistakes faster than any invention in human history. Prevent mistakes, get PIN Technology’s NetCare Network Maintenance Service.'
tickercontents[3]='The most likely way for the world to be destroyed, most experts agree, is by accident. That’s where we come in; we’re computer professionals fixing your accidents.'
tickercontents[4]='Ever wonder where is the ‘ANY’ key on the keyboard? PIN Technology can assist you in ‘ANY’ issues you may have with your Network.'
tickercontents[5]='When angry count four; when very angry call for PIN Technology Helpdesk. It will give you a strange relaxed sensation.'
tickercontents[6]='Any fool can criticize, condemn, and complain; only the wise calls PIN Technology for it’s neat Helpdesk.'
tickercontents[7]='For some, Hardware is the parts of a computer that can be kicked. Call PIN Technology to solve all your Hardware problems.'
tickercontents[8]='One thing a computer can do that most humans can’t is be sealed up in a cardboard box and sit in a warehouse. Get the services of PIN Technology to set up your network without any fear.'
tickercontents[9]='If your software engineers work from 9 to 5, because they feel working late would feel like using an undocumented external procedure, contact PIN Technology for Outsourcing your Application Development.'
tickercontents[10]='There is more than one satisfying way to boot a computer. Contact PIN Technology for all your Helpdesk needs.'
tickercontents[11]='Conscience is the inner voice that warns us that someone might be looking. Contact PIN Technology for all your Software Development needs and avoid any unnecessary stares.'
tickercontents[12]='To escape criticism--do nothing, say nothing, be nothing. Simply outsource your Business Process to PIN Technology and be blissful.'
tickercontents[13]='When you have “Bad Command” or ‘File Name”, you may “Hit any user to continue”, or call PIN Technology for all your software needs.'
tickercontents[14]='IN THE BEGINNING WAS THE BEEP -- simple, utilitarian and sufficient to alert a computer user that his machine had been turned on. For all your complex Business Integration needs, get hold of PIN Technology’s resources.'
tickercontents[15]='The two most common elements in the universe are hydrogen and stupidity. Reduce one of the elements by engaging PIN Technology consultants.'
tickercontents[16]='‘11th Commandment’- Covet not thy neighbor’s Pentium. Source all your hardware including servers and network gears from PIN Technology at a cost you can afford.'
tickercontents[17]='Windows: It could be just another pane in the glass, or your best tool to jumpstart your business. Look for PIN Technology’s Network Integration services.'
tickercontents[18]='Never be afraid to try something new. Remember, amateurs built the ARK - Professionals built the Titanic. Contact PIN Technology when you are building out your new Network.'
tickercontents[19]='Even if you are on the right track, you’ll get run over if you just sit there. Call PIN Technology when you are stuck in the middle with your AS/400.'
tickercontents[20]='Indecision is the key to flexibility. Get PIN Technology’s IT Infrastructure Consulting services to clarify any indecisions.'
tickercontents[21]='Have you ever wondered ‘is it good if a vacuum really sucks?’ Come clean with PIN Technology’s Security Vulnerability Assessment.'
tickercontents[22]='Think! Why do you always press harder on the buttons of a remote control when you know the batteries are dead? Get PIN Technology’s Network Maintenance Program to avoid any frustration.'
tickercontents[23]='Do infants enjoy infancy as much as adults enjoy adultery? Only time will tell. Contact PIN Technology for all your Amano Time Validation System products.'
tickercontents[24]='No one ever says "It’s only a game" when their team is winning. Get into the winning team with PIN Technology’s Software Application Development Team.'
tickercontents[25]='Hard work pays off in the future, laziness pays off now. Get PIN Technology’s Managed Network Services immediately.'
tickercontents[26]='Many people quit looking for work when they find a job. Get PIN Technology’s Helpdesk Services to keep things running at work.'
tickercontents[27]='You can say “I PRICKED my FINGER” in public, but not the other way round. Get PIN Technology’s VoIP solution and say anything over your new lines.'
tickercontents[28]='If you think nobody cares about you, trying missing a couple of payments. Reduce your costs with VoIP solutions from PIN Technology’s Communication team.'
tickercontents[29]='If you’re too open minded, your brains may fall out. Get focused with PIN Technology’s Industry Specific Application Development team.'
tickercontents[30]='No husband has ever been shot while doing the dishes. Safeguard yourself with PIN Technology’s AS/400 Crisis Management Team.'
tickercontents[31]='The original point-and-click interface was a Smith & Wesson. PIN Technology’s Generic Application Development team have a few better varieties for use in your new software.'
tickercontents[32]='Isn’t it a bit unnerving that doctors call what they do "practice?" At PIN Technology we made designing Next Generation Enterprise Network a perfect vocation.'
tickercontents[33]='Do whatever your enemies don’t want you to do. Outsource your Business Process with PIN Technology now.'
tickercontents[34]='No problem is so big, or so complicated, that it can’t be run away from. Get PIN Technology’s AS/400 Disaster Recovery Services.'
tickercontents[35]='Notice how you can’t fall off the floor? Get AS/400 Baseline Support from PIN Technology for stability.'
tickercontents[36]='Wonder why when it moves very slowly, they call it a RUSH hour ? Get on the fast track with CAT6 and Fiber Network Cabling from PIN Technology.'


var persistlastviewedmsg=1 //should messages' order persist after users navigate away (1=yes, 0=no)?
var persistmsgbehavior="onload" //set to "onload" or "onclick".

//configure the below variable to determine the delay between ticking of messages (in miliseconds):
var tickdelay=15000

////Do not edit pass this line////////////////

var divonclick=(persistlastviewedmsg && persistmsgbehavior=="onclick")? 'onClick="savelastmsg()" ' : ''
var currentmessage=0

function changetickercontent(){
if (crosstick.filters && crosstick.filters.length>0)
crosstick.filters[0].Apply()
crosstick.innerHTML=tickercontents[currentmessage]
if (crosstick.filters && crosstick.filters.length>0)
crosstick.filters[0].Play()
currentmessage=(currentmessage==tickercontents.length-1)? currentmessage=0 : currentmessage+1
var filterduration=(crosstick.filters&&crosstick.filters.length>0)? crosstick.filters[0].duration*1000 : 0
setTimeout("changetickercontent()",tickdelay+filterduration)
}

function beginticker(){
if (persistlastviewedmsg && get_cookie("lastmsgnum")!="")
revivelastmsg()
crosstick=document.getElementById? document.getElementById("memoryticker") : document.all.memoryticker
changetickercontent()
}

function get_cookie(Name) {
var search = Name + "="
var returnvalue = ""
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset)
if (end == -1)
end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}

function savelastmsg(){
document.cookie="lastmsgnum="+currentmessage
}

function revivelastmsg(){
currentmessage=parseInt(get_cookie("lastmsgnum"))
currentmessage=(currentmessage==0)? tickercontents.length-1 : currentmessage-1
}

if (persistlastviewedmsg && persistmsgbehavior=="onload")
window.onunload=savelastmsg

if (document.all||document.getElementById)
document.write('<div id="memoryticker" '+divonclick+'></div>')
if (window.addEventListener)
window.addEventListener("load", beginticker, false)
else if (window.attachEvent)
window.attachEvent("onload", beginticker)
else if (document.all || document.getElementById)
window.onload=beginticker
