// CODIGO DE ROLLOVER DE COLOR DE CELDAS

function cOvr(src) {
if (!src.contains(event.fromElement)) {
src.style.cursor = 'hand';
}
}

function cOut(src) {
if (!src.contains(event.toElement)) {
src.style.cursor = 'default';
}
}

function mOvr(src,clrOver) {
if (!src.contains(event.fromElement)) {
src.style.cursor = 'hand';
src.bgColor = clrOver;
}
}

function mOut(src,clrIn) {
if (!src.contains(event.toElement)) {
src.style.cursor = 'default';
src.bgColor = clrIn;
}
}

function mClk(src) {
if(event.srcElement.tagName=='TD'){
src.children.tags('A')[0].click();
}
}
// FIN DE ROLLOVER CELDAS

// Open a centered window  ////////
////////////////////////////////
function openwin(url,w,h,scroll)
{
scrwidth=screen.width;scrheight=screen.height;
leftmargin = (scrwidth - w)/2;topmargin = (scrheight - h)/2;
props = "left=" + leftmargin + ",";props = props + "top=" + topmargin + ",";props = props + "width=" + w+ ",";props = props + "height=" + h+ ",";
var windowprops= "left=" + leftmargin +",top=" + topmargin +",width="+w+",height="+h+",resizable=0,location=no,scrollbars="+ scroll;
popup=window.open(url,'pop',windowprops);
popup.focus();
}

function openwin2(url,w,h,scroll)
{
scrwidth=screen.width;scrheight=screen.height;
leftmargin = (scrwidth - w)/2;topmargin = (scrheight - h)/2;
props = "left=" + leftmargin + ",";props = props + "top=" + topmargin + ",";props = props + "width=" + w+ ",";props = props + "height=" + h+ ",";
var windowprops= "left=" + leftmargin +",top=" + topmargin +",width="+w+",height="+h+",resizable=1,location=no,scrollbars="+ scroll;
popup=window.open(url,'pop2',windowprops);
popup.focus();
}

function doformat() {

}