/* --------- Testimonial content and scripts -------------------- modified 21 February 2009 ----- */
var C=new Array();
C[0]="Photography Courses"; C[1]="Personality Type Programs";
//
var T=new Array();
T[0]={grp:0,txt:"I really enjoyed the course.  Gave great examples with photographs and advice on what I was doing wrong."}
T[1]={grp:0,txt:"I learnt so much - not only about my camera, but also about photography."}
T[2]={grp:0,txt:"This course was fantastic! I would recommend it to anyone."}
T[3]={grp:0,txt:"I now understand how my camera properties and technical variations effect photos."}
T[4]={grp:0,txt:"I have learnt more about my camera - even though I have had it for years."}
T[5]={grp:0,txt:"I am keen for my kids to learn photography now! Really enjoyed the small class size and the company."}
T[6]={grp:0,txt:"It is great to gain understanding of how to capture the picture you want and recognise what makes a good picture."}
T[7]={grp:0,txt:"I now look at things differently. Can’t wait to take more photos and experiment more.  The course built up my confidence."}
T[8]={grp:1,txt:"You have really added an invaluable dimension to my Myers-Briggs knowledge and skills and I will be eternally grateful for that."}
T[9]={grp:1,txt:"Your course gave me greater insights into my current work environment and how I can use it for my own professional transformation."}
T[10]={grp:1,txt:"The Interstrength program allowed me to see Type as a whole pattern. I gained a better appreciation of pattern through the multiple model approach."}
T[11]={grp:1,txt:"I am excited about how Type can be used to identify what is happening in life within oneself and how to relate it to my present experiences."}
T[12]={grp:1,txt:"I connected with like minded people in a non-threatening environment - It is one of the few places I feel properly valued."}
T[13]={grp:1,txt:"One of the best aspects of this workshop was hearing people discuss their preferences so we get different perspectives."}
T[14]={grp:1,txt:"I have found it an interesting, engaging, informative and enjoyable workshop."}
T[15]={grp:1,txt:"I feel I have a much deeper understanding now; I have some ideas."}
T[16]={grp:1,txt:"The group interactions and learning how it is for other types is invaluable."}
T[17]={grp:1,txt:"Thank you for enabling me to develop a deeper understanding of Myers Briggs and different tools we can use."}
T[18]={grp:1,txt:"It has given me information to chew on and share - valuing myself and others more."}
T[19]={grp:1,txt:"I valued the interactions with others - hearing how different preference types communicate and express views, and I learned about appreciating difference."}
T[20]={grp:1,txt:"Knowing Myers Briggs is like learning the alphabet, the Interstrength multi-model approach provides the sentences and richness of language."}
T[21]={grp:1,txt:"With every activity I thought I could anticipate what we would learn, however it was much more than expected and another data point !!!  So clever!!"}
T[22]={grp:1,txt:"The self discovery process provided me with a powerful cornerstone to integrate, understand and illuminate core aspects to the 16 types."}
T[23]={grp:1,txt:"This Interstrength course allows me to observe & work with the complex interplay between various aspects making my learning more credible and rich."}
//
//  ------------------------- testimonial display script ---------------
// initialise testimonial display 
  var PaObj, PbObj, intv, lastT, currentBotPnl, currentTopPnl;             // global 
  var g_intervalT=10000;               // global <<<<< SET Testimonial interval here <<<<<<<
 function tInit() 
  { PaObj=document.getElementById("Pa");
    PaObj.style.zIndex=2;                         // initialise
   // 
    PbObj=document.getElementById("Pb");
    PbObj.style.zIndex=1;                         // initialise
  // ref to bottom panel object
    currentBotPnl=PbObj;
    currentTopPnl=PaObj;
    lastT=1;                                      //testimonial array T index
  // call main program after 5 sec
    intv=setTimeout("testm()",g_intervalT);
   } 
 //
// initialise pointer here. Used in body of page, then in script below
var pointer=parseInt(1+(Math.random()*9.99));         // 1 - 10        global
 function testm() 
 { // get current bottom panel and make it top
      currentBotPnl.style.zIndex=3;                     // over top which is at z=2
  // make top panel bottom
      currentTopPnl.style.zIndex=1;                     // bottom of pile
  // move new top down 1
      currentBotPnl.style.zIndex=2;                     // move down to z=2
  // Reverse current top and bottom panels
     currentTopPnl=(currentTopPnl==PbObj)?PaObj : PbObj;
     currentBotPnl=(currentBotPnl==PaObj)?PbObj : PaObj;
  // random selection of testimonial
   lastT=parseInt((Math.random()*T.length)-0.01);
 // sequential selection of picture
    pointer++
    pointer=(pointer>10)?1 :pointer; 
   lastT=parseInt((Math.random()*T.length)-0.01);
   // write next testimonial to bottom  
   currentBotPnl.innerHTML='<p class="a16P">'+C[T[lastT].grp]+'<\/p>\n<p><img class="rtF" border="0" src="images\/F'+pointer+'.jpg" width="60" height="65">'+T[lastT].txt+'<\/p>\n';
   intv=setTimeout("testm()",g_intervalT);
 } 
// -----------------------------------------
