ps.tpls.set('home.tpl', '{* Home Page Template *}<div id=\"player-zone\">	<div class=\"content-wrapper {$show.featured_on.0.style|default:\'\'}\">		{include file=\"player-main.tpl\"}	<\/div><\/div><!-- /#player-zone --><div id=\"main-content\" class=\"home-content\">	<div class=\"content-wrapper {$show.featured_on.0.style|default:\'\'}\">		{capture assign=\"divname\"}{/capture}		{foreach item=channel_list from=$featuredChannels.list name=\'foo\'}			{if $smarty.foreach.foo.iteration <= 4 }				{if $smarty.foreach.foo.iteration == 4 }					{capture assign=\"divname\"} last-col{/capture}				{else}					{capture assign=\"divname\"}{/capture}				{/if}							{include file=\"channel-list.tpl\" channel=$channel_list extradiv=$divname item_row=$smarty.foreach.foo.iteration}			{/if}		{/foreach}	<\/div><\/div><!-- /#main-content --><script type=\"text/javascript\">ps.tpls.add_to_globals(\'disable_autoplay\', {$disable_autoplay} );<\/script>');
ps.tpls.set('ads.tpl', '{*consolidate ads here?*}');
ps.tpls.set('ad-fw-active-345x592.tpl', '{* freewheel says for safety to put this on a page that cannot ever have a player, so we iframe it *}<iframe id=\'medium_rectangle_active\' src=\'{$pdn_config.wwwroot}/fw-nonplayer-banner.php?w=345&h=592&fwcsid={$tab|default:home}\' framespacing=\'0\' frameborder=\'no\' scrolling=\'no\' width=\'345\' height=\'592\' allowtransparency=\'true\'><\/iframe>');
ps.tpls.set('facebook.tpl', '<script src=\"http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php\" type=\"text/javascript\"><\/script><script type=\"text/javascript\">{literal}ps.event.dom_ready(function() {	ps.facebook.init(		\'{/literal}{$pdn_config.facebook_api_key}{literal}\',		\'{/literal}{$pdn_config.facebook_receiver_path}{literal}\',		\'{/literal}{$pdn_config.facebook_feed_bundle_id}{literal}\'	);});{/literal}<\/script><div id=\"fb_connect_overlay\" class=\"mevioFBC_Overlay\" style=\"display:none\"><\/div><div id=\"fb_connect_holder\"><\/div>');
ps.tpls.set('showcase.tpl', '{capture assign=\"title\"}<a href=\"{$pdn_config.action_root}/channels/?cId={$featuredChannels.featured.channel.channel_id}\" class=\"guide\">Showcase<\/a>{/capture}<div class=\"featured-wrapper\">		{ps_box title=$title class=\'featured program-rule featured-episodes\'}		{include file=\'media-actions.tpl\' channel=$featuredChannels.featured.channel}{foreach item=itm from=$featuredChannels.featured.channel.items name=idx}  {if $smarty.foreach.idx.index < 3}    <div class=\"featured-details\">      <a href=\"{$pdn_config.action_root}/player/?action=play&amp;mId={$itm.media.id}&amp;cId={$featuredChannels.featured.channel.channel_id}\" rel=\"nofollow\" class=\"add-to-queue featuredlink\">        <img src=\"{$itm.media.images.thumb|default:$pdn_config.default_images.shows.thumbs}\" alt=\"{$itm.media.parent_name}\" title=\"{$itm.media.parent_name}\" class=\"feature-channel\">      <\/a>      <div class=\"program-wrapper\">      <p class=\"channels program-margin\"><a href=\"{$pdn_config.action_root}/player/?action=play&amp;mId={$itm.media.id}&amp;cId={$featuredChannels.featured.channel.channel_id}\" rel=\"nofollow\" class=\"add-to-queue\">{$itm.media.parent_name|truncate:40:\'\':true}<\/a><\/p>            <p class=\"more\"><a href=\"{$itm.media.link}\">more<\/a><\/p>      <\/div>          <\/div>    <div class=\"clear\"><\/div>  {/if}{/foreach}  {/ps_box}<\/div>');
ps.tpls.set('footer.tpl', '<div id=\"footer\">	<div class=\"content-wrapper\">		<div class=\"column\">			<h3>About {$pdn_config.product_name}<\/h3>						<ul>				<li><a href=\"{$pdn_config.wwwroot}/about/\" rel=\"nofollow\" title=\"about this site\">About Us<\/a><\/li>				<li><a href=\"http://pressroom.{$pdn_config.product_domain}/\" rel=\"nofollow\" class=\"external\" title=\"{$pdn_config.product_name} news\" onclick=\"window.open(this.href);return false;\">News<\/a><\/li>				<li><a href=\"{$pdn_config.wwwroot}/contact/?type=advertiser\" rel=\"nofollow\" title=\"business opportunities\">Advertise<\/a><\/li>				<li><a href=\"http://jobcast.{$pdn_config.product_domain}/\" rel=\"nofollow\" class=\"external\" title=\"job opportunities\">Careers<\/a><\/li>				<li><a href=\"{$pdn_config.wwwroot}/contact/\" rel=\"nofollow\" title=\"site contact information\">Contact<\/a><\/li>								{* <li><a href=\"{$pdn_config.wwwroot}/\" rel=\"nofollow\" title=\"{$pdn_config.product_name} homepage\">Home<\/a><\/li> *}			<\/ul>		<\/div>				<div class=\"column\">			<h3>Discover<\/h3>						<ul>				<li><a href=\"{$pdn_config.pcawwwroot}\" class=\"external\" title=\"podcast alley\" onclick=\"window.open(this.href);return false;\">Podcast Alley<\/a><\/li>				<li><a href=\"{$pdn_config.pmnwwwroot}\" title=\"Music Alley\" class=\"external pmn\" target=\"_blank\">Music Alley<\/a><\/li>				<li><a href=\"{$pdn_config.wwwroot}/search_directory/\">Categories<\/a><\/li>				<li><a href=\"{$pdn_config.wwwroot}/directory/\" title=\"Show Index, Podcast Directory\">Show Index<\/a><\/li>				<li><a href=\"http://offers.mevio.com\" class=\"external\" title=\"{$pdn_config.product_name}\'s Coupons, Discounts and Promo Codes\" onclick=\"window.open(this.href);return false;\">{$pdn_config.product_name} Offers<\/a><\/li>			<\/ul>		<\/div>				<div class=\"column\">			<h3>On {$pdn_config.product_name}<\/h3>						<ul>				<li><a href=\"{$pdn_config.wwwroot}/\" title=\"{$pdn_config.product_name} Home\">Today<\/a><\/li>				<li><a href=\"{$pdn_config.wwwroot}/channels/\" title=\"Featured Channels on {$pdn_config.product_name}\">Channels<\/a><\/li>				<li><a href=\"{$pdn_config.wwwroot}/programguide/?channel_id=9\" title=\"Featured Shows on {$pdn_config.product_name}\">Video Shows<\/a><\/li>				<li><a href=\"{$pdn_config.wwwroot}/audio/?tab=audio\" title=\"Featured Audio shows on {$pdn_config.product_name}\">Audio Shows<\/a><\/li>				<li><a href=\"{$pdn_config.wwwroot}/video/\" title=\"Featured Videos on {$pdn_config.product_name}\">Videos<\/a><\/li>				<li><a href=\"{$pdn_config.wwwroot}/music/\" title=\"Featured Music on {$pdn_config.product_name}\">Music<\/a><\/li>				<li><a href=\"{$pdn_config.wwwroot}/connect/\" title=\"People on {$pdn_config.product_name}\">People<\/a><\/li>			<\/ul>		<\/div>				<div class=\"column\">			<h3>Support<\/h3>						<ul>				<li><a href=\"{$pdn_config.wwwroot}/faq/\" rel=\"nofollow\" title=\"frequently asked questions\">FAQ<\/a><\/li>				<li><a href=\"{$pdn_config.wwwroot}/terms/?view=tou\" rel=\"nofollow\" title=\"Terms of Use\" onclick=\"window.open(this.href,\'terms\',\'scrollbars=yes,resizable=yes,width=500,height=500\'); return false;\">Terms of Use<\/a><\/li>				<li><a href=\"{$pdn_config.wwwroot}/terms/?view=ip\" rel=\"nofollow\" title=\"Copyrights and Legal Info\" onclick=\"window.open(this.href,\'copy\',\'scrollbars=yes,resizable=yes,width=500,height=500\'); return false;\">Copyright<\/a><\/li>				<li><a href=\"{$pdn_config.wwwroot}/terms/?view=privacy\" rel=\"nofollow\" title=\"Privacy and Security\" onclick=\"window.open(this.href,\'privacy\',\'scrollbars=yes,resizable=yes,width=500,height=500\'); return false;\">Privacy<\/a><\/li>				<li><a href=\"{$pdn_config.wwwroot}/terms/?view=tmpolicy\" rel=\"nofollow\" title=\"Trade Mark Policies\" onclick=\"window.open(this.href,\'policy\',\'scrollbars=yes,resizable=yes,width=500,height=150\'); return false;\">TM Policy<\/a><\/li>			<\/ul>		<\/div>				<p class=\"copyright\">&copy; 2005-2009 {$pdn_config.product_name}, Inc.<\/p>		<\/div>		{if $pdn_config.server != \'production\'}{ps_repo}{/if}<\/div><!-- /#footer -->');
ps.tpls.set('media-actions.tpl', '{*	media actions*}	<ul class=\"media-actions\">		<li class=\"first btn play\">			<a href=\"{$pdn_config.action_root}/player/?action=play&amp;cId={$channel.channel_id}\" rel=\"nofollow\" title=\"play {$channel.channel_name|escape} channel\" class=\"add-to-queue play-channel\">PLAY IT<\/a>		<\/li>		<li class=\"btn get\">{ps_getit keyId=$channel.channel_id type_name=\'clchan\' }<\/li>	 	<li class=\"btn put\">{include content=$channel file=\"putit.tpl\"}<\/li>		<li class=\"last btn guide\">			<a href=\"{$pdn_config.action_root}/channels/?cId={$channel.channel_id}\" title=\"guide for {$channel.channel_name|escape}\" class=\"guide\">GUIDE<\/a>		<\/li>	<\/ul>');
ps.tpls.set('ad-fw-passive-300x250.tpl', '		<span id=\"medium_rectangle\" class=\"_fwph\">		   <form id=\"_fw_form_medium_rectangle\" style=\"display:none\">		       <input type=\"hidden\" name=\"_fw_input_medium_rectangle\" id=\"_fw_input_medium_rectangle\" value=\"w=300&h=250&envp=g_js&sflg=-nrpl;\">		   <\/form>		   <span id=\"_fw_container_medium_rectangle_companion\" class=\"_fwac\">		   <\/span>		   <span id=\"_fw_container_medium_rectangle\" class=\"_fwac\">		       <!-- LEAVE THIS AREA EMPTY -->		   <\/span>		<\/span>');
ps.tpls.set('ad-fw-active-300x250.tpl', '{* freewheel says for safety to put this on a page that cannot ever have a player, so we iframe it *}<iframe id=\'medium_rectangle_active\' src=\'{$pdn_config.wwwroot}/fw-nonplayer-banner.php?w=300&h=250&fwcsid={$tab|default:home}\' framespacing=\'0\' frameborder=\'no\' scrolling=\'no\' width=\'300\' height=\'250\' allowtransparency=\'true\'><\/iframe>');
ps.tpls.set('ad-fw-iframe-content.tpl', '<html><head><meta name=\"ROBOTS\" content=\"NOINDEX, NOFOLLOW\"><style type=\"text/css\">body {literal}{ margin: 0px; padding: 0px; }{/literal}<\/style><\/head><body><script src=\"{$freewheel_adserver_url}/ad/g/1?nw={$freewheel_network_id}&pvrn={$random_number}&csid={$site_section}&resp=ad;;ptgt=s&envp=g_js&slid=banner_{$width}_{$height}&w={$width}&h={$height}\" language=\"javascript\"><\/script><noscript><iframe src=\"{$freewheel_adserver_url}/ad/g/1?nw={$freewheel_network_id}&pvrn={$random_number}&csid={$site_section}&resp=ad;;ptgt=s&envp=g_iframe&slid=banner_{$width}_{$height}&w={$width}&h={$height}\" width=\"{$width}\" height=\"{$height}\" border=\"0\" marginwidth=\"0\" marginheight=\"0\" frameborder=\"0\" scrolling=\"no\"><\/iframe><\/noscript><\/body><\/html>');
ps.tpls.set('ad-fw-passive-728x90.tpl', '		<span id=\"leaderboard\" class=\"_fwph\">		   <form id=\"_fw_form_leaderboard\" style=\"display:none\">		       <input type=\"hidden\" name=\"_fw_input_leaderboard\" id=\"_fw_input_leaderboard\" value=\"w=728&h=90&envp=g_js&sflg=-nrpl;\">		   <\/form>		   <span id=\"_fw_container_leaderboard_companion\" class=\"_fwac\">		   <\/span>		   <span id=\"_fw_container_leaderboard\" class=\"_fwac\">		       <!-- LEAVE THIS AREA EMPTY -->		   <\/span>		<\/span>');
ps.tpls.set('dlp-search-box.tpl', '<div class=\"box-body\">	<form action=\"/search_directory/results/\" method=\"get\">		<input name=\"kw\" type=\"text\" class=\"text\" id=\"kw\">		<input type=\"submit\" value=\"search\" class=\"button search\">	<\/form><\/div>');
ps.tpls.set('getit.tpl', '	{if !$current_user.logged_in}		<a href=\"{$pdn_config.action_root}/login/#loginOverlay\" rel=\"nofollow\" title=\"Login required to use &quot;Add&quot;\" class=\"get-it-login login-link\">Add to<\/a>	{else}		{if $getIt.state == \"GetIt\"}			<a href=\"/actions/getit/#{$getIt.gid}\" rel=\"nofollow\" title=\"add to my channels\" class=\"{$class|default:\'get_it\'} toggle-with-anim toggle-overlay\">Add to<\/a>	<ul id=\"{$getIt.gid}\" class=\"menu collapsed getit_ul\">		<li class=\"title\">		{if $getIt.type_name == \'clchan\'}			<a href=\"/actions/getit/?action=getIt&amp;channelId=-1&amp;keyId={$getIt.keyId}&amp;typeName={$getIt.type_name}\" rel=\"nofollow\" title=\"subscribe to this channel\">Get This Channel<\/a>				{/if}		<\/li>		<li class=\"label\"><span>Add This 		{if $getIt.type_name == \'clchan\'}Channel{else}Show{/if}		 to...<\/span><\/li>		<li><a href=\"/actions/getit/?action=getIt&amp;channelId=0&amp;keyId={$getIt.keyId}&amp;typeName={$getIt.type_name}\" rel=\"nofollow\" title=\"add this channel to my collection\">My Collection<\/a><\/li>		{foreach item=c from=$current_user.channels.items}			<li><a href=\"/actions/getit/?action=getIt&amp;channelId={$c.channel.id}&amp;keyId={$getIt.keyId}&amp;typeName={$getIt.type_name}\" rel=\"nofollow\" title=\"add this to your {$c.channel.name} channel\">{$c.channel.name}<\/a><\/li>		{/foreach}		<li class=\"cancel\"><a href=\"/actions/getit/#{$getIt.gid}\" rel=\"nofollow\" title=\"cancel\" class=\"close\">Cancel<\/a><\/li>		<\/ul>	{/if}	{if $getIt.state == \'GotIt\'}		<a href=\"{$pdn_config.action_root}/view/?kId={$getIt.keyId}&amp;tNm={$getIt.type_name}\" title=\"more info for item\" class=\"gotit\" rel=\"nofollow\">Added<\/a>	{/if}{/if}');
ps.tpls.set('featured-audio.tpl', '{capture assign=\"title\"}<a href=\"{$pdn_config.action_root}/channels/?cId={$featuredChannels.sub_feature.channel.channel_id}\" title=\"channel guide\" class=\"guide\">Featured Audio<\/a>{/capture}{ps_box title=$title class=\'featured audio\'}	{include file=\'media-actions.tpl\' channel=$featuredChannels.sub_feature.channel}	<ul class=\"play-list audio\">	{foreach from=$featuredChannels.sub_feature.channel.items item=c name=ind}		{*FIXME: THIS IS NOT GOOD LOOPING OVER ALL JUST TO PRINT 5*}		{if $smarty.foreach.ind.index < 5}		<li>		<a href=\"/player/?action=play&amp;cId={$featuredChannels.sub_feature.channel.id}&amp;mId={$c.media.id}\" class=\"add-to-que\" title=\"play {$c.media.media_name}\" rel=\"nofollow\">			{*FIXME: this is passing i3i bad default images*}			<img src=\"{$c.media.images.tiny}\" width=\"34\" height=\"34\" alt=\"{$c.media.media_name} thumbnail\" title=\"{$c.media.media_name}\" >			{$c.media.media_name|truncate:30:\'...\':true}<\/a>		<\/li>		{/if}	{/foreach}	<\/ul>{/ps_box}');
ps.tpls.set('channel-list.tpl', '{if !$is_homepage}	{capture assign=\"title\"}	<a href=\"{$pdn_config.action_root}/channels/?cId={$channel.channel.channel_id}\" class=\"guide\" title=\"channel guide for {$channel.channel.channel_name|escape}\">{$channel.channel.channel_name|escape|truncate:26:\'\':true}<\/a>	{/capture}{else}	{capture assign=\"title\"}{/capture}{/if}{if $extradiv != \'\'}	{capture assign=\"box_div_name\"}channel-list {$extradiv}{/capture}{else}	{capture assign=\"box_div_name\"}channel-list{/capture}{/if}{ps_box title=$title class=$box_div_name}	{if $is_homepage}		<h2 class=\"channel-title mevio-{$smarty.foreach.foo.iteration}\">		<a href=\"{$pdn_config.action_root}/channels/?cId={$channel.channel.channel_id}\" 		rel=\"nofollow\">:{$channel.channel.channel_name}<\/a><\/h2>	{/if}	<div class=\"playchannel\">		<a href=\"{$pdn_config.action_root}/channels/?cId={$channel.channel.channel_id}\" rel=\"nofollow\">Play today\'s channel<\/a>	<\/div>	<ul class=\"media-items\">		{foreach item=c from=$channel.channel.items name=chan_list}		{if $smarty.foreach.chan_list.index < 6}				<li><a href=\"{$c.media.link}\" rel=\"nofollow\" id=\"pl-{$c.media.id}-{$item_row}-{$c.media.parent_id}\" class=\"add-to-queue playbtn\" style=\"visibility:hidden\" onmouseover=\"pb(\'pl-{$c.media.id}-{$item_row}-{$c.media.parent_id}\',\'visible\');\">play this<\/a>		<a class=\"add-to-queue channel-img-link\" href=\"{$c.media.link}\" rel=\"nofollow\" title=\"play {$channel.channel_name|escape} and que up {$c.media.media_name}\" onmouseover=\"pb(\'pl-{$c.media.id}-{$item_row}-{$c.media.parent_id}\',\'visible\');\" onmouseout=\"pb(\'pl-{$c.media.id}-{$item_row}-{$c.media.parent_id}\',\'hidden\');\">		<img class=\"{$pdn_config.img_valign_class}\" id=\'chanListThumb-{$c.media.id}\' alt=\"{$c.media.media_name}\" title=\"{$c.media.media_name}\"><\/a>		<script type=\"text/javascript\">{literal}ps.dom.imgSwap.set(\'chanListThumb-{/literal}{$c.media.id}{literal}\', \'{/literal}{$c.media.images.200x112|default:$pdn_config.default_images.shows.thumbs}{literal}\');{/literal}<\/script>		        <p class=\"media-name\">        <strong>SHOW:<\/strong>         <a href=\"{$c.media.parent_link}\" class=\"profile-link\" title=\"{$link_title} for {$c.media.media_name}\">{$c.media.parent_name|truncate:26:\'\':true}<\/a><\/p>        <p>{$c.media.name|truncate:60:\'\':true}<\/p><\/li>        		{/if}		{/foreach}	<\/ul>	<div class=\"more-channels-link\">		<a href=\"{$pdn_config.action_root}/channels/?cId={$channel.channel.channel_id}\">More from this Channel<\/a>	<\/div>{/ps_box}');
ps.tpls.set('twitter-search.tpl', '<div id=\"twitter-results\">	<ul class=\"results-list\">		{foreach from=$twitter.results item=\"hit\" name=\"twitter-hits\"}			<li>			<div class=\"results-thumb\">				<img src=\"{$hit.profile_image_url}\" width=\"48\" alt=\"{$hit.from_user} on Twitter\">			<\/div>						<div class=\"results-text\">				<p class=\"tweet-msg\"><a target=\"_twitter\" href=\"http://twitter.com/{$hit.from_user}\">{$hit.from_user}<\/a>: {$hit.html}<\/p>				<p class=\"tweet-info\">{$hit.created_at_pretty} <span class=\"source\">from {$hit.source_html}<\/span> &#183; <a target=\"_twitter\" href=\"http://twitter.com/home?status=@{$hit.from_user}%20&in_reply_to_status_id={$hit.id}&in_reply_to={$hit.from_user}\">Reply<\/a> &#183; <a target=\"_twitter\" href=\"http://twitter.com/{$hit.from_user}/statuses/{$hit.id}\">View Tweet<\/a><\/p>			<\/div><\/li>		{/foreach}	<\/ul><\/div><!-- twitter-results -->');
ps.tpls.set('ad-fw-active-120x600.tpl', '<iframe id=\'medium_rectangle_active\' src=\'{$pdn_config.wwwroot}/fw-nonplayer-banner.php?w=120&h=600&fwcsid={$tab|default:home}\' framespacing=\'0\' frameborder=\'no\' scrolling=\'no\' width=\'120\' height=\'600\' allowtransparency=\'true\'><\/iframe>');
ps.tpls.set('ad-728x90.tpl', '{if $force_active}	{ps_include id=\"ad-728x90\" tab=\"home\" file=\"ad-fw-active-728x90.tpl\"}{else}	{if $media && $media.media_urls.flv}		{ps_include id=\"ad-728x90\" file=\"ad-fw-passive-728x90.tpl\"}	{else}		{ps_include id=\"ad-728x90\" tab=\"home\" file=\"ad-fw-active-728x90.tpl\"}	{/if}{/if}');
ps.tpls.set('admin-info.tpl', '<div id=\"admin-info\">	{*admin info ... include? move to footer?*}	<ul class=\"user stats\">		<li>{$admin_stats.online_registered} Registered Users<\/li>		<li>{$admin_stats.online_logged_in} <a href=\"/admin/online.php\">Logged in<\/a> out of {$admin_stats.online_all} online<\/li>		<li>Total PS+ User count {$admin_stats.total_users}<\/li>		<li><a href=\"/admin/\" title=\"admin pages\">Admin Pages<\/a><\/li>	<\/ul>	{if $admin_stats.TEMP_anonymous_users_online_testing}	<p>Total Sessions:<\/p>		{$admin_stats.TEMP_anonymous_users_online_testing}	<p>Users online:<\/p>	{$admin_stats.TEMP_users_online_testing}	{/if}	<p class=\"save-profle\">Save as default<\/p><\/div>');
ps.tpls.set('popup-simple.tpl', '<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\"><html><head>  <script type=\"text/javascript\">    __ps_load_t = (new Date).getTime();  <\/script>	<meta http-equiv=\"Content-type\" content=\"text/html; charset=utf-8\">	<title>{$title|default:$pdn_config.product_name}<\/title>	<meta name=\"description\" content=\"{$description|default:\'podshow media network\'}\">	<meta name=\"keywords\" content=\"{$keywords|default:\'podshow, podcasting, media, video, people, shows, channels\'}\">	<meta name=\"author\" content=\"{$pdn_config.product_name}\">	<meta name=\"generator\" content=\"{$pdn_config.product_name} V5\">	<link rel=\"P3Pv1\" href=\"{$pdn_config.action_root}/w3c/p3p.xml\" type=\"text/xml\">	<link rev=\"made\" href=\"mailto:webmaster@{$pdn_config.product_domain}\">	<meta name=\"author\" content=\"webmaster@{$pdn_config.product_domain}\">	<link rel=\"search\" type=\"application/opensearchdescription+xml\" href=\"/search/opensearch_desc.php\" title=\"{$pdn_config.product_name}\" >	<link rel=\"copyright\" href=\"{$pdn_config.action_root}/terms/?view=copyright\">	<meta name=\"dmoz.id\" content=\"Computers/Internet/On_the_Web/Podcasts\" >	<meta name=\"robots\" content=\"{$robots|default:\'all\'}\" >	<link href=\"{$pdn_config.static_product_root}/favicon.ico\" rel=\"shortcut icon\" title=\"Site Icon\" type=\"image/x-icon\" >	<link href=\"{$pdn_config.static_product_root}/favicon.ico\" rel=\"icon\" title=\"Site Icon\" type=\"image/x-icon\" >	<link rel=\"apple-touch-icon\" href=\"{$pdn_config.static_product_root}/apple-touch-icon.png\" type=\"image/png\" title=\"Site Icon\">	<!--[if IE]><meta http-equiv=\"imagetoolbar\" content=\"no\" ><![endif]-->	{ps_styles files=\"main, functional\" ie6=\"ie6-fixes\"}	{if $pdn_config.product === \'uk\'}{ps_styles files=\"functional-uk\"}{/if}	{if $module_css}{ps_styles files=$module_css}{/if}	{if $listener_css}	<style type=\"text/css\" title=\"Custom Style\">		/* more specificity for custom css */		@import url({$listener_css});	<\/style>	{/if}	{if $pdn_config.product != \'uk\'}{* TODO: make this better *}	{literal}<style type=\"text/css\">#header .advert {margin-left:250px;}<\/style>{/literal}	{/if}	{if $module_feeds}{ps_autodiscovery feeds=$module_feeds}{/if}	{include file=\"google_analytics.tpl\"}	{ps_scripts files=\"utils, effects, message, tpl, tpl-extras, analytics, app, plugins, swfobject/swfobject, AC_QuickTime, fwjslib\"}			<script type=\"text/javascript\" charset=\"utf-8\">{literal}	  (function() {{/literal}var a_root = \"{$pdn_config.action_root}/\";{literal}ps.dom.classname.add(document.documentElement,\'js\');ps.data.add_type({type:\"media\", uri:a_root, id: \"mId\"});ps.data.add_type({type:\"channel\", uri:a_root, id: \"cId\"});ps.data.add_type({type:\"show\", uri:a_root, id: \"sId\"});ps.data.add_type({type:\"ext\", uri:a_root, id: \"extId\"});ps.data.add_type({type:\"artist\", uri:a_root, id: \"aId\"});ps.data.add_type({type:\"song\", uri:a_root, id: \"songId\"});ps.data.add_type({type:\"misc\", uri:a_root, id: \"miscId\"});ps.data.add_type({type:\"video\", uri:a_root, id: \"vidId\"});ps.data.add_type({type:\"episode\", uri:a_root, id: \"eId\"});ps.data.add_type({type:\"extepisode\", uri:a_root, id: \"exteId\"});ps.data.add_type({type:\"playlist\", uri:a_root, id: \"playId\", alias:[\"channel\", \"show\", \"artist\", \"misc\",\"video\", \"ext\"]});})(){/literal}	<\/script><\/head><body class=\"{if $listener_css}custom{/if} {if $player_maximized}player-maximized{/if}\">	<noscript><p class=\"notice\">This site requires JavaScript to function. Please enable JavaScript in your browser\'s settings.<\/p><\/noscript>	<div id=\"wrapper\" {if $pdn_config.product === \'uk\'}class=\"btpodshow\"{/if}>		<div id=\"content\" class=\"hp-content\">		{foreach from=$pages item=page name=pages}				{include file=$page}		{/foreach}		<\/div>{*/#content*}	<\/div>{*/#wrapper*}	{ps_omniture}	{include file=\"login-overlay.tpl\"}	<script>ps.google.track_page_view();<\/script>	{ps_js_init}<\/body><\/html>');
ps.tpls.set('popup-main.tpl', '<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\"><html class=\"popup\"><head>  <script type=\"text/javascript\">    __ps_load_t = (new Date).getTime();  <\/script>	<meta http-equiv=\"Content-type\" content=\"text/html; charset=utf-8\">	<title>{$title|default:$pdn_config.product_name}<\/title>	<meta name=\"description\" content=\"{$description|default:\'podshow media network\'}\">	<meta name=\"keywords\" content=\"{$keywords|default:\'podshow, podcasting, media, video, people, shows, channels\'}\">	<meta name=\"author\" content=\"{$pdn_config.product_name}\">	<meta name=\"generator\" content=\"{$pdn_config.product_name} V5\">	<link rel=\"P3Pv1\" href=\"{$pdn_config.action_root}/w3c/p3p.xml\" type=\"text/xml\">	<link rev=\"made\" href=\"mailto:webmaster@{$pdn_config.product_domain}\">	<meta name=\"author\" content=\"webmaster@{$pdn_config.product_domain}\">	<link rel=\"search\" type=\"application/opensearchdescription+xml\" href=\"/search/opensearch_desc.php\" title=\"{$pdn_config.product_name}\" >	<link rel=\"copyright\" href=\"{$pdn_config.action_root}/terms/?view=copyright\">	<meta name=\"dmoz.id\" content=\"Computers/Internet/On_the_Web/Podcasts\" >	<meta name=\"robots\" content=\"{$robots|default:\'all\'}\" >	<link href=\"{$pdn_config.static_product_root}/favicon.ico\" rel=\"shortcut icon\" title=\"Site Icon\" type=\"image/x-icon\" >	<link href=\"{$pdn_config.static_product_root}/favicon.ico\" rel=\"icon\" title=\"Site Icon\" type=\"image/x-icon\" >	<link rel=\"apple-touch-icon\" href=\"{$pdn_config.static_product_root}/apple-touch-icon.png\" type=\"image/png\" title=\"Site Icon\">	<!--[if IE]><meta http-equiv=\"imagetoolbar\" content=\"no\" ><![endif]-->	{ps_styles files=\"main, functional\" ie6=\"ie6-fixes\"}	{if $pdn_config.product === \'uk\'}{ps_styles files=\"functional-uk\"}{/if}	{if $module_css}{ps_styles files=$module_css}{/if}	{if $listener_css}	<style type=\"text/css\" title=\"Custom Style\">		/* more specificity for custom css */		@import url({$listener_css});	<\/style>	{/if}	{if $pdn_config.product != \'uk\'}{* TODO: make this better *}	{literal}<style type=\"text/css\">#header .advert {margin-left:250px;}<\/style>{/literal}	{/if}	{if $module_feeds}{ps_autodiscovery feeds=$module_feeds}{/if}	{include file=\"google_analytics.tpl\"}	{ps_scripts files=\"utils, effects, message, tpl, tpl-extras, analytics, app, plugins, swfobject/swfobject, AC_QuickTime, fwjslib, player\"}		        {assign var=popup value=true}	<script type=\"text/javascript\" charset=\"utf-8\">{literal}	  (function() {{/literal}ps.tpls.add_to_globals(\'popup\', {$popup});var a_root = \"{$pdn_config.action_root}/\";{literal}ps.dom.classname.add(document.documentElement,\'js\');ps.data.add_type({type:\"media\", uri:a_root, id: \"mId\"});ps.data.add_type({type:\"channel\", uri:a_root, id: \"cId\"});ps.data.add_type({type:\"show\", uri:a_root, id: \"sId\"});ps.data.add_type({type:\"ext\", uri:a_root, id: \"extId\"});ps.data.add_type({type:\"artist\", uri:a_root, id: \"aId\"});ps.data.add_type({type:\"song\", uri:a_root, id: \"songId\"});ps.data.add_type({type:\"misc\", uri:a_root, id: \"miscId\"});ps.data.add_type({type:\"video\", uri:a_root, id: \"vidId\"});ps.data.add_type({type:\"episode\", uri:a_root, id: \"eId\"});ps.data.add_type({type:\"extepisode\", uri:a_root, id: \"exteId\"});ps.data.add_type({type:\"playlist\", uri:a_root, id: \"playId\", alias:[\"channel\", \"show\", \"artist\", \"misc\",\"video\", \"ext\"]});})(){/literal}	<\/script><\/head><body class=\"{if $listener_css}custom{/if} {if $player_maximized}player-maximized{/if}\">	<noscript><p class=\"notice\">This site requires JavaScript to function. Please enable JavaScript in your browser\'s settings.<\/p><\/noscript>	<div id=\"wrapper\" {if $pdn_config.product === \'uk\'}class=\"btpodshow\"{/if}>		<div id=\"content\" class=\"hp-content\">		{foreach from=$pages item=page name=pages}				{include file=$page}		{/foreach}		<\/div>{*/#content*}	<\/div>{*/#wrapper*}	{ps_omniture}	{include file=\"login-overlay.tpl\"}	<script>ps.google.track_page_view();<\/script>	{ps_js_init}<\/body><\/html>');
ps.tpls.set('user_avatar.tpl', '{*	Comment Avatar Template *}<div class=\"vcard\">	<a href=\"{$user.profile_url}\" rel=\"friend\" title=\"{$user.name}\'s profile\" class=\"url\">		<img src=\"{$user.avatar}\" width=\"70\" height=\"70\" alt=\"{$user.name} image\" title=\"{$user.name} image\" class=\"photo\">		<span class=\"fn nickname\">{$user.name}<\/span>	<\/a><\/div>');
ps.tpls.set('putit.tpl', '{if $content && $content.feed_urls}{capture assign=\"ulid\"}put-it-{$content.id}{/capture}<a href=\"#{$ulid}\" title=\"offline subscription options for {$content.name|escape}\" class=\"{$class|default:\'put_it\'} toggle-with-anim toggle-overlay putit\">rss<\/a><ul id=\"{$ulid}\" class=\"menu collapsed putit\">	<li class=\"label\">Put This On My ... <\/li>{foreach from=$content.feed_urls item=feed key=type}	<li class=\"{$type}\"><a href=\"{$feed.url}\" title=\"subscribe to {$type} Feed for this channel\" >{$feed.name}<\/a><\/li>{/foreach}	<li class=\"cancel\"><a href=\"#{$ulid}\" title=\"cancel\" class=\"close\">Cancel<\/a><\/li><\/ul>{/if}');
ps.tpls.set('upload-notice.tpl', '<div class=\"content-wrapper\">	<p><a href=\"/myshows/?mode=uploader_sessions\"><strong>NOTICE<\/strong>	{if $current_user.unfinished_uploads == 1}		It seems you have an unfinished upload session.	{else}		It seems you have {$current_user.unfinished_uploads} unfinished upload sessions.	{/if}	Click here for more information.<\/a><\/p><\/div>');
ps.tpls.set('header-login-part.tpl', '<ul class=\"user-options\">	{if $current_user.logged_in}		<li class=\"dropdown-wrapper top-level open-left me-link\">		<a href=\"#user-menu\" class=\"top-level-link\" onmouseover=\"ps.jshover.initialize(this,\'me-menu-list\')\">		<img src=\"{$current_user.owned_personas.0.image_urls.tiny}\" width=\"25\" height=\"25\" alt=\"{$current_user.active_persona.name}\'s avatar\">		<span>{$current_user.display_name|truncate:10:\"\":true}<\/span><\/a>		<ul id=\"me-menu-list\" class=\"dropdown-menu level-one\">			<li><a href=\"{$current_user.owned_personas.0.profile_url|default:\'/login/#loginOverlay\'}\" rel=\"nofollow\" class=\"{$class}\" 			title=\"access my profile\">Profile<\/a><\/li>			<li><a href=\"{$pdn_config.wwwroot}/mc/?activePersona={$current_user.username}\" class=\"{$class}\" rel=\"nofollow\" 			title=\"edit your profile\">Settings<\/a><\/li>			<li class=\"dropdown-wrapper\">			<a href=\"#shows-menu\" class=\"dropdown-link\" onmouseover=\"ps.jshover.initialize(this,\'shows-menu\')\">Shows<\/a>			<ul id=\"shows-menu\" class=\"dropdown-menu level-two shows\">				{foreach from=$current_user.owned_personas item=persona}				{if $persona.type == \'SHOW\'}				{if $persona.status == \'Y\' }					<li class=\"persona\">					{capture assign=action}{$pdn_config.wwwroot}/mc/change/?personaId={$persona.id}&amp;back={$pdn_config.wwwroot}/mc/{/capture}					{capture assign=action_id}persona-{$persona.id}{/capture}					<a href=\"{$pdn_config.wwwroot}/mc/change/?personaId={$persona.id}&amp;back={$pdn_config.wwwroot}/mc/\" title=\"edit {$persona.name}\"><img src=\"{$persona.image_urls.tiny}\" alt=\"{$persona.name} avatar\" width=\"25\" height=\"25\" title=\"{$persona.name}\" class=\"avatar med\">{$persona.name}<\/a>					<\/li>				{/if}				{/if}				{/foreach}			<\/ul>			<\/li>			{if $current_user.facebook_id != \"0\"}				<li id=\"facebook_logout_link_holder\"><a id=\"facebook_logout_link\" onclick=\"ps.facebook.logout();\">Sign Out<\/a><\/li>			{else}				<li><a id=\"sign-out\" href=\"/login/?mode=logout\">Sign Out<\/a><\/li>			{/if}		<\/ul><\/li>		{if $current_user.facebook_id > 0}			<li id=\"facebook_profile_button_holder\">			<a style=\"facebook-profile\" id=\"facebook_profile_button\" href=\"http://www.facebook.com/profile.php?id={$current_user.facebook_id}\" target=\"_blank\" alt=\"Facebook Profile\">Facebook<\/a><\/li>		{/if}	{else}		{if $que && $media}			{capture assign=\"signup_uri_part\"}?mId={$media.id}&amp;{$que.key}={$que.id}{/capture}		{/if}		<li class=\"button-link\">		<a href=\"/login/#loginOverlay\" title=\"sign in\" class=\"login-link\" id=\"login-link\" rel=\"nofollow\">Sign in<\/a>		{if $que && $media}			{capture assign=\"signup_uri_part\"}?mId={$media.id}&amp;{$que.key}={$que.id}{/capture}		{/if}<\/li>		<li class=\"button-link\"><a href=\"/signup/{$signup_uri_part}\" title=\"join\" rel=\"nofollow\">Join<\/a><\/li>	{/if}	{if !$current_user.logged_in || $current_user.facebook_id == 0}		<li class=\"button-link facebook-connect\" onclick=\"ps.facebook.connect();\"><span title=\"Facebook Connect\">Connect<\/span><\/li>	{/if}<\/ul>');
ps.tpls.set('bubble-content.tpl', '  <div class=\"bubble-pointer\"><\/div>  <h1 class=\"bubble-show-title\">{$media.parent_name|truncate:30:\'\':true}<\/h1>  <h2 class=\"bubble-episode-title\">{$media.media_name|truncate:35:\'\':true}<\/h2>  <p class=\"bubble-media-descrip\">{$media.media_desc|truncate:168:\'\':true}<\/p>  <div class=\"bubble-genre\"><strong>genre:<\/strong> {$media.genres.0.0}<\/div>  <div class=\"bubble-type\"><strong>type:<\/strong> {$media.av}<\/div>');
ps.tpls.set('header-upload.tpl', '{* 	HEADER UPLOAD MENU DROPDOWN*}<a href=\"{if $current_user.logged_in}{$pdn_config.wwwroot}/myshows/?mode=episode_uploader{else}{$pdn_config.wwwroot}/upload/{/if}\" title=\"Upload shows and videos to {$pdn_config.product_name}\">Upload<\/a>{*Removed from link above:{if $current_user.logged_in}onmouseover=\"ps.jshover.initialize(this,\'main-upload-menu\')\"{/if}{if $current_user.logged_in}<ul id=\"main-upload-menu\" class=\"dropdown-menu level-one\">{foreach from=$current_user.owned_personas item=persona}{if $persona.type == \'SHOW\'}{if $persona.status == \'Y\'}	<li class=\"upload-shows\">		<a href=\"{$pdn_config.wwwroot}/myshows/?mode=episode_uploader&amp;sId={$persona.reference_id}\" title=\"upload to this show\">			<img src=\"{$persona.image_urls.tiny}\" alt=\"{$persona.name} avatar\" width=\"25\" height=\"25\" title=\"{$persona.name}\" class=\"avatar med\">			{$persona.name}<\/a>	<\/li>{/if}{/if}{/foreach}	<li class=\"create-show\"><a href=\"{$pdn_config.wwwroot}/myshows/?mode=new_show\" title=\"create new show\">create new show ...<\/a><\/li><\/ul>{/if}*}');
ps.tpls.set('recaptcha.tpl', '<script type=\"text/javascript\">{literal}	/* making it explicitly global causes problems in IE7; will soon probably have to find a solution for client side rendering */	RecaptchaOptions = {		theme: \'custom\',		lang: \'en\',		custom_theme_widget: \'recaptcha_widget\'	};{/literal}<\/script>{* leave the class names used below as they are; they are used by the captcha JS *}{* this is required to have the inline style display none *}<div id=\"recaptcha_widget\" style=\"display:none\">	<div id=\"recaptcha_image\"><\/div>	<div class=\"recaptcha_only_if_incorrect_sol\">Incorrect please try again<\/div>		<span class=\"recaptcha_only_if_image recaptcha_label\">Enter the words above:<\/span>	<span class=\"recaptcha_only_if_audio recaptcha_label\">Enter the words you hear:<\/span>		<input type=\"text\" id=\"recaptcha_response_field\" name=\"recaptcha_response_field\" />		<div class=\"recaptcha_controls\">		<a href=\"javascript:Recaptcha.reload()\">Refresh CAPTCHA<\/a>		|		<span class=\"recaptcha_only_if_image\">			<a href=\"javascript:Recaptcha.switch_type(\'audio\')\">Try audio CAPTCHA<\/a><\/span>		<span class=\"recaptcha_only_if_audio\">			<a href=\"javascript:Recaptcha.switch_type(\'image\')\">Try image CAPTCHA<\/a><\/span>		|		<a href=\"javascript:Recaptcha.showhelp()\">Help<\/a><\/div>			<div class=\"recaptcha_aknowledge\">		reCAPTCHA&trade;<\/div><\/div>{$recaptchaHTML}');
ps.tpls.set('ad-120x600.tpl', '{* there is no paswsive banner at this size *}{ps_include id=\"ad-120x600\" tab=\"home\" file=\"ad-fw-active-120x600.tpl\"}');
ps.tpls.set('pager_pages.tpl', '<div class=\"page-numbers pager_{$positionClass}\">	<span class=\"pager-info\">		Viewing: {$pager_data.start}-{$pager_data.end} out of {$pager_data.total}		Page {$pager_data.page} of {$pager_data.total_pages}	<\/span>		<div class=\"page-list\">		{if $pager_data.prev_set_url}			<a href=\"{$pager_data.prev_set_url}#{$pager_data.target}\" 			class=\"innerhtml-{$pager_data.content_tpl} first-link\"><\/a>		{/if}				{if $pager_data.prev_url}			<span><a href=\"{$pager_data.prev_url}#{$pager_data.target}\" 			class=\"innerhtml-{$pager_data.content_tpl} prev-link\">Prev<\/a><\/span>		{/if}		{foreach item=p from=$pager_data.pages}			{if $p.page == $pager_data.page}				<span class=\"selected\">{$p.page}<\/span>			{else}				<span><a href=\"{$p.url}#{$pager_data.target}\" 				class=\"innerhtml-{$pager_data.content_tpl} page-link\">{$p.page}<\/a><\/span>			{/if}		{/foreach}		{if $pager_data.next_url}			<span><a href=\"{$pager_data.next_url}#{$pager_data.target}\" 			class=\"innerhtml-{$pager_data.content_tpl} next-link\">Next<\/a><\/span>		{/if}		{if $pager_data.next_set_url}			<a href=\"{$pager_data.next_set_url}#{$pager_data.target}\" 			class=\"innerhtml-{$pager_data.content_tpl} last-link\"><\/a>		{/if}	<\/div><\/div>');
ps.tpls.set('featured-channel.tpl', '{capture assign=\"title\"}<a href=\"{$pdn_config.action_root}/channels/?cId={$featuredChannels.featured.channel.channel_id}\" title=\"channel guide\" class=\"guide\">Featured Channel<\/a>{/capture}{ps_box title=$title class=\'featured channel\'}	{include file=\'media-actions.tpl\' channel=$featuredChannels.featured.channel}	<div class=\"details \">		<a href=\"{$pdn_config.action_root}/player/?action=play&amp;cId={$featuredChannels.featured.channel.channel_id}\" rel=\"nofollow\" class=\"add-to-queue featuredlink\" title=\"Play \">			<img src=\"{$featuredChannels.featured.channel.channel_image|default:$pdn_config.default_images.shows.thumbs}\" alt=\"{$featuredChannels.featured.channel.channel_name|escape} channel image\" class=\"feature-channel\" >		<\/a>		<p class=\"title\">			<a href=\"{$pdn_config.action_root}/player/?action=play&amp;cId={$featuredChannels.featured.channel.channel_id}\" rel=\"nofollow\" title=\"Play \">				{$featuredChannels.featured.channel.channel_name|escape}<\/a><\/p>		<p class=\"description\">{$featuredChannels.featured.channel.desc|truncate:100:\'...\':true}<\/p>	<\/div>{/ps_box}');
ps.tpls.set('header-basic.tpl', '{*	HEADER - BASIC TPL	no nav, only branding*}<div id=\"header\">	<div class=\"masthead\">		<h1 class=\"branding\"><a href=\"/\" title=\"{$pdn_config.product_name} Home\">{$pdn_config.product_name}<\/a><\/h1>	<\/div><!--/.masthead--><\/div>');
ps.tpls.set('media-description.tpl', '{* $parent is show or channel or whater else that was passed as parent to this tpl *}{capture assign=\"boxid\"}show-detail{/capture}{ps_box title=\"DESCRIPTION\" id=$boxid}{* some of our data has owner as array some of it as hash WTF! *}{if $parent.owner.0}{assign var=owner value=$parent.owner.0}{else}{assign var=owner value=$parent.owner}{/if}{*include file=\'media-actions.tpl channel=$parent*}{* this is stupid *}{*this should be using media-actions.tpl but its different for now*}	<ul class=\"media-actions\">		<li class=\"first btn play\">			<a href=\"{$pdn_config.action_root}/player/?action=play&{$parent.key}={$parent.id}&amp;mId={$media.media_id}\" class=\"add-to-queue play-channel\" rel=\"nofollow\">PLAY IT<\/a><\/li>		<li class=\"btn get\">{ps_getit keyId=$parent.id type_name=$parent.type_name}<\/li>		<li class=\"btn put\">{include content=$parent file=\"putit.tpl\"}<\/li>		<li class=\"btn website\"><a href=\"{$owner.profile_url}\" {if $popup} onclick=\"window.open(this.href);return false;\"{/if} class=\"guide\" {if $owner.url_target}target={$owner.url_target}{/if}>WEBSITE<\/a><\/li>	<\/ul>	<div class=\"show-img\">		<a href=\"{$owner.profile_url}\" title=\"{$media.parent_name} image\"> 			{capture assign=\"default_thumb_alt\"}{$media.parent_name} {$parent.type} image{/capture}			<img src=\"{$media.thumb|default:$pdn_config.default_images.profile.thumbs}\" alt=\"{$media.thumb_alt|default:$default_thumb_alt}\" width=\"70\" height=\"70\"><\/a>	<\/div>	<h3 class=\"vcard\"><a href=\"{$owner.profile_url}\" title=\"{$media.parent_name}\" class=\"url fn nickname\">{$media.parent_name}<\/a><\/h3>	{if $parent.type == \'channel\'}	<p class=\"show_description\">{$media.desc|strip_tags:false|truncate:475:\'...\':true}<\/p>	{else}	<p class=\"show_description\">{$parent.desc|strip_tags:false|truncate:475:\'...\':true}<\/p>	{/if}{/ps_box}');
ps.tpls.set('ad-345x592.tpl', '{* there is no paswsive banner at this size *}{ps_include id=\"ad-345x592\" tab=\"home\" file=\"ad-fw-active-345x592.tpl\"}');
ps.tpls.set('ad-fw-active-728x90.tpl', '{* freewheel says for safety to put this on a page that cannot ever have a player, so we iframe it *}<iframe id=\'leaderboard_active\' src=\'{$pdn_config.wwwroot}/fw-nonplayer-banner.php?w=728&h=90&fwcsid={$tab|default:home}\' framespacing=\'0\' frameborder=\'no\' scrolling=\'no\' width=\'728\' height=\'90\' allowtransparency=\'true\'><\/iframe>');
ps.tpls.set('ad-300x250.tpl', '<div class=\"block square-ad\">{if $force_active}	{ps_include id=\"ad-300x250\" tab=\"home\" file=\"ad-fw-active-300x250.tpl\"}{else}	{if $media && $media.media_urls.flv}		{ps_include id=\"ad-300x250\" file=\"ad-fw-passive-300x250.tpl\"}	{else}		{ps_include id=\"ad-300x250\" tab=\"home\" file=\"ad-fw-active-300x250.tpl\"}	{/if}{/if}<\/div>');
ps.tpls.set('google_analytics.tpl', '	<script type=\"text/javascript\">{literal}		var gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");		document.write(unescape(\"%3Cscript src=\'\" + gaJsHost + \"google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E\"));	{/literal}<\/script>	{if $pdn_config.googleAnalyticsTrackingCode != \'\'}<script type=\"text/javascript\">{literal}		try {			{/literal}var trackingCode = \"{$pdn_config.googleAnalyticsTrackingCode}\";{literal}			var pageTracker = _gat._getTracker(trackingCode);			pageTracker._setDomainName(\".mevio.com\"); // this allows us to track mevio subdomains within one profile		} catch(err) {}	{/literal}<\/script>		{/if}');
ps.tpls.set('sub-nav.tpl', '{if $current_user.logged_in}	<div id=\"user-menu-container\" class=\"collapsed content-wrapper\">		{* Me sub-nav *}		<ul id=\"user-menu-wrapper\">			<li class=\"dropdown-link\"><a href=\"#user-menu\" class=\"toggle-with-anim\">{$current_user.active_persona.name}<\/a>			<div id=\"user-menu\" class=\"dropdown-menu collapsed\">				<h2>Switch profile to:<\/h2>				<ul class=\"personas\">					{foreach from=$current_user.owned_personas item=persona}					{if $persona.status == \'Y\' }					<li class=\"persona\">					{capture assign=action}{$pdn_config.wwwroot}/mc/change/?personaId={$persona.id}&amp;back={$current_url}{/capture}					{capture assign=action_id}persona-{$persona.id}{/capture}					<a href=\"{$pdn_config.wwwroot}/mc/change/?personaId={$persona.id}&amp;back={$current_url}\" title=\"switch to {$persona.name}\'s profile\"><img src=\"{$persona.image_urls.tiny}\" alt=\"{$persona.name} avatar\" title=\"{$persona.name}\" class=\"avatar med\"><\/a>					<a href=\"{$pdn_config.wwwroot}/mc/change/?personaId={$persona.id}&amp;back={$current_url}\" title=\"switch to {$persona.name}\'s profile\" class=\"text-link\">{$persona.name}<\/a>					<\/li>					{/if}					{/foreach}										<li class=\"cancel\"><a href=\"#user-menu\" title=\"cancel\" class=\"close\">Cancel<\/a><\/li>				<\/ul>			<\/div><\/li>						<li><a href=\"{$pdn_config.wwwroot}/mc/{$target}\" class=\"{$class}\" rel=\"nofollow\" title=\"{$title}edit your profile\">Edit<\/a><\/li>						<li><a href=\"{$current_user.active_persona.profile_url|default:\'/login/#loginOverlay\'}\" rel=\"nofollow\" class=\"{$class}\" title=\"{$title}access my profile\">Profile<\/a><\/li>						<li><a href=\"{$pdn_config.wwwroot}/u2u/{$target}\" class=\"{$class}\" rel=\"nofollow\" title=\"{$title}access my inbox\">Inbox<\/a><\/li>						<li class=\"dropdown-link\"><a href=\"#alert-menu\" class=\"toggle-with-anim {if $current_user.alerts.has_alerts}on{/if}\">{if $current_user.alerts.has_alerts}New Alerts!{else}Alerts{/if}<\/a>			<div id=\"alert-menu\" class=\"dropdown-menu collapsed\">				<h2>Alert:<\/h2>				<ul>					<li><a href=\"#alert-digs-detail\" class=\"toggle-with-anim\" title=\"expand dig alerts\">					<strong class=\"new\">New<\/strong> digs: {$current_user.alerts.summary.dig_total}<\/a>					<ul id=\"alert-digs-detail\" class=\"collapsed\">						<li><a href=\"{$pdn_config.wwwroot}/mc/digs/?control=Digs&amp;action=editDigs&amp;digMode=dig-me&amp;activePersona={$current_user.username}\" title=\"edit digs\">					    <strong class=\"new\">New<\/strong> dig me: {$current_user.alerts.digme.alerts}<\/a><\/li>						<li><a href=\"{$pdn_config.wwwroot}/mc/digs/?control=Digs&amp;action=editDigs&amp;digMode=entourage&amp;activePersona={$current_user.username}\" title=\"edit entourage\">						<strong class=\"new\">New<\/strong> entourage: {$current_user.alerts.entourage.alerts}<\/a><\/li>					<\/ul><\/li>					<li><a href=\"#alert-comment-detail\" class=\"toggle-with-anim\" title=\"expand comment alerts\">new comments: {$current_user.alerts.summary.comments_total}<\/a>					<ul id=\"alert-comment-detail\" class=\"collapsed\">						<li><a href=\"{$pdn_config.wwwroot}/mc/comments/?control=comments_blog&amp;action=default\" title=\"view blog comments\">						<strong class=\"new\">New<\/strong> blog comments: {$current_user.alerts.blog_comments.alerts}<\/a><\/li>						<li><a href=\"{$pdn_config.wwwroot}/mc/comments/?control=comments_gallery&amp;action=default&amp;activePersona={$current_user.username}\" title=\"view gallery coments\">						<strong class=\"new\">New<\/strong> gallery comments: {$current_user.alerts.gallery_comments.alerts}<\/a><\/li>						<li><a href=\"{$pdn_config.wwwroot}/mc/comments/?control=comments_profile&amp;action=default&amp;activePersona={$current_user.username}\" title=\"view profile comments\">						<strong class=\"new\">New<\/strong> profile comments: {$current_user.alerts.profile_comments.alerts}<\/a><\/li>						<li><a href=\"{$pdn_config.wwwroot}/mc/comments/?control=comments_video&amp;action=default&amp;activePersona={$current_user.username}\" title=\"view video comments\">						<strong class=\"new\">New<\/strong> video comments: {$current_user.alerts.video_comments.alerts}<\/a><\/li>					<\/ul><\/li>								<li><a href=\"#alert-message-detail\" class=\"toggle-with-anim\" title=\"expand message alerts\">new messages: {$current_user.alerts.summary.messages_total}<\/a>					<ul id=\"alert-message-detail\" class=\"collapsed\">						<li><a href=\"{$pdn_config.wwwroot}/u2u/?activePersona={$current_user.username}\" title=\"view message inbox\">						unread messages: {$current_user.alerts.messages.alerts}<\/a><\/li>					<\/ul><\/li>							<li class=\"cancel\"><a href=\"#alert-digs-detail\" title=\"cancel\" class=\"close\">Cancel<\/a><\/li>				<\/ul>			<\/div><\/li>						<li><a id=\"sign-out\" href=\"/login/?mode=logout\">Sign Out<\/a><\/li>		<\/ul><!-- /#user-menu-wrapper -->		<\/div><!-- /.content-wrapper -->{/if}');
ps.tpls.set('digme.tpl', '{if !$current_user.logged_in}		<a href=\"{$pdn_config.action_root}/login/#loginOverlay\" rel=\"nofollow\" title=\"Login required to use &quot;Add&quot;\" class=\"dig_me login-link\">Dig Me<\/a>{else}		{capture assign=\"dmid\"}dig-me-{$digMe.pId}{/capture}		{if $digMe.state == \"DigMe\"}			<a href=\"/actions/dig/?pId={$digMe.pId}#{$dmid}\" title=\"Dig Me\" class=\"{$class|default:\'dig_me\'}\">Dig Me<\/a>		{/if}	{if $digMe.state == \'Dug\'}		<a href=\"{$pdn_config.action_root}/view/?kId={$digMe.keyId}&amp;tNm={$digMe.type_name}\" title=\"more info for item\" class=\"gotit\" rel=\"nofollow\">Dug<\/a>	{/if}{/if}');
ps.tpls.set('facebook-postconnect.tpl', '<div id=\"fb_connect_mevio_login\" class=\"box mevioFBC\">	<div class=\"box-heading\">		<h2>Mevio<\/h2>				<span class=\"mevioFBCClose\" onclick=\"ps.facebook.logout();\">X<\/span>	<\/div>		<div class=\"box-body maincontainer\">			<div class=\"section welcome-section\">			<div class=\"section-body\">				<h3>Welcome to Mevio!<\/h3>				<p>				Success authenticating through Facebook,<br>				you\'re almost there...<\/p>			<\/div>		<\/div><!-- /.welcome-section -->				<div class=\"section mevio-section\">			<div class=\"section-header\">				<h3>Mevio<\/h3>			<\/div>						<div class=\"section-body\">				<form id=\"fbMevioLogin\" name=\"fbMevioLogin\" method=\"post\" action=\"{$pdn_config.action_root}/signup/facebook_signup_frame.php\">					<ol>						<li>						<div class=\"error_message\">							<p id=\"err_user_log_email\" class=\"err\"><\/p>						<\/div>						<input class=\"text\" type=\"text\" name=\"user_log_email\" 						onblur=\"if(this.value==\'\') this.value=\'Email\'\" 						onfocus=\"if(this.value==\'Email\') this.value=\'\';\" value=\"Email\" id=\"user_log_email\">						<\/li>											<li>						<div class=\"error_message\">							<p id=\"err_user_log_password\" class=\"err\"><\/p>						<\/div>						<input class=\"text password-input\" type=\"password\" name=\"user_log_password\" id=\"user_log_password\">						<p>						<a href=\"/new_signup/?_c=ForgotPassword&_a=emailForm\">Forgot Password?<\/a><\/p>							<\/li>					<\/ol>										<div class=\"controls\">						<input type=\"button\" class=\"button signin\" value=\"Sign In\" onClick=\"ps.facebook.overlaySubmit(\'fbMevioLogin\');\">					<\/div>				<\/form>			<\/div>		<\/div><!-- /.mevio-section -->		<div class=\"section facebook-section\">			<div class=\"section-header\">				<h3>Facebook<\/h3>			<\/div>						<div class=\"section-body\">				<p>				{* $suggested_username *} Enjoy the benefits of being logged in via Facebook Connect and start exploring!<\/p>								<form id=\"fbMevioSignup\" name=\"fbMevioSignup\" method=\"post\" action=\"{$pdn_config.action_root}/signup/facebook_signup_frame.php\">					<input type=\"hidden\" name=\"dosignup\" value=\"auto\">					<input type=\"hidden\" name=\"username\" value=\"{$suggested_username}\">										<div id=\"_fbMevioJoinHolder\" class=\"controls\">						<input type=\"button\" class=\"button continueas\" value=\"Continue\" onClick=\"ps.facebook.createNewUser();\">					<\/div>				<\/form>			<\/div>		<\/div><!-- /.facebook-section -->	<\/div><\/div><script type=\"text/javascript\">{literal}var windowSize = ps.page_size();var overlayDiv = ps.dom.gbi(\'fb_connect_overlay\'); overlayDiv.style.height = windowSize[1]+\'px\';overlayDiv.style.display = \'block\';[	{		id: \'fb_connect_mevio_login\',		width: 464,		height: 282	}].forEach(function (o) {	posTop = (windowSize[3] - o.height) / 2;	posLeft = (windowSize[2] - o.width) / 2;	connectBoxDiv = ps.dom.gbi(o.id);	connectBoxDiv.style.top = posTop+\'px\';	connectBoxDiv.style.left = posLeft+\'px\'; 	connectBoxDiv.style.display = \'block\';	});{/literal}<\/script>');
ps.tpls.set('comment-avatar.tpl', '{*	Comment Avatar Template	FIXME:should use standard user-avatar.tpl but commments data structure needs to be fixed	*}<div class=\"vcard\">	<a href=\"{$user.profile_url}\" rel=\"friend\" title=\"{$user.poster_name}\'s profile\" class=\"url\">		<img src=\"{$user.poster_avatar}\" width=\"70\" height=\"70\" alt=\"{$user.poster_name} image\" title=\"{$user.poster_name} image\" class=\"photo\">		<span class=\"fn nickname\">{$user.poster_name}<\/span>	<\/a><\/div>');
ps.tpls.set('login-overlay.tpl', '<div id=\"loginOverlay\" class=\"collapsed\">	<a href=\"{$pdn_config.action_root}/login/#loginOverlay\" title=\"close\" class=\"login-link close\">close<\/a>	{capture assign=\"login_url\"}{$pdn_config.action_root}/login/{/capture}	{ps_form method=\"post\"	id=\"overlay-login\"	action=$login_url	broadcast=\"login\"	errors_notice=\"notice\"}		<p id=\"join-msg\">		{if $que && $media}			{capture assign=\"signup_uri_part\"}?mId={$media.id}&amp;{$que.key}={$que.id}{/capture}		{/if}		Please login below or <a href=\"/signup/{$signup_uri_part}\" rel=\"nofollow\">Register<\/a><\/p>			<ol>			<li><label for=\"username-overlay-login\">email:<\/label>			<input id=\"username-overlay-login\" type=\"text\" value=\"\" name=\"username\" class=\"text\" tabindex=\"1\"><\/li>						<li><label for=\"password-overlay-login\">password:<\/label>			<input id=\"password-overlay-login\" type=\"password\" value=\"\" name=\"password\" class=\"text\" tabindex=\"2\">			<p>			(<a title=\"forgot password\" href=\"{$pdn_config.action_root}/new_signup/?_c=ForgotPassword&amp;_a=emailForm\">forgot password?<\/a>)<\/p><\/li>						<li><label for=\"rememberMe-overlay-login\" class=\"checkbox-label\">			<input id=\"rememberMe-overlay-login\" type=\"checkbox\" value=\"true\" name=\"rememberMe\" class=\"checkbox\" tabindex=\"3\">			Remember Me<\/label><\/li>						<li class=\"last-child\"><input type=\"submit\" name=\"LoginSubmit\" value=\"Login\" class=\"login-button\"><\/li>		<\/ol>	{/ps_form}<\/div><script type=\"text/javascript\">{literal}	  ps.event.dom_ready(function() {          setTimeout(function() {	    var tpl = \'{if $que && $media}\'+	              \'{capture assign=\"signup_uri_part\"}?mId={$media.id}&amp;{$que.key}={$que.id}{/capture}\'+	              \'{/if} Please login below or <a href=\"/signup/{$signup_uri_part}\" rel=\"nofollow\">Register<\/a>\';	    ps.tpls.set(\'_login-msg\', tpl);	    ps.message.add({\'now-playing\': function(d) {if (ps.dom.gbi(\'join-msg\')) ps.tpls.render(\'_login-msg\', d, \'join-msg\');}});		ps.message.add({\'post_register-action\': function(d) {			var html = ps.dom.gbi(\'join-msg\').innerHTML;			var url = html.match(\"href=\\\"([^\\\"]+)\\\"\");			if(url) {				url = url[1].replace(/&amp;postReg=.*/, \'\');				d.postReg && (url += \'&amp;postReg=\' + d.postReg);				ps.dom.gbi(\'join-msg\').innerHTML = html.replace(/href=\"([^\"]+)\"/, \"href=\\\"\"+url+\"\\\"\");			}			//console.log(\'rendered login\');		}});}, 1);          });{/literal}<\/script>{literal}<!--[if IE 6]><script type=\"text/javascript\">ps.event.dom_ready(function() {  var style = ps.dom.gbi(\'loginOverlay\').style;  function scroll_fn() {    style.top = Math.max(document.documentElement.scrollTop, document.body.scrollTop) + \'px\';  }  ps.event.add(window, \'scroll\', scroll_fn);});<\/script><![endif]-->{/literal}');
ps.tpls.set('header.tpl', '{*	HEADER TPL	main nav branding , login and search*}<a name=\"top\" id=\"top\"><\/a><div id=\"header\">	<div class=\"content-wrapper\">		{ps_include id=\"leaderboard-home\" file=\"ad-728x90.tpl\" class=\"top-banner\" refresh_on=\"ad-rotate\"}				<h5><a href=\"{$pdn_config.wwwroot}\" title=\"{$pdn_config.product_name} Home\">{$pdn_config.product_name}, Personality-driven video entertainment, coupons, codes and offers <\/a><\/h5>	<\/div><\/div><!-- /#header --><div id=\"main-nav\">	<div class=\"content-wrapper\">		<ul id=\"main-nav-list\" class=\"main-nav-options\">			<li class=\"today-link\"><a href=\"{$pdn_config.wwwroot}/\" title=\"{$pdn_config.product_name} Home\">Today<\/a><\/li>						{* phase 2			<li class=\"network-link\"><a href=\"\">Networks<\/a><\/li> *}			<li class=\"channels-link\"><a href=\"{$pdn_config.wwwroot}/channels/\" title=\"Featured Channels on {$pdn_config.product_name}\">Channels<\/a><\/li>						<li class=\"dropdown-wrapper top-level shows-link\">				<a href=\"#shows-nav-submenu\" class=\"dropdown-link\" onmouseover=\"ps.jshover.initialize(this,\'shows-nav-submenu\')\">Shows<\/a>								{* sub-navs visibility to be handled by css, feel free to change as needed *}				<ul id=\"shows-nav-submenu\" class=\"dropdown-menu level-one\">					<li><a href=\"{$pdn_config.wwwroot}/programguide/?channel_id=9\" title=\"Featured Shows on {$pdn_config.product_name}\">Video Shows<\/a><\/li>					<li><a href=\"{$pdn_config.wwwroot}/audio/?tab=audio\" title=\"Featured Audio shows on {$pdn_config.product_name}\">Audio Shows<\/a><\/li>										{foreach from=$showsMenu item=\"network\" name=\"todays_networks\"}					<li class=\"dropdown-wrapper {$network.style|default:\'today\'}\">						<span class=\"dummy-link dropdown-link\" onmouseover=\"ps.jshover.initialize(this,\'network-menu-{$smarty.foreach.todays_networks.iteration}\')\">{$network.name}<\/span>												<ul id=\"network-menu-{$smarty.foreach.todays_networks.iteration}\" class=\"dropdown-menu level-two\">							{foreach from=$network.items item=\"item\" name=\"network-items\"}							<li><a href=\"{$item.link}\">{$item.name}<\/a><\/li>							{/foreach}						<\/ul>					<\/li>					{/foreach}				<\/ul>			<\/li>			<li class=\"videos-link\"><a href=\"{$pdn_config.wwwroot}/video/\" title=\"Featured Videos on {$pdn_config.product_name}\">Videos<\/a><\/li>			<li class=\"music-link\"><a href=\"{$pdn_config.wwwroot}/music/\" title=\"Featured Music on {$pdn_config.product_name}\">Music<\/a><\/li>			<li class=\"people-link\"><a href=\"{$pdn_config.wwwroot}/connect/\" title=\"People on {$pdn_config.product_name}\">People<\/a><\/li>							<li class=\"deals-link\"><a href=\"http://offers.mevio.com\" class=\"external\" title=\"{$pdn_config.product_name}\'s Coupons, Discounts and Promo Codes\" onclick=\"window.open(this.href);return false;\">Deals<\/a><\/li>						<li class=\"dropdown-wrapper top-level upload-link\">				{ps_include file=\"header-upload.tpl\" id=\"header-upload\" refresh_on=\"login\"}			<\/li>		<\/ul>				<div class=\"search\">			<form action=\"{$pdn_config.wwwroot}/search/\" method=\"get\" accept-charset=\"utf-8\">				<div>					<input type=\"text\" class=\"text\" name=\"query\" id=\"overall-search-input\" value=\"search\" onfocus=\"if(this.value==\'search\') this.value=\'\';\" onblur=\"if(this.value==\'\') this.value=\'search\'\">					<input type=\"hidden\" id=\"search_area\" name=\"type\" value=\"show\" />					<input type=\"submit\" value=\"Go!\" class=\"button\" >				<\/div>			<\/form>		<\/div><!-- /.search -->		{ps_include file=\"header-login-part.tpl\" id=\"header-login-part\" refresh_on=\"login, now-playing\"}	<\/div><\/div><!-- /#main-nav --><script type=\"text/javascript\">// check if show is external, so we can hide the player on menu hovervar isExternalMedia = {if $media.media_urls.flv || $media.media_urls.mp3}false{else}true{/if};{literal}// todo: this could be made more abstractif (isExternalMedia) {	var navRoot = ps.dom.gbi(\'main-nav-list\');	var subMenus = navRoot.childNodes;	for (i=0; i < subMenus.length; i++) {		if (subMenus[i].nodeName==\"LI\"){			if (ps.dom.classname.test(subMenus[i],  \'dropdown-wrapper\') ) {				addPlayerToggleHover(subMenus[i]);			}		}	}}// todo: make this more classy or move elsewherefunction addPlayerToggleHover(el){	ps.event.add(el, \'mouseover\' , function(e) {		if (ps.actions && \'toggle-player\' in ps.actions)			ps.actions[\'toggle-player\']();	});	ps.event.add(el, \'mouseout\' , function(e) {		if (ps.actions && \'toggle-player\' in ps.actions)			ps.actions[\'toggle-player\']();	});}ps.jshover = {  watchers: {}}//ps.jshover.initialize = function(anc,el) {  if ( !(ps.browser.isIE && ps.browser.version < 7 ) ) return;  //IE6 support for hover menus follows  var d = ps.dom.gbi(el);  ps.dom.classname.add(d,\'hovering\');  if ( el in ps.jshover.watchers ) return;  ps.jshover.watchers[el] = [];  ps.event.add(anc,\'mouseout\',function(e) {    var to = e.toElement;    if (ps.jshover.watchers[el].indexOf(to) > -1) return;    if (anc.parentNode == to || ps.dom.is_parent(anc.parentNode,to) || ps.dom.is_parent(d,to)) {      ps.event.add(to,\'mouseout\',arguments.callee);      ps.jshover.watchers[el].push(to);    } else {      ps.dom.classname.kill(d,\'hovering\');    }  });}{/literal}<\/script>{if $current_user.logged_in && $current_user.unfinished_uploads && $is_new_upload}	{ps_include id=\"upload-notice\" file=\"upload-notice.tpl\" refresh_on=\"login\"}{/if}');