// JavaScript Document

share.url = 'the url you want to share';//update this if your url is not dynamic. If this is done in flash, it will overwrite this setting

share.title = 'Welcome to Zland!';

share.tweet = 'I went to ZLand and things got creepy.';//This is only for twitter

share.description = 'I went to ZLand and things got creepy.';//This will not work for facebook

addLoadEvent(function(){
	if(top.location != location){
		var a = document.getElementsByTagName('a');
		if(extendOnClick){
			for(var i=0; i<a.length; i++){
				extendOnClick(a[i],function(){
					var href = this.getAttribute('href');
					if(href){
						top.location = href;
					}
				});
			}
		}
	}
});

