﻿function setupFadeLinks() {
  arrFadeTitles[0] = "\"<I>Cole and Company have provided us with invaluable service over the years. They have been very effective in finding us the people we need for our growing organization. I especially appreciate the time they spend with us to get to know our business inside and out. Eric and his team have an eye for good people and they are very professional and helpful.</I>\"<BR><BR><B>- President U.S. affiliated FMCG Company</B>";
  arrFadeTitles[1] = "\"<I>Eric is a master networker with a real desire to help us develop our business. He's been great with understanding our needs and has always been patient with our shifting requirements. I admire his integrity and commitment.\"</I><BR><BR><B>- Partner M&A Advisory Legal firm </B>";
  arrFadeTitles[2] = "\"<I>Eric's networking parties are the best!</I>\"<BR><BR><B>- Marketing VP of US Entertainment Company </B>";
  arrFadeTitles[3] = "\"<I>Eric and his team have provided us with many excellent people. We are very satisfied with his services and will continue to use his company for our mission-critical vacancies.</I>\"<BR><BR><B>- HR Director of International Retail Beverage Chain </B>";
  arrFadeTitles[4] = "\"<I>Gary's experience on the client side made a huge difference in identifying the candidates with best fit for our business. Thanks!</I>\"<BR><BR><B>- President of a multinational FMCG company</B>";
  arrFadeTitles[5] = "\"<I>We have a long history with Cole and Company in Japan and have always been satisfied with the quality of candidates they deliver. We've hired 3 people this year through Cole and Company and all are surpassing our expectations. Great job! </I>\"<BR><BR><B>- President of U.S. Entertainment Company </B>";
  arrFadeTitles[6] = "\"<I>I do value your insights and appreciate the opportunity to discuss my career thoughts/ideas. It helps to be able to bounce things around with someone who is familiar with so many different business realities and successful executives, including yourself. </I>\"<BR><BR><B>- Business Development Director for Major US FMCG Food Company </B>";
  arrFadeTitles[7] = "\"<I>Thank you for organizing a business presentation. You did a great job, put on a heckuva show, and defined yourself in the minds of your contacts as an initiator, in addition to being a facilitator. I was proud to share the floor with you. Thank you for hosting last night and for your generosity.</I>\"<BR><BR><B>- Entrepreneur and Inventor of cutting edge Streaming Technology</B>";
  arrFadeTitles[8] = "\"<I>Just a quick note to wish you well, and thank you and your team in your efforts to make a match for my pal, . She and I get together quite a bit and she always had good things to say about your operation, and I'm glad that it worked out!</I>\"<BR><BR><B>- Sales and Marketing Candidate in the Market Research sector</B>";
  arrFadeTitles[9] = "\"<I>Thank you very much for your time and advice. You are so GREAT! After I talk to you, I feel that I can do.</I>\"<BR><BR><B>- PR Manager candidate from the Cosmetics industry</B>";
  arrFadeTitles[10] = "\"<I>I would like to thank you very much for your valuable time with me last week. It was an eye opening session and I must say that I have learned a lot. I will think what I should be, based on your advice. <BR><BR>Thank you again.</I>\"<BR><BR><B>- Sales Executive placed in Major Entertainment Company</B>";
  arrFadeTitles[11] = "\"<I>Thank you so much for being so kind. The world would be such a wondeful place with more people like you. Once again, Thank you and it would be an honour to keep in touch with you.</I>\"<BR><BR><B>- Mid-level Marketing executive placed in Global FMCG firm</B>";
  arrFadeTitles[12] = "\"<I>Thank you very much for the follow-up. It was a valuable meeting for me as I am convinced and extremely comfortable with your company's philosophy. Thank you for taking time to explain my career options.</I>\"<BR><BR><B>- Mid level executive placed in the Consumer electronics industry</B>";
  arrFadeTitles[13] = "\"<I>GYou are a fascinating person with an amazing slew of experience and stories to tell, and I do hope to have the chance to meet up again.</I>\"<BR><BR><B>- Junior executive placed in the Consumer electronics industry</B>";
  arrFadeTitles[14] = "\"<I>I thank you for your time. I really enjoyed talking with you!!!I promise that I will be in touch on regular basis.</I>\"<BR><BR><B>- Junior Brand Manager placed in the FMCG Food industry</B>";
  arrFadeTitles[15] = "\"<I>I am impressed with Eric's depth of human character, philosophy, and insight into the Japan market. I trust him. If I have staffing requirements in the future, I will definitely ask Eric to find me great people. <BR><BR>I'm certain Eric and I will keep in touch. I'm happy to have made a new friend.</I>\"<BR><BR><B>- Marketing Director for Internet Service Company</B>";
  arrFadeTitles[16] = "\"<I>Thanks to your good advice and hints, I am focusing on making my company expand and grow in the market. I believe we have a room to make a business collaboration in future. I would like you to keep in touch with me. There are NO person to make such a good advice to me and I really appreciate very much.</I>\"<BR><BR><B>- President of start-up technology company</B>";
  arrFadeTitles[17] = "\"<I>After our meeting, there were many things that I had to think about & decide. I'm in the process of searching job right now and I want to work for a bigger organization where I can expand my skill and capability. I'm also looking for some courses to upgrade my skills and learn new things like PR, HR or Admin related. I appreciate your attentive service for me from the first stage. I have visited at least 20 recruit agencies(both temp and permanent) and taken over 30 interviews since I came to Tokyo in 2001 summer looking for a permanent job.<BR><BR>YOU are one of STOOD OUT people I ever met through my recruiting activities. You treat every people Importantly, spent time, showed me interests and enthusiasm for me.<BR><BR>So, now at least I know what I'm doing and what I want. Please keep in touch. The meeting with you was really meaningful for me. Thank you once again.</I>\"<BR><BR><B>- Junior HR executive placed at Global Consumer Products conglomerate</B>";
  arrFadeTitles[18] = "\"<I>Thank you very much for sharing your time for me. The entire meeting really inspired me on moving forward and gave me a lot of confidence. In the course of our discussion the questions, \"what is my goal? What do I want?\" were circling in my mind.<BR><BR>You have a great personality to enlighten people to work hard for finding their potential.<BR><BR>Thank you very much</I>\"<BR><BR><B>- Junior PR Manager placed at Luxury Goods company</B>";
  arrFadeTitles[19] = "\"<I>Thank you so much for your time recently. I REALLY enjoyed meeting with you, and some of your advice were really useful for me. I will certainly keep in touch with you.</I>\"<BR><BR><B>- Candidate placed at Luxury Goods company</B>";
  arrFadeTitles[20] = "\"<I>We have a very healthy, mutually beneficial future together. That is my COMMITMENT to you.</I>\"<BR><BR><B>- President of major hi-technology manufacturer</B>";
  arrFadeTitles[21] = "\"<I>You are real nice person like a description in the novel of Izuno Odoriko by Yasunari Kawabata.</I>\"<BR><BR><B>- Senior Executive in the Consumer Electronics industry</B>";
  arrFadeTitles[22] = "\"<I>You are very much cooperative and supportive recruiter from the day one and I really appreciate your attitude and professionalism.</I>\"<BR><BR><B>- Regional Marketing Director placed at Global Consumer Products Company </B>";
  arrFadeTitles[23] = "\"<I>Thank you for sharing your time. When we met, I felt like you are a psychic and a life style consultant. I had ever expected staff agent (that I thought before we met) would seriously listen and state opinion to me. What you asked me and provide issue for my career was very impressive points and valuable time for me.</I>\"<BR><BR><B>- Mid-level Finance manager at Global shipping company </B>";
  arrFadeTitles[24] = "\"<I>Thank you very much for the various information and advice to me. I enjoyed and am inspired very much.</I>\"<BR><BR><B>- Senior Sales and Marketing candidate for the heavy industry sector </B>";
  arrFadeTitles[25] = "\"<I>I just wanted to let you knowt that I am very pleased with and truly think she was a good find! Some of the reports she has prepared so far was very insightful and, she already challenged me with intelligent questions!<BR><BR>My task is to keep her thrilled with the job and help her get promoted in the near future!</I>\"<BR><BR><B>- Consumer Research company commenting on a recent hire through Cole and Company</B>";
  arrFadeTitles[26] = "\"<I>It was a real pleasure to meet you today. You are one of a kind, truly a gentleman. I will follow your excellent advice and be in touch.<BR><BR>Thank you again sincerely for your personal brand of professionalism</I>\"<BR><BR><B>- Senior executive in the Internet/Publiching industry sector</B>";
  arrFadeTitles[27] = "\"<I>I really enjoyed talking to you last week and now I understand the power of people network. I think people is chemicals and networking will create chemical reaction (new business opportunity). I will continue to develop my business experience so that I will be able to initiate the big chemical reaction with your networking in the future.</I>\"<BR><BR><B>- Senior Marketing Director of Global electronics company </B>";
  arrFadeTitles[28] = "\"<I>Thanks for all your advice and assistance during my year-long quest. I have accepted a position with one of the firms we discussed. I will share the details with you when we next get together. I know we will be staying in touch. I will need some good people for my team. Moreover, I will always need good friends like you. </I>\"<BR><BR><B>- President Global Hi-tech manufacturing company</B>";
  arrFadeTitles[29] = "\"<I>Most of the headhunters I have met up to this point have not been impressive supermen and thus I was turned off to the idea of becoming a headhunter. However, after meeting you, I realized that there could be (humane) brilliance in executive search.</I>\"<BR><BR><B>- Sales Manager candidate from Health care industry</B>";
  arrFadeTitles[30] = "\"<I>I'm inspired by your many suggestions.\"Believe in yourself\" is one of them and is exactly what I need. Now I want to believe in my capability to grow more professionally and personally, so that I will be worth getting a great offer in the future. Thank you for following up on our discussions. I truly appreciate your support.</I>\"<BR><BR><B>- Senior Marketing candidate of Global electronics company</B>";
}

// You can also play with these variables to control fade speed, fade color, and how fast the colors jump.

var m_FadeOut = 255;
var m_FadeIn=0;
var m_Fade = 0;
var m_FadeStep = 3;
var m_FadeWait = 10600;
var m_bFadeOut = true;

var m_iFadeInterval;

window.onload = Fadewl;

var arrFadeTitles;
var arrFadeCursor = 0;
var arrFadeMax;

function Fadewl() {
  m_iFadeInterval = setInterval(fade_ontimer, 10);
  arrFadeTitles = new Array();
  setupFadeLinks();
  arrFadeMax = arrFadeTitles.length-1;
  setFadeLink();
}

function setFadeLink() {
  var ilink = document.getElementById("fade_link");
  ilink.innerHTML = arrFadeTitles[arrFadeCursor];
}

function fade_ontimer() {
  if (m_bFadeOut) {
    m_Fade+=m_FadeStep;
    if (m_Fade>m_FadeOut) {
      arrFadeCursor++;
      if (arrFadeCursor>arrFadeMax)
        arrFadeCursor=0;
      setFadeLink();
      m_bFadeOut = false;
    }
  } else {
    m_Fade-=m_FadeStep;
    if (m_Fade<m_FadeIn) {
      clearInterval(m_iFadeInterval);
      setTimeout(Faderesume, m_FadeWait);
      m_bFadeOut=true;
    }
  }
  var ilink = document.getElementById("fade_link");
  if ((m_Fade<m_FadeOut)&&(m_Fade>m_FadeIn))
    ilink.style.color = "#" + ToHex(m_Fade);
}

function Faderesume() {
  m_iFadeInterval = setInterval(fade_ontimer, 10);
}

function ToHex(strValue) {
  try {
    var result= (parseInt(strValue).toString(16));

    while (result.length !=2)
            result= ("0" +result);
    result = result + result + result;
    return result.toUpperCase();
  }
  catch(e)
  {
  }
}



