
function Listener(args)
{
    /*-------------------------------------------*
    * Properties
    *-------------------------------------------*/    
    
    var _UserId = args[0];
    this.getUserId = function()
    {
        if (_UserId==null) {_UserId=0;}
        return _UserId;
    }    
     this.setUserId = function(userId)
    {        
        _UserId = userId;      
    }
    
    var _UserFullName = args[1];
    this.getUserFullName = function()
    {
        if (_UserFullName == null) {_UserFullName="Guest";}
        return _UserFullName;
    }    
     this.setUserFullName = function(userFullName)
    {        
        _UserFullName = userFullName;      
    }    
}

function openWindow(url)
{
	window.open(url,"desionlineradio", "location=no,status=no,menubar=no,scrollbars=auto,resizeable=yes,height=400,width=650,left=200,top=200");
	return false;
}


document.write('<div id="loading"><br><br>Processing...Please wait..<BR><img alt="Processing..." src="/images/ProcessingSpinner.gif" width="30" height="30" style="border:0px"/></div>');

function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }
}


addLoadEvent(function() {
  document.getElementById("loading").style.display="none";
  checkForWindowMediaPlayer();
});
