function swopTabs(Ied) {
    $(".hSwopTab").val(Ied + "");
}
function showSwopTabs() {
    var tab1 =document.getElementById("tab1");
    var tab2 = document.getElementById("tab2")
    if(tab1 != null)
        tab1.className = "";
    if(tab2 != null)
        tab2.className = "";

    document.getElementById("tabCont1").className = "tabContHide";
    document.getElementById("tabCont2").className = "tabContHide";

    var s = $(".hSwopTab").val();
    if (s == "") {
        s = "1";
    }
    var currentTab = document.getElementById("tab" + s);
    if (currentTab != null) {
        currentTab.className = "selected";
    }
    var currentTabCont = document.getElementById("tabCont" + s);
    if (currentTabCont != null) {
        currentTabCont.className = "tabContShow";
    }
}
$(document).ready(function () {
    showSwopTabs();
});
