document.observe("dom:loaded", function(){
	Today=dateFormat(Date(), "fullDate");
	headingArray = ["salary", "honoraria", "consulting", "royalties", "equity", "funded research", "other"];
	MSTypeArray=["Research Report", "Case Report","Echo Rounds", "Brief Report", "Technical Communication", "Review", "Medical Intelligence", "Special Article", "Pro\/Con\/Core Review", "Book or Multimedia Review", "Meeting Report","Focused Review","Commentary","Letter to the Editor","Editorial","The Open Mind"] 
	MisconductText = "All authors have read the section on misconduct in the <a href='http://www.aaeditor.org/GuideForAuthors.pdf' target='_blank'>Guide For Authors</a>, understand the definitions of misconduct, and will fully support all efforts to investigate any allegations of misconduct. All authors accept the Journal's right to retract papers in the event that an author fails to cooperate with an investigation of misconduct, or if there is reasonable basis to believe that misconduct has occurredas defined in the <a href='http://www.aaeditor.org/GuideForAuthors.pdf' target='_blank'>Guide For Authors</a>."
    // document fire calls initial.js (initial loading) on the first load of a page.
	// if the page is a previously saved page, then and returning.js is loaded.
	// document.fire calls the initialization from one or the other, enabling
	// different initialization procedures. 
	nextIndex = 0;
	editedIndex = -99;
	radioCounter = 0;
	paperID = -1;
	defineMSTypes();
    NewAuthorButtonFunction();
	createTopDiv();
//	addDefaultData(); //comment out for production
//	CreateTitlePage();
});
