/** the instantaction.com is required for automatic localization at deployment time. please make a local copy instead of modifying this into subversion **/
if (typeof GG == 'undefined') {
	var GG = {};
}
GG.config = GG.config || {};
GG.config.host = 'http://www.instantaction.com';
GG.config.staticHost = 'http://static.instantaction.com';

GG.config.products = {};

GG.config.storage = {
	sitePrefs: 'http://www.instantaction.com/site_prefs.xml'
};

GG.config.debug = {
	active: true,
	object: null
};

GG.config.jabber = {
	gamesServer: 'games.jabber.instantaction.com',
	partyServer: 'parties.jabber.instantaction.com',
	partyNameSalt: 'boblives'
};

GG.config.plugin = {
	namespace: 'garagegames:connect',
	version: '0.7.31.0',
	versionMac: '0.7.30.0',
	activex: {
		version: '0.8.4.0'
	},
	netscape: {
		version: '0.4.1.0',
		versionMac: '0.4.2.0'
	},
	systemVariables: '<Variables><Contents prefix="system.product"><n>100.execute</n><v>true</v><n>101.execute</n><v>true</v><n>102.execute</n><v>true</v><n>103.execute</n><v>true</v><n>5000.execute</n><v>true</v><n>6000.execute</n><v>true</v><n>7000.execute</n><v>true</v></Contents><Signatures><GarageGames><Data>RAxttwwKWxf/mUSP3Hi7B/JZAOMir4rOEA5X1ndz8MednNFmEbuMDUVflJ5OkAnCugrdA6KE/a+tHNdrtbKucr6Kk3vOO1Y1UITJ3NT2Eq0J2dNJKqi3aeDJmL5RYOXXfSQtkwMSaMpns8SCmMUvGaii5+VJnqC5ct2HYZZi4HAcPdA=</Data></GarageGames></Signatures></Variables>',
	discoveryServer1: '207.162.215.226:27998',
	discoveryServer2: '207.162.215.227:27999',
	turnServer: '207.162.215.13:27000'
};

//                     ______
//                  .-"      "-. 
//                 /            \ 
//     _          |              |          _ 
//    ( \         |,  .-.  .-.  ,|         / )
//     > "=._     | )(__/  \__)( |     _.=" <
//    (_/"=._"=._ |/     /\     \| _.="_.="\_)
//           "=._ (_     ^^     _)"_.=" 
//               "=\__|IIIIII|__/="
//              _.="| \IIIIII/ |"=._
//    _     _.="_.="\          /"=._"=._     _
//   ( \_.="_.="     `--------`     "=._"=._/ )
//    > _.="                            "=._ <
//   (_/   jgs                              \_)
//
// Now using $IADEBUGMODE localization variable (vs. commented-out sections) to determine debug/release mode

if (0) {
	// Debug Definitions
	GG.config.plugin.activex.classId = 'CLSID:5139151d-fa43-4707-b393-e798e7fc6761';
	GG.config.plugin.activex.className = 'IAPlayer.DebugControl.1';
	GG.config.plugin.netscape.mimeType = 'application/vnd.garagegames.iaplayer.db';
	GG.config.plugin.urls = {
		plugin: 'http://www.instantaction.com/download/iaplugindb.' + GG.config.plugin.version.gsub(/[^0-9]/, '') + '.cab#version=' + GG.config.plugin.version,
		pluginMac: 'http://www.instantaction.com/download/iaplugindb.' + GG.config.plugin.versionMac.gsub(/[^0-9]/, '') + '.zip#version=' + GG.config.plugin.versionMac,
		cab: 'http://www.instantaction.com/download/iaplayerdb.cab',
		xpi: 'http://www.instantaction.com/download/iaplayerdb.xpi',
		dmg: 'http://www.instantaction.com/download/iaplayerdb.dmg',
		exe: 'http://www.instantaction.com/download/iaplayerdb-installer-ia.exe',
		ieInstaller: 'http://www.instantaction.com/download/ie-iaplayerd-installer.exe'
	};
} else {
	// Release Definitions
	GG.config.debug.active = false;
	GG.config.plugin.activex.classId = 'CLSID:DB7BF79A-FC51-4B5A-92BC-A65731174380';
	GG.config.plugin.activex.className = 'IAPlayer.WindowControl.1';
	GG.config.plugin.netscape.mimeType = 'application/vnd.garagegames.iaplayer';
	GG.config.plugin.urls = {
		plugin: 'http://www.instantaction.com/download/iaplugin.' + GG.config.plugin.version.gsub(/[^0-9]/, '') + '.cab#version=' + GG.config.plugin.version,
		pluginMac: 'http://www.instantaction.com/download/iaplugin.' + GG.config.plugin.versionMac.gsub(/[^0-9]/, '') + '.zip#version=' + GG.config.plugin.versionMac,
		cab: 'http://www.instantaction.com/download/iaplayer.cab',
		xpi: 'http://www.instantaction.com/download/iaplayer.xpi',
		dmg: 'http://www.instantaction.com/download/iaplayer.dmg',
		exe: 'http://www.instantaction.com/download/iaplayer-installer-ia.exe',
		ieInstaller: 'http://www.instantaction.com/download/ie-iaplayer-installer.exe'
	};
}
