function podAlert(podURL) {
 var podMsg=
  " - These podcast links are specifically \n" + 
  " for so called RSS Reader Programs. \n\n" + 
  " - Copy the link from the addressbar \n" + 
  " on the following page and paste it into \n" + 
  " the configuration of the RSS Reader. \n\n" + 
  " - With Firefox you can also use the \n" + 
  " 'Live Bookmark' icon in the addressbar \n"
 var podConfirm = confirm(podMsg);
 if (podConfirm == true) { 
window.open(podURL,"podURL","toolbar=no,location=yes,directories=no,menubar=no,status=no,resizable=yes,scrollbars=yes"); } 
}

function toggleColor(objElement) {
 if (objElement.className=='normal') objElement.className='focus';
 else objElement.className='normal';
}

function auth(usr) {
 if (usr == 'guest') { window.open('guests/','_top'); }
 if (usr == 'crew') { window.open('members/','_top'); }
 if (usr == 'oper') { window.open('operators/','_top'); }
}

function logOn(){}

function inf(dat) {
 if (dat == 0) { 
  txt = "DFM radio television International - 24/7 Live and Interactive";
  var msgCycl = new Date(); var msgTime = msgCycl.getSeconds();
  if(msgTime > 0 && msgTime < 21) { txt = txt + " - Please spread the word !" }
  else { 
   if (msgTime > 20 && msgTime < 41) { txt = txt + " - Did u tell a friend today ?" }
   else { txt = txt + " - Please help us promote DFM !" }
  }
 } 
 else if (dat == 1) { txt = "Contact DFM by electronic mail" } 
 else { txt = dat }
 window.status = txt
}

inf(0); 

function camChan() { 
 url="live/cam/start.htm";
 parms="resizable=1,toolbar=no,location=no,directories=no,menubar=no,status=no,scrollbars=no";
 parms=parms+",width=320,height=240";
 camchanWin=open(url,"CamChan",parms); return false;
}

function translator() { 
 url="live/translator/translate.htm";
 parms="toolbar=no,location=no,directories=no,menubar=no,scrollbars=0,resizable=1,status=no";
 parms=parms+",width=450,height=358";
 translatorWin=open(url,"translator",parms); return false;
}

function streamHelp() { 
 url="help/stream/chooser.htm";
 parms="toolbar=no,location=no,directories=no,menubar=no,status=0,resizable=1,scrollbars=no,channelmode=no,titlebar=no";
 parms=parms+",width=420,height=446";
 streamHelpWin=open(url,"streamHelp",parms); return false;
 }

function textChat() { 
 url="live/chat/logon.htm";
 parms="toolbar=no,location=no,directories=no,menubar=no,status=no,noresize,scrollbars=no";
 parms=parms+",width=226,height=120,left=200,top=300";
 textchat=open(url,"chatLauncher",parms); return false;
}

function tweeter() { 
 url="tweeter/";
 parms="toolbar=no,location=no,directories=no,menubar=no,status=no,resizable=1,scrollbars=no";
 parms=parms+",width=744,height=538,left=20,top=20";
 tweeterWin=open(url,"tweeter",parms); return false;
}

// LAST MODIFIED BEGIN
function last_updated() { 
var days = new Array(8);
days[1] = "Sunday"; days[2] = "Monday"; days[3] = "Tuesday"; days[4] = "Wednesday"; days[5] = "Thursday"; days[6] = "Friday"; days[7] = "Saturday";
var months = new Array(13);
months[1] = "January"; months[2] = "February"; months[3] = "March"; months[4] = "April"; months[5] = "May"; months[6] = "June";
months[7] = "July"; months[8] = "August"; months[9] = "September"; months[10] = "October"; months[11] = "November"; months[12] = "December";
var dateObj = new Date(document.lastModified)
var wday = days[dateObj.getDay() + 1]
var lmonth = months[dateObj.getMonth() + 1]
var date = dateObj.getDate()
var fyear = dateObj.getYear()
if (fyear < 2000) 
fyear = fyear + 1900
document.write(wday + ", " + lmonth + " " + date + ", " + fyear)
}
// LAST MODIFIED END

focus();