/* Sitewide options for the the Cite toolbar button:
CiteTB.Options = ;
// Cite template definitionsnew citeTemplate('cite web', 'web',[// Basic fields {"field": "last<N>", "autofillprop":"last-incr", 'increment_group':'author'}, {"field": "first<N>", "autofillprop":"first-incr", 'increment_group':'author', 'increment_button':true}, {"field": "title", "autofillprop":"title"}, {"field": "url", "autofillid":"url"}, {"field": "website", "autofillprop":"journal"}, {"field": "publisher", "autofillprop":"publisher"}, {"field": "access-date"}, {"field": "ref", "tooltip":"cite-ref-tooltip"} ],[// Expanded fields {"field": "author<N>", 'increment_group':'author_alt', 'increment_button':true}, {"field": "author<N>-link", "tooltip":"cite-authorlink-tooltip", 'increment_group':'authorlink', 'increment_button':true}, {"field": "archive-url"}, {"field": "archive-date"}, {"field": "location"}, {"field": "page", "tooltip":"cite-page-tooltip"}, {"field": "pages", "autofillprop":"pages", "tooltip":"cite-pages-tooltip"}, {"field": "language", "autofillprop":"language"}, {"field": "format"}, {"field": "doi", "autofillid":"doi", "autofillprop":"doi"}, {"field": "date", "autofillprop":"date"}, {"field": "quote"}, {"field": "url-status", "tooltip":"cite-urlstatus-tooltip"} ]);
new citeTemplate('cite news', 'news',[// Basic fields {"field": "last<N>", "autofillprop":"last-incr", 'increment_group':'author'}, {"field": "first<N>", "autofillprop":"first-incr", 'increment_group':'author', 'increment_button':true}, {"field": "title", "autofillprop":"title"}, {"field": "url", "autofillid":"url"}, {"field": "access-date"}, {"field": "work", "tooltip":"cite-work-tooltip", "autofillprop":"journal"}, {"field": "agency", "tooltip":"cite-agency-tooltip"}, {"field": "issue"}, {"field": "publisher", "tooltip":"cite-publisher-tooltip", "autofillprop":"publisher"}, {"field": "date", "autofillprop":"date"}, {"field": "ref", "tooltip":"cite-ref-tooltip"} ],[// Expanded fields {"field": "author<N>", 'increment_group':'author_alt', 'increment_button':true}, {"field": "author<N>-link", "tooltip":"cite-authorlink-tooltip", 'increment_group':'authorlink', 'increment_button':true}, {"field": "archive-url"}, {"field": "archive-date"}, {"field": "location"}, {"field": "page", "tooltip":"cite-page-tooltip"}, {"field": "pages", "autofillprop":"pages", "tooltip":"cite-pages-tooltip"}, {"field": "language", "autofillprop":"language"}, {"field": "format"}, {"field": "doi", "autofillid":"doi", "autofillprop":"doi"}, {"field": "quote"} ]);
new citeTemplate('cite book', 'book',[// Basic fields {"field": "last<N>", "autofillprop":"last-incr", 'increment_group':'author'}, {"field": "first<N>", "autofillprop":"first-incr", 'increment_group':'author', 'increment_button':true}, {"field": "title", "autofillprop":"title"}, {"field": "date", "autofillprop":"date"}, {"field": "publisher", "autofillprop":"publisher"}, {"field": "location", "autofillprop":"location"}, {"field": "isbn", "autofillid":"isbn", "autofillprop":"isbn"}, {"field": "page", "tooltip":"cite-page-tooltip"}, {"field": "pages", "autofillprop":"pages", "tooltip":"cite-pages-tooltip"}, {"field": "edition", "autofillprop":"edition"}, {"field": "url", "autofillid":"url"}, {"field": "access-date"}, {"field": "ref", "tooltip":"cite-ref-tooltip"} ],[// Expanded fields {"field": "author<N>", 'increment_group':'author_alt', 'increment_button':true}, {"field": "author<N>-link", "tooltip":"cite-authorlink-tooltip", 'increment_group':'authorlink', 'increment_button':true}, {"field": "editor<N>-last", "increment_group":"editor"}, {"field": "editor<N>-first", "increment_group":"editor", "increment_button":true}, {"field": "editor<N>-link", 'increment_group':'editorlink', 'increment_button':true}, {"field": "archive-url"}, {"field": "archive-date"}, {"field": "language", "autofillprop":"language"}, {"field": "format"}, {"field": "chapter", "autofillprop":"chapter"}, {"field": "quote"} ]);
new citeTemplate('cite journal', 'journal',[// Basic fields {"field": "last<N>", "autofillprop":"last-incr", 'increment_group':'author'}, {"field": "first<N>", "autofillprop":"first-incr", 'increment_group':'author', 'increment_button':true}, {"field": "title", "autofillprop":"title"}, {"field": "journal", "autofillprop":"journal"}, {"field": "date", "autofillprop":"date"}, {"field": "volume", "autofillprop":"volume"}, {"field": "issue", "autofillprop":"issue"}, {"field": "page", "tooltip":"cite-page-tooltip"}, {"field": "pages", "autofillprop":"pages", "tooltip":"cite-pages-tooltip"}, {"field": "doi", "autofillid":"doi", "autofillprop":"doi"}, {"field": "pmid", "autofillid":"pmid"}, {"field": "url", "autofillid":"url"}, {"field": "access-date"}, {"field": "ref", "tooltip":"cite-ref-tooltip"}, ],[// Expanded fields {"field": "author<N>", 'increment_group':'author_alt', 'increment_button':true}, {"field": "author<N>-link", "tooltip":"cite-authorlink-tooltip", 'increment_group':'authorlink', 'increment_button':true}, {"field": "editor<N>-last", "increment_group":"editor"}, {"field": "editor<N>-first", "increment_group":"editor", "increment_button":true}, {"field": "editor<N>-link", 'increment_group':'editorlink', 'increment_button':true}, {"field": "series"}, {"field": "at", "tooltip":"cite-at-tooltip"}, {"field": "trans-title"}, {"field": "publisher", "autofillprop":"publisher"}, {"field": "location"}, {"field": "language", "autofillprop":"language"}, {"field": "format"}, {"field": "issn", "autofillprop":"issn"}, {"field": "pmc"}, {"field": "oclc"}, {"field": "bibcode"}, {"field": "id"}, {"field": "quote"}, {"field": "postscript", "tooltip":"cite-postscript-tooltip"} ]);
new citeErrorCheck;
new citeErrorCheck;
new citeErrorCheck;
CiteTB.init;