/**
 * printit.js
 *
 * Prints image using an iframe located outside of browser's site. 
 *
 */

function printIt(imgToPrint) {
        document.getElementById("printFrame").width = 
            document.getElementById(imgToPrint).width + "px";
        document.getElementById("printFrame").height = 
            document.getElementById(imgToPrint).height + "px";
 
        frames["printFrame"].location.href = 
            document.getElementById(imgToPrint).src;
        frames["printFrame"].focus();
        setTimeout('frames["printFrame"].print()',10);
    }