// Add all onLoad and Init Functions In This File

/*Start SC Click to Enlarge v3.0.0 init function calls*/
scImgEnlargeInit();
window.onresize = function(){
		scWinResize();
}
/*End SC Click to Enlarge v3.0.0 init calls*/

function setTo1(x) {
    var q = document.getElementById("q" + x);
    var c = document.getElementById("c" + x);

    if (q) {
        if (c) {
            if (c.checked) {
                if (q.value == "0") {
                    q.value = "1";
                }
            } else {
                q.value = 0;
            }
        }
    }
}
