function ccInitialize()
{
  new Ajax.Updater('header', '/new/public/navigation/_header.html', { method: 'get' });
  new Ajax.Updater('sidebar', '/new/public/navigation/_sidebar.html', { method: 'get' });
  new Ajax.Updater('content', '/new/public/gallery/gallery.html', { method: 'get', evalScripts: true});
  new Ajax.Updater('footer', '/new/public/navigation/_footer.html', { method: 'get' });
  new Ajax.Updater('content', '/new/public/_home.html', { method: 'get', evalScripts: true});
}


function doGallery(jsonPath, columns, popupImageSize)
{
  //gallery = new YahGallery("imagegallery", "imagepopup", jsonPath, columns, popupImageSize);
  gallery = new YahGallery("imagegallery", "imagepopup", jsonPath, columns, "400px");
  gallery.render();
}


function doSlides(jsonPath, index)
{
  slides = new YahSlideshow("popupslides", jsonPath, index, "350px");
  slides.render();
}


function ccLoadContent(url)
{
  new Ajax.Updater('content', url, { method: 'get', evalScripts: true});
}

