var oldVal; function questionairepage_actionPerformed(){ var p = ""; p+=(ge("portrait_1").checked==true?"Myself, ":""); p+=(ge("portrait_2").checked==true?"My Family, ":""); p+=(ge("portrait_3").checked==true?"My Pet, ":""); p+=ge("portrait_other").value; var s=""+(ge("sculpture_1").checked==true?"Home, ":""); s+=(ge("sculpture_2").checked==true?"Office, ":""); s+=(ge("sculpture_3").checked==true?"Gift, ":""); s+=(ge("sculpture_4").checked==true?"Myself, ":""); s+=ge("sculpture_other").value; var cd="" if(ge("seminar").checked==true){ cd=" * I am interested in your Seminars and CD's.\n\n"; } var f=ge("text_favorite").value; emailMessage+="\n\n QUESTIONAIRE \n"+ "--------------------------------\n"+ " * I am interested in a portrait of: "+p+"\n\n"+ " * I would like to have a sculpture for: "+s+"\n\n"+ " * My favorite Sculptures are:"+f+"\n\n"+ " * What I like best about your sculpture is: "+ge("text_best").value + "\n\n"+cd+"\n\n\n"; showFloatingPage("email"); } function questionairepage_checkFavorites(){ if(ge("chk1").checked){ oldVal=ge("text_favorite").value; var favs=""; for(var i=0;iMyself  "+ "My Family  "+ "My Pet   Other: "+ ""+ ""+ "I would like to have a sculpture for: "+ "Home  " + "Office  " + "Gift  "+ "Myself   Other: "+ ""+ ""+ "My favorite choices in your sculptures are:
"+ ""+ "Use items listed in \"My Favorite Art\""+ ""+ ""+ ""+ "What I like best about your sculpture is:"+ ""+ ""+ ""+ ""+ "I am interested in your Seminars and CD's"+ ""+ ""+ "Add me to your mailing list"+ ""+ ""; container=new Container(); container.paintLayout(PAINT_LAYOUT); container.setSpacing(CONTAINER_SPACING); container.setNorthComponent(nch,"top","center"); container.setCenterComponent(cch,"top","center"); var questionairePage=new Page("Questionaire"); questionairePage.paintLayout(PAINT_LAYOUT); questionairePage.createPageHtml(container); questionairePage.actionPerformed=questionairepage_actionPerformed; questionairePage.checkFavorites=questionairepage_checkFavorites; questionairePage.clearAll=questionairepage_clearAll; questionairePage.toggleMailList=questionairepage_toggleMailList; questionairePage.update=questionairepage_clearAll;