
function write_button_6() {
	document.write('<a title="Listen to station" href="#" onclick="javascript: station_play_6(undefined,undefined,undefined); return false"><img src="http://dailysplice.com/images/stations/edd9b112-b93f-102b-857e-0030487d95a0.jpg" border="0" alt="Play Saanich Police Podcasts"/></a>')
}

write_button_6();


function station_play_6(url, ep_id, restrict_to, feed_id) {
   loadurl = 'http://dailysplice.com/saanich-police-station/play';

   if(typeof(url) != "undefined") {

     loadurl += '?url=' + url;

   } else if(typeof(ep_id) != "undefined") {

     loadurl += '/episode-' + ep_id;

   } else if(typeof(feed_id) != "undefined") {

     loadurl += '/podcast-' + feed_id;     

   } else if(typeof(restrict_to) != "undefined") {

     loadurl += '/only-' + restrict_to;

   } else {


   }

   var pWindow = window.open(loadurl, 'SpliceStation_6', 'width=728,height=450,resizable=0,scrollbars=0,status=0,location=0,menubar=0,toolbar=0,directories=0,top=300,left=300');
   if(pWindow == null) {
   } else {
      pWindow.focus();
   }
   return pWindow;
}
function station_play(url, ep_id, restrict_to, feed_id) {
  station_play_6(url, ep_id, restrict_to, feed_id);
}


