jQuery("#con-button01").bind( "click", function() {
    display1(01);
});

jQuery("#con-button02").bind( "click", function() {
    display1(02);
});

jQuery("#con-button03").bind( "click", function() {
    display1(03);
});

jQuery("#con-button04").bind( "click", function() {
    display1(04);
});

jQuery("#con-button05").bind( "click", function() {
    display1(05);
});

jQuery("#con-button06").bind( "click", function() {
    display1(06);
});

jQuery("#con-button07").bind( "click", function() {
    display1(07);
});

jQuery("#con-button08").bind( "click", function() {
    display1(08);
});

function display1(num){
    var flag = jQuery(".concept-img1").css("display");
    if(flag == "none"){
        jQuery(".concept-img1").css("display","block");
            changImg(num);
    }else{
        jQuery(".concept-img1").css("display","none");
    }
}


function changImg(num) {
var toImg = " ";
    if(num == 01) {
        toImg = "https://ddsconsultingplus.ca/wp-content/uploads/2018/10/production.jpg";
    } else if(num == 02) {
        toImg = "https://ddsconsultingplus.ca/wp-content/uploads/2018/10/marketing.jpg";
    } else if(num == 03) {
        toImg = "https://ddsconsultingplus.ca/wp-content/uploads/2018/10/team.jpg";
    } else if(num == 04) {
        toImg = "https://ddsconsultingplus.ca/wp-content/uploads/2018/10/schedule.jpg";
    } else if(num == 05) {
        toImg = "https://ddsconsultingplus.ca/wp-content/uploads/2018/10/technology.jpg";
    } else if(num == 06) {
        toImg = "https://ddsconsultingplus.ca/wp-content/uploads/2018/10/new.jpg";
    } else if(num == 07) {
        toImg = "https://ddsconsultingplus.ca/wp-content/uploads/2018/10/profit.jpg";
    } else if(num == 08) {
        toImg = "https://ddsconsultingplus.ca/wp-content/uploads/2018/10/accountability.jpg";
    }
document.getElementsByClassName("lightbox-false")[0].src= toImg;
}
