﻿     
var text = 0;

var message=new Array();
  message[0] = "Print Oasis 2010 Print Buyers Conference – location and dates will be announced in February/March 2010"
  message[1] = "Special Report: Budgeting for Print in 2010 – Join PCPI and get it for free!"
  message[2] = "Gain Access to over 3000 articles, tips and Q&A's for print buyers"
  message[3] = "New! Best Practices for Sustainability in Print Certification"
var messageLink=new Array();
  messageLink[0] = "http://www.printoasis.com/printoasis"
  messageLink[1] = "http://www.pcpi.org/pcpi"
  messageLink[2] = "Join.aspx"
  messageLink[3] = "http://www.pcpi.org/pcpi/ProfessionalCertification.aspx"


var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["images/banner/banner1.jpg", "Join.aspx", ""] //plain image syntax
fadeimages[1]=["images/banner/banner3.jpg", "http://www.pcpi.org/pcpi/ProfessionalCertification.aspx", "_self"] //image with link and target syntax
fadeimages[2] = ["images/banner/banner4.jpg", "http://www.pcpi.org/pcpi", "_self"] //image with link and target syntax
// fadeimages[1] = ["images/banner/banner2.jpg", "http://www.printoasis.com/printoasis", "_self"] //image with link syntax


function getQuote() {
var r_text = new Array ();
r_text[0] = "<strong>In your opinion, how sustainable is sustainability in print?</strong><br><br>“The leaders in the industry will understand, embrace and adopt sustainability in their business model in order to remain viable.” <br><br><b><i>Tim Traub, National Account Manager, Outlook Group Corp</i></b>";
r_text[1] = "<strong>How important is a printer's collateral material in identifying them as a prospective supplier?</strong><br><br>“A print company's collateral material is their portfolio. I look at their collateral as a potential reflection of the quality of work they would produce for me as a client.” <br><br><b><i>Valerie Cox, Designer, American Student Assistance</i></b>";
r_text[2] = "<strong>Have sustainability and environmental issues become more important to print buyers?</strong><br><br>“Green issues and sustainability have been hot topics within our company for a number of years now, but recently, more guidelines have been put in place regarding FSC paper usage for print projects.” <br><br><b><i>Melissa Weber, Sr. Print Buyer, HSBC</i></b>";
r_text[3] = "<strong>How interested are your clients in selecting papers that have a Chain-of-Custody certification (such as FSC or SFI)?</strong><br><br>“I've seen interest grow from 0% of customers to 20% of customers in the past year.” <br><br><b><i>Mike Davis, CEO, Theo Davis Printing</i></b>";
r_text[4] = "<strong>In the past year, how much money do you believe you saved your organization on its print projects?</strong><br><br>“We've realized our greatest savings through more careful strategizing such as using versioning and variable data. We've fine‐tuned our print order quantities. We've also become more adept at matching jobs with vendor capabilities.”<br><br><b><i>Hal Garstein,Director, Manufacturing and Distribution, The Deal, LLC</i></b>";
r_text[5] = "<strong>Do your print suppliers have to be on an approved supplier list in order to work with your organization?</strong><br><br>“Printers have to be qualified before we print with them. It makes things go more smoothly, and the printer is able to supply a more accurate quote once they know more about our work, or to honorably decline to work with us if they don't feel their company has sufficient capability.”<br><br><b><i>Ulfras, Production Manager, NCSDO</i></b>";
r_text[6] = "<strong>Do you feel the outcome of this election will impact your business over the next year?</strong><br><br>“I feel the Obama Administration is going to negatively impact my business, and most businesses, by increasing corporate tax rates, increasing regulation and various other environmental initiatives. This is going to make the cost of doing business go up, causing many industries to cut jobs.”<br><br><b><i>Tim, Print Buyer</i></b>";
r_text[7] = "<strong>Do you use social networking sites such as Facebook, Linked In or YouTube for business connections?</strong><br><br>“Professional networking is very important. The easier we make it for our peers to communicate with us, the easier it is to stay on top of industry trends and share quickly changing market information.”<br><br><b><i>David Strawn, Sr. Purchasing Agent</i></b>";
r_text[8] = "<strong>Would you go to lunch with a sales rep from a printing company that you have not yet given work?</strong><br><br>“I prefer to establish a relationship based on quality of service and pricing. If a vendor turns out to be a valued partner, then its time to share a meal and some personal time.”<br><br><b><i>Bill Thomas, VP Operations</i></b>";
r_text[9] = "<strong>Do you work with any of the mega printers?</strong><br><br>“Seldom does our company work the ‘mega’ printer due to the small fish or big fish mentality. Most companies believe that they are the big fish, but in reality there are only a few big fish in the ocean.  For most medium shop and depending on the project or the amount of available capacity, could determine which printer wins the order. Customer service (real customer service) from receiving the order, sending samples, and invoicing properly, will win additional projects every time.”<br><br><b><i>David Mitchell, Commodity Manager - Print Materials, Arbonne International</i></b>";
r_text[10] = "<strong>How relevant are industry print standards such as SWOP, GRACoL, SNAP and Bridges?</strong><br><br>“Any industry standard reduces the chance of miscommunication. It gives me an outline of issues I need to address if I have any questions on how a particular vendor handles said issue.”<br><br><b><i>Mike Malloy, Printing and Outsourcing Manager, Valencia Community College, Orlando</i></b>";
r_text[11] = "<strong>Will the threat of a recession impact how much printing you buy in 2008?</strong><br><br>“The impact of a recession could result in the INCREASE of our print budgets. Our inventory levels will not recede and could require more marketing dollars to be spent to maintain the capacity we are accustomed to which is generated by our current direct mail programs.” <br><br><b><i>Lynn Hamilton, Production Coordinator, Oceania Cruises</i></b>";
r_text[12] = "<strong>To reengage customers, what have you done to put a fresh face on your company’s communications?</strong><br><br>“Adding a Flash video on the homepage has definitely increased engagement and has led to more browsing and ultimately more sales. Also putting new info like our Expedited Same Day and One Day Turnaround services in the top third of the homepage has had a real impact. This goes to show that following traditional design principles will pay off in any medium!” <br><br><b><i></i></b>";
r_text[13] = "<strong>What are your projections regarding client orders for the first and second quarter of 2009?</strong><br><br>“2009, I believe, will continue to see orders stay steady but we'll continue to see more focus on non-traditional media to reach the client base.  Suppliers will up the ante by increasing the amount/type of services available. By becoming supplements to formal agencies and providing marketing solutions in regards to smaller design projects, suppliers will be able to help their clients to further maximize decreasing advertising budgets.” <br><br><b><i>Christine M. Richardson, Director of Marketing, Gator Media Group</i></b>";
r_text[14] = "<strong>What are your projections regarding client orders for the first and second quarter of 2009?</strong><br><br>“While we have experienced some slow down in our Commercial Offset Division, we have seen growth in digital printing and short and long run variable data orders. This is a continuation of an expected trend.” <br><br><b><i>Charles J. Sherman, EVP, Vision Integrated Graphics</i></b>";
r_text[15] = "<strong>Do you use social networking sites such as Facebook, Linked In or YouTube for business connections?</strong><br><br>“Professional networking is very important. The easier we make it for our peers to communicate with us, the easier it is to stay on top of industry trends and share quickly changing market information.” <br><br><b><i>David Strawn, Sr. Purchasing Agent</i></b>";
r_text[16] = "<strong>Do your print suppliers have to be on an approved supplier list in order to work with your organization?</strong><br><br>“Printers have to be qualified before we print with them. I qualify them by looking at their samples and equipment list, giving them our Vendor Standards document and reviewing it with them so they understand and agree to our expectations. It makes things go more smoothly, and the printer is able to supply a more accurate quote once they know more about our work, or to honorably decline to work with us if they don't feel their company has sufficient capability.” <br><br><b><i>Ulfras Floyd, Production Manager, NCSDO</i></b>";
r_text[17] = "“I just wanted to congratulate you on the revamped site. The design is so much clearer, and the white background is a great improvement over the dark green.  Though I've been mainly doing websites for the past few years, I really value my membership to your organization, and look forward to doing some print projects soon.” <br><br><b><i>Amelia Trader, 10 DIGIT DESIGN</i></b>";
r_text[18] = "<strong>What gifts do you send your print buyers?</strong><br><br>“I give a donation to a worthy charity in their name. For instance, I have T shirts that my firm imprinted incorrectly and I am giving them to the orphans in Ghana, Africa.  I also give art supplies like pens and pencils to Children Without Fathers. We cannot do enough for others.” <br><br><b><i>Michael Heinrich, Operations Manager, StartacomPCS</i></b>";


var i = Math.floor(19*Math.random())
document.write(r_text[i]);
}

function changeText() {
    if (message.length > 0) {
        //ctl00_body_hlDescript.innerHTML = message[text];
        
        //document.aspnetForm.ctl00_body_txtDescript.value = message[text];
        //document.aspnetForm.ctl00_body_hlDescript.href = messageLink[text];
        document.getElementById('ctl00_body_hlDescript').innerHTML = message[text];
        document.getElementById('ctl00_body_hlDescript').href = messageLink[text];
        text++;
  }
  if (text == 4) {text = 0; }  // change the # 4 at the left to the maximum # of message lines you want included
    window.setTimeout("changeText()", 5000); }  // change the # on the left to adjust the speed of the
                                               // scroll. The smaller the # the faster the speed


function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }
}

addLoadEvent(function() {
  changeText();
});

      
      
//EDIT 'bannercode.php' to assign banner images and appropriate links
 
 
var fadebgcolor="white"

////NO need to edit beyond here/////////////
 
var fadearray=new Array() //array to cache fadeshow instances
var fadeclear=new Array() //array to cache corresponding clearinterval pointers
 
var dom=(document.getElementById) //modern dom browsers
var iebrowser=document.all
 
function fadeshow(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck=pause
this.mouseovercheck=0
this.delay=delay
this.degree=10 //initial opacity degree (10%)
this.curimageindex=0
this.nextimageindex=1
fadearray[fadearray.length]=this
this.slideshowid=fadearray.length-1
this.canvasbase="canvas"+this.slideshowid
this.curcanvas=this.canvasbase+"_0"
if (typeof displayorder!="undefined")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages=theimages
this.imageborder=parseInt(borderwidth)
this.postimages=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages[p]=new Image()
this.postimages[p].src=theimages[p][0]
}
 
var fadewidth=fadewidth+this.imageborder*2
var fadeheight=fadeheight+this.imageborder*2
 
if (iebrowser&&dom||dom) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master'+this.slideshowid+'" style="position:relative;width:'+fadewidth+'px;height:'+fadeheight+'px;overflow:hidden;"><div id="'+this.canvasbase+'_0" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;background-color:'+fadebgcolor+'"></div><div id="'+this.canvasbase+'_1" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;background-color:'+fadebgcolor+'"></div></div>')
else
document.write('<div><img name="defaultslide'+this.slideshowid+'" src="'+this.postimages[0].src+'"></div>')
 
if (iebrowser&&dom||dom) //if IE5+ or modern browsers such as Firefox
this.startit()
else{
this.curimageindex++
setInterval("fadearray["+this.slideshowid+"].rotateimage()", this.delay)
}
}

function fadepic(obj){
if (obj.degree<100){
obj.degree+=10
if (obj.tempobj.filters&&obj.tempobj.filters[0]){
if (typeof obj.tempobj.filters[0].opacity=="number") //if IE6+
obj.tempobj.filters[0].opacity=obj.degree
else //else if IE5.5-
obj.tempobj.style.filter="alpha(opacity="+obj.degree+")"
}
else if (obj.tempobj.style.MozOpacity)
obj.tempobj.style.MozOpacity=obj.degree/101
else if (obj.tempobj.style.KhtmlOpacity)
obj.tempobj.style.KhtmlOpacity=obj.degree/100
else if (obj.tempobj.style.opacity&&!obj.tempobj.filters)
obj.tempobj.style.opacity=obj.degree/101
}
else{
clearInterval(fadeclear[obj.slideshowid])
obj.nextcanvas=(obj.curcanvas==obj.canvasbase+"_0")? obj.canvasbase+"_0" : obj.canvasbase+"_1"
obj.tempobj=iebrowser? iebrowser[obj.nextcanvas] : document.getElementById(obj.nextcanvas)
obj.populateslide(obj.tempobj, obj.nextimageindex)
obj.nextimageindex=(obj.nextimageindex<obj.postimages.length-1)? obj.nextimageindex+1 : 0
setTimeout("fadearray["+obj.slideshowid+"].rotateimage()", obj.delay)
}
}
 
fadeshow.prototype.populateslide=function(picobj, picindex){
var slideHTML=""
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML='<a href="'+this.theimages[picindex][1]+'" target="'+this.theimages[picindex][2]+'">'
slideHTML+='<img src="'+this.postimages[picindex].src+'" border="'+this.imageborder+'px">'
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML+='</a>'
picobj.innerHTML=slideHTML
}
 
 
fadeshow.prototype.rotateimage=function(){
if (this.pausecheck==1) //if pause onMouseover enabled, cache object
var cacheobj=this
if (this.mouseovercheck==1)
setTimeout(function(){cacheobj.rotateimage()}, 100)
else if (iebrowser&&dom||dom){
this.resetit()
var crossobj=this.tempobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
crossobj.style.zIndex++
fadeclear[this.slideshowid]=setInterval("fadepic(fadearray["+this.slideshowid+"])", 150)
this.curcanvas=(this.curcanvas==this.canvasbase+"_0")? this.canvasbase+"_1" : this.canvasbase+"_0"
}
else{
var ns4imgobj=document.images['defaultslide'+this.slideshowid]
ns4imgobj.src=this.postimages[this.curimageindex].src
}
this.curimageindex=(this.curimageindex<this.postimages.length-1)? this.curimageindex+1 : 0
}
 
fadeshow.prototype.resetit=function(){
this.degree=10
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
if (crossobj.filters&&crossobj.filters[0]){
if (typeof crossobj.filters[0].opacity=="number") //if IE6+
crossobj.filters(0).opacity=this.degree
else //else if IE5.5-
crossobj.style.filter="alpha(opacity="+this.degree+")"
}
else if (crossobj.style.MozOpacity)
crossobj.style.MozOpacity=this.degree/101
else if (crossobj.style.KhtmlOpacity)
crossobj.style.KhtmlOpacity=this.degree/100
else if (crossobj.style.opacity&&!crossobj.filters)
crossobj.style.opacity=this.degree/101
}
 
 
fadeshow.prototype.startit=function(){
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
this.populateslide(crossobj, this.curimageindex)
if (this.pausecheck==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj=this
var crossobjcontainer=iebrowser? iebrowser["master"+this.slideshowid] : document.getElementById("master"+this.slideshowid)
crossobjcontainer.onmouseover=function(){cacheobj.mouseovercheck=1}
crossobjcontainer.onmouseout=function(){cacheobj.mouseovercheck=0}
}
this.rotateimage()
}
