";out += "
";out += "
";out += "
";$(".shareButtons2013,.shareButtons2014").html(out);$(".shareButtons2013,.shareButtons2014").on("click", "div", function(){var service = $(this).data('service');switch ( service ) {case 'facebook':popUp( "https://www.facebook.com/sharer/sharer.php?u=" + $(this).data('url') , {w:650,h:306} ); break;case 'twitter':popUp( "http://twitter.com/intent/tweet?url=" + $(this).data('url') + "&text=" + document.title + "&via=uvlist.net" , {w:550,h:420} ); break;case 'tumblr':popUp( "http://www.tumblr.com/share?v=3\u0026u=" + $(this).data('url') , {w:1024,h:650} ); break;case 'reddit':popUp( "http://www.reddit.com/submit?url=" + $(this).data('url') + "&title=" + document.title , {w:900,h:650} ); break;}// _gaq.push(['_trackSocial', service, 'Share']);ga('send', 'event', "trackSocial", "share", service);});} else {}if ( $(".shareButtons2015").length ) {var out = "";out += "
";out += "
";out += "
";out += "
";out += "
";out += "
";$(".shareButtons2015").html(out);$(".shareButtons2015").on("click", "div", function(){var service = $(this).data('service');switch ( service ) {case 'facebook':popUp( "https://www.facebook.com/sharer/sharer.php?u=" + $(this).data('url') , {w:650,h:306} ); break;case 'twitter':popUp( "http://twitter.com/intent/tweet?url=" + $(this).data('url') + "&text=" + document.title + "&via=uvlist.net" , {w:550,h:420} ); break;case 'tumblr':popUp( "http://www.tumblr.com/share?v=3\u0026u=" + $(this).data('url') , {w:1024,h:650} ); break;case 'reddit':popUp( "http://www.reddit.com/submit?url=" + $(this).data('url') + "&title=" + document.title , {w:900,h:650} ); break;case 'share':if ($("#user_share").is(":visible") ) {$("#user_share").hide();} else {if ( $("#user_share").html() == "" ) {$("#user_share").show().html("loading...");var type = "";var id = 0;var url = $('meta[property="og:url"]').attr('content');var imageurl = $('meta[property="og:image"]').attr('content');var txt = encodeURI( $("h1").text() + " at UVL" );$("#user_share").load("/request.php?share="+type+"&id="+id+"&url="+url+"&imageurl="+imageurl+"&txt="+txt,null,function(){//console.log("xhr done");});} else {$("#user_share").show();};}break;}// _gaq.push(['_trackSocial', service, 'Share']);ga('send', 'event', "trackSocial", "share", service);});} else {}