<!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="<%get_detailed_url($ID)%>"/>
<meta property="fb:app_id" content="193269620735521"/>
<%--meta property="fb:admins" content="100001571171264,721935200,100004276806266" /--%>
<%--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--%>
<script LANGUAGE="javascript">
 function window_popup(url){
 window.open(url,'imageframe','width=650,height=500,resizable=yes,menubar=no,scrollbars=no');
 }
</script>
<script type="text/javascript" src="<%config.build_static_url%>/jquery/jquery.js"></script>
<%include include_common_head.html%>
<script type="text/javascript" src="<%config.build_static_url%>/jquery/jquery.lightbox-0.5.js"></script>
<link rel="stylesheet" type="text/css" href="<%config.build_static_url%>/jquery/css/jquery.lightbox-0.5.css" media="screen" />
<script type="text/javascript">
    $(function() {
         var settings = {txtTitle: ""};
          $('.detail_photo_imageleft a').lightBox(settings); // Select all links in object with gallery ID
      });
  </script>
</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">
<%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 /> --%>
  Added: <%Add_Date%><br />
  <%if Add_Date ne $Mod_Date%>Last Modified: <%Mod_Date%><br /><%endif%>
<br />
</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%>

<div class="detail_part">
<div class="detail_photo_imageleft">
<%if Image1%><a href="<%Image1_large_path%>" title="<%if Image1_description%><%Image1_description%><%else%>Image #1<%endif%>"><img src="<%Image1_thumbnail_path%>" title="<%if Image1_description%><%replace_line_break($Image1_description)%><%else%>Image #1<%endif%>"></a><%endif%>
<%if Image2%><a href="<%Image2_large_path%>" title="<%if Image2_description%><%Image2_description%><%else%>Image #2<%endif%>"><img src="<%Image2_thumbnail_path%>" title="<%if Image2_description%><%replace_line_break($Image2_description)%><%else%>Image #2<%endif%>"></a><%endif%>
<%if Image3%><a href="<%Image3_large_path%>" title="<%if Image3_description%><%Image3_description%><%else%>Image #3<%endif%>"><img src="<%Image3_thumbnail_path%>" title="<%if Image3_description%><%replace_line_break($Image3_description)%><%else%>Image #3<%endif%>"></a><%endif%>
<%if Image4%><a href="<%Image4_large_path%>" title="<%if Image4_description%><%Image4_description%><%else%>Image #4<%endif%>"><img src="<%Image4_thumbnail_path%>" title="<%if Image4_description%><%replace_line_break($Image4_description)%><%else%>Image #4<%endif%>"></a><%endif%>
<%if Image5%><a href="<%Image5_large_path%>" title="<%if Image5_description%><%Image5_description%><%else%>Image #5<%endif%>"><img src="<%Image5_thumbnail_path%>" title="<%if Image5_description%><%replace_line_break($Image5_description)%><%else%>Image #5<%endif%>"></a><%endif%>
<%if Image6%><a href="<%Image6_large_path%>" title="<%if Image6_description%><%Image6_description%><%else%>Image #6<%endif%>"><img src="<%Image6_thumbnail_path%>" title="<%if Image6_description%><%replace_line_break($Image6_description)%><%else%>Image #6<%endif%>"></a><%endif%>
<%if Image7%><a href="<%Image7_large_path%>" title="<%if Image7_description%><%Image7_description%><%else%>Image #7<%endif%>"><img src="<%Image7_thumbnail_path%>" title="<%if Image7_description%><%replace_line_break($Image7_description)%><%else%>Image #7<%endif%>"></a><%endif%>
<%if Image8%><a href="<%Image8_large_path%>" title="<%if Image8_description%><%Image8_description%><%else%>Image #8<%endif%>"><img src="<%Image8_thumbnail_path%>" title="<%if Image8_description%><%replace_line_break($Image8_description)%><%else%>Image #8<%endif%>"></a><%endif%>
<%if Image9%><a href="<%Image9_large_path%>" title="<%if Image9_description%><%Image9_description%><%else%>Image #9<%endif%>"><img src="<%Image9_thumbnail_path%>" title="<%if Image9_description%><%replace_line_break($Image9_description)%><%else%>Image #9<%endif%>"></a><%endif%>
<%if Image10%><a href="<%Image10_large_path%>" title="<%if Image10_description%><%Image10_description%><%else%>Image #10<%endif%>"><img src="<%Image10_thumbnail_path%>" title="<%if Image10_description%><%replace_line_break($Image10_description)%><%else%>Image #10<%endif%>"></a><%endif%>
<%if Image11%><a href="<%Image11_large_path%>" title="<%if Image11_description%><%Image11_description%><%else%>Image #11<%endif%>"><img src="<%Image11_thumbnail_path%>" title="<%if Image11_description%><%replace_line_break($Image11_description)%><%else%>Image #11<%endif%>"></a><%endif%>
<%if Image12%><a href="<%Image12_large_path%>" title="<%if Image12_description%><%Image12_description%><%else%>Image #12<%endif%>"><img src="<%Image12_thumbnail_path%>" title="<%if Image12_description%><%replace_line_break($Image12_description)%><%else%>Image #12<%endif%>"></a><%endif%>
<%if Image13%><a href="<%Image13_large_path%>" title="<%if Image13_description%><%Image13_description%><%else%>Image #13<%endif%>"><img src="<%Image13_thumbnail_path%>" title="<%if Image13_description%><%replace_line_break($Image13_description)%><%else%>Image #13<%endif%>"></a><%endif%>
<%if Image14%><a href="<%Image14_large_path%>" title="<%if Image14_description%><%Image14_description%><%else%>Image #14<%endif%>"><img src="<%Image14_thumbnail_path%>" title="<%if Image14_description%><%replace_line_break($Image14_description)%><%else%>Image #14<%endif%>"></a><%endif%>
<%if Image15%><a href="<%Image15_large_path%>" title="<%if Image15_description%><%Image15_description%><%else%>Image #15<%endif%>"><img src="<%Image15_thumbnail_path%>" title="<%if Image15_description%><%replace_line_break($Image15_description)%><%else%>Image #15<%endif%>"></a><%endif%>
<%if Image16%><a href="<%Image16_large_path%>" title="<%if Image16_description%><%Image16_description%><%else%>Image #16<%endif%>"><img src="<%Image16_thumbnail_path%>" title="<%if Image16_description%><%replace_line_break($Image16_description)%><%else%>Image #16<%endif%>"></a><%endif%>
<%if Image17%><a href="<%Image17_large_path%>" title="<%if Image17_description%><%Image17_description%><%else%>Image #17<%endif%>"><img src="<%Image17_thumbnail_path%>" title="<%if Image17_description%><%replace_line_break($Image17_description)%><%else%>Image #17<%endif%>"></a><%endif%>
<%if Image18%><a href="<%Image18_large_path%>" title="<%if Image18_description%><%Image18_description%><%else%>Image #18<%endif%>"><img src="<%Image18_thumbnail_path%>" title="<%if Image18_description%><%replace_line_break($Image18_description)%><%else%>Image #18<%endif%>"></a><%endif%>
<%if Image19%><a href="<%Image19_large_path%>" title="<%if Image19_description%><%Image19_description%><%else%>Image #19<%endif%>"><img src="<%Image19_thumbnail_path%>" title="<%if Image19_description%><%replace_line_break($Image19_description)%><%else%>Image #19<%endif%>"></a><%endif%>
<%if Image20%><a href="<%Image20_large_path%>" title="<%if Image20_description%><%Image20_description%><%else%>Image #20<%endif%>"><img src="<%Image20_thumbnail_path%>" title="<%if Image20_description%><%replace_line_break($Image20_description)%><%else%>Image #20<%endif%>"></a><%endif%>

</div>
<div class="detail_text">
<%if Paragraph1%><%Paragraph1%><%endif%>
</div>
</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%>">EDIT THIS ARTICLE</a><%endif%>
  <%if user.Status eq 'Editor'%><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;<iframe src="http://www.facebook.com/plugins/like.php?app_id=193269620735521&amp;href=<%detailed_url%>&amp;send=false&amp;layout=box_count&amp;width=225&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=verdana&amp;" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width: 225px; height: 90px;" 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 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 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>
</body>
</html>
<%--
<a href="#" onclick="window_popup('<%config.db_cgi_url%>/showpicture.cgi?ID=<%ID%>&v=Image1_large'); return false;"><img src="<%config.db_cgi_url%>/jump.cgi?ID=<%ID%>&v=Image1_thumbnail" title="<%Title%>"></a>
<a href="#" onclick="window_popup('<%config.db_cgi_url%>/showpicture.cgi?ID=<%ID%>&v=Image2_large'); return false;"><img src="<%config.db_cgi_url%>/jump.cgi?ID=<%ID%>&v=Image2_thumbnail" title="<%Title%>"></a>
<a href="#" onclick="window_popup('<%config.db_cgi_url%>/showpicture.cgi?ID=<%ID%>&v=Image3_large'); return false;"><img src="<%config.db_cgi_url%>/jump.cgi?ID=<%ID%>&v=Image3_thumbnail" title="<%Title%>"></a>
<a href="#" onclick="window_popup('<%config.db_cgi_url%>/showpicture.cgi?ID=<%ID%>&v=Image4_large'); return false;"><img src="<%config.db_cgi_url%>/jump.cgi?ID=<%ID%>&v=Image4_thumbnail" title="<%Title%>"></a>
<a href="#" onclick="window_popup('<%config.db_cgi_url%>/showpicture.cgi?ID=<%ID%>&v=Image5_large'); return false;"><img src="<%config.db_cgi_url%>/jump.cgi?ID=<%ID%>&v=Image5_thumbnail" title="<%Title%>"></a>
<a href="#" onclick="window_popup('<%config.db_cgi_url%>/showpicture.cgi?ID=<%ID%>&v=Image6_large'); return false;"><img src="<%config.db_cgi_url%>/jump.cgi?ID=<%ID%>&v=Image6_thumbnail" title="<%Title%>"></a>
<a href="#" onclick="window_popup('<%config.db_cgi_url%>/showpicture.cgi?ID=<%ID%>&v=Image7_large'); return false;"><img src="<%config.db_cgi_url%>/jump.cgi?ID=<%ID%>&v=Image7_thumbnail" title="<%Title%>"></a>
<a href="#" onclick="window_popup('<%config.db_cgi_url%>/showpicture.cgi?ID=<%ID%>&v=Image8_large'); return false;"><img src="<%config.db_cgi_url%>/jump.cgi?ID=<%ID%>&v=Image8_thumbnail" title="<%Title%>"></a>
<a href="#" onclick="window_popup('<%config.db_cgi_url%>/showpicture.cgi?ID=<%ID%>&v=Image9_large'); return false;"><img src="<%config.db_cgi_url%>/jump.cgi?ID=<%ID%>&v=Image9_thumbnail" title="<%Title%>"></a>
<a href="#" onclick="window_popup('<%config.db_cgi_url%>/showpicture.cgi?ID=<%ID%>&v=Image10_large'); return false;"><img src="<%config.db_cgi_url%>/jump.cgi?ID=<%ID%>&v=Image10_thumbnail" title="<%Title%>"></a>
--%>