/*
* alucall.js - aufruf der plugins
* version: 1.0
* Date: 04.09.2009 11:29:36
*/

//jQuery
$(document).ready(function(){

  // DOM Manipulation ap START ----------------------
    // Links
    $('#trunkMain a.mail').prepend('<span class="aluIcon mailIcon"></span>');
    $('#trunkMain a.internal-link').prepend('<span class="aluIcon intLinkIcon"></span>');
    $('#trunkMain a.external-link, #trunkMain a.external-link-new-window').prepend('<span class="aluIcon extLinkIcon"></span>');  
    $('p.more a.internal-link').append('<span class="aluIcon aluIconR intLinkIcon"></span>');
    
    // chGallery
    $('li.chItem:even').addClass("chItemEven");
    $('li.chItem:odd').addClass("chItemOdd");
  
  // DOM Manipulation ap END ----------------------

  // colorbox: tt_content -----------------------    
    $("a.colorbox").colorbox({
      opacity: "0.8",
      maxWidth: "800px",
      maxHeight: "720px",
      close:"schließen",
      current: "{current}/{total}"
    });
    
  // colorbox: chGallery -----------------------
    $("a.colorboxCHG").colorbox({
      opacity: "0.8",
      maxWidth: "800px",
      maxHeight: "720px",
      close:"schließen",
      slideshow: true,
      slideshowSpeed: '3500',
      current: "{current}/{total}"
    });
});

