function copyLink(a){if(!a||0===a.length){a=window.location.href}var b=$("");$("body").append(b);b.val(a).select();document.execCommand("copy");b.remove();alert("Link copied successfully!")};