// <!--
/*
browser_name = navigator.appName;
browser_version = parseFloat(navigator.appVersion);
if (browser_name == "Netscape" && browser_version >= 3.0) { roll = 'true'; }
else if (browser_name == "Microsoft Internet Explorer" && browser_version >= 3.0) { roll = 'true'; }
else { roll = 'false'; }

function show(where,img_loc){
  if (roll == 'true'){
    if (img_loc == 'on') { img_loc = '/images/on.gif'; }
    stored=where;
    storedLocation=document.images[where].src;
    document.images[where].src=img_loc;
  }
}
function hide(){
  if (roll == 'true') document.images[stored].src=storedLocation;
}*/
// Browser Back Button
window.history.forward(1); // this works for IE standalone

window.onbeforeunload = confirmBrowseAway; //the code from here down
// was needed to 'trick' firefox 2.x to work too
function confirmBrowseAway()
{
  if (!NonExistentVariable) {
    return "";
  }
}

function SetTitle(tit) {
  document.title = tit;
}
window.defaultStatus = "TV-RADIO.RU";
window.name = "tvradio_main";

function open_w(link) {
//  var fs = open(link,'firm','scrollbars=1,resizable=1,width=200,height=500,left=10,top=10,status=no,toolbar=no,menubar=no');
//  fs.focus();
  var url = 'http://' + document.location.host + link;
  var infoAjax = new Ajax.Updater('menu', url, {method: 'get', parameters: ''});
}

// -->

