< defer>
fireshotsSites = {
"amazon":{
"name": "Amazon",
"regex": /^http:\/\/(.*\.|)amazon\.com/,
"params": {"ro": "1","sb": "1"}},
"aol":{
"name": "AOL Search",
"regex": /^http:\/\/.*\.aol\..*\/aol\/(search\?|news\?|newshome)/,
"params": {"ap": "0", "hdd": "1500"}},
"ask":{
"name": "Ask Search",
"regex": /^http:\/\/www\.ask\.com\/web\?/,
"params": {"ap": "0", "hdd": "1500", "si": "0"}},
"baidu":{
"name": "Baidu",
"regex": /^http:\/\/www\.baidu\.com\/s\?/,
"params": {"ap": "1", "hdd": "1500", "si": "0"}},
"blogdotcom":{
"name": "Blog.com",
"regex": /^http:\/\/.*\.blog\.com/,
"params": {"sb": "1", "si": "0", "ap": "0"}},
"blogger":{
"name": "Blogger",
"regex": /^http:\/\/.*\.blogspot\.com\//,
"params": {"sb": "1", "ap": "1", "si": "0"}},
"bloglines":{
"name": "Bloglines",
"regex": /^http:\/\/www\.bloglines\.com\/(myblogs_display\?|b\/)/,
"params": {"ap": "0", "sb": "1", "si": "0", "framed":"1"}},
"bloglinesbeta":{
"name": "Bloglines Beta",
"regex": /^http:\/\/beta\.bloglines\.com\/(myblogs_display?|b\/)/,
"params": {"ap": "0", "sb": "1", "si": "0", "framed":"1"}},
"boingboing":{
"name": "Boing Boing",
"regex": /^http:\/\/(.*\.|)boingboing\.net/,
"params": {"ap": "0", "sb": "1", "si": "0"}},
"drudgereport":{
"name": "Drudge Report",
"regex": /^http:\/\/(.*\.|)drudgereport\.com/,
"params": {"sb": "1"}},
"gawkermedia":{
"name": "Gawker Media sites",
"regex": /^http:\/\/(.*\.|)(gawker|defamer|wonkette|idolator|jalopnik|fleshbot|kotaku|deadspin|gridskipper|consumerist|gizmodo|valleywag|lifehacker|jezebel)\.com\//,
"params": {"ap": "0", "sb": "1", "si": "0"}},
"googlenews":{
"name": "Google News",
"regex": /^http:\/\/news.google\.com/,
"params": {"si":"0"}},
"googleblog":{
"name": "Google Blog",
"regex": /^http:\/\/blogsearch.google\.com/,
"params": {"si":"0"}},
"googlegroups":{
"name": "Google Groups",
"regex": /^http:\/\/groups.google\.com/,
"params": {"si":"0"}},
"googleproducts":{
"name": "Google Products",
"regex": /^http:\/\/www\.google\.com\/(products|prdhp)/,
"params": {"si":"0"}},
"googlescholar":{
"name": "Google Scholar",
"regex": /^http:\/\/scholar.google\.com/,
"params": {"si":"0"}},
"googlepatents":{
"name": "Google Patents",
"regex": /^http:\/\/www\.google\.com\/patents/,
"params": {"si":"0"}},
"googlesites":{
"name": "Google Sites",
"regex": /^http:\/\/sites.google\.com/,
"params": {"si":"0"}},
"googlebooks":{
"name": "Google Books",
"regex": /^http:\/\/books.google\.com/,
"params": {"si":"0"}},
"googlebooksearch":{
"name": "Google Book Search",
"regex": /^http:\/\/www\.google\.com\/books/,
"params": {"si":"0"}},
"googlenotebook":{
"name": "Google Notebook",
"regex": /^http:\/\/www\.google\.com\/notebook/,
"params": {"ap": "0"}},
"googlereader":{
"name": "Google Reader",
"regex": /^http:\/\/www\.google\.com\/reader\/view/,
"params": {"ap": "0", "sb": "1", "rs": "1","tp":"0", "si": "0"}},
"google":{
"name": "Google Search",
"regex": /^http:\/\/.*\.google\..*\/(search\?|custom\?|prdhp\?|webhp\?|maps\?|finance\?|products\?|$)/,
"params": {"ap": "0", "si": "0", "hdd": "1500"}},
"googleimages":{
"name": "Google Images",
"regex": /^http:\/\/images.google\.com/,
"params": {"ap": "0", "si": "0"}},
"googlevid":{
"name": "Google Video",
"regex": /^http:\/\/video.google\.com/,
"params": {"ro": "1", "sb": "1"}},
"huffingtonpost":{
"name": "Huffington Post",
"regex": /^http:\/\/(.*\.|)huffingtonpost\.com/,
"params": {"sb": "1", "si": "0"}},
"imdb":{
"name": "IMDb",
"regex": /^http:\/\/(.*\.|)imdb\.com/,
"params": {"ro": "1", "ap": "0","sb": "1"}},
"lycos":{
"name": "Lycos Search",
"regex": /^http:\/\/search\.lycos\.com/,
"params": {"ap": "0", "sb": "0", "hdd": "1500"}},
"metacafe":{
"name": "Metacafe Video",
"regex": /^http:\/\/(.*\.|)metacafe\.com/,
"params": {"sb": "1", "ro": "1"}},
"live":{
"name": "MSN Live Search",
"regex": /^http:\/\/search\.(live|msn)\.com\/results.aspx\?/,
"params": {"ap": "0", "hdd": "1500"}},
"myspace":{
"name": "MySpace",
"regex": /^http:\/\/(.*\.|)myspace\.com/,
"params": {"sb": "1", "ap": "0"}},
"marketwatch":{
"name": "MarketWatch",
"regex": /^http:\/\/(.*\.|)marketwatch\.com/,
"params": {"ap": "0", "si": "0", "ro": "1", "sb":"1", "rse":"marketwatch\.com"}},
"netvibes":{
"name": "NetVibes",
"regex": /^http:\/\/www\.netvibes\.com\//,
"params": {"ap": "0", "sb": "1", "rs": "1","tp":"0"}},
"revver":{
"name": "Revver Video",
"regex": /^http:\/\/(.*\.|)revver\.com/,
"params": {"sb": "1", "ro": "1"}},
"typepad":{
"name": "TypePad",
"regex": /^http:\/\/(.*\.|)typepad\.com/,
"meta": [{"name":"generator","content":"http://www.typepad.com/"}],
"params": {"sb": "1", "ap": "0", "si": "0"}},
"veoh":{
"name": "Veoh Video",
"regex": /^http:\/\/(.*\.|)veoh\.com/,
"params": {"sb": "1","ro": "1"}},
"vox":{
"name": "Vox",
"regex": /^http:\/\/(.*\.|)vox\.com/,
"params": {"sb": "1", "ap": "0"}},
"wikipedia":{
"name": "Wikipedia",
"regex": /^http:\/\/.*\.wikipedia\.org\/wiki\/.+/,
"params": {"sb": "1", "link_icon": "0", "ap": "0"}},
"xanga":{
"name": "Xanga Video",
"regex": /^http:\/\/(.*\.|)xanga\.com/,
"params": {"sb": "1", "ro": "1", "fl": "xanga", "tp":"0"}},
"yahoo":{
"name": "Yahoo Search",
"regex": /^http:\/\/.*\.yahoo\..*\/search/,
"params": {"ap": "0", "hdd": "1500"}},
"yahoofinance":{
"name": "Yahoo Finance",
"regex": /^http:\/\/finance\.yahoo\.com/,
"params": {"ro":"1"}}
};
fireshotsBlacklistedSites = new Array(
/^http:\/\/.*\.snap\.com/,
/^http:\/\/.*\.googlesyndication\.com/,
/^http:\/\/(w+\.)*gmail\.com/,
/^http:\/\/mail\.google\.com/,
/^http:\/\/(w*\.)*flickr\.com/,
/^http:\/\/(w*\.)*alltheweb\.com/,
/^http:\/\/picasaweb\.google\.com/,
/^http:\/\/(w*\.)*youtube\.com/,
/^http:\/\/(w*\.)*photobucket\.com/,
/^http:\/\/(w*\.)*wikipedia\.org\/$/,
/^http:\/\/.*\.monster\.com/,
/^http:\/\/money\.cnn\.com/
);
var unsafeWindow = window;
SNAP_COM_CLIENT = new Object;
SNAP_COM_CLIENT.fireshotsBlacklistedSites = fireshotsBlacklistedSites;
SNAP_COM_CLIENT.fireshotsSites = fireshotsSites;
SNAP_COM_CLIENT.sb = '';
SNAP_COM_CLIENT.size = '';
SNAP_COM_CLIENT.baseShotHREF = 'http://shots.snap.com';
SNAP_COM_CLIENT.disabledSites = '';
SNAP_COM_CLIENT.si = 0;
SNAP_COM_CLIENT.key = '0c8eabf7b194da72c957864bf9e491ab';
SNAP_COM_CLIENT.th = 'silver';
SNAP_COM_CLIENT.link_icon = 'on';
SNAP_COM_CLIENT.shots_trigger = 'both';
SNAP_COM_CLIENT.lang = 'en-us';
SNAP_COM_CLIENT.domain = '';
SNAP_COM_CLIENT.campaign = 'addon_ie_build84';
try {
function SNAP_COM_CLIENT_SHOTSSETUP() {
var url = location.href;
// the following must be defined before this js is used
// SNAP_COM_CLIENT.fireshotsBlacklistedSites;
// SNAP_COM_CLIENT.fireshotsSites;
// the following are various settings that should be defined, otherwise the defaults are used
if (typeof SNAP_COM_CLIENT.disabledSites == "undefined") SNAP_COM_CLIENT.disabledSites = "";
if (typeof SNAP_COM_CLIENT.si == "undefined") SNAP_COM_CLIENT.si = 1;
if (typeof SNAP_COM_CLIENT.key == "undefined") SNAP_COM_CLIENT.key = "invalidkey";
if (typeof SNAP_COM_CLIENT.th == "undefined") SNAP_COM_CLIENT.th = 'silver';
if (typeof SNAP_COM_CLIENT.sb == "undefined" || SNAP_COM_CLIENT.sb == '') SNAP_COM_CLIENT.sb = 1;
if (typeof SNAP_COM_CLIENT.link_icon == "undefined") SNAP_COM_CLIENT.link_icon = 'on';
if (typeof SNAP_COM_CLIENT.shots_trigger == "undefined") SNAP_COM_CLIENT.shots_trigger = 'both';
if (typeof SNAP_COM_CLIENT.size == "undefined") SNAP_COM_CLIENT.size = 'small';
if (typeof SNAP_COM_CLIENT.lang == "undefined") SNAP_COM_CLIENT.lang = 'en-us';
if (typeof SNAP_COM_CLIENT.domain == "undefined") SNAP_COM_CLIENT.domain = '';
if (typeof SNAP_COM_CLIENT.source == "undefined") SNAP_COM_CLIENT.source = '';
if (typeof SNAP_COM_CLIENT.campaign == "undefined") SNAP_COM_CLIENT.campaign = 'unknown_campaign';
if (typeof SNAP_COM_CLIENT.fl == "undefined") SNAP_COM_CLIENT.fl = '';
var params = {};
var blacklisted = false;
for (var x=0; x