//
//  GAME PACKAGE SETTINGS OBJECT - configure at will
//

var packageSettings = 
{   
    // game settings
    
    gameName       : "Bejeweled 2",
    gameLCCode     : "1033",
    gameLCText     : "US-EN",
    gameLCLang     : "English",
    gameTerritory  : "US",
    gamePlatform   : "flash",
    gameCode       : "bejeweled2",
    gameFile       : 'bejeweled_1_05.swf',
    gameHeight     : '405',
    gameWidth      : '540',
    
    // ad settings

    adDuration     : 15,                         // in seconds
    adlayerWidth   : 540,
    adlayerHeight  : 405,
    adWidth        : 300,               
    adHeight       : 250,
    gameBgColor    : 'lightsteelblue',
    runPreRoll     : true,
    runMidRoll     : true,
    runPostRoll    : false,
	cheerios	   : false,

	// splash
	
	splashScreen   : "BJ2.jpg",

	// ad banner

    adSrc: 
	{
		live: 
		{
			preRollSrc     : 'http://www.ox.popcap.com/delivery/afr.php?zoneid=4&cb=' + Math.floor(Math.random()*100001),
			midRollSrc     : 'http://www.ox.popcap.com/delivery/afr.php?zoneid=2&cb=' + Math.floor(Math.random()*100001),
			upsellBarSrc   : 'http://www.ox.popcap.com/delivery/afr.php?zoneid=51&cb=' + Math.floor(Math.random()*100001)
		},
		test:
		{
			preRollSrc     : 'http://www.ox.popcap.com/delivery/afr.php?zoneid=5&cb=' + Math.floor(Math.random()*100001),
			midRollSrc     : 'http://www.ox.popcap.com/delivery/afr.php?zoneid=3&cb=' + Math.floor(Math.random()*100001),
			upsellBarSrc   : 'http://www.ox.popcap.com/delivery/afr.php?zoneid=52&cb=' + Math.floor(Math.random()*100001)
		}
	},
	
	isOpenAds      : true,
	timeBetweenAds : 60,
	
	// div and css from .html

	adSpotLayer    : "#adlayer",
	splashLayer	   : "#splashlayer",
    popCapGameLayer: "#gamelayer",
    debugLayer     : "#debuglayer",
    embedObject    : "GameObject",

    // partner information

    partnerName    : "PopCap",

    // omniture & tracking config

    isOmniture     : true,
    isTracking     : true,
    cookieName     : "webgames",
    cookieDomain   : "www.popcap.com",

    // developer, debug settings

    isDebug        : 0,
	isOldMSNAPI    : true,


    // upsell settings

    enableUpsell   : true,
    upsellURL      : 'http://www.popcap.com/games/bejeweled2',

    // basepath to game files

    basePath       : ''
};


