
	
if (typeof(PD_SuccessCallbackFunction) == 'undefined'){
	PD_SuccessCallbackFunction = null;
}
	
	
function PD_getConfigs(){
	var a ={};
	a.general    = {};
	a.connection = {};
	a.errors     = {};
	a.style      = {};
	a.general.NumberOfOffersToDisplay = 4;
	a.general.NumberOfPagesToDisplay  = 1;
	a.general.RandomPages             = 0;
	a.general.DisplayOfferImages      = true;
	a.general.SuccessCallbackFunction = PD_SuccessCallbackFunction;
	a.general.TestMode                = false;
	a.general.OffersPreselected       = 0;
	a.connection.WebServiceURL        = "http://www.pdapi.com/cs/JSON/v1/";
	a.connection.Login                = "sys"+PDregData.publisher;
	a.connection.Pin                  = "YhiokOP0k0oGT";
	a.connection.PubCode              = PDregData.publisher;
	a.connection.RandomizePubKey      = true;
	a.connection.RandomizeEmail       = false;
	a.errors.DebugMode                = 0;
	a.errors.MaxRequestTime           = 10000;
	a.errors.TerminateSuccessMessage  = "Thanks for participating in these offers!";
	a.errors.HeadlineMessageRCV       = "Please complete the information below to receive this offer";
	a.errors.ValidationErrorMessage   = "Please correct the required fields in red and try again";
	a.style.StylesheetURL             = "http://www.pdapi.com/cs/JSI/v1/default/PDstyle.css";
	a.style.SurveyTextAreaCols        = 20;
	a.style.SurveyTextAreaRows        = 5;
	a.style.SurveySelectMultipleSize  = 5;
	a.style.SlowAnimationTime         = 1000;
	a.style.FastAnimationTime         = 500;
	a.style.TwoColumnSurvey           = false;
	a.style.TwoColumnRCV              = false;
	
	// Lets add a hyphen after we have used it
	PDregData.pub_key = PDregData.publisher + '-';
	
	return a;
}