Index: trunk/MagicSoft/Mars/datacenter/db/plotinclude.php
===================================================================
--- trunk/MagicSoft/Mars/datacenter/db/plotinclude.php	(revision 8464)
+++ trunk/MagicSoft/Mars/datacenter/db/plotinclude.php	(revision 8599)
@@ -158,5 +158,5 @@
 }
 
-//functions for showplots.php and showplots2.php
+//functions for showplots*.php
 function gettypename($type2)
 {
@@ -186,3 +186,15 @@
 }
 
+function PrintType2Pulldown($type2)
+{
+    $types=array("calib", "signal", "star");
+    printf("<select name='type2'>\n");
+    foreach($types as $t => $typename)
+        if ($type2==$typename)
+            printf("<option value='%s' selected>%s </option>\n", $type2, $type2);
+        else
+            printf("<option value='%s'>%s </option>\n", $typename, $typename);
+    print("</select>\n");
+}
+
 ?>
