/***********************************************
* Fading Scroller- © 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
***********************************************/

var delay = 10000; //set delay between message change (in miliseconds)
var maxsteps=30; // number of steps to take to change from start color to endcolor
var stepdelay=40; // time in miliseconds of a single step
//**Note: maxsteps*stepdelay will be total time in miliseconds of fading effect
var startcolor= new Array(255,255,255); // start color (red, green, blue)
var endcolor=new Array(0,0,0); // end color (red, green, blue)

var fcontent=new Array();
begintag='<div>'; //set opening tag, such as font declarations
fcontent[0]="\<i\>\"The sound Mark captures is absolutely beautiful, with a natural warmth and transparency that is crucial to making a high-quality acoustic or classical recording. His rare combination of score-reading skills, musicianship, and keen ears not only make his sessions flow smoothly and efficiently, but also enables those who are recording to concentrate on playing their best.\"\<\/i\><br /><br />-- Patrick Francis, classical guitarist & member of the San Francisco Guitar Quartet";
fcontent[1]="\<i\>\"Mark\’s equipment is excellent, he is attentive to detail and he is cooperative and collaborative. His effectiveness was noteworthy when we put together a complicated recording project with a children\'s choir in Germany. Editing and mixing the two choirs in remote locations was no easy trick but Mark handled it with ease. Bravo!\"\<\/i\><br /><br />-- Robert Geary, Artistic Director: Volti, Piedmont Children\'s Choirs, San Francisco Choral Society";
fcontent[2]="\<i\>\"Mark Lemaire has been making beautiful concert recordings for us for years! He is a musician and also a very nice person, which helps a lot.  I highly recommend Mark\'s services to anyone needing a recording engineer who really attends to the details and always strives to do his considerable best for you.\"\<\/i\><br /><br />-- Sharon Gustavson, Managing Director, San Francisco Bach Choir";
fcontent[3]="\<i\>\"Mark Lemaire\’s standards and equipment are of the highest order. He uses microphones, pre-amps and other gear that far surpasses commonly encountered professional standards. He also takes great pains to obtain a recorded sound that is at once honest, transparent, warm, supple and highly detailed.\"\<\/i\><br /><br />-- Mark Simons, guitarist, San Francisco Guitar Quartet";
fcontent[4]="\<i\>\"Mark Lemaire is a consummate professional.  Few people have such a total command of proper recording, mixing and editing technique, have as keen an ear, and moreover are as completely reliable and affable as Mark. His mixes and recordings always sound spot-on.  Three words sum it up: ‘\Mark's the best\".\"\<\/i\><br /><br />-- Joseph Gregorio, composer / conductor";
fcontent[5]="\<i\>\"Although, in my opinion, there is still no substitute for live performance, Mark\’s recordings come close to capturing the essential nature, vitality and life force of a live performance. I would not hesitate to suggest his services to anyone serious and critical about their art.\"\<\/i\><br /><br />-- Mark Simons, guitarist, San Francisco Guitar Quartet";
fcontent[6]="\<i\>\"Mark Lemaire works fast and accurately, knows his stuff both musically and technically, and is a supportive, creative partner in the recording and editing process.  Mark\’s demeanor in a recording session is relaxing, really conducive to good music-making, and yet also efficient—we get a lot done!  I wouldn\’t consider using anyone else.\"\<\/i\><br /><br />-- Kim Rankin, Director of Music Ministry, First Unitarian Church of Oakland";
fcontent[7]="\<i\>\"Sonically, Mark is one of the best engineers out there. His recordings are super clean and he is a master at the board.\"\<\/i\><br /><br />-- Christie McCarthy";
fcontent[8]="\<i\>\"My musical collaboration with Mark goes back a decade, and spans my first classical CD project to my latest live rock\’n\’roll show. Whether choosing and placing microphones, recording, playing back, editing or just talking about it all- he is on top of it and I know we are creating quality music.\"\<\/i\><br /><br />-- Steven Bailey, Classical Pianist and Bob Dylan impersonator";
fcontent[9]="\<i\>\"Mark is the total professional; he created a supportive recording environment without ever compromising the quality of the project. He has a terrific, musical ear: his edits were seamless and the overall sound was excellent.\"\<\/i\><br /><br />-- Nanette McGuinness, lyric soprano";
fcontent[10]="\<i\>\"Mark is an exceptional recording engineer. His experience and knowledge of the technical and musical issues are invaluable. His editing skills are on a par with the best in the field. Our recording of ‘\Shadow Tree\’ is undeniably the finest recording a work of mine has ever received — I couldn\’t be more delighted.\"\<\/i\><br /><br />-- John G. Bilotta, composer";
fcontent[11]="\<i\>\"Mark Lemaire\'s finesse and attention to detail, as a player and an engineer, is well-known, but it was his deeply creative nature that gave my first project some special qualities I\'m not sure it would otherwise have had. A little brilliance always peps up a track, but couple it with the unexpected, and you have something you can\'t stop enjoying. Don't miss an opportunity to work with Mark; you will never regret it.\"\<\/i\><br /><br />-- Carol Denney, musician, \"The Rich Will Never Be Poor\"";
fcontent[12]="\<i\>\"Mark Lemaire gets my highest recommendation.\"\<\/i\><br /><br />-- Fritz Steinegger, pianist";
fcontent[13]="\<i\>\"It has always been a pleasure to work with Mark Lemaire. Mark is very professional-- never distracting the audience or performers from the music itself. His experience recording live performances of choral and instrumental music is evident in the high quality of the finished product.\"\<\/i\><br /><br />-- Helen Barrios: President, California Bach Society";
fcontent[14]="\<i\>\"I chose Mark because of his skill as a vocal coach, his easy manner in the studio, and his ears. I absolutely trust his judgment-- and he is a joy to work with!\"\<\/i\><br /><br />-- Megan McLaughlin";
fcontent[15]="\<i\>\"Mark has an easy confidence that makes for a very comfortable working environment.  I quickly trusted his feedback as he clearly has an acute ear for timbre, tuning, style, dynamics and timing. The editing is seamless and more importantly, I feel that Mark was able to capture the unique quality of my voice.\"\<\/i\><br /><br />-- Christa Pheiffer, soprano";

closetag='</div>';


var fwidth='100%'; //set scroller width
var fheight='100px'; //set scroller height

var fadelinks=1;  //should links inside scroller content also fade like text? 0 for no, 1 for yes.

///No need to edit below this line/////////////////


var ie4=document.all&&!document.getElementById;
var DOM2=document.getElementById;
var faderdelay=0;
var index=0;


/*Rafael Raposo edited function*/
//function to change content
function changecontent(){
  if (index>=fcontent.length)
    index=0
  if (DOM2){
    document.getElementById("fscroller").style.color="rgb("+startcolor[0]+", "+startcolor[1]+", "+startcolor[2]+")"
    document.getElementById("fscroller").innerHTML=begintag+fcontent[index]+closetag
    if (fadelinks)
      linkcolorchange(1);
    colorfade(1, 15);
  }
  else if (ie4)
    document.all.fscroller.innerHTML=begintag+fcontent[index]+closetag;
  index++
}

// colorfade() partially by Marcio Galli for Netscape Communications.  ////////////
// Modified by Dynamicdrive.com

function linkcolorchange(step){
  var obj=document.getElementById("fscroller").getElementsByTagName("A");
  if (obj.length>0){
    for (i=0;i<obj.length;i++)
      obj[i].style.color=getstepcolor(step);
  }
}

/*Rafael Raposo edited function*/
var fadecounter;
function colorfade(step) {
  if(step<=maxsteps) {	
    document.getElementById("fscroller").style.color=getstepcolor(step);
    if (fadelinks)
      linkcolorchange(step);
    step++;
    fadecounter=setTimeout("colorfade("+step+")",stepdelay);
  }else{
    clearTimeout(fadecounter);
    document.getElementById("fscroller").style.color="rgb("+endcolor[0]+", "+endcolor[1]+", "+endcolor[2]+")";
    setTimeout("changecontent()", delay);
	
  }   
}

/*Rafael Raposo's new function*/
function getstepcolor(step) {
  var diff
  var newcolor=new Array(3);
  for(var i=0;i<3;i++) {
    diff = (startcolor[i]-endcolor[i]);
    if(diff > 0) {
      newcolor[i] = startcolor[i]-(Math.round((diff/maxsteps))*step);
    } else {
      newcolor[i] = startcolor[i]+(Math.round((Math.abs(diff)/maxsteps))*step);
    }
  }
  return ("rgb(" + newcolor[0] + ", " + newcolor[1] + ", " + newcolor[2] + ")");
}

if (ie4||DOM2)
  document.write('<div id="fscroller" style="border:0px solid black;width:'+fwidth+';height:'+fheight+'"></div>');

if (window.addEventListener)
window.addEventListener("load", changecontent, false)
else if (window.attachEvent)
window.attachEvent("onload", changecontent)
else if (document.getElementById)
window.onload=changecontent