function bookmarksite(url, title)
{
  if (!url) url = location.href;
  if (!title) title = document.title;
 
  //Gecko
  if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function")) window.sidebar.addPanel ("OnTheHunt.com Official Blog", "http://www.onthehunt.com/blog", "");
  //IE4+
  else if (typeof window.external == "object") window.external.AddFavorite("http://www.onthehunt.com/blog", "OnTheHunt.com Official Blog");
  //Opera7+
  else if (window.opera && document.createElement)
  {
    var a = document.createElement('A');
    if (!a) return false; //IF Opera 6
    a.setAttribute('rel','sidebar');
    a.setAttribute('href',url);
    a.setAttribute('title',title);
    a.click();
  }
  else return false;

}



function RunFlash(w,h,name_swf,bgcolor,pict_path)
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width='+w+' height='+h+'>');
document.write('<param name="movie" value="http://www.onthehunt.com/blog/flash.swf?path='+name_swf+'&pict_path='+pict_path+'">');
document.write('<param name="quality" value="high">');
document.write('<param name="bgcolor" value="'+bgcolor+'">');
document.write('<embed src="http://www.onthehunt.com/blog/flash.swf?path='+name_swf+'&pict_path='+pict_path+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="'+bgcolor+'" width='+w+' height='+h+' />');
document.write('</object>');
}

