var alPgTitles = new Array( 'Main page', 'Leader election', 'Members', 'Planets', 'Military status', 'Pending requests', 'Forums admin.', 'Ranks admin.' ); var mbListHeaders = ['Name', 'Rank', 'Last online', 'On vacation']; var onlineText = "Currently online"; var lastOnlinePrefix = ""; var lastOnlineUnits = ['minute', 'minutes', 'hour', 'hours']; var lastOnlineSuffix = " ago"; var vacationMode = ['No', 'Yes']; function makeAllianceTooltips() { alltt = new Array(); if (ttDelay == 0) { var i; for (i=0;i<300;i++) alltt[i] = ""; return; } alltt[0] = tt_Dynamic("Use this text field to type in the tag of the alliance you wish to join"); alltt[1] = tt_Dynamic("Click here to send your joining request to the alliance's leadership"); alltt[2] = tt_Dynamic("Use this text field to type in the tag of the alliance you wish to create"); alltt[3] = tt_Dynamic("Use this text field to type in the full name of the alliance you wish to create"); alltt[4] = tt_Dynamic("Click here to create the given alliance"); alltt[5] = tt_Dynamic("Click here to cancel your joining request"); alltt[10] = tt_Dynamic("Use this text field to type in the tag of the alliance you wish to get information about"); alltt[11] = tt_Dynamic("Click here to display the information about the alliance you've provided the tag for"); alltt[20] = tt_Dynamic("Click here to step down as leader of this alliance"); alltt[21] = tt_Dynamic("Click here to leave this alliance"); alltt[22] = tt_Dynamic("Use this radio button to switch the alliance in dictatorial mode"); alltt[23] = tt_Dynamic("Use this radio button to switch the alliance in democratric mode"); alltt[24] = tt_Dynamic("Use this text field to type in the name of your successor as leader of the alliance"); alltt[30] = tt_Dynamic("Click here to update the alliance general settings according to your changes"); alltt[31] = tt_Dynamic("Click here to reset the alliance general settings to their previous values"); alltt[40] = tt_Dynamic("Click here to take the presidency of the alliance"); alltt[41] = tt_Dynamic("Click here to apply to presidency of the alliance"); alltt[42] = tt_Dynamic("Click here to cancel your candidacy for the presidency of the alliance"); alltt[43] = tt_Dynamic("Click here to change your vote for the alliance presidency according to what you have selected in the candidates list"); alltt[50] = tt_Dynamic("Click here to sort the candidates list according to this field and switch between ascending and descending ordering"); alltt[51] = tt_Dynamic("Use this radio button to abstain in the presidency election"); alltt[52] = tt_Dynamic("Use this radio button to select which candidate you wish to vote for in the presidency election"); alltt[60] = tt_Dynamic("Use this drop down list to select the alliance listing you wish to display"); alltt[61] = tt_Dynamic("Use this drop down list to select the number of planets to display on each page of the listing"); alltt[62] = tt_Dynamic("Use this radio button if you wish to search for a planet in the listing"); alltt[63] = tt_Dynamic("Use this radio button if you wish to search for a player in the listing"); alltt[64] = tt_Dynamic("Use this text field to type in the name of the planet or player you wish to search for in the listing"); alltt[70] = tt_Dynamic("Click here to order the list according to this field and switch between ascending and descending ordering"); alltt[71] = tt_Dynamic("Click here to go to this individual planet page"); alltt[72] = tt_Dynamic("Click here to send a private message to the owner of this planet"); alltt[73] = tt_Dynamic("Use this drop down list to go to another page of the listing"); alltt[80] = tt_Dynamic("Use this drop down list to select the number of alliance members to display oneach page of the listing"); alltt[81] = tt_Dynamic("Use this text field to type in the name of the player you wish to search for in the listing"); alltt[90] = tt_Dynamic("Click here to kick this member out of the alliance"); alltt[91] = tt_Dynamic("Click here to change the rank of the selected members to the selected rank"); alltt[92] = tt_Dynamic("Use this drop down list to choose the rank you want to give to the selected members"); alltt[100] = tt_Dynamic("Check this checkbox to select this alliance member "); alltt[101] = tt_Dynamic("Click here to send a private message to this alliance member"); alltt[110] = tt_Dynamic("Check this checkbox to select this player requesting to join the alliance"); alltt[111] = tt_Dynamic("Click here to accept this player into the alliance"); alltt[112] = tt_Dynamic("Click here to reject this player's joining request"); alltt[120] = tt_Dynamic("Click here to go to the forum creation form and create a new forum"); alltt[130] = tt_Dynamic("Click here to go to the forum modification form and edit this forum's settings"); alltt[131] = tt_Dynamic("Click here to move this forum up in the forums list"); alltt[132] = tt_Dynamic("Click here to move this forum down in the forums list"); alltt[133] = tt_Dynamic("Click here to delete this forum and all its contents"); alltt[140] = tt_Dynamic("Use this text field to type in the name of the forum"); alltt[141] = tt_Dynamic("Use this radio button if you want everyone to be able to post new threads in this forum"); alltt[142] = tt_Dynamic("Use this radio button if you want the moderators of the forum to be the only ones allowed to post new threads in it"); alltt[143] = tt_Dynamic("Use this drop down list to select where to place this forum in the forums list"); alltt[144] = tt_Dynamic("Use this text area to type in a description for this forum"); alltt[145] = tt_Dynamic("Click here to validate your changes to this forum"); alltt[146] = tt_Dynamic("Click here to cancel your changes to this forum"); alltt[150] = tt_Dynamic("Check this checkbox to select this rank and modify its access level to this forum"); alltt[160] = tt_Dynamic("Click here to give this access level to the selected rank(s) for this forum"); alltt[170] = tt_Dynamic("Click here to go to the rank creation form and create a new rank"); alltt[171] = tt_Dynamic("Click here to display / hide the dtails about this rank"); alltt[172] = tt_Dynamic("Click here to go to the modification form and edit this rank"); alltt[173] = tt_Dynamic("Click to delete this rank"); alltt[180] = tt_Dynamic("Use this text field to type in the rank designation"); alltt[181] = tt_Dynamic("Use this drop down list to select the level of listing access the members with this rank will have"); alltt[182] = tt_Dynamic("Check this checkbox if you want members of this rank to see the list of planets under attack"); alltt[183] = tt_Dynamic("Use this radio button if you want members of this rank to be diplomatic contact for the alliance and to receive all messages sent to the alliance"); alltt[184] = tt_Dynamic("Use this radio button if you don't want members of this rank to be diplomatic contact for the alliance"); alltt[185] = tt_Dynamic("Use this radio button if you want members of this rank to be able to vote for leader elections if the alliance is democratic"); alltt[186] = tt_Dynamic("Use this radio button if you don't want members of this rank to be able to vote for leader elections if the alliance is democratic"); alltt[187] = tt_Dynamic("Use this radio button if you want members of this rank to be able to apply for presidency"); alltt[188] = tt_Dynamic("Use this radio button if you don't want members of this rank to be able to apply for presidency"); alltt[189] = tt_Dynamic("Use this radio button if you want members of this rank to be able to accept or reject new joining requests"); alltt[190] = tt_Dynamic("Use this radio button if you don't want members of this rank to be able to accept or reject new joining requests"); alltt[191] = tt_Dynamic("Use this radio button if you want members of this rank to be forum administrators"); alltt[192] = tt_Dynamic("Use this radio button if you don't want members of this rank to be forum administrators"); alltt[193] = tt_Dynamic("Click here to accept the changes you've made to that rank"); alltt[194] = tt_Dynamic("Click here to cancel the changes you've made to that rank and go back to the previous page"); alltt[195] = tt_Dynamic("Use this radio button if you don't want members of this rank to be able to kick any member out of the alliance"); alltt[196] = tt_Dynamic("Use this radio button if you want members of this rank to be able to kick any member out of the alliance"); alltt[197] = tt_Dynamic("Use this radio button if you want members of this rank to be able to kick only members of a specific rank out of the alliance"); alltt[198] = tt_Dynamic("Use this radio button if you don't want members of this rank to be able to change the rank of any other member of the alliance"); alltt[199] = tt_Dynamic("Use this radio button if you want members of this rank to be able to change the rank of any other member of the alliance"); alltt[200] = tt_Dynamic("Use this radio button if you want members of this rank to be able tochange the rank of other members of the alliance only if they have some specific rank"); alltt[201] = tt_Dynamic("Use this radio button if you don't want members of this rank to have any access to this forum"); alltt[202] = tt_Dynamic("Use this radio button if you want members of this rank to have access to this forum as normal users"); alltt[203] = tt_Dynamic("Use this radio button if you want members of this rank to have access to this forum as moderators"); alltt[204] = tt_Dynamic("Use this drop down list to select to which rank players of the rank you are about to delete are to be demoted to"); alltt[205] = tt_Dynamic("Click here to confirm the deletion of this rank and the demotion of the players of this rank to the selected rank"); alltt[206] = tt_Dynamic("Click here to cancel the deletion of this rank and go back to the previous page"); alltt[210] = tt_Dynamic("Click here to go to this section of the alliance page"); alltt[220] = tt_Dynamic("Check this checkbox to select this rang and provide the corresponding rights over the members of this rank to the members of rank you are editing"); } //-------------------------------------------------- // PAGE WHEN PLAYER IS NOT A MEMBER OF AN ALLIANCE //-------------------------------------------------- function drawPageNoAlliance() { var jd, cd1, cd2, ai; var str = '