/**
 * 
 * Config options for all basic popup windows.
 * 
 * There are a few different ways of defining URLs.
 * 
 * 1. basic url: just set the url property with a url string
 * 
 * 2. template url: use the template variables like ${contentURL}
 *    the list of template variables is at the top of the Spawn.spawn function.
 * 
 * 3. constructUrl: instead of setting the url property, set the constructUrl
 *    property with a map of appName and isSecure, like so:
 *    constructUrl: {appName: "portal", isSecure: false}
 *    (isSecure is optional)
 * 
 * 4. constructUrlWithPath: as above but with a pathName.  here's an
 *    example with the optional isSecure property missing:
 *    constructUrlWithPath: {appName: "portal", pathName: "somepath"}
 * 
 * If you have extra url params to put on after the generated one, you can
 * use the extraParams property, which is also templated like a url property.
 * See the openAcc definition below for an example.
 * 
 */

var SpawnConfig = {
	aboutUs: {
		url: "${contentURL}aboutus/?product=exchange${cookieInfo}",
		autoscroll:  0,
		height:  500,
		width:  788,
		logging: true
	},
	aboutUsTermsAndConditions: {
		url: "${contentURL}aboutus/?product=exchange&sWhichKey=Terms and Conditions${cookieInfo}",
		autoscroll:  0,
		height:  500,
		width:  788	
	},
	ageRestriction: {
		url: "/account/registration/AgeRestriction.do",
		autoscroll:  0,
		height:  250,
		width:  300
	},
	betfairOverview: {
		url: "http://www.betfairpromo.com/demo/index.asp?locale=${1}",
		autoscroll: true,
		height: 480,
		width: 730
	},
	betting: {
		url: "http://betting.betfair.com",
		autoscroll: 0,
		height: 400,
		width: 800
	},
	bettingGuide: {
		url: "${contentURL}downloads/${locale}/Betfair_Guide_to_Betting.pdf",
		autoscroll:  0,
		height:  600,
		width:  800
	},
	cardCountries: {
		url: "/payment/CardCountries.do",
		autoscroll:  0,
		height:  420,
		width:  270
	},
	cmsContactUs: {
		url: "${contentURL}aboutus/?product=exchange${cookieInfo}&sWhichKey=Contact Us",
		autoscroll:  0,
		height:  500,
		width:  788
	},
	commission: {
		url: "${contentURL}help/?product=exchange${cookieInfo}&sWhichKey=Help.Managing.Account&sWhichAnchor=CommissionPoints",
		autoscroll:  0,
		height:  500,
		width:  788
	},
	cvv2: {
		url: "/payment/Cv2.do",
		autoscroll:  0,
		height:  380,
		width:  470
	},
	deepMarketLink: {
		url: "http://${singlesDomain}${1}",
		autoscroll:  0,
		height:  500,
		width:  788
	},
	deposit: {
		url: "/myaccount/payment/CardDeposit.do?formaction=form",
		autoscroll:  0,
		height:  500,
		width:  788
	},
	exchangePokerGameHistory: {
		url: "/exchangepoker/LoadExchangePokerHistoryAction.do${1}",
		autoscroll:  0,
		height:  500,
		width:  788
	},
	exchangeWebHomePage: {
		url: "${singlesDomain}",
		autoscroll:  0,
		height:  600,
		width:  800,
		statusBar: true, 
		menuBar: true, 
		toolbar: true
	},
	faqs: {
		url: "${contentURL}faqs/?product=exchange${cookieInfo}",
		autoscroll:  0,
		height:  500,
		width:  788
	},
	forum: {
		constructUrl: {
			appName: "forum"
		},
		autoscroll: true,
		height: 500,
		width: 788
	},
	forgottenPassword: {
		constructUrlWithPath: {
			appName: "portal",
			pathName: "lostpasswd"
		},
		autoscroll: 0,
		height: 500,
		width: 788
	},
	gamCare: {
		url: "${contentURL}misc/?product=portal&sWhichKey=GamCare${cookieInfo}",
		autoscroll:  0,
		height:  500,
		width:  640
	},
	marketUnavailable: {
		url: "/MarketUnavailable.do",
		autoscroll:  0,
		height:  400,
		width:  600
	},
	myAccountHeader: {
		constructUrlWithPath: {
			appName: "portal",
			pathName: "myaccount"
		},
		autoscroll: 0,
		height: 575,
		width: 788,
		statusBar: false,
		logging: true
	},
	myAccount: {
		url: "${1}${2}${3}",
		autoscroll: 0,
		height: 575,
		width: 788,
		statusBar: false
	},
	myAccountAgeVerification: {
		constructUrlWithPath: {
			appName: "portal",
			pathName: "myaccount",
			isSecure: true
		},
		extraParams: "?tabID=15",
		autoscroll: 0,
		height: 575,
		width: 788,
		statusBar: false
	},
	myAccountFromRegistration: {
		url: "${1}${2}",
		autoscroll:  0,
		height:  575,
		width:  788,
		statusBar: false
	},
	myCasinoAcc: {
		constructUrlWithPath: {
			appName: "casino",
			pathName: "mycasinoaccount"
		},
		autoscroll: 1,
		height: 535,
		width: 700,
		logging: true
	},
	myCasinoAccTransfer: {
		constructUrlWithPath: {
			appName: "casino",
			pathName: "popLogoutTx"
		},
		autoscroll: 1,
		height: 600,
		width: 800
	},
	myGamesAcc: {
		constructUrlWithPath: {
			appName: "games",
			pathName: "mygamesaccount"
		},
		autoscroll: 0,
		height: 535,
		width: 700,
		logging: true
	},
	netellerWithdrawalHelp: {
		url: "/payment/netellerWithdrawalHelp.do",
		autoscroll:  0,
		height:  280,
		width:  470
	},
	newHelp: {
		url: "${1}",
		autoscroll:  0,
		height:  500,
		width:  788
	},
	oddsEquivalent: {
		url: "${1}",
		autoscroll:  0,
		height:  500,
		width:  700
	},
	openAcc: {
		constructUrlWithPath: {
			appName: "account",
			pathName: "openaccount",
			isSecure: true
		},
		extraParams: "?origin=${1}${2}",
		autoscroll: true,
		height: 700,
		width: 738,
		logging: true
	},
	radio: {
		url: "${radioURL}",
		autoscroll:  false,
		height:  480,
		width:  405,
		logging: true
	},
	responsibleGambling: {
		url: "${contentURL}misc/?product=portal&sWhichKey=ResponsibleGambling${cookieInfo}",
		autoscroll:  true,
		height:  650,
		width:  640,
		logging: true
	},
	securityMsg: {
		url: "${contentURL}misc/?product=portal&sWhichKey=Security${cookieInfo}",
		autoscroll:  0,
		height:  350,
		width:  400
	},
	tgc: {
		url: "${contentURL}misc/?product=exchange&sWhichKey=TGC${cookieInfo}",
		autoscroll:  0,
		height:  400,
		width:  440
	},
	timeform: {
		url: "${timeFormURL}",
		autoscroll:  true,
		height:  600,
		width:  800,
		logging: true
	},
	trustDeed: {
		url: "${contentURL}aboutus/?product=exchange${cookieInfo}&sWhichKey=Trust Deed",
		autoscroll:  0,
		height:  500,
		width:  788
	},
	video: {
		url: "${videoURL}",
		extraParams: "?Default.do?eID=${2}",
		autoscroll:  true,
		height:  650,
		width:  920,
		logging: true
	},
	walletTransfer: {
		url: "${1}?transfer=1",
		autoscroll:  1,
		height:  420,
		width:  520
	}
}
