{% extends "base.html" %}
{% block meta_keywords %}classifieds, {{object}}, penobscot bay press, maine, ads{% endblock %}
{% block title %}{{object.name}} | Classifieds | Penobscot Bay Press {% endblock %}
{% block flag_link %}{% url cl-index %}{% endblock %}
{% block flag_descrip %}Classified advertisments covering the unique towns and islands of East<br/> Penobscot and Blue Hill Bays, Maine.{% endblock %}
{% block flag_img_src %}{{MEDIA_URL}}images/headers/classround440.gif{% endblock %}
{% block flag_update_stamp %}{% endblock %}

{% block content %}
<div style="width:100%; margin:0; padding:0">
	<div class="main_content_left">
		<h2 class="sectionhead_wide">{{object}}<br>
		<a href="{% url cl-index %}" class="return" style="font-weight:normal; font-style:normal; text-transform:none">Click here to choose another category.</a>
		</h2>
		<ifequal object "Notices"><p><b>You can also view and subscribe to Maine Public Notices at <a href="http://www.mainenotices.com/">http://www.mainenotices.com/</a></b></p><endif>
			{% load markup typogrify %}
			<div style="background-color:#99ccff">
			{% for ad in featured_objects %}
			<div style="padding:4px"><p>{{ad.copy|urlize|markdown|typogrify}}</p><hr size="1"></div>
			{% endfor %}
			</div>
			<div>
			{% for ad in objects %}
			<p>{{ad.copy|urlize}}</p><hr size="1">
			{% endfor %}
			</div>
	</div>
</div>
<div class="sidebar_right_media">
		<!-- Google AdSense BEGIN -->
		<div style="clear:both; text-align:center">
			<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
			<!-- Square ad for right of pages -->
			<ins class="adsbygoogle"
			style="display:inline-block;width:250px;height:250px"
			data-ad-client="ca-pub-7616595738812584"
			data-ad-slot="7790117357"></ins>
			<script>
			(adsbygoogle = window.adsbygoogle || []).push({});
			</script>
		</div>
		<!-- Google AdSense END -->
		<br>
		<!-- Google AdSense BEGIN -->
		<div style="clear:both; text-align:center">
			<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
			<!-- Square ad for right of pages -->
			<ins class="adsbygoogle"
			style="display:inline-block;width:250px;height:250px"
			data-ad-client="ca-pub-7616595738812584"
			data-ad-slot="7790117357"></ins>
			<script>
			(adsbygoogle = window.adsbygoogle || []).push({});
			</script>
		</div>
		<!-- Google AdSense END -->
	</div>
		<div style="padding-left:12px; padding-right:12px; padding-bottom:0px">
			<!-- AddThis Button BEGIN -->
			<div>
				<a class="addthis_button_facebook_like" fb:like:layout="standard"></a>
			</div>
			<script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
			<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=penbaypress"></script>
			<!-- AddThis Button END -->
			<p>
			{% for s in object.sites.all|dictsortreversed:"id"%}
			{% if forloop.first %}
			<a class="return" href="http://{{s}}">{{s.name}} home page</a>
			{% else %}
			<span style="margin-left:15px; margin-right:15px">&#8226;</span><a class="return" href="http://{{s}}">{{s.name}} home page</a>
			{% endif %}
			{% endfor %}
			</p>
		</div>

<!-- AddThis Smart Layers BEGIN -->
<!-- Go to http://www.addthis.com/get/smart-layers to customize -->
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=penbaypress"></script>
<script type="text/javascript">
addthis.layers({
'theme' : 'transparent',
'share' : {
'position' : 'right',
'services' : 'facebook,twitter,email,print,gmail,tumblr,more',
}   
});
</script>
<!-- AddThis Smart Layers END -->

{% endblock %}
