/*
mod_S5_frontpageslide
Author: Shape 5 - Professional Template Community
Available for download at www.shape5.com
Copyright Shape 5 LLC
*/

function s5thumb0() {
if (s5_ifvisible >= 1) {
document.getElementById("s5_button_item1").style.display = 'block';}
if (s5_ifvisible >= 2) {
document.getElementById("s5_button_item2").style.display = 'none';}
if (s5_ifvisible >= 3) {
document.getElementById("s5_button_item3").style.display = 'none';}
if (s5_ifvisible >= 4) {
document.getElementById("s5_button_item4").style.display = 'none';}
if (s5_ifvisible >= 5) {
document.getElementById("s5_button_item5").style.display = 'none';}
if (s5_ifvisible >= 6) {
document.getElementById("s5_button_item6").style.display = 'none';}
if (s5_ifvisible >= 7) {
document.getElementById("s5_button_item7").style.display = 'none';}
if (s5_ifvisible >= 8) {
document.getElementById("s5_button_item8").style.display = 'none';}
if (s5_ifvisible >= 9) {
document.getElementById("s5_button_item9").style.display = 'none';}
if (s5_ifvisible >= 10) {
document.getElementById("s5_button_item10").style.display = 'none';}
}

function s5thumb1() {
if (s5_ifvisible >= 1) {
document.getElementById("s5_button_item1").style.display = 'none';}
if (s5_ifvisible >= 2) {
document.getElementById("s5_button_item2").style.display = 'block';}
if (s5_ifvisible >= 3) {
document.getElementById("s5_button_item3").style.display = 'none';}
if (s5_ifvisible >= 4) {
document.getElementById("s5_button_item4").style.display = 'none';}
if (s5_ifvisible >= 5) {
document.getElementById("s5_button_item5").style.display = 'none';}
if (s5_ifvisible >= 6) {
document.getElementById("s5_button_item6").style.display = 'none';}
if (s5_ifvisible >= 7) {
document.getElementById("s5_button_item7").style.display = 'none';}
if (s5_ifvisible >= 8) {
document.getElementById("s5_button_item8").style.display = 'none';}
if (s5_ifvisible >= 9) {
document.getElementById("s5_button_item9").style.display = 'none';}
if (s5_ifvisible >= 10) {
document.getElementById("s5_button_item10").style.display = 'none';}
}

function s5thumb2() {
if (s5_ifvisible >= 1) {
document.getElementById("s5_button_item1").style.display = 'none';}
if (s5_ifvisible >= 2) {
document.getElementById("s5_button_item2").style.display = 'none';}
if (s5_ifvisible >= 3) {
document.getElementById("s5_button_item3").style.display = 'block';}
if (s5_ifvisible >= 4) {
document.getElementById("s5_button_item4").style.display = 'none';}
if (s5_ifvisible >= 5) {
document.getElementById("s5_button_item5").style.display = 'none';}
if (s5_ifvisible >= 6) {
document.getElementById("s5_button_item6").style.display = 'none';}
if (s5_ifvisible >= 7) {
document.getElementById("s5_button_item7").style.display = 'none';}
if (s5_ifvisible >= 8) {
document.getElementById("s5_button_item8").style.display = 'none';}
if (s5_ifvisible >= 9) {
document.getElementById("s5_button_item9").style.display = 'none';}
if (s5_ifvisible >= 10) {
document.getElementById("s5_button_item10").style.display = 'none';}
}


function s5thumb3() {
if (s5_ifvisible >= 1) {
document.getElementById("s5_button_item1").style.display = 'none';}
if (s5_ifvisible >= 2) {
document.getElementById("s5_button_item2").style.display = 'none';}
if (s5_ifvisible >= 3) {
document.getElementById("s5_button_item3").style.display = 'none';}
if (s5_ifvisible >= 4) {
document.getElementById("s5_button_item4").style.display = 'block';}
if (s5_ifvisible >= 5) {
document.getElementById("s5_button_item5").style.display = 'none';}
if (s5_ifvisible >= 6) {
document.getElementById("s5_button_item6").style.display = 'none';}
if (s5_ifvisible >= 7) {
document.getElementById("s5_button_item7").style.display = 'none';}
if (s5_ifvisible >= 8) {
document.getElementById("s5_button_item8").style.display = 'none';}
if (s5_ifvisible >= 9) {
document.getElementById("s5_button_item9").style.display = 'none';}
if (s5_ifvisible >= 10) {
document.getElementById("s5_button_item10").style.display = 'none';}
}

function s5thumb4() {
if (s5_ifvisible >= 1) {
document.getElementById("s5_button_item1").style.display = 'none';}
if (s5_ifvisible >= 2) {
document.getElementById("s5_button_item2").style.display = 'none';}
if (s5_ifvisible >= 3) {
document.getElementById("s5_button_item3").style.display = 'none';}
if (s5_ifvisible >= 4) {
document.getElementById("s5_button_item4").style.display = 'none';}
if (s5_ifvisible >= 5) {
document.getElementById("s5_button_item5").style.display = 'block';}
if (s5_ifvisible >= 6) {
document.getElementById("s5_button_item6").style.display = 'none';}
if (s5_ifvisible >= 7) {
document.getElementById("s5_button_item7").style.display = 'none';}
if (s5_ifvisible >= 8) {
document.getElementById("s5_button_item8").style.display = 'none';}
if (s5_ifvisible >= 9) {
document.getElementById("s5_button_item9").style.display = 'none';}
if (s5_ifvisible >= 10) {
document.getElementById("s5_button_item10").style.display = 'none';}
}

function s5thumb5() {
if (s5_ifvisible >= 1) {
document.getElementById("s5_button_item1").style.display = 'none';}
if (s5_ifvisible >= 2) {
document.getElementById("s5_button_item2").style.display = 'none';}
if (s5_ifvisible >= 3) {
document.getElementById("s5_button_item3").style.display = 'none';}
if (s5_ifvisible >= 4) {
document.getElementById("s5_button_item4").style.display = 'none';}
if (s5_ifvisible >= 5) {
document.getElementById("s5_button_item5").style.display = 'none';}
if (s5_ifvisible >= 6) {
document.getElementById("s5_button_item6").style.display = 'block';}
if (s5_ifvisible >= 7) {
document.getElementById("s5_button_item7").style.display = 'none';}
if (s5_ifvisible >= 8) {
document.getElementById("s5_button_item8").style.display = 'none';}
if (s5_ifvisible >= 9) {
document.getElementById("s5_button_item9").style.display = 'none';}
if (s5_ifvisible >= 10) {
document.getElementById("s5_button_item10").style.display = 'none';}
}

function s5thumb6() {
if (s5_ifvisible >= 1) {
document.getElementById("s5_button_item1").style.display = 'none';}
if (s5_ifvisible >= 2) {
document.getElementById("s5_button_item2").style.display = 'none';}
if (s5_ifvisible >= 3) {
document.getElementById("s5_button_item3").style.display = 'none';}
if (s5_ifvisible >= 4) {
document.getElementById("s5_button_item4").style.display = 'none';}
if (s5_ifvisible >= 5) {
document.getElementById("s5_button_item5").style.display = 'none';}
if (s5_ifvisible >= 6) {
document.getElementById("s5_button_item6").style.display = 'none';}
if (s5_ifvisible >= 7) {
document.getElementById("s5_button_item7").style.display = 'block';}
if (s5_ifvisible >= 8) {
document.getElementById("s5_button_item8").style.display = 'none';}
if (s5_ifvisible >= 9) {
document.getElementById("s5_button_item9").style.display = 'none';}
if (s5_ifvisible >= 10) {
document.getElementById("s5_button_item10").style.display = 'none';}
}

function s5thumb7() {
if (s5_ifvisible >= 1) {
document.getElementById("s5_button_item1").style.display = 'none';}
if (s5_ifvisible >= 2) {
document.getElementById("s5_button_item2").style.display = 'none';}
if (s5_ifvisible >= 3) {
document.getElementById("s5_button_item3").style.display = 'none';}
if (s5_ifvisible >= 4) {
document.getElementById("s5_button_item4").style.display = 'none';}
if (s5_ifvisible >= 5) {
document.getElementById("s5_button_item5").style.display = 'none';}
if (s5_ifvisible >= 6) {
document.getElementById("s5_button_item6").style.display = 'none';}
if (s5_ifvisible >= 7) {
document.getElementById("s5_button_item7").style.display = 'none';}
if (s5_ifvisible >= 8) {
document.getElementById("s5_button_item8").style.display = 'block';}
if (s5_ifvisible >= 9) {
document.getElementById("s5_button_item9").style.display = 'none';}
if (s5_ifvisible >= 10) {
document.getElementById("s5_button_item10").style.display = 'none';}
}

function s5thumb8() {
if (s5_ifvisible >= 1) {
document.getElementById("s5_button_item1").style.display = 'none';}
if (s5_ifvisible >= 2) {
document.getElementById("s5_button_item2").style.display = 'none';}
if (s5_ifvisible >= 3) {
document.getElementById("s5_button_item3").style.display = 'none';}
if (s5_ifvisible >= 4) {
document.getElementById("s5_button_item4").style.display = 'none';}
if (s5_ifvisible >= 5) {
document.getElementById("s5_button_item5").style.display = 'none';}
if (s5_ifvisible >= 6) {
document.getElementById("s5_button_item6").style.display = 'none';}
if (s5_ifvisible >= 7) {
document.getElementById("s5_button_item7").style.display = 'none';}
if (s5_ifvisible >= 8) {
document.getElementById("s5_button_item8").style.display = 'none';}
if (s5_ifvisible >= 9) {
document.getElementById("s5_button_item9").style.display = 'block';}
if (s5_ifvisible >= 10) {
document.getElementById("s5_button_item10").style.display = 'none';}
}

function s5thumb9() {
if (s5_ifvisible >= 1) {
document.getElementById("s5_button_item1").style.display = 'none';}
if (s5_ifvisible >= 2) {
document.getElementById("s5_button_item2").style.display = 'none';}
if (s5_ifvisible >= 3) {
document.getElementById("s5_button_item3").style.display = 'none';}
if (s5_ifvisible >= 4) {
document.getElementById("s5_button_item4").style.display = 'none';}
if (s5_ifvisible >= 5) {
document.getElementById("s5_button_item5").style.display = 'none';}
if (s5_ifvisible >= 6) {
document.getElementById("s5_button_item6").style.display = 'none';}
if (s5_ifvisible >= 7) {
document.getElementById("s5_button_item7").style.display = 'none';}
if (s5_ifvisible >= 8) {
document.getElementById("s5_button_item8").style.display = 'none';}
if (s5_ifvisible >= 9) {
document.getElementById("s5_button_item9").style.display = 'none';}
if (s5_ifvisible >= 10) {
document.getElementById("s5_button_item10").style.display = 'block';}
}
