'Date','OwnWorkCreation','OwnWorkPublication',
'Author','Source',
'Permission','ThirdPartyOtherLicense',
'ThirdPartyEvidenceLink','ThirdPartyOTRSTicket',
'FreeWebsiteOtherLicense',
'PDOldAuthorLifetime','Publication',
'PDOldCountry','PDOldPermission',
'PDOfficialPermission','PDOtherPermission',
'NFSubjectPurpose', 'NF3DOrigDate', 'NF3DPurpose',
'NF3DCreator',
'NFPortraitDeceased',
'EditSummary'
];
for (i=0; i<activeTextfields.length; i++) {
fuwMakeTextfield(activeTextfields[i]);
}  
// names of multiline textareas
var activeTextareas = [
'InputDesc','NF3DPermission',
'NFCommercial','NFPurpose','NFReplaceableText',
'NFReplaceable','NFCommercial','NFMinimality','AnyOther'
];
for (i=0; i<activeTextareas.length; i++) {
fuwMakeTextarea(activeTextareas[i]);
};  
var checkboxes = [
'NFCoverCheckDedicated','NFLogoCheckDedicated','NFPortraitCheckDedicated'
];
for (i=0; i<checkboxes.length; i++) {
fuwMakeCheckbox(checkboxes[i]);
};  
var licenseLists = {
'OwnWorkLicense' :
// array structure as expected for input to fuwMakeSelection function.
// any entry that is a two-element array will be turned into an option
// (first element is the value, second element is the display string).
// Entries that are one-element arrays will be the label of an option group.
// Zero-element arrays mark the end of an option group.
[
['Allow all use as long as others credit you and share it under similar conditions'],
['self|GFDL|cc-by-sa-3.0|migration=redundant',
'Creative Commons Attribution-Share Alike 3.0 + GFDL (recommended)',
true],
['self|cc-by-sa-3.0',
'Creative Commons Attribution-Share Alike 3.0'],
[],
['Allow all use as long as others credit you'],
['self|cc-by-3.0',
'Creative Commons Attribution 3.0'],
[],
['Reserve no rights'],
['cc-zero',
'CC-zero Universal Public Domain Dedication'],
[]
],
'ThirdPartyLicense' :
[
['', 'please select the correct license...'],
['Freely licensed:'],
['cc-by-sa-3.0', 'Creative Commons Attribution-Share Alike (cc-by-sa-3.0)'],
['cc-by-3.0', 'Creative Commons Attribution (cc-by-3.0)'],
['GFDL', 'GNU Free Documentation License (GFDL)'],
[],
['No rights reserved:'],
['PD-author', 'Public domain'],
[],
['Other (see below)'],
[]
],
'FreeWebsiteLicense' :
[
['', 'please select the correct license...'],
['Freely licensed:'],
['cc-by-sa-3.0', 'Creative Commons Attribution-Share Alike (cc-by-sa-3.0)'],
['cc-by-3.0', 'Creative Commons Attribution (cc-by-3.0)'],
['GFDL', 'GNU Free Documentation License (GFDL)'],
[],
['No rights reserved:'],
['PD-author', 'Public domain'],
[],
['Other (see below)'],
[]
],
'USGovLicense' :
[
['PD-USGov', 'US Federal Government'],
['PD-USGov-NASA','NASA'],
['PD-USGov-Military-Navy','US Navy'],
['PD-USGov-NOAA','US National Oceanic and Atmospheric Administration'],
['PD-USGov-Military-Air_Force','US Air Force'],
['PD-USGov-Military-Army','US Army'],
['PD-USGov-CIA-WF','CIA World Factbook'],
['PD-USGov-USGS','United States Geological Survey']
],
'IneligibleLicense' :
[
['', 'please select one...'],
['PD-shape','Item consists solely of simple geometric shapes'],
['PD-text','Item consists solely of a few individual words or letters'],
['PD-textlogo','Logo or similar item consisting solely of letters and simple geometric shapes'],
['PD-chem','Chemical structural formula'],
['PD-ineligible','Other kind of item that contains no original authorship']
],
'NFSubjectLicense' :
[
['', 'please select one...'],
['Non-free 2D art', '2-dimensional artwork (painting, drawing etc.)'],
['Non-free historic image', 'Unique historic photograph'],
['Non-free fair use in', 'something else (please describe in description field on top)']
],
'NF3DLicense' :
[
['', 'please select one...'],
['Non-free architectural work', 'Architectural work'],
['Non-free 3D art', 'Other 3-dimensional creative work (sculpture etc.)']
],
'NFCoverLicense' :
[
['', 'please select one...'],
['Non-free book cover', 'Cover page of a book'],
['Non-free album cover', 'Cover of a sound recording (album, single, song, CD)'],
['Non-free game cover', 'Cover of a video/computer game'],
['Non-free magazine cover', 'Cover page of a magazine'],
['Non-free video cover', 'Cover of a video'],
['Non-free software cover', 'Cover of a software product'],
['Non-free product cover', 'Cover of some commercial product'],
['Non-free title-card', 'Title screen of a TV programme'],
['Non-free movie poster', 'Movie poster'],
['Non-free poster', 'Official poster of an event'],
['Non-free fair use in', 'something else (please describe in description field on top)']
],
'NFExcerptLicense' :
[
['', 'please select one...'],
['Non-free television screenshot', 'Television screenshot'],
['Non-free film screenshot', 'Movie screenshot'],
['Non-free game screenshot', 'Game screenshot'],
['Non-free video screenshot', 'Video screenshot'],
['Non-free music video screenshot', 'Music video screenshot'],
['Non-free software screenshot', 'Software screenshot'],
['Non-free web screenshot', 'Website screenshot'],
['Non-free speech', 'Audio excerpt from a speech'],
['Non-free audio sample', 'Sound sample of an audio recording'],
['Non-free video sample', 'Sample extract from a video'],
['Non-free sheet music', 'Sheet music representing a musical piece'],
['Non-free comic', 'Panel from a comic, graphic novel, manga etc.'],
['Non-free computer icon', 'Computer icon'],
['Non-free newspaper image', 'Page from a newspaper'],
['Non-free fair use in', 'something else (please describe in description field on top)']
],
'NFLogoLicense' :
[
['Non-free logo', 'Logo of a company, organization etc.'],
['Non-free seal', 'Official seal, coat of arms etc'],
['Non-free symbol', 'Other official symbol']
],
'NFMiscLicense' :
[
['Non-free fair use in', 'something else (please describe in description field on top)'],
['Non-free historic image', 'Historic photograph'],
['Non-free 2D art', '2-dimensional artwork (painting, drawing etc.)'],
['Non-free currency', 'Depiction of currency (banknotes, coins etc.)'],
['Non-free architectural work', 'Architectural work'],
['Non-free 3D art', 'Other 3-dimensional creative work (sculpture etc.)'],
['Non-free book cover', 'Cover page of a book'],
['Non-free album cover', 'Cover of a sound recording(album, single, song, CD)'],
['Non-free game cover', 'Cover of a video/computer game'],
['Non-free magazine cover', 'Cover page of a magazine'],
['Non-free video cover', 'Cover of a video'],
['Non-free software cover', 'Cover of a software product'],
['Non-free product cover', 'Cover of some commercial product'],
['Non-free title-card', 'Title screen of a TV programme'],
['Non-free movie poster', 'Movie poster'],
['Non-free poster', 'Official poster of an event'],
['Non-free television screenshot', 'Television screenshot'],
['Non-free film screenshot', 'Movie screenshot'],
['Non-free game screenshot', 'Game screenshot'],
['Non-free video screenshot', 'Video screenshot'],
['Non-free music video screenshot', 'Music video screenshot'],
['Non-free software screenshot', 'Software screenshot'],
['Non-free web screenshot', 'Website screenshot'],
['Non-free speech', 'Audio excerpt from a speech'],
['Non-free audio sample', 'Sound sample of an audio recording'],
['Non-free video sample', 'Sample extract from a video'],
['Non-free sheet music', 'Sheet music representing a musical piece'],
['Non-free comic', 'Panel from a comic, graphic novel, manga etc.'],
['Non-free computer icon', 'Computer icon'],
['Non-free newspaper image', 'Page from a newspaper'],
['Non-free logo', 'Logo of a company, organization etc.'],
['Non-free seal', 'Official seal, coat of arms etc'],
['Non-free symbol', 'Other official symbol'],
['Non-free sports uniform', 'Sports uniform'],
['Non-free stamp', 'Stamp']
],
'NFExtraLicense' :
[
[*, *],
['Crown copyright and other governmental sources'],
['Non-free Crown copyright', 'UK Crown Copyright'],
['Non-free New Zealand Crown Copyright', 'NZ Crown Copyright'],
['Non-free Canadian Crown Copyright', 'Canadian Crown Copyright'],