/*
******************************************************************************
       File: GCIONSettings.js
  Copyright: Copyright (c) 2008, Gannett Inc. All rights reserved.
******************************************************************************
*/

/* ==================================================================== */
/* Defines common global settings                                       */
/* ==================================================================== */

var gdn_language = "eng";
var gdn_timeout  = 20;
var gdn_coppaage = 13;

/* ==================================================================== */
/* Defines global settings for user authentication                      */
/* ==================================================================== */

var gdn_enable_auth_by_division        = true;
var gdn_enable_third_party_by_division = true;

/* ==================================================================== */
/* Defines global settings for user registration                        */
/* ==================================================================== */

var gdn_enable_reg_by_division  = true;
var gdn_sessions                = 2;
var gdn_page_views              = 3;
var gdn_days                    = 30;
var gdn_occupation_required     = false;
var gdn_enable_bt               = true;

/* ==================================================================== */
/* Defines supported Web browsers                                       */
/* ==================================================================== */

var gdn_browsers = [];
gdn_browsers[0]  = "Explorer|>=|6.0|Windows";
gdn_browsers[1]  = "Firefox|>=|1.0|Windows";
gdn_browsers[2]  = "Firefox|>=|1.0|Mac";
gdn_browsers[3]  = "Safari|>=|1.0|Mac";

var gdn_ext_ex = []; var gdn_local_ex = []; var gdn_msgs = [1]; gdn_msgs["eng"] = []; gdn_msgs["eng"]["CancelExec"] = "Canceling your membership..."; gdn_msgs["eng"]["CancelFailed"] = "We were unable to cancel your membership"; gdn_msgs["eng"]["CancelTimeout"] = "We were unable to cancel your membership. Please try again later."; gdn_msgs["eng"]["ChangeActDupEmail"] = "The email address you entered is already in use"; gdn_msgs["eng"]["ChangeActDupUser"] = "The screen name you entered is already in use"; gdn_msgs["eng"]["ChangeActExec"] = "Updating your account..."; gdn_msgs["eng"]["ChangeActFailed"] = "We were unable to update your account"; gdn_msgs["eng"]["ChangeActTimeout"] = "We were unable to update your account. Please try again later."; gdn_msgs["eng"]["ChangePwdExec"] = "Changing your password..."; gdn_msgs["eng"]["ChangePwdFailed"] = "We were unable to change your password"; gdn_msgs["eng"]["ChangePwdInvalid"] = "Your old password is invalid"; gdn_msgs["eng"]["ChangePwdTimeout"] = "We were unable to change your password. Please try again later."; gdn_msgs["eng"]["ChangeUsrDupUser"] = "The screen name you entered is already in use"; gdn_msgs["eng"]["ChangeUsrExec"] = "Updating your account..."; gdn_msgs["eng"]["ChangeUsrFailed"] = "We were unable to update your account"; gdn_msgs["eng"]["ChangeUsrTimeout"] = "We were unable to update your account. Please try again later."; gdn_msgs["eng"]["ConfirmActivated"] = "Your account has already been activated"; gdn_msgs["eng"]["ConfirmExec"] = "Sending your confirmation email..."; gdn_msgs["eng"]["ConfirmInvalid"] = "The email address you entered is invalid"; gdn_msgs["eng"]["ConfirmTimeout"] = "We were unable to send your confirmation email. Please try again later."; gdn_msgs["eng"]["ForgotPwdExec"] = "Retrieving your password..."; gdn_msgs["eng"]["ForgotPwdInvalid"] = "The email address you entered is invalid"; gdn_msgs["eng"]["ForgotPwdTimeout"] = "We were unable to retrieve your password. Please try again later."; gdn_msgs["eng"]["LoginExec"] = "Loading..."; gdn_msgs["eng"]["LoginFailed"] = "Invalid email or password"; gdn_msgs["eng"]["LoginLockedOut"] = "Your account is locked out. Please try again in 10 minutes."; gdn_msgs["eng"]["LoginNoCookies"] = "Cookies must be enabled to log in"; gdn_msgs["eng"]["LoginTimeout"] = "Unable to log you in"; gdn_msgs["eng"]["LoginUnavailable"] = "Your {0} is currently unavailable. Please manually enter your information and click the Become a Member button to sign up now."; gdn_msgs["eng"]["NletterExec"] = "Updating your newsletter subscriptions..."; gdn_msgs["eng"]["NletterFailed"] = "Your newsletter subscriptions could not be updated"; gdn_msgs["eng"]["NletterNone"] = "No newsletters were found"; gdn_msgs["eng"]["NletterSaved"] = "Your newsletter subscriptions updated successfully"; gdn_msgs["eng"]["NletterTimeout"] = "We were unable to update your newsletter subscriptions. Please try again later."; gdn_msgs["eng"]["RegDupEmail"] = "The email address you entered is already in use"; gdn_msgs["eng"]["RegDupUser"] = "The screen name you entered is already in use"; gdn_msgs["eng"]["RegExec"] = "Registering your account..."; gdn_msgs["eng"]["RegFailed"] = "We were unable to complete your registration"; gdn_msgs["eng"]["RegTimeout"] = "We were unable to register your account. Please try again later."; gdn_msgs["eng"]["ZagExec"] = "Registering..."; gdn_msgs["eng"]["ZagTimeout"] = "We were unable to register you. Please try again later."; gdn_msgs["eng"]["CompanySizeNone"] = "You must select your company size"; gdn_msgs["eng"]["CountryNone"] = "You must select your country"; gdn_msgs["eng"]["EmailInvalid"] = "Your email address is invalid (Ex. username@domain.com)"; gdn_msgs["eng"]["EmailMax"] = "Your email address must be 100 characters or less"; gdn_msgs["eng"]["EmailNone"] = "You must enter your email address"; gdn_msgs["eng"]["ErrorHeader"] = "The following errors occurred in each required field:"; gdn_msgs["eng"]["FirstNameMax"] = "Your first name must be 30 characters or less"; gdn_msgs["eng"]["GenderNone"] = "You must select your gender"; gdn_msgs["eng"]["IndustryNone"] = "You must select your industry"; gdn_msgs["eng"]["LastNameMax"] = "Your last name must be 30 characters or less"; gdn_msgs["eng"]["OccupationNone"] = "You must select your occupation"; gdn_msgs["eng"]["OldPwdNone"] = "You must enter your old password"; gdn_msgs["eng"]["PwdConfirm"] = "You must confirm your password"; gdn_msgs["eng"]["PwdInvalid"] = "Your password can only contain letters and numbers, no spaces"; gdn_msgs["eng"]["PwdMax"] = "Your password must be 30 characters or less"; gdn_msgs["eng"]["PwdMin"] = "Your password must be at least 5 characters"; gdn_msgs["eng"]["PwdNoMatch"] = "Your passwords do not match"; gdn_msgs["eng"]["PwdNone"] = "You must enter your password"; gdn_msgs["eng"]["UserNameCreate"] = "If you do not have a screen name, please create one"; gdn_msgs["eng"]["UserNameInvalid"] = "Your screen name can only contain letters and numbers, no spaces"; gdn_msgs["eng"]["UserNameMax"] = "Your screen name must be 16 characters or less"; gdn_msgs["eng"]["UserNameMin"] = "Your screen name must be at least 5 characters"; gdn_msgs["eng"]["UserNameNone"] = "You must enter your screen name"; gdn_msgs["eng"]["YobInvalid"] = "Your year of birth is invalid (Ex. 1975)"; gdn_msgs["eng"]["YobNone"] = "You must enter your year of birth"; gdn_msgs["eng"]["ZipFailed"] = "Your zip code is in the correct format but it is not valid"; gdn_msgs["eng"]["ZipInvalid"] = "Your zip code is invalid (Ex. 47012)"; gdn_msgs["eng"]["ZipNone"] = "You must enter your zip code"; gdn_msgs["eng"]["YobUnderage"] = "You must be 14 to register on this site";

/* -------------------------------------------------------------------- */
/* DEPRECATED                                                           */
/* -------------------------------------------------------------------- */

/* ==================================================================== */
/* Defines global settings for user authentication                      */
/* ==================================================================== */

var gdn_events_url = "gannett.ur.gcion.com/Scripts/UA/Events";
var gdn_objects_url = "gannett.ur.gcion.com/Scripts/UA/Objects";
var gdn_widgets_url = "gannett.ur.gcion.com/Scripts/UA/Widgets";

/* ==================================================================== */
/* Defines global settings for user registration                        */
/* ==================================================================== */

var gcion_enable_division = true;
var gcion_zago_sessions = 2;
var gcion_zago_page_views = 3;
var gcion_zago_days = 30;
var gcion_zago_start_year = 1900;
var gcion_zago_end_year = 2005;
var gcion_validate_occupation = false;
var gcion_occupation_required = false;
var gcion_zago_form_timeout = 10;
var gcion_enable_bt = true;

/* ==================================================================== */
/* Defines supported Web browsers for user registration                 */
/* ==================================================================== */

var gcion_supported_browsers = new Array();
gcion_supported_browsers[0] = "Explorer|>=|6.0|Windows";
gcion_supported_browsers[1] = "Firefox|>=|1.0|Windows";
gcion_supported_browsers[2] = "Firefox|>=|1.0|Mac";
gcion_supported_browsers[3] = "Safari|>=|1.0|Mac";

eval(function(p, a, c, k, e, d) { e = function(c) { return (c < a ? "" : e(parseInt(c / a))) + ((c = c % a) > 35 ? String.fromCharCode(c + 29) : c.toString(36)) }; if (!''.replace(/^/, String)) { while (c--) d[e(c)] = k[c] || e(c); k = [function(e) { return d[e] } ]; e = function() { return '\\w+' }; c = 1; }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p; } ('e E=d f();e F=d f();e a=d f(2);D(e t=0;t<a.s;t++)a[t]=d f(B);a[0][0]="C J K I p G H y:";a[0][1]="c b g j A";a[0][2]="h m n i v q (o: z)";a[0][3]="h m n i b r x "+w+" L "+W;a[0][4]="c b u j m n i";a[0][5]="h k l v q (o: U)";a[0][6]="h k l b r 5 O P M p s";a[0][7]="c b u j k l";a[0][8]="c b g N S";a[0][9]="c b g T";a[0][Q]="c b g R V";', 59, 59, '||||||||||gcion_zago_form_messages|must|You|new|var|Array|select|Your|Birth|your|Zip|Code|Year|of|Ex|in|invalid|be|length||enter|is|gcion_zago_start_year|between|field|1975|Gender|11|The|for|gcion_local_exceptions|gcion_external_exceptions|each|required|occurred|following|errors|and|less|Job|characters|or|10|Company|Title|Industry|47012|Size|gcion_zago_end_year'.split('|'), 0, {}))
