var theImages = new Array() 
theImages[0] = 'images/conference.png'
theImages[1] = 'images/service.png'
theImages[2] = 'images/building.png'
theImages[3] = 'images/people.png'


// do not edit anything below this line

var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));

function showImage(){
document.write('<img src="'+theImages[whichImage]+'" alt="Flexible, Scalable, Powerful Registration Software Solutions" height="180px" width="176px" style="float: left; border: groove 2px #cccccc; margin-right: 20px; margin-bottom: 10px;" />');
}

var date = new Date(document.lastModified);
function pageModified() {
document.write("Updated: "+(date.getMonth()+1)+ "/" + date.getDate()+ "/" + date.getFullYear());
}

function clearDefault(el) {
	if (el.defaultValue==el.value) el.value = ""
}


view=false;
function view_only() {
   view=true;
   document.StatPac_Survey_Software.submit();
}

function open_survey_software_results() {
   for (i=0;i<document.StatPac_Survey_Software.Choice.length;i++){
      if (document.StatPac_Survey_Software.Choice[i].checked==true){
          document.StatPac_Survey_Software.vote.value=""+(i+1);
      }
   }
   if ((document.StatPac_Survey_Software.vote.value=="") && (view==false)){
      alert ("Please make a selection.");
      return;
   }
   if (view==true) {
      document.StatPac_Survey_Software.view_mode.value="1";
   } else {
      document.StatPac_Survey_Software.view_mode.value="0";
   }
   view=false;
   url = "survey_software_results.html";
   args = 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=600,height=300,left=20,top=20';
   result = window.open(url, "survey_software", args);
}

var mess1 = new Array('<p><span id="quote">"Student Manager and ACEweb have allowed our organization to have online registration for our employees as well as within the community. It&#39;s a great timesaver!</span></p><p style="text-align: right;">Janet Rininger<br />Holland Hospital</p><br /><br />','<p><span id="quote">"Student Manager saves alot of time when registering students."</span></p><p style="text-align: right;">Karin Gustafson<br />Skagit Valley Hospital</p><br /><br />');
var max1 = mess1.length;
var num1 = Math.floor((Math.random() * max1));

function showQuote1(){
document.writeln(mess1[num1]);
}

var mess2 = new Array('<p><span id="quote">"We couldn&#39;t operate without it.  The flexibility is outstanding."</span></p><p style="text-align: right;">Jan Dralle<br />Bismarck State College</p><br /><br />','<p><span id="quote">"Your program has made on-site registration a breeze."</span></p><p style="text-align: right;">Belinda Irby<br />University of South Carolina</p><br /><br />');
var max2 = mess2.length;
var num2 = Math.floor((Math.random() * max2));

function showQuote2(){
document.writeln(mess2[num2]);
}

var mess3 = new Array('<p><span id="quote">"I have always been impressed with technical support from ACEware!"</span></p><p style="text-align: right;">Suzie Mahoney<br />Texas Christian University</p><br /><br />','<p><span id="quote">"Technical support has been wonderful-always responsive to all my questions."</span></p><p style="text-align: right;">Maggie Bartlett<br />Western Wyoming Community College</p><br /><br />');
var max3 = mess3.length;
var num3 = Math.floor((Math.random() * max3));

function showQuote3(){
document.writeln(mess3[num3]);
}
