// This script contains the URLs and images for the Redskins Insider header.

// Please fill in the URLs below in the same format as the examples.

ri_gallery_url = 'http://www.washingtonpost.com/wp-dyn/content/gallery/2009/09/27/GA2009092701974.html'
// Example        'http://www.washingtonpost.com/wp-dyn/content/gallery/2006/08/31/GA2006083101836.html'

ri_gallery_thumb = 'http://media.washingtonpost.com/wp-dyn/content/photo/2009/09/27/PH2009092702054.jpg'
// Example          'http://www.washingtonpost.com/wp-dyn/content/photo/2006/11/19/PH2006111900867.jpg'

ri_gallery_text = 'Latest Photos'
// Example        'Latest Photos' -- KEEP IT SHORT

ri_video_url = 'http://www.washingtonpost.com/wp-srv/sports/redskins/podcast/redskins-insider.html'
// Example      'http://www.washingtonpost.com/wp-dyn/content/video/2006/09/01/VI2006090100973.html'

ri_video_thumb = 'http://media.washingtonpost.com/wp-srv/sports/photo/skins_podcast.jpg'
// Example        'http://www.washingtonpost.com/wp-dyn/content/photo/2006/09/01/PH2006090101273.jpg'

ri_video_text = 'Podcast: Wk. 11'
// Example      'Latest Video' -- KEEP IT SHORT


// DO NOT EDIT BELOW HERE

ri_gallery_html = '<div class=\"border\"><a href=\"' + ri_gallery_url +'\"><img src=\"' + ri_gallery_thumb + '\" width=\"80\" height=\"72\" border=\"0\" alt=\"\" /></a></div><div style=\"clear:both;\"><span class=\"color1\">&raquo;</span> <a href=\"' + ri_gallery_url +'\">' + ri_gallery_text + '</a></div>'

ri_video_html = '<div class=\"border\"><a href=\"' + ri_video_url +'\"><img src=\"' + ri_video_thumb + '\" width=\"80\" height=\"72\" border=\"0\" alt=\"\" /></a></div><div style=\"clear:both;\"><span class=\"color1\">&raquo;</span> <a href=\"' + ri_video_url + '\">' + ri_video_text + '</a></div>'

var bog_scripts = document.getElementsByTagName('script');
var bog_index = bog_scripts.length - 1;
var bog_myScript = bog_scripts[bog_index];
var bog_field = bog_myScript.src.replace(/^[^\?]+\??/,'');

if (bog_field == 'g')
   {
   document.write(ri_gallery_html);
   }
else if (bog_field == 'v')
   {
   document.write(ri_video_html);
   }
else
   {
   document.write();
   }
