var reloader = null; // used for reloading section (more specifically tab)
var top5reloader = null; // used to reload top5 task/goal; see implementation in user landing page
var currTaskId = null; // currTaskId used to keep track of which task is being viewed in task pop up window for further action after pop up is closed
var usersArr = new Array(); // used for autocomplete
var currBulletinType = null; // used for 'me' 'all' 'other' bull type in user landing bulletin
var bHilite = false;
var setupGoogleAcctMsg = "You must complete setup of your Google Account. Please make sure your web browser's pop-up blocker allows pop-up windows.";
var isGadget = false;
var docDisplayLimit = 30;

var shareWywo_d_w = 500;
var shareWywo_d_h = 230;
var task_d_h = 500;
var task_d_w = 705;
var previewLink_d_h = 270;
var previewLink_d_w = 600;
var teamPurchase_d_h = 220;
var teamPurchase_d_w = 530;
var top5Requested = false;

var currMenuIndex = 0;
var currTab = 'statusTab';
var menuBg = '#A6C9E2';
var menuHoverBg = '#DEE8E8';

var oldTaskExcList = '';

var newTaskCount = 0;
var goalInvExcMap = {};

var currSpaceUsed = 0;

var newTaskLinkArr = new Array();
var linkArrForNewTask = new Array();
var titleLimitLong = 50;
var titleLimitShort = 25;

var showTop5 = false;

var tagBulbArr = {'ntTag':'#ntBulb','otTag':'#otBulb','ngTag':'#ngBulb'};

var tDueDatePickerFocus = true;

var currFloatingElem = null;

var shareWith = 'everyone';  // values: ['everyone', 'realm', 'team', 'project', 'task', 'event', 'custom']
var shareType = ''; // values: ['Link', 'Ev', Doc']
var defaultShare;

var currUploaderMap = {};

//minimum and maximum text area size
var minTextboxHeight = 10 ;
var maxTextboxHeight = 300 ;
//increment value when resizing the text area
var growBy = 20 ;

var sModUploadArr = [];
var uploaderMap = {};