Added mode on index page
added mode_type
took out print
took out print
took out print
Added tracking of views on a result