anchor.diff:  		// 8 = view messages
   		// 9 = authentication before sending
   		// 10 = send announcement
  +		// 11 = form database
   	var/silent = 0 // set to 1 for it not to beep all the time
   //	var/hackState = 0
   		// 0 = not hacked
  
positive.code: 				for (var/mob/O in hearers(4, src.loc))
  					O.show_message(text("\icon[src] *The Requests Console beeps: 'NOTICE: No server detected!'"))
  
  
  	//Handle screen switching
  	switch(text2num(href_list["setScreen"]))
  
negative.code: 					dat += text("<A href='?src=\ref[src];sendAnnouncement=1'>Announce</A><BR>");
  				dat += text("<BR><A href='?src=\ref[src];setScreen=0'>Back</A><BR>")
  
  			if(11)	//form database
  				dat += text("<B>NanoTrasen Corporate Forms</B><br><br>")
  
  				establish_db_connection()
  
  				if(!dbcon.IsConnected())
  					dat += text("<font color=red><b>ERROR</b>: Unable to contact external database. Please contact your system administrator for assistance.</font>")
  				else
  					dat += {"<table border='1'>
  					<tr><th>NCF ID</th><th>Form Name</th><td></td><td></td></tr>"}
  
  					//For reference:
  					//Command forms, 	01xx series
  					//Security forms,	02xx series
  					//Medical forms,	03xx series
  					//Engineer forms,	04xx series
  					//Science forms,	05xx series
  					//Supply forms,		06xx series
  					//General forms,	10xx series
  
  					var/DBQuery/query = dbcon.NewQuery(SQLquery)
  					query.Execute()
  
  					while(query.NextRow())
  						var/id = query.item[1]
  						var/name = query.item[2]
  						var/department = query.item[3]
  						dat += "<tr><td>NCF-[id]</td><td>[name]</td><td><a href='?src=\ref[src];sort=[department]'>[department]</a></td><td><a href='?src=\ref[src];print=[id]'>Print</a></td></tr>"
  					dat += "</table>"
  					dat += text("<br><A href='?src=\ref[src];setScreen=11'>Reset Search</a>")
  				dat += text("<BR><A href='?src=\ref[src];setScreen=0'>Back</A><BR>")
  
  			else	//main menu
  				screen = 0
  				announceAuth = 0
  