﻿  
function printpage() { window.print(); }

function isDefined(variable) {
    return (typeof (window[variable]) == "undefined") ? false : true;
}

function cargarMouseOver() {
    imgsrc = $(this).attr("src");
    matches = imgsrc.match(/_on/);
    if (!matches) {
        imgsrcON = imgsrc.replace(/_off.gif$/ig, "_on.gif");
        $(this).attr("src", imgsrcON);
    }
}

function cargarMouseOut() {    
    if (isDefined("imgsrc"))
        $(this).attr("src", imgsrc);
}
