﻿

function wbCloseflash() {
    document.getElementById('wbydt').style.display = 'none';
    document.getElementById('wbydtiframe').style.display = 'none';
    document.getElementById('wbyddiv').innerHTML = '';
}
//判断是否打开
function ifon(n) {
    var obj = document.getElementById(n);
    if (obj.className == 'maptoolbarA') {
        top.main_frame2.ShowSelfSion(); //Getall(type);
        obj.className = 'maptoolbarB';;
    }
    else {
        main_frame2.ClearSelfSign(); //Clearall(type);
        obj.className = 'maptoolbarA';
    }
}


function CloseAll() {
    top.window.close();
}

function mistake(obj) {
    main_frame2.ShowMK();

}


function RoadSc(n) {
    var obj = document.getElementById(n);
    //alert(obj.className);
    if (obj.className == 'maptoolbarA') {
        obj.className = 'maptoolbarB';
        top.main_frame2.ShowDl(); //('s'+type);//Clearall(type);
    }
    else {
        main_frame2.CloseDl(); //('s'+type);//Clearall(type);
        obj.className = 'maptoolbarA';
    }

}


function mistake(n) {
    var obj = document.getElementById(n);
}