var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); function akst_share(id, url, title) { var form = $('akst_form'); var post_id = $('akst_post_id'); if (form.style.display == 'block' && post_id.value == id) { form.style.display = 'none'; return; } var link = $('akst_link_' + id); var offset = Position.cumulativeOffset(link); $("akst_delicious").href = akst_share_url("://del.icio.us/post?url={url}&title={title}", url, title); $("akst_digg").href = akst_share_url("://digg.com/submit?phase=2&url={url}&title={title}", url, title); $("akst_google_bmarks").href = akst_share_url(" http://www.google.com/bookmarks/mark?op=edit&bkmk={url}&title={title}", url, title); $("akst_yahoo_myweb").href = akst_share_url("://myweb2.search.yahoo.com/myresults/bookmarklet?u={url}&t={title}", url, title); $("akst_technorati").href = akst_share_url("://www.technorati.com/faves?add={url}", url, title); $("akst_barrapunto").href = akst_share_url("://barrapunto.com/submit.pl?story=&subj={title}", url, title); $("akst_meneame").href = akst_share_url("://meneame.net/submit.php?url={url}", url, title); $("akst_fresqui").href = akst_share_url("://tec.fresqui.com/post?url={url}&title={title}", url, title); $("akst_favoriting").href = akst_share_url("://www.favoriting.com/nuevoFavorito.asp?qs_origen=3&qs_url={url}&qs_title={title}", url, title); $("akst_blogmemes").href = akst_share_url("://www.blogmemes.com/post.php?url={url}&title={title}", url, title); $("akst_chido").href = akst_share_url("://chido.blogsmexico.com/submit.php?url={url}", url, title); $("akst_webeame").href = akst_share_url("://www.webeame.net/submit.php?url={url}", url, title); $("akst_blinklist").href = akst_share_url("://es.blinklist.com/index.php?Action=Blink/addblink.php&Url={url}&Title={title}", url, title); $("akst_neodiario").href = akst_share_url("://www.neodiario.net/submit.php?url={url}", url, title); post_id.value = id; form.style.left = offset[0] + 'px'; form.style.top = (offset[1] + link.offsetHeight + 3) + 'px'; form.style.display = 'block'; } function akst_share_url(base, url, title) { base = base.replace('{url}', url); return base.replace('{title}', title); } function akst_share_tab(tab) { var tab1 = document.getElementById('akst_tab1'); var tab2 = document.getElementById('akst_tab2'); var body1 = document.getElementById('akst_social'); var body2 = document.getElementById('akst_email'); switch (tab) { case '1': tab2.className = ''; tab1.className = 'selected'; body2.style.display = 'none'; body1.style.display = 'block'; break; case '2': tab1.className = ''; tab2.className = 'selected'; body1.style.display = 'none'; body2.style.display = 'block'; break; } } function akst_xy(id) { var element = $(id); var x = 0; var y = 0; } }