/*---------------------------------------------------------------------*/
/* Testimonials fade effect */
/*---------------------------------------------------------------------*/
var t;
var t1;
 function setMessage(ele) {
  var slide = new Array();
  // Below are the sequence testimonials . You can change the description , name ,company name and also the link for the company name. 
  // To add more testimonials just copy the first testimonial (slide[0]) and paste it in last and change the index and contents.
  slide[0]="<p><img src=\"temp_img/ql.jpg\" alt=\"\" width=\"20\" height=\"20\" /> Shavkat knows his trade and knows the Internet very well. He is ahead of the curve and can see opportunities before most people even know they exist. </p><p class=\"name\">Jared Reitzin, <strong><a target=_blank href='http://www.mobilestorm.com'>www.mobileStorm.com</a></strong></p>" ;
  slide[1]="<p><img src=\"temp_img/ql.jpg\" alt=\"\" width=\"20\" height=\"20\" /> We hired Shavkat to consult us on SEO and saw the traffic increase soon after that. Implementing his suggestions works very well for us and we are willing to continue the partnership. </p><p class=\"name\">Joanne Parker, <strong><a target=_blank href='http://www.kahuki.com'>www.Kahuki.com</a></strong></p>" ;
  slide[2]="<p><img src=\"temp_img/ql.jpg\" alt=\"\" width=\"20\" height=\"20\" /> Shavkat is at the forefront of SEO technology and theory. His ability to understand different concepts of business makes him an asset to all divisions of any company. Bravo! </p><p class=\"name\">Nathan Barnett, <strong><a rel='nofollow' target=_blank href='http://www.mainstreamadvertising.com'>www.MainstreamAdvertising.com</a></strong></p>" ;
  slide[3]="<p><img src=\"temp_img/ql.jpg\" alt=\"\" width=\"20\" height=\"20\" /> This guy is a must to SEO your site. 100% recommended! </p><p class=\"name\">Zack Kaufman, <strong><a target=_blank href='http://www.webmastercatalog.com'>www.WebmasterCatalog.com</a></strong></p>" ;
  slide[4]="<p><img src=\"temp_img/ql.jpg\" alt=\"\" width=\"20\" height=\"20\" /> Shavkat is phenomenally talented. He is one of those guys that could probably put an airplane engine back together if he had to. </p><p class=\"name\">Jared Reitzin, <strong><a target=_blank href='http://www.mobilestorm.com'>www.mobileStorm.com</a></strong></p>" ;
  slide[5]="<p><img src=\"temp_img/ql.jpg\" alt=\"\" width=\"20\" height=\"20\" /> Mr. Shavkat Karimov performs his services for UNDP project: Improving tax administration in Uzbekistan, on highly professional level. </p><p class=\"name\">Igor Tsai, <strong><a target=_blank href='http://www.uztax.org'>www.UzTax.org</a></strong></p>" ;
  slide[6]="<p><img src=\"temp_img/ql.jpg\" alt=\"\" width=\"20\" height=\"20\" /> Shavkat understands the power of utilizing the proven methods of optimization while at the same time harnessing his strength at developing and implementing new ideas. </p><p class=\"name\">Nathan Barnett, <strong><a rel='nofollow' target=_blank href='http://www.mainstreamadvertising.com'>www.MainstreamAdvertising.com</a></strong></p>" ;
  slide[7]="<p><img src=\"temp_img/ql.jpg\" alt=\"\" width=\"20\" height=\"20\" /> Simply Amazing! I could not imagine so many people would come to my site until Shavkat made this possible for me. The sales gone up by several times! </p><p class=\"name\">Dilorom Rasuleva, <strong><a target=_blank href='http://www.dilorom.com'>www.Dilorom.com</a></strong></p>" ;
  slide[8]="<p><img src=\"temp_img/ql.jpg\" alt=\"\" width=\"20\" height=\"20\" /> Shavkat helped AlternativeEnergy.com with SEO in a big way. When we started, we were penalized as a parking site. Within months, we were moving up. We're now #2 and Pagerank 6. </p><p class=\"name\">Douglas Schiller, <strong><a target=_blank href='http://www.alternativeenergy.com'>www.AlternativeEnergy.com</a></strong></p>" ;

  if(ele==9)
    ele=0;
    
  callme(slide[ele]);  
  $("testimonial1").appear(1000); // Here 1000 = 1 second. To change the fade effect time for testimonials.  
  
  ele++;
  t=setTimeout('setMessage('+ele+')',7000); // Here 10000 = 10 seconds. To change the interval between testimonials.  
}

function callme(ele){
  document.getElementById('testimonial1').innerHTML=ele;
  document.getElementById('testimonial1').style.display="none";
}

/*---------------------------------------------------------------------*/
/* Banner fade effect */
/*---------------------------------------------------------------------*/
 function setImags(ele) {
  var banner = new Array();
  // Below are the sequence of banners. To add more banners just copy the first banner and paste it in last and change the index and image name .
  banner[0]="<a target=_blank href='http://www.mobilestorm.com'><img src=\"temp_img/0mobilestorm.gif\" alt=\"Mobile Marketing\" width=\"241\" height=\"52\" border=\"0\" /></a>";
  banner[1]="<a target=_blank href='http://www.htmlarea.com'><img src=\"temp_img/1htmlarea.gif\" alt=\"Wisiwyg Editors\" width=\"241\" height=\"52\" border=\"0\" /></a>";
  banner[2]="<a target=_blank href='http://www.alternativeenergy.com'><img src=\"temp_img/2ae.gif\" alt=\"Alternative Energy\" width=\"241\" height=\"52\" border=\"0\" /></a>";
  banner[3]="<a target=_blank href='http://www.ddir.org'><img src=\"temp_img/2ddir.gif\" alt=\"Designers Directory\" width=\"241\" height=\"52\" border=\"0\" /></a>";
  banner[4]="<a target=_blank href='http://www.dilorom.com'><img src=\"temp_img/3dilorom.gif\" alt=\"Handmade Jewelry\" width=\"241\" height=\"52\" border=\"0\" /></a>";
  banner[5]="<a target=_blank href='http://www.paiddirectorylist.com'><img src=\"temp_img/4pdl.gif\" alt=\"Paid Directories\" width=\"241\" height=\"52\" border=\"0\" /></a>";
  banner[6]="<a target=_blank href='http://www.tutorialdash.com'><img src=\"temp_img/5td.gif\" alt=\"Webmaster Tutorials\" width=\"241\" height=\"52\" border=\"0\" /></a>";
  banner[7]="<a target=_blank href='http://www.mobilemarketingwatch.com'><img src=\"temp_img/6mmw.gif\" alt=\"Mobile Marketing Watch\" width=\"241\" height=\"52\" border=\"0\" /></a>";
  banner[8]="<a target=_blank href='http://www.bizfive.com'><img src=\"temp_img/7bizfive.gif\" alt=\"Business Directory\" width=\"241\" height=\"52\" border=\"0\" /></a>";
  banner[9]="<a href='/case-studies.html'><img src=\"temp_img/7others.gif\" alt=\"SEO Consulting Case Studies\" width=\"241\" height=\"52\" border=\"0\" /></a>";  
  
  if(ele==10)
    ele=0;
    
  callImg(banner[ele]);  
  $("cbanner").appear(1000); // Here 1000 = 1 second. To change the fade effect time for banner. 
  
  ele++;
  t1=setTimeout('setImags('+ele+')',4000); // Here 10000 = 10 seconds. To change the interval between banners.
}

function callImg(ele){
  document.getElementById('cbanner').innerHTML=ele;
  document.getElementById('cbanner').style.display="none";
}

function startMessage(){
   setMessage(0);
   setImags(0);
}