﻿function TDOnMouseOver(nedir,image) {
    self.MouseOverOldBackground = nedir.style.background; 
    nedir.style.background = "url(" + image + ")";
    nedir.style.backgroundPosition = 'left bottom'; nedir.style.backgroundRepeat = 'repeat-x' 
}

function TDOnMouseOut(nedir) {

    nedir.style.background = self.MouseOverOldBackground;
}

function ValueYaz(TextBoxID, ValueString) {

    document.getElementById(TextBoxID).value = ValueString;
}

function ValueYazOnayli(TextBoxID, ValueString, UyariString) {

    if (confirm(UyariString)) {
        document.getElementById(TextBoxID).value = ValueString;
    }
    else {
        document.getElementById(TextBoxID).value = "0";
    }
}

function ValueYazOnayliBOS(TextBoxID, ValueString, UyariString) {

    if (confirm(UyariString)) {
        document.getElementById(TextBoxID).value = ValueString;
    }
    else {
        return false;
    }

}


function GridOnMouseOver(nedir) {
    self.MouseOverOldColor = nedir.style.backgroundColor; nedir.style.backgroundColor = '#DFDFDF';
}

function GridOnMouseOut(nedir) {
    nedir.style.backgroundColor = self.MouseOverOldColor;
}
