if (canBookmark())
{
	document.write('<div class="ThickGreenLine"></div>');
	document.write('<img border=0 src="http://www.virtualparcels.com/shared/images/share.gif">');
	document.write('<span class="header2"><b> Share This Page</b></span>');
	document.write('<div class="ThinGreenLine"></div>');
	document.write('<a class="bookmark" id="email" title="Email it" href="javascript:toggleEmail()">');
	document.write('	<img border=0 src="http://www.virtualparcels.com/shared/images/email.gif">');
	document.write('	<span> Email</span>');
	document.write('</a>');
	document.write('<form id="emailForm" action="" method="post" target="emailResponse">');
	document.write('	<table id="EmailTable" style="display:">');
	document.write('		<tr>');
	document.write('			<td><span class="header3 bookmark"><b>To Email: </b></span></td>');
	document.write('			<td><input id="destAddr" name="destAddr" type="text" class="emailField"></input></td>');
	document.write('		</tr>');
	document.write('		<tr>');
	document.write('			<td><span class="header3 bookmark"><b>Your Email: </b></span></td>');
	document.write('			<td><input id="srcAddr" name="srcAddr" type="text" class="emailField"></input></td>');
	document.write('		</tr>');
	document.write('		<tr>');
	document.write('			<td><span class="header3 bookmark">Your Name: </span></td>');
	document.write('			<td><input id="srcName" name="srcName" type="text" class="emailField"></input></td>');
	document.write('		</tr>');
	document.write('		<tr>');
	document.write('			<td></td>');
	document.write('			<td>');
	document.write('				<a href="javascript:sendEmail()"><img border="0"  src="http://www.virtualparcels.com/shared/images/send.gif"/></a> ');
	document.write('				<iframe name="emailResponse" id="emailResponse" class="responseArea" frameBorder="0" marginHeight="4px" scrolling="no"></iframe>');
	document.write('			</td>');
	document.write('		</tr>');
	document.write('	</table>');
	document.write('	<input type="hidden" id="title" name="title">');
	document.write('	<input type="submit" id="emailButton" name="emailButton" style="display:none"/>');
	document.write('</form>');
	document.write('<div class="ThinGreenLine"></div>');
	document.write('<h3>Social Web Bookmarks (Opens a new window / tab)</h3>');
	document.write('<table id="Bookmarks">');
	document.write('	<tr>');
	document.write('		<td><a class="bookmark" target="new" id="digg" title="Post it to Digg" href="http://www.digg.com/submit?url=' + encodeURIComponent(location.href) + '&amp;title=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/digg.gif"/> Digg</a></td>');
	document.write('		<td><a class="bookmark" target="new" id="delicious" title="Post it to Delicious" href="http://del.icio.us/post?url=' + encodeURIComponent(location.href) + '&amp;title=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/delicious.gif"/> Delicious</a></td>');
	document.write('		<td><a class="bookmark" target="new" id="stumbleupon" title="Post it to StumbleUpon" href="http://www.stumbleupon.com/submit?url=' + encodeURIComponent(location.href) + '&amp;title=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/stumbleupon.gif"/> StumbleUpon</a></td>');
	document.write('	</tr>');
	document.write('	<tr>');
	document.write('		<td><a class="bookmark" target="new" id="reddit" title="Post it to reddit" href="http://www.reddit.com/submit?url=' + encodeURIComponent(location.href) + '&amp;title=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/reddit.gif"/> reddit</a></td>');
	document.write('		<td><a class="bookmark" target="new" id="facebook" title="Post it to Facebook" href="http://www.facebook.com/sharer.php?u=' + encodeURIComponent(location.href) + '" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/facebook.gif"/> Facebook</a></td>');
	document.write('		<td><a class="bookmark" target="new" id="furl" title="Post it to Furl" href="http://furl.net/storeIt.jsp?u=' + encodeURIComponent(location.href) + '&amp;t=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/furl.gif"/> Furl</a></td>');
	document.write('	</tr>');
	document.write('	<tr>');
	document.write('		<td><a class="bookmark" target="new" id="yahoo" title="Post it to Yahoo! My Web" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=' + encodeURIComponent(location.href) + '&amp;t=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/yahoo.gif"/> Yahoo! My Web</a></td>');
	document.write('		<td><a class="bookmark" target="new" id="google" title="Post it to Google Bookmarks" href="http://www.google.com/bookmarks/mark?op=edit&bkmk=' + encodeURIComponent(location.href) + '&amp;title=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/google.gif"/> Google Bookmarks</a></td>');
	document.write('		<td><a class="bookmark" target="new" id="blinklist" title="Post it to BlinkList" href="http://blinklist.com/index.php?Action=Blink/addblink.php&Url=' + encodeURIComponent(location.href) + '&amp;Title=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/blinklist.gif"/> BlinkList</a></td>');
	document.write('	</tr>');
	document.write('	<tr>');
	document.write('		<td><a class="bookmark" target="new" id="magnolia" title="Post it to ma.gnolia" href="http://ma.gnolia.com/bookmarklet/add?url=' + encodeURIComponent(location.href) + '&amp;title=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/magnolia.gif"/> ma.gnolia</a></td>');
	document.write('		<td><a class="bookmark" target="new" id="windowslive" title="Post it to Windows Live" href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&top=1&url=' + encodeURIComponent(location.href) + '&amp;title=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/windowslive.gif"/> Windows Live</a></td>');
	document.write('		<td><a class="bookmark" target="new" id="netscape" title="Post it to Netscape" href="http://www.netscape.com/submit/?U=' + encodeURIComponent(location.href) + '&amp;T=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/netscape.gif"/> Netscape</a></td>');
	document.write('	</tr>');
	document.write('	<tr>');
	document.write('		<td><a class="bookmark" target="new" id="technorati" title="Post it to Technorati" href="http://www.technorati.com/faves?add=' + encodeURIComponent(location.href) + '" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/technorati.gif"/> Technorati</a></td>');
	document.write('		<td><a class="bookmark" target="new" id="newsvine" title="Post it to Newsvine" href="http://www.newsvine.com/_wine/save?u=' + encodeURIComponent(location.href) + '&amp;h=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/newsvine.gif"/> Newsvine</a></td>');
	document.write('		<td><a class="bookmark" target="new" id="misterwong" title="Post it to Mister Wong" href="http://www.mister-wong.com/index.php?action=addurl&bm_url=' + encodeURIComponent(location.href) + '&amp;bm_description=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/misterwong.png"/> Mister Wong</a></td>');
	document.write('	</tr>');
	document.write('	<tr>');
	document.write('		<td><a class="bookmark" target="new" id="diigo" title="Post it to Diigo" href="http://www.diigo.com/post?url=' + encodeURIComponent(location.href) + '&amp;title=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/diigo.gif"/> Diigo</a></td>');
	document.write('		<td><a class="bookmark" target="new" id="feedmelinks" title="Post it to Feed Me Links" href="http://feedmelinks.com/categorize?from=toolbar&op=submit&url=' + encodeURIComponent(location.href) + '&amp;title=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/feedmelinks.png"/> Feed Me Links</a></td>');
	document.write('		<td><a class="bookmark" target="new" id="squidoo" title="Post it to Squidoo" href="http://www.squidoo.com/lensmaster/bookmark?' + encodeURIComponent(location.href) + '&amp;title=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/squidoo.gif"/> Squidoo</a></td>');
	document.write('	</tr>');
	document.write('	<tr>');
	document.write('		<td><a class="bookmark" target="new" id="simpy" title="Post it to Simpy" href="http://www.simpy.com/simpy/LinkAdd.do?href=' + encodeURIComponent(location.href) + '&amp;title=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/simpy.png"/> Simpy</a></td>');
	document.write('		<td><a class="bookmark" target="new" id="dropjack" title="Post it to DropJack" href="http://www.dropjack.com/submit.php?url=' + encodeURIComponent(location.href) + '" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/dropjack.gif"/> DropJack</a></td>');
	document.write('		<td><a class="bookmark" target="new" id="bluedot" title="Post it to Blue Dot" href="http://bluedot.us/Authoring.aspx?u=' + encodeURIComponent(location.href) + '&amp;t=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/bluedot.png"/> Blue Dot</a></td>');
	document.write('	</tr>');
	document.write('	<tr>');
	document.write('		<td><a class="bookmark" target="new" id="rawsugar" title="Post it to RawSugar" href="http://rawsugar.com/home/extensiontagit/?turl=' + encodeURIComponent(location.href) + '&amp;tttl=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/rawsugar.png"/> RawSugar</a></td>');
	document.write('		<td><a class="bookmark" target="new" id="blogmarks" title="Post it to Blogmarks" href="http://blogmarks.net/my/new.php?mini=1&simple=1&url=' + encodeURIComponent(location.href) + '&amp;title=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/blogmarks.png"/> Blogmarks</a></td>');
	document.write('		<td><a class="bookmark" target="new" id="slashdot" title="Post it to Slashdot" href="http://slashdot.org/bookmark.pl?url=' + encodeURIComponent(location.href) + '" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/slashdot.png"/> Slashdot</a></td>');
	document.write('	</tr>');
	document.write('	<tr>');
	document.write('		<td><a class="bookmark" target="new" id="fark" title="Post it to Fark" href="http://cgi.fark.com/cgi/fark/submit.pl?new_url=' + encodeURIComponent(location.href) + '&amp;new_comment=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/fark.png"/> Fark</a></td>');
	document.write('		<td><a class="bookmark" target="new" id="wink" title="Post it to Wink" href="http://wink.com/_/tag?url=' + encodeURIComponent(location.href) + '&amp;doctitle=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/wink.png"/> Wink</a></td>');
	document.write('		<td><a class="bookmark" target="new" id="linkagogo" title="Post it to LinkaGoGo" href="http://www.linkagogo.com/go/AddNoPopup?url=' + encodeURIComponent(location.href) + '&amp;title=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/linkagogo.png"/> LinkaGoGo</a></td>');
	document.write('	</tr>');
	document.write('	<tr>');
	document.write('		<td><a class="bookmark" target="new" id="ask" title="Post it to Ask" href="http://myjeeves.ask.com/mysearch/BookmarkIt?v=1.2&t=webpages&url=' + encodeURIComponent(location.href) + '&amp;title=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/ask.png"/> Ask</a></td>');
	document.write('		<td><a class="bookmark" target="new" id="netvouz" title="Post it to Netvouz" href="http://netvouz.com/action/submitBookmark?url=' + encodeURIComponent(location.href) + '&amp;title=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/netvouz.png"/> Netvouz</a></td>');
	document.write('		<td><a class="bookmark" target="new" id="spurl" title="Post it to Spurl" href="http://www.spurl.net/spurl.php?url=' + encodeURIComponent(location.href) + '&amp;title=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/spurl.png"/> Spurl</a></td>');
	document.write('	</tr>');
	document.write('	<tr>');
	document.write('		<td><a class="bookmark" target="new" id="propeller" title="Post it to Propeller" href="http://www.netscape.com/submit/?U=' + encodeURIComponent(location.href) + '&amp;T=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/propeller.png"/> Propeller</a></td>');
	document.write('		<td><a class="bookmark" target="new" id="tailrank" title="Post it to Tailrank" href="http://tailrank.com/share/?link_href=' + encodeURIComponent(location.href) + '&amp;title=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/tailrank.gif"/> Tailrank</a></td>');
	document.write('		<td><a class="bookmark" target="new" id="kerplop" title="Post it to Kerplop" href="http://kerplop.com/?u=' + encodeURIComponent(location.href) + '&amp;t=' + encodeURIComponent(document.title) + '"" onclick="sendBookmark(this)" oncontextmenu="sendBookmark(this)"><img border=0 src="http://www.virtualparcels.com/shared/images/kerplop.gif"/> Kerplop</a></td>');
	document.write('	</tr>');
	document.write('</table>');
	document.write('<form id="bookmarkForm" action="" method="post" target="bookmarkResponse">');
	document.write('	<input type="hidden" id="url" name="url">');
	document.write('	<input type="submit" id="bookmarkButton" name="bookmarkButton" style="display:none"/>');
	document.write('</form>');
	document.write('<iframe name="bookmarkResponse" id="bookmarkResponse" style="display:none"></iframe>');
	document.write('<div class="ThickGreenLine"></div>');
}

function canBookmark()
{
	if (location.pathname.indexOf("page.cfm") != -1)
	{
		if (document.title == "Related Websites") return false;
		return true;
	}
	if (location.pathname.indexOf("article.cfm") != -1) return true;
	if (location.pathname == "") return true;
	if (location.pathname == "/") return true;
	return false;
}

function sendBookmark(theLink)
{
	var url = encodeURI(theLink.href);
	document.getElementById("url").value = url;
	document.getElementById("bookmarkForm").action = "http://www.virtualparcels.com/wmst/http?request=sendbookmark&app=vp";
	document.getElementById("bookmarkButton").click();
}

function toggleEmail()
{
	var emailTable = document.getElementById("EmailTable");
	if (emailTable.style.display == "none") emailTable.style.display = "";
	else emailTable.style.display = "none";
}

function sendEmail(theLink)
{
	if (document.getElementById("destAddr").value == "") 
	{
		alert("Please specify the destination email address.");
		return;
	}
	if (document.getElementById("srcAddr").value == "") 
	{
		alert("Please specify the sender's email address.");
		return;
	}
	document.getElementById("title").value = document.title;
	document.getElementById("emailForm").action = "http://www.virtualparcels.com/wmst/http?request=sendemail&app=vp";
	//document.getElementById("emailForm").action = "http://localhost:8050/wmst/http?request=sendemail&app=vp";
	document.getElementById("emailButton").click();
}
