<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%Links::Utils::load_reviews($ID, $detailed_max_reviews)~%>
<%Plugins::SlideShow::generate_paths($ID)%>
<%convert_nl_br%><html>
<head>
  <title><%Title%> - <%site_title_short%></title>
<%--Facebook Meta Tags--%>
<meta name="title" content="<%escape_html Title%>" />
<meta name="description" content="<%escape_html Description%>" />
<meta property="og:title" content="<%escape_html Title%>"/> 
<meta name="og:description" content="<%escape_html Description%>" />
<meta property="og:site_name" content="<%site_title_short%>"/> 
<meta property="og:type" content="article"/>
<meta property="og:url" content="<%detailed_url%>"/>
<meta property="fb:admins" content="100001571171264,721935200" />
<%--Twitter Meta Tags--%>
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@slowtwitch	" />
<meta name="twitter:creator" content="@slowtwitch" />
<meta name="twitter:title" content="<%escape_html Title%>" />
<meta name="twitter:description" content="<%escape_html Description%>" />
<%if Image1_thumbnail_path%>
	<link rel="image_src" href="<%escape_html Image1_largest_path%>" / >
	<meta property="og:image" content="<%escape_html Image1_largest_path%>"/>
        <meta name="twitter:image" content="<%escape_html Image1_largest_path%>" />
<%endif%>
<%--End Facebook Meta Tags--%>
<%--End Twitter Meta Tags--%>
<%include include_common_head.html%>
</head>
<body id="detailed">
<%include include_facebook_comments.html%>
<%include include_accessibility.html%>
  <div id="wrapper">
<%include include_header.html%>
<%include include_contentheader.html%>
    <div id="ocwrapper" class="clear">
      <div id="icwrapper" class="clear">
<%include include_leftsidebar.html%>
        <div id="contentwrapper" class="shadowleft">
<%include include_contentwrapper_top.html%>
          <div class="shadowtop"><div class="shadowtopleft"></div><div class="shadowtopright"></div></div>
          <div class="shadowright">
            <div id="content">
<div style="padding: 0px 10px 0px 10px;">
<%include include_content_top.html%>

<%--div class="crumb"><%Links::Utils::format_title($title_loop, separator => $crumb_separator, no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%></div--%>

<%--if next_url or prev_url%><p class="linknav"><%if prev_url%><a href="<%prev_url%>"><img src="<%Links::Utils::image_url('paging-prev.gif')%>" alt="&lt;" /> Previous</a><%endif%><%if next_url and prev_url%> | <%endif%><%if next_url%><a href="<%next_url%>">Next <img src="<%Links::Utils::image_url('paging-next.gif')%>" alt="&gt;" /></a><%endif%></p><%endif--%>

<h2>
  <%Title%><%if URL and URL ne 'http://'%> <span class="hsmall">(<a href="<%config.db_cgi_url%>/jump.cgi?ID=<%ID%>">Visit this link</a>)</span><%endif%>
  <%if isNew%><span class="new-item"><span>new</span></span><%endif%>
  <%if isChanged%><span class="updated-item"><span>updated</span></span><%endif%>
  <%if isPopular%><span class="popular-item"><span>popular</span></span><%endif%>
<%~if paymentsEnabled%>
  <%if isUnpaid%><span class="unpaid-item"><span>unpaid</span></span><%endif%>
  <%if isExpired%><span class="expired-item"><span>expired</span></span><%endif%>
  <%if isFree%><span class="free-item"><span>free</span></span><%endif%>
<%~endif%>
</h2>

<p class="info">
  Written by: <%if LinkOwner ne 'admin'%><a href="<%config.db_cgi_url%>/search.cgi?LinkOwner=<%LinkOwner%>"><%endif%><%Contact_Name%><%if LinkOwner ne 'admin'%></a><%endif%><br />
  <%--Hits: <%Hits%><br />--%>
  Date: <%Add_Date%><br />
  <%--if Add_Date ne $Mod_Date%>Last Changed: <%Mod_Date%><br /><%endif--%>

</p>

<%if Votes~%>
<p class="rating">
  <%~set intRating = $Rating i/ 1%>
  <img src="<%Links::Utils::image_url("stars-10-${intRating}.gif")%>" alt="<%intRating%> out of 10 stars" /> (<%Votes%> vote<%if Votes != 1%>s<%endif%>)
</p>
<%~endif%>

<%--if Description%><p class="description"><%Description%></p><%endif--%>

<div class="detail_part">
<%if Image1_medium_path or Paragraph1%>
 <%if Image1_medium_path%>
	<div class="detail_imageleft">
        <img src="<%Image1_medium_path%>" />
    </div>
	<%endif%>
	<%if Paragraph1%>
        <div class="detail_text">
        <%Paragraph1%>
        </div>
        
        <%endif%>   
<%endif%>
<%if Image2_medium_path or Paragraph2%>
    <%if Image2_medium_path%>
    <div class="detail_imageright">
        <img src="<%Image2_medium_path%>" />
    </div>
	<%endif%>
	<%if Paragraph2%>
    <div class="detail_text">
        <%Paragraph2%>
    </div>
	<%endif%>
<%endif%>
<%if Image3_medium_path or Paragraph3%>
    <%if Image3_medium_path%>
    <div class="detail_imageleft">
        <img src="<%Image3_medium_path%>" />
    </div>
	<%endif%>
	<%if Paragraph3%>
        <div class="detail_text">
        <%Paragraph3%>
        </div>
	<%endif%>
<%endif%>
<%if Image4_medium_path or Paragraph4%>
    <%if Image4_medium_path%>
    <div class="detail_imageright">
        <img src="<%Image4_medium_path%>" />
    </div>
	<%endif%>
	<%if Paragraph4%>
    <div class="detail_text">
        <%Paragraph4%>
    </div>
	<%endif%>
<%endif%>
<%if Image5_medium_path or Paragraph5%>
    <%if Image5_medium_path%>
    <div class="detail_imageleft">
        <img src="<%Image5_medium_path%>" />
    </div>
	<%endif%>
	<%if Paragraph5%>
    <div class="detail_text">
        <%Paragraph5%>
    </div>
	<%endif%>
<%endif%>
<%if Image6_medium_path or Paragraph6%>
    <%if Image6_medium_path%>
    <div class="detail_imageright">
        <img src="<%Image6_medium_path%>" />
    </div>
	<%endif%>
	<%if Paragraph6%>
    <div class="detail_text">
        <%Paragraph6%>
    </div>
	<%endif%>
<%endif%>
<%if Image7_medium_path or Paragraph7%>
    <%if Image7_medium_path%>
    <div class="detail_imageleft">
        <img src="<%Image7_medium_path%>" />
    </div>
	<%endif%>
	<%if Paragraph7%>
    <div class="detail_text">
        <%Paragraph7%>
    </div>
	<%endif%>
<%endif%>
<%if Image8_medium_path or Paragraph8%>
    <%if Image8_medium_path%>
    <div class="detail_imageright">
        <img src="<%Image8_medium_path%>" />
    </div>
	<%endif%>
	<%if Paragraph8%>
    <div class="detail_text">
        <%Paragraph8%>
    </div>
	<%endif%>
<%endif%>
<%if Image9_medium_path or Paragraph9%>
    <%if Image9_medium_path%>
    <div class="detail_imageleft">
        <img src="<%Image9_medium_path%>" />
    </div>
	<%endif%>
	<%if Paragraph9%>
    <div class="detail_text">
        <%Paragraph9%>
    </div>
	<%endif%>
<%endif%>
<%if Image10_medium_path or Paragraph10%>
    <%if Image10_medium_path%>
    <div class="detail_imageright">
        <img src="<%Image10_medium_path%>" />
    </div>
	<%endif%>
	<%if Paragraph10%>
    <div class="detail_text">
        <%Paragraph10%>
    </div>
	<%endif%>
<%endif%>
<%if Image11_medium_path or Paragraph11%>
    <%if Image11_medium_path%>
    <div class="detail_imageleft">
        <img src="<%Image11_medium_path%>" />
    </div>
	<%endif%>
	<%if Paragraph11%>
    <div class="detail_text">
        <%Paragraph11%>
    </div>
	<%endif%>
<%endif%>
<%if Image12_medium_path or Paragraph12%>
    <%if Image12_medium_path%>
    <div class="detail_imageright">
        <img src="<%Image12_medium_path%>" />
    </div>
	<%endif%>
	<%if Paragraph12%>
    <div class="detail_text">
        <%Paragraph12%>
    </div>
	<%endif%>
<%endif%>
<%if Image13_medium_path or Paragraph13%>
    <%if Image13_medium_path%>
    <div class="detail_imageleft">
        <img src="<%Image13_medium_path%>" />
    </div>
	<%endif%>
	<%if Paragraph13%>
    <div class="detail_text">
        <%Paragraph13%>
    </div>
	<%endif%>
<%endif%>
<%if Image14_medium_path or Paragraph14%>
    <%if Image14_medium_path%>
    <div class="detail_imageright">
        <img src="<%Image14_medium_path%>" />
    </div>
	<%endif%>
	<%if Paragraph14%>
    <div class="detail_text">
        <%Paragraph14%>
    </div>
	<%endif%>
<%endif%>
<%if Image15_medium_path or Paragraph15%>
    <%if Image15_medium_path%>
    <div class="detail_imageleft">
        <img src="<%Image15_medium_path%>" />
    </div>
	<%endif%>
	<%if Paragraph15%>
    <div class="detail_text">
        <%Paragraph15%>
    </div>
	<%endif%>
<%endif%>
<%if Image16_medium_path or Paragraph16%>
    <%if Image16_medium_path%>
    <div class="detail_imageright">
        <img src="<%Image16_medium_path%>" />
    </div>
	<%endif%>
	<%if Paragraph16%>
    <div class="detail_text">
        <%Paragraph16%>
    </div>
	<%endif%>

<%endif%>
</div>

<p class="actions">
  <%--a href="<%config.db_cgi_url%>/review.cgi?ID=<%ID%>;add_review=1">Comment on this article</a--%>
  <%if user.Status eq 'Administrator'%><a href="<%config.db_cgi_url%>/modify.cgi?LinkID=<%ID%>">ADMIN: EDIT THIS ARTICLE</a><%endif%>
  <%if user.Status eq 'Editor' AND user.Status neq 'Administrator'%><a href="<%config.db_cgi_url%>/modify.cgi?LinkID=<%ID%>">EDIT THIS ARTICLE</a><%endif%>
  <%if user.Status eq 'Administrator'%><a href="<%config.db_cgi_url%>/user.cgi?do=logout">Log Out</a><%endif%>
  <%--a href="<%config.db_cgi_url%>/rate.cgi?ID=<%ID%>">Rate It</a--%>
  <%if config.bookmark_enabled%><a href="<%config.db_cgi_url%>/bookmark.cgi?action=link_add;ID=<%ID%>">Bookmark It</a><%endif%>
  <%if isLinkOwner%><a href="<%config.db_cgi_url%>/modify.cgi?LinkID=<%ID%>">Edit this link</a><%endif%>
  <%if paymentsEnabled%><a href="<%config.db_cgi_url%>/modify.cgi?do=payment_linked;process_payment=1;modify=1;ID=<%ID%>"><%if isUnpaid or isFree%>New Payment<%else%>Renewal Payment<%endif%></a><%endif%>
</p>

<div class="fb-comments" data-href="<%detailed_url%>" data-width="620" data-num-posts="5"></div>

<p>
<div style="float:left;">
<%--script type="text/javascript">
tweetmeme_source = 'slowtwitch';</script><script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script--%>
<a href="http://twitter.com/share" class="twitter-share-button" data-text="<%Title%>" data-count="vertical" data-via="slowtwitch">Tweet</a>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
</div>
</p>

<p>
<div style="float:left; height: 60px;">
&nbsp;&nbsp;
<!-- Place this tag where you want the +1 button to render -->
<g:plusone size="tall"></g:plusone>

<!-- Place this render call where appropriate -->
<script type="text/javascript">
  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
</script>
</div>
</p>

<p>
<div style="float:left; height: 60px;">
&nbsp;&nbsp;
<a href="http://pinterest.com/pin/create/button/?url=<%detailed_url%><%if Image1_medium_path%>&media=<%Image1_medium_path%><%endif%>&description=<%escape_html Description%>" class="pin-it-button" count-layout="vertical"><img border="0" src="//assets.pinterest.com/images/PinExt.png" title="Pin It" /></a>
</div>
</p>

<p>
<div style="float:left; height: 60px;">
&nbsp;&nbsp;<iframe src="http://www.facebook.com/plugins/like.php?app_id=193269620735521&amp;href=<%detailed_url%>&amp;send=false&amp;layout=box_count&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=verdana&amp;" scrolling="no" frameborder="0" style="border:none; overflow:hidden;" allowTransparency="true"></iframe>
<%--<a name="fb_share" type="box_count" href="http://www.facebook.com/sharer.php">Share</a>
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>--%>
</div>
</p>

<div class="clear"></div>

<div style="height: 250px; padding-top: 20px;" class="clear">

<div style="width: 300px; height: 250px; float: right; vertical-align: top; border-left: 10px solid white;">
 <%ad_300x250_roadblocks%>
</div>

<div style="width: 300px; float: left;">
 <span style="font-size: 13px; font-weight: bold;">Articles related to this one</span>
 <%if RelatedArticles%>

 <%related_articles($RelatedArticles, $ID)%>
 <%loop related_articles_loop%>
 <%Plugins::SlideShow::generate_paths($ID)%><%rewrite_detail_url%>
    <div style="padding-bottom: 10px; padding-top: 5px; padding-right: 10px; text-align: justify;">
        <% set tb = thumbnail($loop_value, $Image1_thumbnail_path) %>
        <%if tb %><div style="float: right; width:100px; padding-right: 10px;">
          <img src="<%tb%>" style="padding-left: 10px;  max-width: 100px;" />
        </div><%endif%>
        <div>
          <a href="<%detailed_url%>" class="headline"><%Title%></a><br />
          <%Description%>  <span style="font-style: italic;"><%GT::Date::date_transform($Add_Date,$config.date_user_format, '%m%.%dd%.%yy%')%></span>
        </div>
    </div>
    <div style="clear: both;"></div>
 <%endloop%>

 <%elsif Related_Article1%>
 <p><%Related_Article1%></p>
 <%if Related_Article2%>
 <p><%Related_Article2%></p>
 <%endif%>
 <%if Related_Article3%>
 <p><%Related_Article3%></p>
 <%endif%>
 <%if Related_Article4%>
 <p><%Related_Article4%></p>
 <%endif%>
 <%if Related_Article5%>
 <p><%Related_Article5%></p>
 <%endif%>

 <%else%>
 <p>There are no related articles</p>
 <%endif%>
</div>

</div>

<div class="clear"></div>

<%if test%>
<div style="width: 300px;">
 <span style="font-size: 13px; font-weight: bold;">Photos related to this one</span>
 <%set RelatedPhotos ||= "1"%>
 <%if RelatedPhotos%>

 <%related_photos($RelatedPhotos)%>
 <%loop related_photos_loop%>
    <div style="padding-bottom: 10px; padding-top: 5px; padding-right: 10px; text-align: justify;">
        <%if Image1_thumbnail_path%><div style="float: right; width:100px; padding-right: 10px;">
          <img src="/photos<%Image1_thumbnail_path%>" style="padding-left: 10px"/>
        </div><%endif%>
        <div>
          <a href="<%detailed_url%>" class="headline"><%Title%></a><br />
          <%shorten_it($Description,160)%>  <span style="font-style: italic;"><%GT::Date::date_transform($Add_Date,$config.date_user_format, '%m%.%dd%.%yy%')%></span>
        </div>
    </div>
 <%endloop%>

 <%else%>
 <p>There are no related photos</p>
 <%endif%>
</div>

<%endif%>


<%if Review_Loop.length~%>
<a name="Comments"></a><h3 id="comments">Comments</h3>

<%--p class="reviewsheader"><a href="<%config.db_cgi_url%>/review.cgi?ID=<%ID%>;add_review=1">Add your own comment</a></p--%>

<%loop Review_Loop~%>
<%include review_include.html%>
<%~endloop%>

<%if Review_Total > $Review_Loop.length%><p class="reviewsfooter"><a href="<%config.db_cgi_url%>/review.cgi?ID=<%ID%>">Read <%Review_Total%> comment<%if Review_Total != 1%>s<%endif%></a></p><%endif%>
<%~endif%>

<%include include_content_bottom.html%>
</div>
            </div>
          </div>
          <div class="shadowbottom"><div class="shadowbottomleft"></div><div class="shadowbottomright"></div></div>
<%include include_contentwrapper_bottom.html%>
        </div>
<%include include_rightsidebar.html%>
      </div>
    </div>
<%include include_contentfooter.html%>
<%include include_footer.html%>
  </div>
<script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"></script>
</body>
</html>