function Config()
{
	var config 							= {};
	config.appUrl 						= "http://profile.myspace.com/Modules/Applications/Pages/Canvas.aspx?appId=142746";
	config.base_url						= "http://www.slickflash.net/darkwars/myspace";
	config.url 							= config.base_url + "/index.php";
	config.imageUrl 					= config.base_url + "/public/themes/default/images/";
	config.shopIMGurl 					= config.base_url + "//";
	config.hospitalImgUrl 				= config.base_url + "/public/themes/default/images/";
	config.missionImgUrl 				= config.base_url + "/public/themes/default/images/";
	config.ImgUrl 						= config.base_url + "/public/themes/default/images/";
	
	config.propertyImgUrl 				= config.base_url + "//";
	config.offerpalUrl					= "http://pub.myofferpal.com/d21f5af007f1fc1836f51d17b43b7eec/showoffers.action?affl=DARKWARS_MYSPACE&snuid=";
	
	config.appNotInstalledMessage 		= '<img src="'+config.imageUrl+'add_application.jpg" />';
	config.connectionMessage 			= 'Connection Interrupted.';
	config.loadingM	 					= '<div class="loading" id="loading_box"><span style="margin-left:-40px; "><img src="'+config.imageUrl+'blood.png" style="vertical-align:text-top;" /></span>&nbsp;&nbsp;Loading ...........</div>';
	config.errM 						= null;
	errM 								= new Array();
	errM['000'] 						= 'Unable to connect to the database.';
	errM['001'] 						= 'Unable to select database.';
	config.errM 						= errM;
	
	config.GENERAL_WEAPONS				= 1;
	config.PROMOTIONAL_WEAPONS			= 2;
	config.FEATURED_WEAPONS				= 3;
	config.PROFESSIONAL_WEAPONS 		= 4;
	config.CHARM_WEAPONS				= 5;
	config.LOOT_WEAPONS					= 6;
	
	config.PLAN_PERCENTAGE_10			= 4;
	config.PLAN_PERCENTAGE_20			= 6;
	config.PLAN_PERCENTAGE_50			= 8;
	
	var registration 					= new Array();
	registration['greeting_message'] 	= "<p>An epic battle awaits you as dark forces collide against the good. Choose your path and destroy all those that stand in your way. The Dark Wars have commenced!</p>  <p>Before you join the War, you must first tell us a few things about yourself so that  we can establish your character. </p> <p> There are three races to choose from. Each race has its own characteristics and  style. Fight as a Vampire, Human or Werewolf.</p>";
	registration['no_name_error'] 		= "Please choose a name for your character.";
	registration['no_race_error'] 		= "Please choose a race for your character.";
	registration['no_class_error'] 		= "Please choose a class for your character.";
	config.registration 				= registration;
	
	// Window height settings //
	windowHeight 						= new Array();
	windowHeight['attack'] 				= 3000;
	windowHeight['bank'] 				= 3000;
	windowHeight['banned'] 				= 3000;
	windowHeight['gang'] 				= 3000;
	windowHeight['godfather'] 			= 3000;
	windowHeight['help'] 				= 3000;
	windowHeight['hitlist'] 			= 3000;
	windowHeight['home'] 				= 3000;
	windowHeight['hospital'] 			= 3000;
	windowHeight['leaderboard'] 		= 3000;
	windowHeight['mission'] 			= 7000;
	windowHeight['newuser'] 			= 3000;
	windowHeight['owner'] 				= 3000;// for registration page
	windowHeight['profile'] 			= 5000;
	windowHeight['property'] 			= 3000;
	windowHeight['shop'] 				= 5000;
	windowHeight['skill'] 				= 3000;
	windowHeight['tutorial'] 			= 3000;
	config.windowHeight 				= windowHeight;
	
	config.hoverEffect 					= " onMouseOver='mIn(this)' onMouseOut='mOut(this)' ";
	
	config.userImgUrl 					= "http://api.myspace.com/v1/users/";
	config.templateImgUrl 				= "http://api.myspace.com/v1/users/458032882/albums/1088468/photos/";
	config.timg 						= new Array();
	config.timg['logo'] 				= config.templateImgUrl+'10948039';
	config.timg['human'] 				= config.templateImgUrl+'10948033';
	config.timg['treasure'] 			= config.templateImgUrl+'10948041';
	config.timg['weapon'] 				= config.templateImgUrl+'10948024';
	config.timg['vampire'] 				= config.templateImgUrl+'10948042';
	config.timg['warewolf'] 			= config.templateImgUrl+'10948043';
	config.timg['all'] 					= config.templateImgUrl+'10952497';
	config.templateBundleId				= "darkwars";
	
	config.LOGIN_FAVOR_POINT_REWARDS 	= 3;
	
	return config;
};