﻿function show(id) {
    document.getElementById(id).style.display = "";
}
function hide(id) {
    document.getElementById(id).style.display = "none";
}
function go(value) {
    if (value == "")
        return false;
    else
        self.location.href = value;
}
function swap(s, t, index, count) {
    for (i = 0; i <= count; i++) {
        if (document.getElementById(t + "_" + i) != null) {
            document.getElementById(t + "_" + i).style.display = "none";
            document.getElementById(s + "_" + i).className = "nav_unselected";
        }
    }
    document.getElementById(t + "_" + index).style.display = "";
    document.getElementById(s + "_" + index).className = "nav_selected";
    if (top.location.href != self.location.href)
        top.SetWinHeight("iframeA");
}
function slowShow(obj)
{ }
function getElementPos(_Obj) {
    var _Top = _Obj.offsetTop;
    var _Left = _Obj.offsetLeft;
    while (_Obj = _Obj.offsetParent) {
        _Top += _Obj.offsetTop;
        _Left += _Obj.offsetLeft;
    }
    return { 'x': _Left, 'y': _Top }
}

