function passTheURL(){
	return location.href;
}

var shareVisible = false;


$(document).ready(function() {
	//flash.init();
});

flash = {
	init: function() {

	},
	passTheURL: function() {
		return location.href;
	},
	showOverlay: function(xpos, ypos) {
		addthis_pub = '';
		addthis_options = 'email,print,digg,myspace,facebook,twitter,favorites,delicious,live,blogger,google,wordpress';
		
		try {
			var sender = document.getElementById("flashShare");
			addthis_open(sender, '', '[URL]', '[TITLE]');
		}
		catch (err) { }

		//Position the window
		var cssObj = {
			'left': xpos,
			'top': ypos + 86
		}

		$("#flashShare").css(cssObj);
		addthisTracking();
	},
	hideOverlay: function() {
		var sender = document.getElementById("flashShare");
		addthis_close(sender);
	}
}