
$(document).ready( function() {


	/***************************************
	* External site popup: rel="external"
	**************************************/
	$("a[@rel=*external]").click( function() {
	window.open( $(this).attr('href') );
	return false;
	});
	
	/***************************************
	* External site popup
	***************************************
	$("#main a[href^='http://']").not("a[href^='http://www.dailygeeks.com']").click(function(){
	window.open(this.href,'external');
	return false;
	}); 	
	*/
	
	/***************************************
	* Article Page Bookmarks
	**************************************/
	if ( $('#articlesocial').length )
	{
		var current_url = $('#currenturi').attr('href');
		var current_title = $('#currenturi').attr('title');
		var bookmarks = 
			'<a href="http://www.stumbleupon.com/submit?url=' + current_url + '" class="stumble" target="_blank">Add To StumbleOpon</a>' + 
			'<a href="http://del.icio.us/post?url=' + current_url + '" class="delicous" target="_blank">Add to Delicious</a>' +
			'';
		
		$('#articlesocial').html(bookmarks);
	}


}); 


var dg_adsense_client = "pub-5217561013619538";



