function sharepop(url, pwidth, pheight) {
	var wwidth = pwidth;
	var wheight = pheight;
	var cwidth = (window.screen.width - wwidth) / 2;
	var cheight = (window.screen.height - wheight) / 2;
	newwindow = window.open(url, 'sharewindow', 'width='+wwidth+',height='+wheight+',left='+cwidth+',top='+cheight+'toolbar=0');
	if (window.focus) { newwindow.focus() };
	return false;
	}
	
jQuery(document).ready(function(){
	jQuery('a.share').click(function(){
		return sharepop( jQuery(this).attr('href'), 626, 436 );
		});
	});

jQuery(document).ready(function(){
	jQuery('a.liveplayera').click(function(){
		return sharepop( jQuery(this).attr('href'), 330, 160 );
		});
	});
