
function start()
{
var path = "http://www.apt.com.mx/";
// JS setup:

  // Banner with simultaneous emergence and fade-out:

  // Create the horizontal banner, bound to "parent1" div element,
  // 390 pixels wide, with height of 90 pixels, background color equal
  // to #FF9900, batch rotation interval is equal to 5000 milliseconds
  // (5 seconds):
  //
  var fb_h = new FadingBanner("parent1", "horizontal", 499, 75, "#FFF", 5000);

  // Add an image 'h-api-competition.jpg', which is: width = 130px
  // and height = 90px, and it will link to 'http://www.codeproject.com/Feature/Vista/'.
  // Image is assigned to the batch number 0:
  //
  fb_h.add(0, path + "img/banners/claseaaa/gobierno_del_estado.png", 499, 75, "http://www.sanluispotosi.gob.mx/");
  fb_h.add(1, path + "img/banners/claseaaa/ayuntamiento.png", 499, 75, "http://www.sanluis.gob.mx/");
  fb_h.add(2, path + "img/banners/claseaaa/impode.png", 499, 75, "http://www.inpode.gob.mx/");

 // Start banner operation:
  fb_h.start();

  // Banner with queued emergence, simultaneous fade-out:

  var fb_h_q = new FadingBanner("parent2", "horizontal", 140, 115, "#FFF", 4000);

  fb_h_q.add(0, path + "img/banners/clasea/acabados.png", 140, 115, "http://www.todoacabados.com.mx");
  fb_h_q.add(1, path + "img/banners/clasea/cajas.png", 140, 115, "http://www.cajasmilusos.com");
  fb_h_q.add(2, path + "img/banners/clasea/gasored.png", 140, 115, "http://www.gasored.com");
  fb_h_q.add(3, path + "img/banners/clasea/hospital.png", 140, 115, "http://www.hospitalangelescentromedicodelpotosi.com.mx");
  fb_h_q.add(4, path + "img/banners/clasea/tabicel.png", 140, 115, "http://www.tabicel.com");

  fb_h_q.start();

  // Banner with queued emergence and queued fade-out:

  var fb_h_qq = new FadingBanner("parent3", "horizontal", 140, 115, "#FFF", 2500);

  fb_h_qq.add(0, path + "img/banners/claseaa/head.png", 140, 115, "http://www.head.com");
  fb_h_qq.add(1, path + "img/banners/claseaa/mercurio.png", 140, 115, "http://www.bicicletasmercurio.com.mx");


  fb_h_qq.start();

}