// JavaScript Document



// ((picture_number < 10) ? "0" : "") if the number is less than 10, put a 0 infront of the number





function change_photo_logos(picture_number)
{

document.getElementById('mgLogos').src = 'images/logos/photo'+ ((picture_number < 10) ? "0" : "") + picture_number + ".png"
}

function change_photo_websites(picture_number)
{

document.getElementById('mgWebsites').src = 'images/websites/photo'+ ((picture_number < 10) ? "0" : "") + picture_number + ".png"
}

function change_photo_vehicles(picture_number)
{

document.getElementById('mgVehicles').src = 'images/vehicles/photo'+ ((picture_number < 10) ? "0" : "") + picture_number + ".jpg"
}

function change_photo_brochures(picture_number)
{

document.getElementById('mgBrochures').src = 'images/brochures/photo'+ ((picture_number < 10) ? "0" : "") + picture_number + ".jpg"
}

function change_photo_cards(picture_number)
{

document.getElementById('mgCards').src = 'images/cards/photo'+ ((picture_number < 10) ? "0" : "") + picture_number + ".jpg"
}

function change_photo_photography(picture_number)
{

document.getElementById('mgPhotography').src = 'images/photography/photo'+ ((picture_number < 10) ? "0" : "") + picture_number + ".jpg"
}

function change_photo_publications(picture_number)
{

document.getElementById('mgPublications').src = 'images/publications/photo'+ ((picture_number < 10) ? "0" : "") + picture_number + ".png"
}

