/*



	This script is a part of DocReactor [+http://www.docreactor.com]
	DocReactor is developed by Orcapia [+http://www.orcapia.com]
	DocReactor is copyright 2006-2012 of ORCAPIA Per Bang. Extensions are copyright of their respective owners.




*/
var orcapia_feature_sharesi = new Array();orcapia_feature_sharesi = [['','facebook','Facebook','http://www.facebook.com/share.php?u=[URL]'],['','digg','Digg','http://digg.com/submit?phase=2&amp;url=[URL]&amp;title=[TITLE]'],['','delicious','Del.icio.us','http://del.icio.us/post?v=2&amp;url=[URL]&amp;title=[TITLE]'],['','myspace','MySpace','http://www.myspace.com/Modules/PostTo/Pages/?u=[URL]&t=[TITLE]&c='],['','google','Google','http://www.google.com/bookmarks/mark?op=edit&bkmk=[URL]&title=[TITLE]'],['','stumbleupon','StumbleUpon','http://www.stumbleupon.com/submit?url=[URL]&amp;title=[TITLE]'],['','technorati','Technorati','http://technorati.com/faves/?add=[URL]'],['','reddit','Reddit','http://reddit.com/submit?url=[URL]&title=[TITLE]'],['','newsvine','Newsvine','http://www.newsvine.com/_wine/save?u=[URL]&amp;h=[TITLE]'],['','live','Live','https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=[URL]&title=[TITLE]&top=1'],['orcapia','','','']
];function orcapia_feature_share_open(url) {var h = 560;var w = 780;var winl = (screen.width - w) / 2;var wint = (screen.height - h) / 2;var winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=yes,resizable=yes,toolbar=no,directories=no,status=no,menubar=no';window.open(url, 'sharethis', winprops);return false;};function orcapia_feature_share(id) {var htmlout = '';for (orcapia_feature_sharex=0; orcapia_feature_sharex<orcapia_feature_sharesi.length; orcapia_feature_sharex++){var url = orcapia_feature_sharesi[orcapia_feature_sharex][3].replace('[URL]',encodeURIComponent(orcapia_feature_share_url.replace('[REF]','drShare_'+orcapia_feature_sharesi[orcapia_feature_sharex][1])));url = url.replace('[TITLE]',encodeURIComponent(document.title));if (orcapia_feature_sharesi[orcapia_feature_sharex][0] != 'orcapia') htmlout += '<li><a href="#" onclick="return orcapia_feature_share_open(\''+url+'\');" target="_blank" style="padding-left: 26px; background-image: url(\'/web/pub/images/16x16/sharethis/'+orcapia_feature_sharesi[orcapia_feature_sharex][1]+'.png\'); background-position: 2px 2px; background-repeat: no-repeat;">'+orcapia_feature_sharesi[orcapia_feature_sharex][2]+'</a></li>';};$('#'+id).html(htmlout);};
