function browserproperties() {
document.login.get_monitor.value = window.screen.width + 'x' + window.screen.height + ', ' + window.screen.colorDepth;
document.login.get_java_enabled.value = navigator.javaEnabled();
return true;
}

function popup(name,autoclose,popup_width,popup_height) {
popup_pos_x = (screen.width/2)-(popup_width/2);
popup_pos_y = (screen.height/2)-(popup_height/2);
framelesswindow = window.open("", name, "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=" + popup_width + ",height=" + popup_height + ",left=" + popup_pos_x + ",top=" + popup_pos_y);
if (autoclose){
window.onunload = framelesswindow.close;
}
return true;
}

function norightclick() {
if ( navigator.appName == "Microsoft Internet Explorer" && event.button == 2 ) {
alert("norightclick");
}
}
document.onmousedown = norightclick

function netscapeCssFix() {
if (document.NS.netscapeCssFix.initWindowWidth != window.innerWidth || document.NS.netscapeCssFix.initWindowHeight != window.innerHeight) {
document.location = document.location;
}
}
function netscapeCssFixCheckIn() {
if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) {
if (typeof document.NS == 'undefined'){
document.NS = new Object;
}
if (typeof document.NS.scaleFont == 'undefined') {
document.NS.netscapeCssFix = new Object;
document.NS.netscapeCssFix.initWindowWidth = window.innerWidth;
document.NS.netscapeCssFix.initWindowHeight = window.innerHeight;
}
window.onresize = netscapeCssFix;
}
}
netscapeCssFixCheckIn()

var digital = new Date("August, 12 2005 06:29:01");
function clock() {
if (!document.layers && !document.all) {
return;
}
var year = digital.getFullYear();
var month = digital.getMonth()+1;
var day = digital.getDate();
var hour = digital.getHours();
var minute = digital.getMinutes();
var second = digital.getSeconds();
digital.setSeconds( second+1 );
if (month <= 9) {
month = "0" + month;
}
if (day <= 9) {
day = "0" + day;
}
if (hour <= 9) {
hour = "0" + hour;
}
if (minute <= 9) {
minute = "0" + minute;
}
if (second <= 9) {
second = "0" + second;
}
dispTime = year+'-'+month+'-'+day+' '+hour+':'+minute+':'+second;
if (document.layers) {
} else {
if (document.all) {
servertime.innerHTML = dispTime;
}
}
setTimeout("clock()", 1000);
}
setTimeout("clock()", 5000);

function bookmark() {
var ver = navigator.appName;
var num = parseInt(navigator.appVersion);
if ((ver == "Microsoft Internet Explorer")&&(num >= 4)) {
alert("To bookmark press CTRL + D");
window.external.AddFavorite(url,title);
} else {
alert("To bookmark press CTRL + D");
}
}

var Sound = new Array();
// array of source soundfiles to be preloaded
Sound[0] = "../media/quite.wav";
Sound[1] = "../media/quite.wav";
document.write('<BGSOUND ID="audioIEContainer">')
IE = (navigator.appVersion.indexOf("MSIE")!=-1 && document.all)? 1:0;
NS = (navigator.appName=="Netscape" && navigator.plugins["LiveAudio"])? 1:0;
ver4 = IE||NS? 1:0;
onload=audioPreload;
function audioPreload() {
if (!ver4) return;
if (NS) audioEmbed = new Layer(0,window);
else {
Str = "<DIV ID='audioEmbed' STYLE='position:absolute;'></DIV>";
document.body.insertAdjacentHTML("BeforeEnd",Str);
}
var Str = '';
for (i=0;i<Sound.length;i++)
Str += "<EMBED SRC='"+Sound[i]+"' AUTOSTART='FALSE' HIDDEN='TRUE'>"
if (IE) audioEmbed.innerHTML = Str;
else {
audioEmbed.document.open();
audioEmbed.document.write(Str);
audioEmbed.document.close();
}
auCon = IE? document.all.audioIEContainer:audioEmbed;
auCon.control = auCtrl;
}
function auCtrl(whSound,play) {
if (IE) this.src = play? Sound[whSound]:'';
else eval("this.document.embeds[whSound]." + (play? "play()":"stop()"))
}
function playSound(whSound) { if (window.auCon) auCon.control(whSound,true); }
function stopSound(whSound) { if (window.auCon) auCon.control(whSound,false); }