function BEVUtils()
{
   this.version = "1.0";

   this.Copyright = function()
   {
      alert("The contents of this web site, except where otherwise noted, are copyright (c) Steve Teale 2003 - 2009, and are not to be reproduced in any form without the permission of the author.");
   }

   this.Warning = function()
   {
      alert("This web site may at any time contain material of a vulgar, tasteless, sarcastic, defamatory, or sexually explicit nature.\n\nIf this bothers you, you should leave it now!");
   }

   this.DoFlash = function(swf, target, w, h)
   {
      var so = new SWFObject(swf, "sotester", w, h, "7", "#ffffffff");
      so.write(target);
   }

   this.ShowFlashVersion = function()
   {
      var version = deconcept.SWFObjectUtil.getPlayerVersion();
      var text = "";
      if (document.getElementById && (version['major'] > 0)) {
         text = "You have Flash player "+ version['major'] +"."+ version['minor'] +"."+ version['rev'] +" installed.";
      } else
         text = "Flash is not installed on your system";
      alert(text);
   }

   this.embedMP3Player = function(divid, url, title)
   {
      var flashvars = {};
      flashvars.song_url = url;
      flashvars.song_title = title;
      flashvars.player_title = title;
      swfobject.embedSWF("http://www.britseyeview.com/script/xspf_player_slim.swf",
                        divid, "400", "15", "9.0.0", false, flashvars);
   }

   this.onLoad = function()
   {
      var greeting = document.getElementById("greeting");
      if (city == "Arusha" && country == "Tanzania")
         greeting.innerHTML = " Arusha, Tanzania. Get in touch sometime.";
      else
          greeting.innerHTML = " "+city+", "+region+", "+country+". Have a nice day there.";
      var poundbid = document.getElementById("poundbid");
      var poundask = document.getElementById("poundask");
      var glum = document.getElementById("glum");
      if (bid < 1.60)
         glum.innerHTML = ";=(";
      else
         glum.innerHTML = ";=)";
      poundbid.innerHTML = ""+bid;
      poundask.innerHTML = ""+ask;
   }
}
