﻿function listMover(DepartReturn, rowindex, obj) {
    if (DepartReturn == 'depart') {
        if (Departselectedindex != rowindex) {
            obj.style.backgroundColor = '#f8c1c1';
        }
    }
    else {
        if (Returnselectedindex != rowindex) {
            obj.style.backgroundColor = '#f8c1c1';
        }
    }
}
function listMout(DepartReturn, rowindex, obj) {
    if (DepartReturn == 'depart') {
        if (Departselectedindex != rowindex) {
            obj.style.backgroundColor = '';
        }
    }
    else {
        if (Returnselectedindex != rowindex) {
            obj.style.backgroundColor = '';
        }
    }
}