// This script contains the URLs and images for the Capitals Insider header.

// Please fill in the URLs below in the same format as the examples.

ci_gallery_url = 'http://voices.washingtonpost.com/capitalsinsider/caps-4-rangers-2.html'
// Example        'http://www.washingtonpost.com/wp-dyn/content/gallery/2006/08/31/GA2006083101836.html'

ci_gallery_thumb = 'http://media.washingtonpost.com/wp-srv/sports/photo/msg-1.jpg'
// Example          'http://www.washingtonpost.com/wp-dyn/content/photo/2006/11/19/PH2006111900867.jpg'

ci_gallery_text = 'Bradley shines'
// Example        'Latest Photos' -- KEEP IT SHORT

ci_video_url = 'http://www.washingtonpost.com/wp-dyn/content/video/2009/09/29/VI2009092903320.html'
// Example      'http://www.washingtonpost.com/wp-dyn/content/video/2006/09/01/VI2006090100973.html'

ci_video_thumb = 'http://media.washingtonpost.com/wp-srv/sports/photo/ovechkin100709.jpg'
// Example        'http://www.washingtonpost.com/wp-dyn/content/photo/2006/09/01/PH2006090101273.jpg'

ci_video_text = 'Top 3 goals'
// Example      'Latest Video' -- KEEP IT SHORT


// DO NOT EDIT BELOW HERE

ci_gallery_html = '<div class=\"border\"><a href=\"' + ci_gallery_url +'\"><img src=\"' + ci_gallery_thumb + '\" width=\"80\" height=\"72\" border=\"0\" alt=\"\" /></a></div><div style=\"clear:both;\"><span class=\"color1\">&raquo;</span> <a href=\"' + ci_gallery_url +'\">' + ci_gallery_text + '</a></div>'

ci_video_html = '<div class=\"border\"><a href=\"' + ci_video_url +'\"><img src=\"' + ci_video_thumb + '\" width=\"80\" height=\"72\" border=\"0\" alt=\"\" /></a></div><div style=\"clear:both;\"><span class=\"color1\">&raquo;</span> <a href=\"' + ci_video_url + '\">' + ci_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(ci_gallery_html);
   }
else if (bog_field == 'v')
   {
   document.write(ci_video_html);
   }
else
   {
   document.write();
   }
