';*/
/*function WriteMessage(a) {
var b = screen.height / 2.5 - 235;
"" != a && document.write("
')
}
function WriteClientMessage(a) {
var b = screen.height / 2.5 - 235 / 3;
"" != a && (a = "', document.getElementById("divclMsg").innerHTML = a)
}
function GEI(a) {
return document.getElementById(a)
}
function resetTabs() {
$("#content > div").hide();
$("#tabs a").attr("id", "")
}
var h = screen.height,
w = screen.Width;
try {
var Elem = GEI("Msg") ? GEI("Msg") : GEI("lblMsg") ? GEI("lblMsg") : GEI("lblException");
null != Elem && (WriteMessage(Elem.innerHTML), Elem.style.display = "none")
} catch (err$$1) {
alert(err$$1.message)
}
*/
var myUrl = window.location.href,
myUrlTab = myUrl.substring(myUrl.indexOf("#")),
myUrlTabName = myUrlTab.substring(0, 4);
(function () {
$("#divChat").load('chat.php');
$("#content > div").hide();
$("#tabs li:first a").attr("id", "current");
$("#content > div:first").fadeIn();
$("#tabs a").on("click", function (a) {
a.preventDefault();
"current" != $(this).attr("id") && (resetTabs(), $(this).attr("id", "current"), $($(this).attr("rel")).fadeIn())
});
for (i = 1; i <= $("#tabs li").length; i++) myUrlTab == myUrlTabName + i && (resetTabs(), $("a[rel='" + myUrlTab + "']").attr("id", "current"), $(myUrlTab).fadeIn())
})();
Manikchak College
;