function showBtn(id, sharingUrl, contentTitle, contentDescription, shareTitle, sharedObjParam){

	var $addThisNonConf=jQuery.noConflict();
	
	var holder = $addThisNonConf('#toolboxMessage' + id);
	if(holder != null){
		if(!holder.hasClass('done')){
			holder.addClass('done');
			
			$addThisNonConf('#staticImg' + id).remove();
			var tbx = document.getElementById( 'toolboxMessage' + id );
			
			if(tbx != null){
				
				var svcs = {facebook: '', twitter: '', expanded: ''};
				for (var s in svcs) {
					tbx.innerHTML += '<a class="addthis_button_'+s+'" title="' + shareTitle + '">'+svcs[s]+'</a>';
				}
				addthis.toolbox( tbx, {}, {url : sharingUrl, title : contentTitle, description : contentDescription });
				
				sharedObj = sharedObjParam;
				
			}
		}
	}
}

function openSocialNetworkSharingWindow(shareUrl,message) {
	
	var width = 550;
    var height = 400;
    var left = parseInt((screen.availWidth/2) - (width/2));
    var top = parseInt((screen.availHeight/2) - (height/2));
    var windowFeatures = "width=" + width + ",height=" + height + ",resizable,status=0,left=" + left + ",top=" + top + "screenX=" + left + ",screenY=" + top;
    var myWindow = window.open(shareUrl, '', windowFeatures);
    
    if (!myWindow) 
        alert(message);
    
}
