// JavaScript Document

/**
 * @author C809907
 */
function printPage(){
    //print function with alert box
    
    var title = document.title;
    var text1 = "A printer-friendly version of"
    var text2 = "will be sent to the network printer." + '\n' + "If there are layout issues, check local print options."
    
    alert(text1 + '\n' + title + '\n' + text2);
    window.print();
    return false;
    
    
}

///switching icons on mouse events
$(document).ready(function(){
    $('.printer-bw').bind('mousedown', function(){
        $(this).removeClass('printer-bw').addClass('printer-active');
        
        
        
    });
    $('.printer-bw').bind('mouseup', function(){
        $(this).removeClass('printer-active').addClass('printer-bw');
        
        
    });
	
});