Index: Dev/trunk/classes/SessionCreationTool.php
===================================================================
--- Dev/trunk/classes/SessionCreationTool.php	(revision 65)
+++ Dev/trunk/classes/SessionCreationTool.php	(revision 66)
@@ -42,12 +42,12 @@
         <script type="text/javascript">
             var surveys = new Array();
-                                                                                                                    
+                                                                                                                                    
             init();
-                                                                                                                                
+                                                                                                                                                
             function init() {
                 loadSurveys();
                 loadApplications();
             }
-                                                                                                                                
+                                                                                                                                                
             function loadSurveys() {
         <?php
@@ -62,9 +62,9 @@
         ?>
             }
-                                                                                                                    
+                                                                                                                                    
             function loadApplications() {
-                                                                                                                        
+                                                                                                                                        
             }
-                                                                                                                    
+                                                                                                                                    
             function Survey(title, id)
             {
@@ -72,29 +72,18 @@
                 this.id = id;
             }
-                                                                                                                    
+                                                                                                                                    
             // =============================================================
-                                                                                                                    
+                                                                                                                                    
             function addSurvey() {
-                var surveyList = document.createElement("select");
-                surveyList.size = 1000;
-                surveyList.style.height = "10em";
-                surveyList.style.width = "15em";
-                                                
-                for (var i = 0; i < surveys.length; i++) 
-                {
-                    var option = document.createElement("option");
-                    option.setAttribute("value", surveys[i].id);
-                    option.innerHTML = surveys[i].title;
-                    surveyList.appendChild(option);
-                }
-
-                                                
-
-                var sessionCreation = document.getElementById("sessionCreationForm");
-                var pipelineOptions = document.getElementById("pipelineOptions");
-                                                                                                                        
-                sessionCreation.replaceChild(surveyList, pipelineOptions);
+                var pipeline = document.getElementById("pipeline");
+                var surveysList = document.getElementById("surveysList");
+                                
+                var entry = document.createElement("option");
+                entry.setAttribute("value", surveys[surveysList.selectedIndex].id);
+                entry.innerHTML = surveys[surveysList.selectedIndex].title;
+                        
+                pipeline.appendChild(entry);
             }
-                                                                                                                            
+                                                                                                                                            
         </script>
         <?php
@@ -135,9 +124,15 @@
             <div id="surveysForPipelineWrapper">
                 <h2 class="pipelineHead">Surveys</h2>
-                <?php $this->surveysSelect(); ?>
+                <?php
+                $this->surveysSelect();
+                $this->addSurveyToPipelineButton()
+                ?>
             </div>
             <div id="applicationsForPipelineWrapper">
                 <h2 class="pipelineHead">Applications</h2>
-                <?php $this->applicationsSelect(); ?>
+                <?php
+                $this->applicationsSelect();
+                $this->addApplicationToPipelineButton();
+                ?>
             </div>
         </div>
@@ -155,5 +150,5 @@
     private function surveysSelect() {
         ?>
-        <select size="5" class="width100p">
+        <select id="surveysList" size="5" class="width100p">
             <?php
             foreach ($this->surveys as $survey) {
@@ -178,5 +173,5 @@
     private function addSurveyToPipelineButton() {
         ?>
-        <input type="button" id="surveyToPipeline" class="surveyButton pipelineButton leftAlign leftPadding1" value="+ Survey" onclick="addSurvey()"/>
+        <input type="button" id="surveyToPipeline" class="surveyButton pipelineButton leftAlign leftPadding1" value="<=====" onclick="addSurvey()"/>
         <?php
     }
@@ -184,5 +179,5 @@
     private function addApplicationToPipelineButton() {
         ?>
-        <input type="button" class="surveyButton pipelineButton leftAlign leftPadding1" value="+ Application" />
+        <input type="button" class="surveyButton pipelineButton leftAlign leftPadding1" value="<=====" />
         <?php
     }
