Nav was not having a great day. He was remotely managing servers in the datacenter using Dell's iDRAC interface but the time it was taking to load was worse than an old lady with a walker trying to cross an intersection.
Nav checked the obvious spots - Were there any problems with the corporate Intranet? Email? Network drive? Ping? A little slow, maybe, but all were certainaly usable. So, he thought, What the heck could it be?
Wondering what might cause the slowness, Nav viewed the source of the login page and came away thankful that it loaded at all.
var dNames = new Array(); var x = 0; dNames[x++] = thisIDRACText; var LDAPEnableMode = "0"; if (LDAPEnableMode==2) { tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } tStr = my_trim( '' ); if (tStr.length > 0) { dNames[x++] = tStr; } } dNames.sort; if(dNames[0] == thisIDRACText ) { dNames[0] = dNames[0].substr(1); } // ------------------------------------------- function my_trim(str) { if (str == null || str==undefined ) { return ""; } else if (str.length > 0) { //str = str.replace(/EMPTY_STR\n/gi, ""); str = str.replace(/^\s*/gi, ""); str = str.replace(/\s*$/gi, ""); } return str; }