﻿function SwapImage(_type, _this) {
    if (_this.src.match("On") == null) {
        _this.src = "Images/Navigation/" + _type + "-On.jpg";
    }
    else {
        _this.src = "Images/Navigation/" + _type + "-Off.jpg";
    }
}
