

//
// Copyright 2009 Electronic Arts, Inc.
//











	
		
			
			
        



















































var PogoFBConstants = PogoFBConstants || {
  apiKey: '294400680281',
  autoshareEnabled: 'true',
  publishingEnabled: 'true',
  facebookEnabled:'true',
  pogoLocale: 'en_US'
};

PogoFBConstants.URLs = {
  upgradeBrowserPath: '/fbconnect/upgradebrowser.do',
  inviteFriends: '/fbconnect/friends/invite.do',
  viewGift: 'http://www.pogo.com/items/view-gift-landing.do',

  badgeLanding: 'http://www.pogo.com/fbconnect/badgelanding.do',
  prizeLanding: 'http://www.pogo.com/prize/fbconnect/landing.do',

  welcome: 'http://www.pogo.com/hotdeploy/us/promotions/marketing/facebook-badges/landing-page.jsp',
  pogoHome: 'http://www.pogo.com/',
  pogoHomeClub: 'http://www.pogo.com/club-pogo'
};

PogoFBConstants.Messages = {
	errorInternalTitle: 'Unable to Connect with Facebook',
	errorFatalAjaxProblem: 'There was a problem while processing your request. Please try again later.',
	
	defaultSettingsInitAutopublish: 'fp fbc profile settings enable autopublish initiated',
	popupSettingsInitAutopublish: 'fp fbc profile popup enable autopublish initiated',
	
	defaultSettingsDoAutopublish: 'fp fbc profile settings enable autopublish confirmed',
	popupSettingsDoAutopublish: 'fp fbc profile popup enable autopublish confirmed',
	
	defaultSettingsRejectAutopublish: 'fp fbc profile settings enable autopublish rejected',
	popupSettingsRejectAutopublish: 'fp fbc profile popup enable autopublish rejected',
	
	settingsRemoveAutopublish: 'fp fbc profile settings disable autopublish',
	
	commonWhatIsThis: 'What is this?',
	commonConnect: 'Connect with Facebook',
	
	removeLinkConfirmMessage: 'Are you sure you want to disconnect your Facebook account from your Pogo account?',
	removeLinkConfirmTitle: 'Remove Link to Facebook',

	defaultInitPermissionOmnitureTag: 'fp fbc profile settings enable autopublish initiated',
	popupInitPermissionOmnitureTag: 'fp fbc profile popup enable autopublish initiated',

	defaultConfirmedPermissionOmnitureTag: 'fp fbc profile settings enable autopublish confirmed',
	popupConfirmedPermissionOmnitureTag: 'fp fbc profile popup enable autopublish confirmed',
	
	defaultRejectedPermissionOmnitureTag: 'fp fbc profile settings enable autopublish rejected',
	popupRejectedPermissionOmnitureTag: 'fp fbc profile popup enable autopublish rejected',

	settingsRemoveAutoPublish: 'fp fbc profile settings disable autopublish',

	streamBadgesWithGameCaption: '{*actor*} completed this badge playing {1} on Club Pogo. Join {*actor*} on Club Pogo to earn this badge and hundreds more like it today.',
	streamBadgesWithoutGameCaption: '{*actor*} earned the {0}. Collect hundreds of FREE badges like this one at ClubPogo.com.',
	streamBadgesName: 'I won the {0} on Club Pogo',
	streamBadgesPropertyKey: 'Pogo.com',
	streamBadgesPropertyValue: 'games and more',
	streamBadgesActionLink: 'Play on Club Pogo',

	badgesHomeOmnitureExtSrc: 'cp_fbc_userfeed_badge_hp',
	badgesGameOmnitureExtSrc: 'cp_fbc_userfeed_badge_bp',

	badgesInitPublishPopupOmnitureTag: 'fp fbc wonchallenge popup publish badge initiated',
	badgesInitPublishAlbumOmnitureTag: 'fp fbc badgealbum publish badge initiated',

	badgesDoPublishPopupOmnitureTag: 'fp fbc wonchallenge popup publish badge confirmed',
	badgesDoPublishAlbumOmnitureTag: 'fp fbc badgealbum publish badge confirmed',

	streamDailySpecialName: 'I won the daily challenge on Pogo.com!',
	streamDailySpecialWithGameCaption: '{*actor*} won the daily challenge while playing {0}. Play today\'s daily challenge at Pogo.com.',
	streamDailySpecialWithoutGameCaption: '{*actor*} won the daily challenge. Play today\'s daily challenge at Pogo.com.',
	streamDailySpecialPropertyKey: 'Pogo.com',
	streamDailySpecialPropertyValue: 'get badges, exclusive games, double jackpots & more!',

	DailySpecialHomeOmnitureExtSrc: 'cp_fbc_userfeed_ds_hp',
	DailySpecialGameOmnitureExtSrc: 'cp_fbc_userfeed_ds_bp',

	DailySpecialInitPublishPopupOmnitureTag: 'fp fbc wonchallenge popup publish dailyspecial initiated',

	DailySpecialDoPublishPopupOmnitureTag: 'fp fbc wonchallenge popup publish dailyspecial confirmed',


	initPublishMyGiftsOmnitureTag: 'fp fbc mygifts publish initiated',
	giftsDetailExtSrc: 'fp_fbc_userfeed_gift_giftdetail',
	giftsHomeExtSrc: 'fp_fbc_userfeed_gift_hp',

	streamGiftsActionLink: 'Visit Pogo.com',
	
	streamGiftsMiniName: 'I got a gift on Pogo.com',
	streamGiftsMiniCaption: '{*actor*} received the {0} Pogo Mini item on Pogo.com. Click on the gift to see it!',
	streamGiftsMiniCategory: '100+ free games, cash prizes and more!',
	streamGiftsMiniCategoryName: 'Pogo.com',
	
	streamGiftsBadgeName: 'I got a gift on Club Pogo',
	streamGiftsBadgeCaption: '{*actor*} received the {0} earned by playing the game {1} on Club Pogo. Give a Pogo gift! Click on the image to learn more.',
	streamGiftsBadgeCategory: 'get badges, exclusive games, double jackpots and more!',
	streamGiftsBadgeCategoryName: 'ClubPogo.com',
	
	streamGiftsAlbumName: 'Check out my new Pogo Premium Badge Album gift!',
	streamGiftsAlbumCaption: '{*actor*} received the "{0}" Premium Badge Album at Pogo.com. Give a Pogo gift! Click on the image to learn more.',
	streamGiftsAlbumCategory: 'get badges, exclusive games, double jackpots and more!',
	streamGiftsAlbumCategoryName: 'ClubPogo.com',
	
	streamGiftsCluessName: 'I got a gift on Pogo.com',
	streamGiftsCluessCaption: '{*actor*} received the "{0}" CLUE Episode at Pogo.com. Give a Pogo gift! Click on the image to learn more.',
	streamGiftsCluessCategory: '100+ free games, cash prizes and more!',
	streamGiftsCluessCategoryName: 'Pogo.com',
	
	expressionGiftsDetailExtSrc: 'fp_fbc_userfeed_expgift_giftdetail',
	expressionGiftsHomeExtSrc: 'fp_fbc_userfeed_expgift_hp',

	streamGiftsExpressionName: 'I got a gift on Pogo.com',
	streamGiftsExpressionCaption: '{*actor*} received the {0} on Pogo.com. Click on the gift to see it!',
	streamGiftsExpressionCategory: '100+ free games, cash prizes and more!',
	streamGiftsExpressionCategoryName: 'Pogo.com',
	
	streamGamePlayName: 'I am playing {0} on Pogo.com',
	streamGamePlayCaption: 'Join {*actor*} on Pogo.com to play {0} or one of 100+ other free online games today.',
	streamGamePlayActionLink: 'Visit Pogo.com',

	streamPrizeWinInGameName: 'I won {0} playing {1} on Club Pogo',
	streamPrizeWinInGameCaption: 'Win daily prizes playing {0} or one of 100+ fun online games on Club Pogo today.',
	streamPrizeWinInGameCategory: 'Games, Prizes, and More!',
	streamPrizeWinInGameCategoryName: 'Play to win prizes',
	streamPrizeWinActionLink: 'Visit Pogo.com',

	initPublishPrizeWinInGameOmnitureTag: 'fp fbc prizewin ingame publish initiated',
	doPublishPrizeWinInGameOmnitureTag: 'fp fbc prizewin ingame publish confirmed',

	streamPrizeWinName: 'I won {0} on Pogo.com!',
	streamPrizeWinCaption: 'Win daily prizes playing one of 100+ fun online games on Club Pogo today.',
	streamPrizeWinCategory: 'Games, Prizes, and More!',
	streamPrizeWinCategoryName: 'Pogo.com',
	
	initPublishPrizeWinOmnitureTag: 'fp fbc prizewin publish initiated',
	doPublishPrizeWinOmnitureTag: 'fp fbc prizewin publish confirmed',
	
	prizeWinHomeExtSrc: 'fp_fbc_userfeed_prizewin_hp',
	prizeWinInGameLandingExtSrc: 'fp_fbc_userfeed_prizewin_ingame',
	prizeWinLandingExtSrc: 'fp_fbc_userfeed_prizewin_landing',
	
	gamePlayHomeExtSrc: 'fp_fbc_userfeed_gameplay_hp',
	gamePlayLandingExtSrc: 'fp_fbc_userfeed_gameplay',
	welcomeHomeExtSrc: 'fbc_userfeed_title_welcome',
	actionHomeExtSrc: 'fbc_userfeed_link_welcome', 
	
	doPublishMyGiftsOmnitureTag: 'fp fbc mygifts publish confirmed',
	connectMyGiftsOmnitureTag: 'fp fbc mygifts publish create connect',
	
	doPublishGamePlayOmnitureTag: 'fp fbc gameplay publish confirmed',
	
	streamWelcomeName: 'I joined Pogo.com™ for free',
	streamWelcomeCaption: 'Welcome to Pogo.com,\{*actor*}\, the best place to play free online games, win prizes and make new friends.',
	streamWelcomeActionLink: 'Start playing'
};

PogoFBConstants.Omniture = {};

PogoFBConstants.Omniture.Events = {
	streamPublish: 'event12'
};

PogoFBConstants.Images = {
	cancelButton: '<img src="http://cdn.pogo.com/v/FIHsoQ/img/fbconnect/en_US/popover/btn-cancel.png"  />',
	disconnectButton: '<img src="http://cdn.pogo.com/v/EhYu6Q/img/fbconnect/en_US/popover/btn-disconnect.png" class="firstBtn"  />'
	
};

PogoFBConstants.Images.Gifts = {

  getImages: function() {
    var images = [];

    
    
      images.push('http://www.pogo.com/img/fbconnect/gifts/gift_yellow.png');
    
      images.push('http://www.pogo.com/img/fbconnect/gifts/gift_blue.png');
    
      images.push('http://www.pogo.com/img/fbconnect/gifts/gift_golddots.png');
    
      images.push('http://www.pogo.com/img/fbconnect/gifts/gift_green.png');
    
      images.push('http://www.pogo.com/img/fbconnect/gifts/gift_pink.png');
    
      images.push('http://www.pogo.com/img/fbconnect/gifts/gift_red.png');
    

    return images;
  }
};

PogoFBConstants.Images.PrizeWin = {
  getImages: function() {
    var images = [];
    
    
      images.push('http://www.pogo.com/img/fbconnect/prizewin/winning-friends.png');
    
    return images;
  }
};

PogoFBConstants.Images.Welcome = {
	getWelcomeImg: function() {
		
		return 'http://cdn.pogo.com/v/FMElCg/img/fbconnect/en_US/welcome/fb-welcome.png';
	}
};

PogoFBConstants.Images.ClubWelcome = {
	getWelcomeImg: function() {
	    
	}
}

		
	

