﻿function Init() {
    //document.bgColor = '#6C8297';
}

function getElement(element) {
    if (typeof(element) == 'string') {
        return document.getElementById(element);
    }
    return element;
}

function ShowAlert(message) {
    alert(message);
}

function setText(node, text) {
    while(node.hasChildNodes()) {
        node.removeChild(node.lastChild);
    }
    node.appendChild(text)
}

function proper(value) {
		return value.substr(0, 1).toUpperCase() + value.substr(1);;
}

