function showShare(url,type,text){
	$('#black').animate({opacity:'show'});
	$('#background').attr({src:'images/' + type + '_back.png'});
	$('#share-container').animate({opacity:'show'});
	$('#share').animate({opacity:'show'});
	$('#share-loader').attr({src:''});
	if(type == 'facebook'){
		$('#close').delay(500).animate({opacity:'show'});
		$('#share-loader').attr({src:'http://www.facebook.com/plugins/like.php?href=' + url + '&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=130&amp;title=Hello'});
	}else if(type == 'twitter'){
		$('#close').animate({opacity:'show'});
		$('#share-loader').attr({src:'http://platform.twitter.com/widgets/tweet_button.html?text=' + text + '&url=' + url});
	}
}

function hideShare(){
	$('#black-container').animate({opacity:'hide'});
	$('#black').animate({opacity:'hide'});
	$('#share-container').animate({opacity:'hide'});
	$('#share').animate({opacity:'hide'});
	$('#close').animate({opacity:'hide'});
}

