/**
 * Download.
 * Version: 1.0
 *
 * The use of this script is strictly forbidden without prior written
 * consent. You must obtain permission before copying, modifying, 
 * redistributing, deriving or selling any part of this program.
 *
 * Copyright (c) 2008 HYPERZOID
 * All Rights Reserved
 */


// The Calculator object.
var download = null;


/**
 * Initializes this program.
 */
function initDownload() {
    download = new Download();
}


/**
 * The constructor.
 */
function Download() {
}


/**
 * Handles onclick events.
 */
Download.prototype.click = function(id) {
    if (document.getElementById(id).style.visibility == '' ||
        document.getElementById(id).style.visibility == 'hidden') {
        document.getElementById(id).style.visibility = 'visible';
    } else {
        document.getElementById(id).style.visibility = 'hidden';
    }
}


// Initialize this program upon the onload event.
addOnLoad(initDownload);