// JavaScript Document


function fbs_click(u,t) {window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharerFBK','toolbar=0,status=0,scrollbars=1,width=626,height=436');return false;}

function Digg_click(u,t) {window.open('http://digg.com/submit?url='+encodeURIComponent(u)+'&title='+encodeURIComponent(t),'sharerDIG','toolbar=0,status=0,scrollbars=1,width=835,height=731');return false;}

function MySpace_click(u,t) {window.open('http://www.myspace.com/Modules/PostTo/Pages/?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharerMSP','toolbar=0,status=0,scrollbars=1,width=835,height=731');return false;}

function delicious_click(u,t) {window.open('http://delicious.com/save?v=5&noui&url='+encodeURIComponent(u)+'&title='+encodeURIComponent(t),'sharerDEL','toolbar=0,status=0,scrollbars=1,width=835,height=731');return false;}

function Stumble_click(u,t) {window.open('http://www.stumbleupon.com/submit?url='+encodeURIComponent(u)+'&title='+encodeURIComponent(t),'sharerSTM','toolbar=0,status=0,scrollbars=1,width=835,height=731');return false;}

function newsVine_click(u,t) {window.open('http://www.newsvine.com/_wine/save?popoff=1&u='+encodeURIComponent(u),'sharerNWS','toolbar=0,status=0,width=835,height=731');return false;}

if (location.search.indexOf("&") == -1) {
	locSearch = location.search.slice(1);
	}

if (location.search.indexOf("&") != -1) {
	locSearch = location.search.slice(1, location.search.indexOf("&"));
	}

GAFBShareLink = "/shareLinks/Facebook/" + locSearch;

GAMSShareLink = "/shareLinks/MySpace/" + locSearch;

GADGShareLink = "/shareLinks/Digg/" + locSearch;

GASUShareLink = "/shareLinks/StumbleUpon/" + locSearch;

GADLShareLink = "/shareLinks/delicious/" + locSearch;

GANVShareLink = "/shareLinks/Newsvine/" + locSearch;


function shareBar(i, shareText, sideMargins, topMargins) {

document.write("<div class='ShareLinks' style='text-align: center; margin-right: " + sideMargins + "px; margin-left: " + sideMargins + "px; margin-top: " + topMargins + "px; margin-bottom: " + topMargins + "px; padding-bottom: 5px; padding-top: 5px; font-size: 11px; border-top: 1px solid rgb(198,198,198); border-bottom: 1px solid rgb(198,198,198);'>   	<span style='color: rgb(102, 102, 102);'>" + shareText + ":</span>   	<span id='Facebook" + i + "'></span>  	  	<span id='MySpace" + i + "'></span>  <span id='Digg" + i + "'></span>  	<span id='Mixx" + i + "'></span>	<span id='Delicious" + i + "'></span>  	<span id='YahooBuzz" + i + "'></span>  	<span id='NewsVine" + i + "'></span>  	<span id='StumbleUpon" + i + "'></span></div>");

/// Sharing on Facebook ///

document.getElementById("Facebook" + i).innerHTML = "<a style='text-decoration: none;' href='http://www.facebook.com/share.php?u=" + encodeURIComponent(window.location) + "&t=" + encodeURIComponent(document.title) + "' onclick='CallAJAXCountAd(2669,0,window.location.pathname);return fbs_click(location.href,document.title);urchinTracker(GAFBShareLink);'><img alt='Share on Facebook' title='Share on Facebook' border=0 src='/Userfiles/image/buttons/icons/icon_facebook.gif' /> Facebook</a> &nbsp; ";

/// Sharing on Digg ///

document.getElementById("Digg" + i).innerHTML = "<a style='text-decoration: none;' href='http://digg.com/submit?url=" + encodeURIComponent(window.location) + "&title=" + encodeURIComponent(document.title) + "' onclick='CallAJAXCountAd(2671,0,window.location.pathname);return Digg_click(location.href,document.title);urchinTracker(GADGShareLink);'><img alt='Digg This!' title='Digg This!' border=0 src='/Userfiles/image/buttons/icons/icon_digg.gif' /> Digg</a> &nbsp; ";


/// Sharing on Myspace ///

document.getElementById("MySpace" + i).innerHTML = "<a style='text-decoration: none;' target='_blank' href='http://www.myspace.com/Modules/PostTo/Pages/?u=" + encodeURIComponent(window.location) + "&t=" + encodeURIComponent(document.title) + "' onclick='CallAJAXCountAd(2670,0,window.location.pathname);return MySpace_click(location.href,document.title);urchinTracker(GAMSShareLink);'><img alt='Share on MySpace' title='Share on MySpace' border=0 src='/Userfiles/image/buttons/icons/icon_myspace.gif' /> Myspace</a> &nbsp; ";


/// Sharing on del.icio.us ///

document.getElementById("Delicious" + i).innerHTML = "<a style='text-decoration: none;' target='_blank' href='http://delicious.com/save?v=5&noui&url=" + encodeURIComponent(window.location) + "&title=" + encodeURIComponent(document.title) + "' onclick='CallAJAXCountAd(2672,0,window.location.pathname);return delicious_click(location.href,document.title);urchinTracker(GADLShareLink);'><img alt='Share on del.icio.us' title='Share on del.icio.us' border=0 src='/Userfiles/image/buttons/icons/icon_delicious.gif' /> del.icio.us</a> &nbsp; ";



/// Sharing on StumbleUpon ///


document.getElementById("StumbleUpon" + i).innerHTML = "<a style='text-decoration: none;' target='_blank' href='http://www.stumbleupon.com/submit?url=" + encodeURIComponent(window.location) + "&title=" + encodeURIComponent(document.title) + "' onclick='CallAJAXCountAd(2673,0,window.location.pathname);return Stumble_click(location.href,document.title);urchinTracker(GASUShareLink);'><img alt='Share on StumbleUpon' title='Share on StumbleUpon' border=0 src='/Userfiles/image/buttons/icons/icon_StumbleUpon.gif' /> StumbleUpon</a>";


/// Sharing on NewsVine ///


document.getElementById("NewsVine" + i).innerHTML = "<a style='text-decoration: none;' target='_blank' href='http://www.newsvine.com/_wine/save?popoff=1&u=" + encodeURIComponent(window.location) + "' onclick='CallAJAXCountAd(2674,0,window.location.pathname);return newsVine_click(location.href,document.title);urchinTracker(GANVShareLink);'><img alt='Share on Newsvine' border=0 title='Share on Newsvine' src='/Userfiles/image/buttons/icons/icon_newsvine.gif' /> Newsvine</a> &nbsp; ";


}


