// ******************************************************** // NOTE: use a \ before any ' or " characters that inside // your quotes // ******************************************************** var quoteList = new Array( // ************************************** // Place Quotes Here, Separated by Commas // ************************************** "\"Time is precious... waste it wisely!\"", "\"Some people are always thinking... for the rest of us there\'s Useless Industries!\"", "\"The other white meat!\"", "\"Creating the future... one day at a time!\"", "\"Progress!\"", "\"Because NOTHING lasts forever!\"", "\"We are on your side... whichever side that is!\"", "\"More Bang than Olufson!\"", "\"Y2K compliant before being compliant was cool!\"", "\"We\'re the question mark in the dot com!\"", "\"The upstart start-up that never quite got going!\"", "\"Confectionaires to the aerospace industry!\"", "\"We don't always have fun, we don't always work hard,
but we always remember whom we're doing it for - ourselves.\"", "\"Blazing the trail towards global climate change!\"", "\"Responsibility and sustainability... because it sounds good!\"", "\"Taking pleasure in full blown rhetoric.\"", "\"Infinite innovation... no ethical boundaries\"", "\"We are UselessTM!\"" // ********************************* // !NOTE: No Comma after last Quote! // ********************************* ); // ************ // Get a Cookie // ************ function getCookie(name) { var search = name + "=" if (document.cookie.length > 0) { // if there are any cookies offset = document.cookie.indexOf(search) if (offset != -1) { // if cookie exists offset += search.length // set index of beginning of value end = document.cookie.indexOf(";", offset) // set index of end of cookie value if (end == -1) end = document.cookie.length return unescape(document.cookie.substring(offset, end)) } } } // ************ // Set a Cookie // ************ function setCookie(name, value) { document.cookie = name + "=" + escape(value) } // *************************************** // Function to get the next quote in order // *************************************** function quote() { i=getCookie("ETUQuoteCount"); if (i==null) i=0 else i=parseInt(i) i = i % quoteList.length; j = i++; setCookie("ETUQuoteCount",i); return quoteList[j]}