// function prints window
function printWindow() {
    if (window.print) {
        window.print();
    } else {
        alert('Sorry, your browser doesn\'t support this feature. Please use the browsers print option.');
    }
}

