// javascript bookmark function, Jason, 30/12/2003 - updated to /sg/, MW 24sep04

function bookmark_fn() {
  // display bookmark string if the browser is one of the following
  // Mac: Safari, IE
  // Win: IE
  
  var user_agent = navigator.userAgent;
  var buf = '';
  
  // detect platform
  is_mac = user_agent.match(/Mac/);
  is_win = user_agent.match(/Win/);
  
  //detect browser
  is_opera  = user_agent.match(/Opera/);
  is_ie     = user_agent.match(/MSIE/);
  is_safari = user_agent.match(/Safari/);
  
  var show_it = false;
  
  if (is_mac && (is_ie || is_safari) && (!is_opera) ) {
    buf = '<img src=/sg/bm_apple.gif width=191 height=17 alt="" border=0>'; // image for mac
    show_it = true;
  }
  
  if ( (is_win && is_ie) && !is_opera) {
    buf  = '<span style="cursor:hand" onclick="window.external.AddFavorite(location.href, document.title);">';
    buf += '<img src=/sg/bm_mac.gif width=191 height=17 alt="" border=0>'; // image for windows
    buf += '</span>';
    show_it = true;
  }
  
  if (show_it) {
    document.write('<center>' + buf + '</center>');
  }
}

function sfs() {
document.write('<script type="text/javascript"><!--\n'+
'google_ad_client="pub-7002971732043889";\n'+
'google_ad_width=336;\n'+
'google_ad_height=280;\n'+
'google_ad_format="336x280_as";\n'+
'google_ad_type="text";\n'+
'google_ad_channel="5991059452";\n'+
'google_color_border="FFFFFF";\n'+
'google_color_bg="FFFFFF";\n'+
'google_color_link="0900D0";\n'+
'google_color_url="777777";\n'+
'google_color_text="222222";\n'+
'//--></script>\n'+
'<script type="text/javascript"\n'+
'  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">\n'+
'</script>\n');
}

function sfs2() {
document.write('<script type="text/javascript"><!--\n'+
'google_ad_client="pub-7002971732043889";\n'+
'google_ad_width=180;\n'+
'google_ad_height=90;\n'+
'google_ad_format="180x90_0ads_al";\n'+
'google_ad_channel="5991059452";\n'+
'google_color_border="FEE000";\n'+
'google_color_bg="FEE000";\n'+
'google_color_link="222222";\n'+
'google_color_url="222222";\n'+
'google_color_text="222222";\n'+
'//--></script>\n'+
'<script type="text/javascript"\n'+
'  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">\n'+
'</script>\n');
}