//Enter path for gallery resources
GalleryImagePath = 'images/gallery/homepage/';
GalleryImageThumbPath = GalleryImagePath + 'thumb/';
var GalleryImages = new Array();

//Create array of images for slideshow!
GalleryImages[0] = "gallery01.jpg|01.jpg|Miller Graphics";
GalleryImages[1] = "gallery02.jpg|02.jpg|Steadmans Literature";
GalleryImages[2] = "gallery03.jpg|03.jpg|Burlington Website";
GalleryImages[3] = "gallery04.jpg|04.jpg|Jung Brochure";
GalleryImages[4] = "gallery05.jpg|05.jpg|Leaflets";
GalleryImages[5] = "gallery06.jpg|06.jpg|Burlington Literature";
GalleryImages[6] = "gallery07.jpg|07.jpg|Ubbink Literature";
GalleryImages[7] = "gallery08.jpg|08.jpg|Steadmans Website";
GalleryImages[8] = "gallery09.jpg|09.jpg|Online Seminars";
GalleryImages[9] = "gallery10.jpg|10.jpg|Website Project Showcase";
GalleryImages[10] = "gallery11.jpg|11.jpg|Exhibition Displays";
GalleryImages[11] = "gallery12.jpg|12.jpg|3D Product Visuals";
GalleryImages[12] = "gallery13.jpg|13.jpg|Advertisments";
GalleryImages[13] = "gallery14.jpg|14.jpg|AutoCAD Details";
GalleryImages[14] = "gallery15.jpg|15.jpg|3D Construction Visualisations";
GalleryImages[15] = "gallery16.jpg|16.jpg|Promotional Give-Aways";
GalleryImages[16] = "gallery17.jpg|17.jpg|3D House Visualisations";
GalleryImages[17] = "gallery18.jpg|18.jpg|Photography";


//Initiate Object
window.addEvent('domready', function() {
    InitSlideshow();

    //Setup blog mouse overs

    var RightBlogImages = $$('#recentPosts div.RightBlogImage');
    
    //alert(RightBlogImages.length)

    RightBlogImages.each(function(itemElement, itemIndex)
    {
        
        var bgAnimate = new Fx.Tween(itemElement, {duration : '60', transition: Fx.Transitions.Sine.easeInOut});
    
        itemElement.addEvents({
          'mouseover': function()
          {
            bgAnimate.cancel();
            bgAnimate.start('opacity', '0.001')
          },
          'mouseout': function()
          {
            bgAnimate.cancel();
            bgAnimate.start('opacity', '1')
          }
        });
    });
});