if(conf){conf.cid="Share page";}function showVideoShareUI(c,d,a,b){showShareUI(c,d,a,b);}function showShareUI(f,h,i,g){var e=new gigya.services.socialize.UserAction();var a=f||"";var c=h||"";var d={src:i,href:location.href,type:"image"};e.setUserMessage("Check this out!");e.setTitle(a);e.setDescription(c);
e.setLinkBack(location.href);if(arguments.length>3&&typeof(g)!="undefined"){e.addActionLink("Watch the Video",g);}e.addMediaItem(d);var b={userAction:e,onError:onError,onSendDone:onSendDone,onSend:onSend,showMoreButton:true,showEmailButton:true,useFBDialog:true,advancedTracking:true,enabledProviders:"facebook,messenger,twitter,myspace,yahoo,google",useHTML:true};
gigya.services.socialize.showShareUI(conf,b);}function onError(a){alert("An error has occured"+": "+a.errorCode+"; "+a.errorMessage);}function onSend(a){fsAnalytics(this,{type:"link",description:"gigya - "+a.provider});}function onSendDone(a){if(document.getElementById("shareStatus")&&document.getElementById("shareStatus")!=null){document.getElementById("shareStatus").innerHTML="Shared";
}else{$(".shareStatus").each(function(b){this.innerHTML="Shared";});}}
