﻿$(document).ready(function(){

    // Set up our options for the slideshow...
    var myOptions = {
        noImages: 9,
        path: "photos/",  // Relative path with trailing slash.
        captions: {                 
            1:'<b>New York State Inspections</b> <div>All types of emissions inspections are performed</div>',
            2:'<b>Diagnostics and Repairs</b><div>Complete diagnostic and repairs for domestic and import vehicles</div>',
            3:'<b>Full Spectrum of Repairs</b><div>All types of chassis, suspension and drive line repairs performed</div>',
            4:'<b>Welding and Metal Fabrication</b><div>Design, fabrication, and installation of truck and trailer components</div>',
            5:'<b>Heavy Truck Repairs</b<div>Full spectrum of heavy truck diagnostics and repairs performed</div>',
            6:'<b>NY State Inspections for Heavy Duty Vehicles</b><div>Heavy duty diesel emissions and safety inspections available</div>',
            7:'<b>Fleet Maintenance</b><div>Small, medium, and large fleet maintenance programs provided</div>',
            8:'<b>Heavy Duty Truck Repairs</b><div>Repairs and inspections on all trucks and trailers</div>',
            9:'<b>Special Vehicle Service</b><div>Full service and maintenance of all vehicle types</div>'
          
        },
        //links: { // Each image number must be listed here, unless no links are required at all, then links option can be ommitted.
            //1:"http://www.google.com",
            //2:"http://www.yahoo.com",
            //3:"",
            //4:"http://www.jquery.com",
            //5:"http://www.youtube.com",
            //6:"",
            //7:""
        //},
        //linksOpen:'newWindow',
        timerInterval: 6500, // 6500 = 6.5 seconds
	randomise: true // Start with random image?
    };

    // Woo! We have a jquery slideshow plugin!
    $('#photos_container').easySlides(myOptions);

})

