// JavaScript Document

share.tracking = false;

share.url = 'http://bookofeli.net/';//update this if your url is not dynamic. If this is done in flash, it will overwrite this setting

share.title = 'Check Out The Official International Book of Eli Movie Site and Trailer';

share.tweet = 'Check out the Book of Eli International Movie Site and Trailer at http://bookofeli.net/' ;//This is only for twitter

share.description = 'Denzel Washington, Gary Oldman, and Mila Kunis star in The Book of Eli. In a post-apocalyptic world, one man fights to protect a book that contains the secrets';//This will not work for facebook
share.delicious.description = 'Denzel Washington, Gary Oldman, and Mila Kunis star in The Book of Eli. In a post-apocalyptic world, one man fights to protect a book that contains the secrets.';//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;
                                      }
                                      return false;
                               });
			}
		}
	}
});
