document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='"+jvs_location+"standard\/browserstyle.js'  TYPE='text\/javascript'><\/SCR" + "IPT>");
document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='"+jvs_location+"standard\/ChangeDivContent.js'  TYPE='text\/javascript'><\/SCR" + "IPT>");
document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='"+jvs_location+"standard\/formCheck.js'  TYPE='text\/javascript'><\/SCR" + "IPT>");

	function set_form_page(){
			capture_form_values();
			var set_zd_gallery=browserstyle('zd_gallery'); set_zd_gallery.display='block';
			var str = '<h6><a href="javascript:start_assessment();">begin</a></h6></p>';
			var str1='<h2>Start Your Assessment Now</h2><p>Please choose between our Web Assessment Questionnaire or our Presentation Assessment Questionnaire.</p><p>Once you have made your choice, please click "begin".</p>';
			var str2='<h2>Assessment Process</h2><p>In order to best serve your needs, we ask that you take a few moments to fill out one of our quick assessment forms. You will have a choice between <b>web services</b> and <b>presentation services</b>. We will be asking about others involved in the decision making process, your current level of experience, and what you would like us to help you accomplish.</p><p>The assessment helps us determine potential opportunities for marketing, and allows us to bring pertinent information to our first meeting.</p><p><b>Feel free to <a href="/contact_us/">contact us</a> if you have any questions about your assessment, or about the services we offer.</b></p>';
			var set_text_box=browserstyle('main_text4'); set_text_box.height='auto';
			ChangeDivContent('begin',str);
			ChangeDivContent('form_text',str1);
			ChangeDivContent('main_text4',str2);
			document.main_form.assessment_type.style.visibility='visible';
			document.main_form.start.style.visibility='hidden';
	}
	
	function capture_form_values(){
		if(document.temp_form){
			capture_textfield('capture','document.temp_form.fn','document.main_form.first_name'); capture_textfield('capture','document.temp_form.ln','document.main_form.last_name');
			capture_textfield('capture','document.temp_form.mt','document.main_form.main_title');
			capture_textfield('capture','document.temp_form.mp','document.main_form.main_phone'); capture_textfield('capture','document.temp_form.mm','document.main_form.main_cell');
			capture_textfield('capture','document.temp_form.me','document.main_form.main_email');
			capture_checklist('capture','document.temp_form.exp_','document.main_form.experience',12);
			capture_textfield('capture','document.temp_form.refpoint','document.main_form.reference');

			capture_textfield('capture','document.temp_form.cn','document.main_form.company_name'); 
			capture_textfield('capture','document.temp_form.cd','document.main_form.company_description');
			capture_textfield('capture','document.temp_form.sa','document.main_form.company_street');
			capture_textfield('capture','document.temp_form.ca','document.main_form.company_city'); capture_textfield('capture','document.temp_form.sta','document.main_form.company_state');
			capture_textfield('capture','document.temp_form.za','document.main_form.company_zip'); capture_textfield('capture','document.temp_form.Coa','document.main_form.company_country'); 
			capture_textfield('capture','document.temp_form.fa','document.main_form.company_fax');
			
			capture_radio('capture','document.temp_form.ityn','document.main_form.IT_person');			
			capture_textfield('capture','document.temp_form.itn','document.main_form.IT_name'); capture_textfield('capture','document.temp_form.itt','document.main_form.IT_title');
			capture_radio('capture','document.temp_form.mpyn','document.main_form.marketing_person');			
			capture_textfield('capture','document.temp_form.mpn','document.main_form.marketing_name'); capture_textfield('capture','document.temp_form.mpt','document.main_form.marketing_title');
			capture_radio('capture','document.temp_form.dpyn','document.main_form.decision_persons');
			capture_textlist('capture','document.temp_form.dpn_','document.main_form.decision_name',decider); capture_textlist('capture','document.temp_form.dpt_','document.main_form.decision_title',decider);
			
			capture_radio('capture','document.temp_form.lyn','document.main_form.logo');
			capture_radio('capture','document.temp_form.wyn','document.main_form.have_website');
			capture_radio('capture','document.temp_form.ptyn','document.main_form.have_presentation');
			capture_textlist('capture','document.temp_form.wa_','document.main_form.company_website',websiter);
			capture_checklist('capture','document.temp_form.purp_','document.main_form.purpose',4);
			capture_checklist('capture','document.temp_form.ldone_','document.main_form.have_done',9);
			
			capture_checklist('capture','document.temp_form.feats_','document.main_form.features',16); capture_textfield('capture','document.temp_form.feats_o','document.main_form.features_other');
			capture_radio('capture','document.temp_form.wprc','document.main_form.web_pages');
			capture_radio('capture','document.temp_form.plrc','document.main_form.presentation_length');
			
			capture_checklist('capture','document.temp_form.mstrat_','document.main_form.marketing_strategies',7); capture_textfield('capture','document.temp_form.mstrat_o','document.main_form.marketing_strategies_other');
			capture_radio('capture','document.temp_form.psrc','document.main_form.presentation_software'); capture_textfield('capture','document.temp_form.psoft_o','document.main_form.presentation_software_other');
			
			capture_radio('capture','document.temp_form.ttyn','document.main_form.timetable'); capture_textfield('capture','document.temp_form.time_d','document.main_form.timetable_description');
			capture_textlist('capture','document.temp_form.wc_','document.main_form.competitors_websites',competer);
			capture_radio('capture','document.temp_form.peyn','document.main_form.presentation_examples');
			
			capture_textfield('capture','document.temp_form.success_d','document.main_form.success');
			capture_textfield('capture','document.temp_form.ideas_d','document.main_form.ideas');
			capture_textfield('capture','document.temp_form.additional_d','document.main_form.services');
			
			capture_checklist('capture','document.temp_form.to_client','document.main_form.client_copy',1);
			
		}
	}

	function share_form_values(){
		capture_textfield('share','document.temp_form.fn','document.main_form.first_name'); capture_textfield('share','document.temp_form.ln','document.main_form.last_name');
		capture_textfield('share','document.temp_form.mt','document.main_form.main_title'); 
		capture_textfield('share','document.temp_form.mp','document.main_form.main_phone'); capture_textfield('share','document.temp_form.mm','document.main_form.main_cell');
		capture_textfield('share','document.temp_form.me','document.main_form.main_email');	
		capture_checklist('share','document.temp_form.exp_','document.main_form.experience',12);
		capture_textfield('share','document.temp_form.refpoint','document.main_form.reference');
		
		capture_textfield('share','document.temp_form.cn','document.main_form.company_name'); 
		capture_textfield('share','document.temp_form.cd','document.main_form.company_description');
		capture_textfield('share','document.temp_form.sa','document.main_form.company_street');
		capture_textfield('share','document.temp_form.ca','document.main_form.company_city'); capture_textfield('share','document.temp_form.sta','document.main_form.company_state');
		capture_textfield('share','document.temp_form.za','document.main_form.company_zip'); capture_textfield('share','document.temp_form.Coa','document.main_form.company_country'); 
		capture_textfield('share','document.temp_form.fa','document.main_form.company_fax');
	
		capture_radio('share','document.temp_form.ityn','document.main_form.IT_person');			
		capture_textfield('share','document.temp_form.itn','document.main_form.IT_name'); capture_textfield('share','document.temp_form.itt','document.main_form.IT_title');
		capture_radio('share','document.temp_form.mpyn','document.main_form.marketing_person');			
		capture_textfield('share','document.temp_form.mpn','document.main_form.marketing_name'); capture_textfield('share','document.temp_form.mpt','document.main_form.marketing_title');
		capture_radio('share','document.temp_form.dpyn','document.main_form.decision_persons');
		capture_textlist('share','document.temp_form.dpn_','document.main_form.decision_name',decider);	capture_textlist('share','document.temp_form.dpt_','document.main_form.decision_title',decider);
		
		capture_radio('share','document.temp_form.lyn','document.main_form.logo');
		capture_radio('share','document.temp_form.wyn','document.main_form.have_website'); 
		capture_radio('share','document.temp_form.ptyn','document.main_form.have_presentation');
		capture_textlist('share','document.temp_form.wa_','document.main_form.company_website',websiter);
		capture_checklist('share','document.temp_form.purp_','document.main_form.purpose',4);
		capture_checklist('share','document.temp_form.ldone_','document.main_form.have_done',9);
		
		capture_checklist('share','document.temp_form.feats_','document.main_form.features',16); capture_textfield('share','document.temp_form.feats_o','document.main_form.features_other');
		capture_radio('share','document.temp_form.wprc','document.main_form.web_pages');
		capture_radio('share','document.temp_form.plrc','document.main_form.presentation_length');
		
		capture_checklist('share','document.temp_form.mstrat_','document.main_form.marketing_strategies',7); capture_textfield('share','document.temp_form.mstrat_o','document.main_form.marketing_strategies_other');
		capture_radio('share','document.temp_form.psrc','document.main_form.presentation_software'); capture_textfield('share','document.temp_form.psoft_o','document.main_form.presentation_software_other');

		capture_radio('share','document.temp_form.ttyn','document.main_form.timetable'); capture_textfield('share','document.temp_form.time_d','document.main_form.timetable_description');
		capture_textlist('share','document.temp_form.wc_','document.main_form.competitors_websites',competer);
		capture_radio('share','document.temp_form.peyn','document.main_form.presentation_examples');
		
		capture_textfield('share','document.temp_form.success_d','document.main_form.success');
		capture_textfield('share','document.temp_form.ideas_d','document.main_form.ideas');
		capture_textfield('share','document.temp_form.additional_d','document.main_form.services');
		
		capture_checklist('share','document.temp_form.to_client','document.main_form.client_copy',1);
	}
	
	function capture_textfield(){
		switch (capture_textfield.arguments[0]){
				case('capture'): 
					if(eval(capture_textfield.arguments[1])){eval(capture_textfield.arguments[2]+'.value='+capture_textfield.arguments[1]+'.value;');}
				break;
				case('share'):
					if(eval(capture_textfield.arguments[1])){eval(capture_textfield.arguments[1]+'.value='+capture_textfield.arguments[2]+'.value;');}
				break;
		}
	}
	
	function capture_checklist(){
		if (capture_checklist.arguments[0]=='share'){
			eval('var temp_split='+capture_checklist.arguments[2]+'.value;');	var temp_spliter=temp_split.split('*|*'); 
		}
		if((eval(capture_checklist.arguments[2]))&&(eval(capture_checklist.arguments[1]+0))&&(capture_checklist.arguments[0]=='capture')){eval(capture_checklist.arguments[2]+'.value="";');} 
		for (var i=0; i < capture_checklist.arguments[3]; i++){
			switch (capture_checklist.arguments[0]){
				case('capture'): 
					if(eval(capture_checklist.arguments[1]+i)){if(eval(capture_checklist.arguments[1]+i+'.checked')){eval(capture_checklist.arguments[2]+'.value+='+capture_checklist.arguments[1]+i+'.value; '+capture_checklist.arguments[2]+'.value+="*|*";');}}
				break;
				case('share'):
					for (var a=0; a < capture_checklist.arguments[3]; a++){
						if(eval(capture_checklist.arguments[1]+i)){if(eval(capture_checklist.arguments[1]+i+'.value=="'+temp_spliter[a]+'"')){eval(capture_checklist.arguments[1]+i+'.checked=true;');}}
					}	
				break;
			}
		}
	}
	
	function capture_radio(){
		switch (capture_radio.arguments[0]){
				case('capture'): 
					if(eval(capture_radio.arguments[1])){
						for (var radi=0; radi < eval(capture_radio.arguments[1]+'.length'); radi++){
							if (eval(capture_radio.arguments[1]+'['+radi+'].checked')){eval(capture_radio.arguments[2]+'.value='+capture_radio.arguments[1]+'['+radi+'].value;');}
						}
					}
				break;
				case('share'):
					if(eval(capture_radio.arguments[1])){
						for (var radi=0; radi < eval(capture_radio.arguments[1]+'.length'); radi++){
							if (eval(capture_radio.arguments[2]+'.value=='+capture_radio.arguments[1]+'['+radi+'].value')){eval(capture_radio.arguments[1]+'['+radi+'].checked=true;');}
						}
					}
				break;
		}
	}
	
	function capture_textlist(){
		if (capture_textlist.arguments[0]=='share'){
			eval('var temp_split='+capture_textlist.arguments[2]+'.value;');	var temp_spliter=temp_split.split('*|*'); 
		}
		if((eval(capture_textlist.arguments[2]))&&(eval(capture_textlist.arguments[1]+0))&&(capture_textlist.arguments[0]=='capture')){eval(capture_textlist.arguments[2]+'.value="";');} 
		for (var i=0; i <= capture_textlist.arguments[3]; i++){
			switch (capture_textlist.arguments[0]){
				case('capture'): 
					if(eval(capture_textlist.arguments[1]+i)){eval(capture_textlist.arguments[2]+'.value+='+capture_textlist.arguments[1]+i+'.value; '+capture_textlist.arguments[2]+'.value+="*|*";');}
				break;
				case('share'):
					if(eval(capture_textlist.arguments[1]+i)){eval(capture_textlist.arguments[1]+i+'.value="'+temp_spliter[i]+'";');}
				break;
			}
		}
	}
	
	function check_fillout(){
		var str='';
		if((document.temp_form.fn)&&(document.temp_form.fn.value=='')){str +='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">Please enter your first name.</p>';}
		if((document.temp_form.ln)&&(document.temp_form.ln.value=='')){str +='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">Please enter your last name.</p>';}
		if((document.temp_form.fn)&&(document.temp_form.fn.value!='')){alphaTextCheck(document.temp_form.fn.value,'First Name')} if((document.temp_form.ln)&&(document.temp_form.ln.value!='')){alphaTextCheck(document.temp_form.ln.value,'Last Name')}
		if((document.temp_form.mt)&&(document.temp_form.mt.value!='')){TextCheck(document.temp_form.mt.value,'Job Title')}
		
		if((document.temp_form.mp)&&(document.temp_form.mm)&&(document.temp_form.me)){if(((document.temp_form.mm.value=='')&&(document.temp_form.me.value==''))||((document.temp_form.mp.value=='')&&(document.temp_form.me.value==''))||((document.temp_form.mp.value=='')&&(document.temp_form.mm.value==''))){str +='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">Please provide two forms of contact.<br /> <i style="font-size:80%;">(phone or email)</i></p>';}}
		
		if((document.temp_form.mp)&&(document.temp_form.mp.value!='')){telephoneCheck(document.temp_form.mp.value)} if((document.temp_form.mm)&&(document.temp_form.mm.value!='')){telephoneCheck(document.temp_form.mm.value)}
		if((document.temp_form.me)&&(document.temp_form.me.value!='')){emailCheck(document.temp_form.me.value)}
		
		if((document.temp_form.exp_0)&&(document.temp_form.exp_1)&&(document.temp_form.exp_2)&&(document.temp_form.exp_3)&&(document.temp_form.exp_4)&&(document.temp_form.exp_5)&&(document.temp_form.exp_6)&&(document.temp_form.exp_7)&&(document.temp_form.exp_8)&&(document.temp_form.exp_9)&&(document.temp_form.exp_10)&&(document.temp_form.exp_11)){if(!(document.temp_form.exp_0.checked)&&!(document.temp_form.exp_1.checked)&&!(document.temp_form.exp_2.checked)&&!(document.temp_form.exp_3.checked)&&!(document.temp_form.exp_4.checked)&&!(document.temp_form.exp_5.checked)&&!(document.temp_form.exp_6.checked)&&!(document.temp_form.exp_7.checked)&&!(document.temp_form.exp_8.checked)&&!(document.temp_form.exp_9.checked)&&!(document.temp_form.exp_10.checked)&&!(document.temp_form.exp_11.checked)){str +='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">Please provide a selection of your internet experience.<br /> <i style="font-size:80%;">(check at least one box)</i></p>';}}
		
		if((document.temp_form.ityn)&&!(radio_check('document.temp_form.ityn'))){str +='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">Please indicate if you have an IT contact person</p>';} if((document.temp_form.ityn)&&(document.temp_form.ityn[0].checked)){if(document.temp_form.itn.value==''){str +='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">Please enter your IT contact person\'s name.</p>';}else{alphaTextCheck(document.temp_form.itn.value,'IT Contact Name');}}	
		if((document.temp_form.mpyn)&&!(radio_check('document.temp_form.mpyn'))){str +='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">Please indicate if you have a marketing contact person.</p>';} if((document.temp_form.mpyn)&&(document.temp_form.mpyn[0].checked)){if(document.temp_form.mpn.value==''){str +='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">Please enter your marketing person\'s name.</p>';}else{alphaTextCheck(document.temp_form.mpn.value,'Marketing Contact Name');}}

		if((document.temp_form.dpyn)&&!(radio_check('document.temp_form.dpyn'))){str +='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">Please indicate if anybody else will be involved in the decision making process.</p>';} if((document.temp_form.dpyn)&&(document.temp_form.dpyn[1].checked)){if(document.temp_form.dpn_0.value==''){str +='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">Please list at least one of decision maker\'s names.</p>';}else{alphaTextCheck(document.temp_form.dpn_0.value,'Decision Contact Name');}}

		if((document.temp_form.sa)&&(document.temp_form.ca)&&(document.temp_form.sta)&&(document.temp_form.za)&&(document.temp_form.Coa)){if((document.temp_form.sa.value!='')||(document.temp_form.ca.value!='')||(document.temp_form.sta.value!='')||(document.temp_form.za.value!='')||(document.temp_form.Coa.value!='')){if((document.temp_form.sa.value=='')||(document.temp_form.ca.value=='')||(document.temp_form.sta.value=='')||(document.temp_form.za.value=='')){str +='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">Please complete the address fields.</p>';}TextCheck(document.temp_form.sa.value,'Street Address'); alphaTextCheck(document.temp_form.ca.value,'City'); alphaTextCheck(document.temp_form.sta.value,'State'); alphaTextCheck(document.temp_form.Coa.value,'Country'); zipCheck(document.temp_form.za.value);}}
		if((document.temp_form.fa)&&(document.temp_form.fa.value!='')){telephoneCheck(document.temp_form.fa.value)} 
		
		if((document.temp_form.lyn)&&!(radio_check('document.temp_form.lyn'))){str +='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">Please indicate if you have a logo or want to have us redesign one for you.</p>';}
		if((document.temp_form.wyn)&&!(radio_check('document.temp_form.wyn'))){str +='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">Please indicate if you currently have a website.</p>';} if((document.temp_form.wyn)&&(document.temp_form.wyn[0].checked)){if((document.temp_form.wa_0.value=='')||(document.temp_form.wa_0.value=='http://www.yoursite.com')){str +='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">Please list at least one of you websites</p>';}else{websiteCheck(document.temp_form.wa_0.value);}}

		if((document.temp_form.ptyn)&&!(radio_check('document.temp_form.ptyn'))){str +='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">Please indicate if you currently have a presentation template.</p>';} 

		if((document.temp_form.purp_0)&&(document.temp_form.purp_1)&&(document.temp_form.purp_2)&&(document.temp_form.purp_3)){if(!(document.temp_form.purp_0.checked)&&!(document.temp_form.purp_1.checked)&&!(document.temp_form.purp_2.checked)&&!(document.temp_form.purp_3.checked)){str +='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">Please indicate the intended purpose of your '+stepname+'<br /> <i style="font-size:80%;">(check at least one box)</i></p>';}}
		if((document.temp_form.ldone_0)&&(document.temp_form.ldone_1)&&(document.temp_form.ldone_2)&&(document.temp_form.ldone_3)&&(document.temp_form.ldone_4)&&(document.temp_form.ldone_5)&&(document.temp_form.ldone_6)&&(document.temp_form.ldone_7)&&(document.temp_form.ldone_8)){if(!(document.temp_form.ldone_0.checked)&&!(document.temp_form.ldone_1.checked)&&!(document.temp_form.ldone_2.checked)&&!(document.temp_form.ldone_3.checked)&&!(document.temp_form.ldone_4.checked)&&!(document.temp_form.ldone_5.checked)&&!(document.temp_form.ldone_6.checked)&&!(document.temp_form.ldone_7.checked)&&!(document.temp_form.ldone_8.checked)){str +='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">Please let us know what services you are interested in.<br /> <i style="font-size:80%;">(check at least one box)</i></p>';}}

		if((document.temp_form.feats_0)&&(document.temp_form.feats_1)&&(document.temp_form.feats_2)&&(document.temp_form.feats_3)&&(document.temp_form.feats_4)&&(document.temp_form.feats_5)&&(document.temp_form.feats_6)&&(document.temp_form.feats_7)&&(document.temp_form.feats_8)&&(document.temp_form.feats_9)&&(document.temp_form.feats_10)&&(document.temp_form.feats_11)&&(document.temp_form.feats_12)&&(document.temp_form.feats_13)&&(document.temp_form.feats_14)&&(document.temp_form.feats_15)&&(document.temp_form.feats_o)){if(!(document.temp_form.feats_0.checked)&&!(document.temp_form.feats_1.checked)&&!(document.temp_form.feats_2.checked)&&!(document.temp_form.feats_3.checked)&&!(document.temp_form.feats_4.checked)&&!(document.temp_form.feats_5.checked)&&!(document.temp_form.feats_6.checked)&&!(document.temp_form.feats_7.checked)&&!(document.temp_form.feats_8.checked)&&!(document.temp_form.feats_9.checked)&&!(document.temp_form.feats_10.checked)&&!(document.temp_form.feats_11.checked)&&!(document.temp_form.feats_12.checked)&&!(document.temp_form.feats_13.checked)&&!(document.temp_form.feats_14.checked)&&!(document.temp_form.feats_15.checked)&&(document.temp_form.feats_o.value=='')){str +='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">Please give a selection of service features that interest you.<br /> <i style="font-size:80%;">(check at least one box)</i></p>';}}
		if((document.temp_form.wprc)&&!(radio_check('document.temp_form.wprc'))){str +='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">Please indicate the approximate number of pages you want for your '+stepname+'.</p>';}
		if((document.temp_form.plrc)&&!(radio_check('document.temp_form.plrc'))){str +='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">Please indicate the approximate amount of time your presentation should span.</p>';}

		
		if((document.temp_form.ttyn)&&!(radio_check('document.temp_form.ttyn'))){str +='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">Please indicate if you currently have time restrictions.</p>';} if((document.temp_form.ttyn)&&(document.temp_form.ttyn[1].checked)){if(document.temp_form.time_d.value==''){str +='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">Please describe your time restictions.</p>';}}
		if((document.temp_form.wc_0)&&(document.temp_form.wc_0.value!='')){websiteCheck(document.temp_form.wc_0.value);}
		
		if((document.temp_form.success_d)&&(document.temp_form.ideas_d)&&(document.temp_form.additional_d)&&(document.temp_form.success_d.value=='')&&(document.temp_form.ideas_d.value=='')&&(document.temp_form.additional_d.value=='')){str +='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">Please fill out at least one textbox.<br /></p>';}
		if((document.temp_form.success_d)&&(document.temp_form.ideas_d)&&(document.temp_form.additional_d)){if((document.temp_form.success_d.value!='')||(document.temp_form.ideas_d.value!='')||(document.temp_form.additional_d.value!='')){vrequire=1; }}
		
		str+=warnstr;
		warnstr='';
		ChangeDivContent('begin',str);
		
		if (str==''){return true;}else{return false;}
	}
	
	function radio_check(){
		var rcheck=false; var radios=radio_check.arguments[0];
		for (i=0;i<eval(radios+'.length;');i++) {
			if (eval(radios+'[i].checked')) {
				rcheck=true;
			}
		}
		return rcheck;
	}
	
	warnstr='';
	function add_warning(){
		warnstr+='<p style="background-color:#d9e9e6; color:red; font-weight:bold;">'+add_warning.arguments[0]+'</p>';
	}
	
	assessment_name='Web Assessment Questionnaire'; stepname='Website'; vrequire=0;
	function start_assessment(){
		capture_form_values();
		var selectedIndex=document.main_form.assessment_type.selectedIndex;
		var assessment_selected=document.main_form.assessment_type.options[selectedIndex].value;
		assessment_name=assessment_selected+' Questionnaire';
		if (assessment_name=="Web Assessment Questionnaire"){stepname='Website';
		}else if(assessment_name=="Presentation Assessment Questionnaire"){stepname='Presentation';}
		
		var str1 = '<h2><strong style="font-size:75%">'+assessment_name+'</strong><p>Step 1: Contact Information</h2>';
		var str2 = '<table width="100%" height="100%" border="0"><tr><td colspan="2" align="left" valign="top"><h2>Contact Information</h2><br />&nbsp;<form id="temp_form" name="temp_form" action="" method="post" enctype="multipart/form-data">';
		str2 += '<table width="100%"  border="0" style="font-weight: bold;"><tr><td align="left" valign="top">First Name</td><td align="left" valign="top" width="50%"><input name="fn" type="text" style="width:100%;"></td><td align="left" valign="top">Last Name</td><td align="left" valign="top" width="50%"><input name="ln" type="text" style="width:100%;"></td></tr>';
		str2 += '<tr><td align="left" valign="top" colspan="1">Job Title</td><td align="left" valign="top" colspan="3"><input name="mt" type="text" style="width:100%;"></td></tr>';
		str2 += '<tr><td align="left" valign="top">Business&nbsp;Phone</td><td align="left" valign="top" width="50%"><input name="mp" type="text" style="width:100%;" ></td><td align="left" valign="top">Mobile Phone</td><td align="left" valign="top" width="50%"><input name="mm" type="text" style="width:100%;" ></td></tr>';
		str2 += '<tr><td align="left" valign="top" colspan="1">Email Address</td><td align="left" valign="top" colspan="3"><input name="me" type="text" style="width:100%;" ></td></tr>';
		if (assessment_name=="Web Assessment Questionnaire"){
			str1 += '<p>As our primary contact person, we would like to know a little about you, and your experience with the internet. Please remember - we\'re not asking what programs and systems you consider yourself an expert in, just what programs and systems you are familiar with.</p><p>We also require two forms of contact. If there is only one way to contact you, please email or call us to continue your assessment.</p>';
			str2 += '</table><br />&nbsp;<h3>Please indicate your experience with the internet.</h3> <p align="right" style="font-size:80%; margin:0;">Check all that Apply</p>';
			str2 += '<table width="100%"  border="0" style="font-weight: bold;">';
			str2 +=	'<tr><td align="left" valign="top"><input name="exp_0" type="checkbox" value="None"></td><td width="25%" align="left" valign="top">None</td><td align="left" valign="top"><input name="exp_1" type="checkbox" value="Email"></td><td width="25%" align="left" valign="top">Email</td><td align="left" valign="top"><input name="exp_2" type="checkbox" value="Online Searches"></td><td width="25%" align="left" valign="top">Online Searches</td><td align="left" valign="top"><input name="exp_3" type="checkbox" value="Forums"></td><td width="25%" align="left" valign="top">Forums</td></tr>';
			str2 +=	'<tr><td align="left" valign="top"><input name="exp_4" type="checkbox" value="Blogs"></td><td width="25%" align="left" valign="top">Blogs</td><td align="left" valign="top"><input name="exp_5" type="checkbox" value="Newsfeed (RSS)"></td><td width="25%" align="left" valign="top">Newsfeeds <i style="font-size:80%">(RSS)</i></td><td align="left" valign="top"><input name="exp_6" type="checkbox" value="File Sharing"></td><td width="25%" align="left" valign="top">File Sharing</td><td align="left" valign="top"><input name="exp_7" type="checkbox" value="Instant Messenger"></td><td width="25%" align="left" valign="top">Instant Messenger</td></tr>';
			str2 +=	'<tr><td align="left" valign="top"><input name="exp_8" type="checkbox" value="Ebay Seller"></td><td width="25%" align="left" valign="top">EBay Seller</td><td align="left" valign="top"><input name="exp_9" type="checkbox" value="Online Store Manager"></td><td width="25%" align="left" valign="top">Online Store Manager</td><td align="left" valign="top"><input name="exp_10" type="checkbox" value="Web Design Programs (Ex. Dreamweaver)"></td><td width="25%" align="left" valign="top">Web Design Programs <i style="font-size:80%">(Ex. Dreamweaver)</i></td><td align="left" valign="top"><input name="exp_11" type="checkbox" value="Web Programming"></td><td width="25%" align="left" valign="top">Web Programming</td></tr>';
		}else if(assessment_name=="Presentation Assessment Questionnaire"){
			str1 += '<p>As our primary contact person, we would like to know a little about you, and your experience with presentations. Please remember - we\'re not asking what programs and systems you consider yourself an expert in, just what programs and systems you are familiar with.</p><p>We also require two forms of contact. If there is only one way to contact you, please email or call us to continue your assessment.</p>';			
			str2 += '</table><br />&nbsp;<h3>Please indicate your presentation experience.</h3> <p align="right" style="font-size:80%; margin:0;">Check all that Apply</p>';
			str2 += '<table width="100%"  border="0" style="font-weight: bold;">';
			str2 +=	'<tr><td align="left" valign="top"><input name="exp_0" type="checkbox" value="None"></td><td width="25%" align="left" valign="top">None</td><td align="left" valign="top"><input name="exp_1" type="checkbox" value="Audience Member"></td><td width="25%" align="left" valign="top">Audience Member</td><td align="left" valign="top"><input name="exp_2" type="checkbox" value="Presentation Assistant"></td><td width="25%" align="left" valign="top">Presentation Assistant</td><td align="left" valign="top"><input name="exp_3" type="checkbox" value="Presenter"></td><td width="25%" align="left" valign="top">Presenter</td></tr>';
			str2 +=	'<tr><td align="left" valign="top"><input name="exp_4" type="checkbox" value="Poster Board"></td><td width="25%" align="left" valign="top">Poster Board Presentations</td><td align="left" valign="top"><input name="exp_5" type="checkbox" value="Slide Projectors"></td><td width="25%" align="left" valign="top">Slide Projectors</td><td align="left" valign="top"><input name="exp_6" type="checkbox" value="Video Presentations"></td><td width="25%" align="left" valign="top">Video Presentations</td><td align="left" valign="top"><input name="exp_7" type="checkbox" value="Computer Presentations"></td><td width="25%" align="left" valign="top">Computer Presentations</td></tr>';
			str2 +=	'<tr><td align="left" valign="top"><input name="exp_8" type="checkbox" value="Workshops"></td><td width="25%" align="left" valign="top">Workshops</td><td align="left" valign="top"><input name="exp_9" type="checkbox" value="Lecture Hall"></td><td width="25%" align="left" valign="top">Lecture Hall</td><td align="left" valign="top"><input name="exp_10" type="checkbox" value="Courtroom"></td><td width="25%" align="left" valign="top">Courtroom</td><td align="left" valign="top"><input name="exp_11" type="checkbox" value="Audience Participation"></td><td width="25%" align="left" valign="top">Audience Participation</td></tr>';
		}
		
		str2 += '<tr><td align="left" valign="top" colspan="8"><h3>How did you hear about us?</h3></td></tr><tr><td align="left" valign="top" colspan="8"><input name="refpoint" type="text" style="width:100%;"></td></tr>';
		str2 += '</table>';
		str2 += '</form></td></tr><tr><td align="left" valign="bottom"><a href="javascript:set_form_page();">Select Assessment</a></td><td align="right" valign="bottom"><a href="javascript:form_step2();">Step 2: Personnel</a></td></tr></table>';
		
		if(vrequire==1){str1 += '<p align="right"><h7><a href="javascript:form_step7();">Return to Review</a></h7></p>';}

		
		var set_zd_gallery=browserstyle('zd_gallery'); set_zd_gallery.display='none';
		
		ChangeDivContent('form_text',str1);
		ChangeDivContent('main_text4',str2);
		ChangeDivContent('begin',' ');
		window.scrollTo(0,0);
		
		document.main_form.assessment_type.style.visibility='hidden';
		
		document.main_form.form_step.value=1;
		share_form_values();
	}
	
	function form_step2(){
		var check=check_fillout();
		if (check==true){
			capture_form_values();
			var str1 = '<h2><strong style="font-size:75%">'+assessment_name+'</strong><p>Step 2: Personnel Information</h2>';
			var str2 = '<table width="100%" height="100%" border="0"><tr><td colspan="2" align="left" valign="top"><h2>Personnel Information</h2><br />&nbsp;<form id="temp_form" name="temp_form" action="" method="post" enctype="multipart/form-data">';
			str2 += '<table width="100%"  border="0" style="font-weight: bold;">';
			str2 += '<tr><td align="left" valign="top" colspan="1">Organization Name</td><td align="left" valign="top" colspan="3"><input name="cn" type="text" style="width:100%;"></td></tr>';
			str2 += '<tr><td align="left" valign="top" colspan="1">Organization&nbsp;Description</td><td align="left" valign="top" colspan="3"><textarea id="cd" name="cd" rows="5" style="width:100%;"></textarea></td></tr>';
			str2 += '<tr><td align="left" valign="top" colspan="1">Street Address</td><td align="left" valign="top" colspan="3"><input name="sa" type="text" style="width:100%;"></td></tr>';
			str2 += '<tr><td align="left" valign="top">City</td><td align="left" valign="top" width="50%"><input name="ca" type="text" style="width:100%;" ></td><td align="left" valign="top">State</td><td align="left" valign="top" width="50%"><input name="sta" type="text" style="width:100%;" ></td></tr>';
			str2 += '<tr><td align="left" valign="top">Country</td><td align="left" valign="top" width="50%"><input name="Coa" type="text" style="width:100%;" ></td><td align="left" valign="top">Postal Code</td><td align="left" valign="top" width="50%"><input name="za" type="text" style="width:100%;" ></td></tr>';
			str2 += '<tr><td align="left" valign="top" colspan="1">Fax</td><td align="left" valign="top" colspan="3"><input name="fa" type="text" style="width:100%;" ></td></tr>';
			str2 += '<tr><td align="left" valign="bottom" colspan="2"><h3>Do you have an IT contact person?</h3></td><td align="left" valign="bottom" colspan="1"><input name="ityn" onClick="radio_sub_form(\'IT_hide\',this.value);" type="radio" value="Yes">Yes</td><td align="left" valign="bottom" colspan="1"><input name="ityn" onClick="radio_sub_form(\'IT_hide\',this.value);" type="radio" value="No">No</td></tr>';
			str2 += '<tr><td align="left" valign="top" colspan="4"><div id="IT_hide" name="IT_hide"';
			if (document.main_form.IT_person.value!='Yes'){str2+=' style="display:none;"';}
			str2+='><table width="100%"  border="0" style="font-weight: bold;"><tr><td align="left" valign="top">Contact&nbsp;Name:</td><td align="left" valign="top" width="50%"><input name="itn" type="text" style="width:100%;"></td><td align="left" valign="top">Contact&nbsp;Title:</td><td align="left" valign="top" width="50%"><input name="itt" type="text" style="width:100%;"></td></tr></table></div></td></tr>';

			str2 += '<tr><td align="left" valign="bottom" colspan="2"><h3>Do you have a marketing contact person?</h3></td><td align="left" valign="bottom" colspan="1"><input name="mpyn" onClick="radio_sub_form(\'MP_hide\',this.value);" type="radio" value="Yes">Yes</td><td align="left" valign="bottom" colspan="1"><input name="mpyn" onClick="radio_sub_form(\'MP_hide\',this.value);" type="radio" value="No">No</td></tr>';
			str2 += '<tr><td align="left" valign="top" colspan="4"><div id="MP_hide" name="MP_hide"';
			if (document.main_form.marketing_person.value!='Yes'){str2+=' style="display:none;"';}
			str2+='><table width="100%"  border="0" style="font-weight: bold;"><tr><td align="left" valign="top">Contact&nbsp;Name:</td><td align="left" valign="top" width="50%"><input name="mpn" type="text" style="width:100%;"></td><td align="left" valign="top">Contact&nbsp;Title:</td><td align="left" valign="top" width="50%"><input name="mpt" type="text" style="width:100%;"></td></tr></table></div></td></tr>';
			if (assessment_name=="Web Assessment Questionnaire"){
				str2 += '<tr><td align="left" valign="bottom" colspan="4"><h3>Will there be any other persons involved in the decision making process?</h3></td></tr><tr><td align="left" valign="bottom" colspan="1"></td><td align="left" valign="bottom" colspan="1"><input name="dpyn" onClick="radio_sub_form(\'DP_hide\',this.value);" type="radio" value="Uncertain">Uncertain</td><td align="left" valign="bottom" colspan="1"><input name="dpyn" onClick="radio_sub_form(\'DP_hide\',this.value);" type="radio" value="Yes">Yes</td><td align="left" valign="bottom" colspan="1"><input name="dpyn" onClick="radio_sub_form(\'DP_hide\',this.value);" type="radio" value="No">No</td></tr>';
				str2 += '<tr><td align="left" valign="top" colspan="4"><div id="DP_hide" name="DP_hide"';
				if ((document.main_form.decision_persons.value!='Yes')&&(document.main_form.decision_persons.value!='Uncertain')){str2+=' style="display:none;"';}
				str2+='><table width="100%"  border="0" style="font-weight: bold;"><tr><td align="left" valign="top"><a href="javascript:add_decision();">+</a>&nbsp;<a href="javascript:subtract_decision();">-</a>&nbsp;Contact&nbsp;Name:</td><td align="left" valign="top" width="50%"><input name="dpn_0" type="text" style="width:100%;"></td><td align="left" valign="top">Contact&nbsp;Title:</td><td align="left" valign="top" width="50%"><input name="dpt_0" type="text" style="width:100%;"></td></tr></table></div></td></tr>';
				
				str1 += '<p>We\'d like to know a bit about your organization, and who else we may be working with during the development process.</p>';
				}else if(assessment_name=="Presentation Assessment Questionnaire"){
				str1 += '<p>We\'d like to know a bit about your organization, and who else we may be working with during the development process.</p>';
				}
			str2 +='</table>';
			str2 += '</form></td></tr><tr><td align="left" valign="bottom"><a href="javascript:start_assessment();">Step 1: Contact</a></td><td align="right" valign="bottom"><a href="javascript:form_step3();">Step 3: General</a></td></tr></table>';
			
			if(vrequire==1){str1 += '<p align="right"><h7><a href="javascript:form_step7();">Return to Review</a></h7></p>';}

			ChangeDivContent('form_text',str1);
			ChangeDivContent('main_text4',str2);
			window.scrollTo(0,0);
			
			var di=1;
			while(di<=decider){
				var str3='<table width="100%"  border="0" style="font-weight: bold;"><tbody><tr><td align="left" valign="top"><a href="javascript:add_decision();">[+]</a><a href="javascript:subtract_decision();">[-]</a>Contact Name:</td><td align="left" valign="top" width="50%"><input name="dpn_'+ di +'" type="text" style="width:100%;"></td><td align="left" valign="top">Contact Title:</td><td align="left" valign="top" width="50%"><input name="dpt_'+ di +'" type="text" style="width:100%;"></td></tr></tbody></table>';
				AddDivContent('DP_hide',str3); di++;
			}
			document.main_form.form_step.value=2;
			share_form_values(); 
		}
	}
	
	function form_step3(){
		var check=check_fillout();
		if (check==true){
			capture_form_values();
			var str1 = '<h2><strong style="font-size:75%">'+assessment_name+'</strong><p>Step 3: '+stepname+' Information</h2>';
			var str2 = '<table width="100%" height="100%" border="0"><tr><td colspan="2" align="left" valign="top"><h2>General '+stepname+' Information: Part 1</h2><br />&nbsp;<form id="temp_form" name="temp_form" action="" method="post" enctype="multipart/form-data">';
			str2 += '<table width="100%"  border="0" style="font-weight: bold;">';
			str2 += '<tr><td align="left" valign="bottom" colspan="8"><h3>Do you currently have a logo?</h3></td></tr><tr><td align="left" valign="bottom" colspan="2"></td><td align="left" valign="bottom" colspan="2"><input name="lyn" type="radio" value="Redesign">Redesign</td><td align="left" valign="bottom" colspan="2"><input name="lyn" type="radio" value="Yes">Yes</td><td align="left" valign="bottom" colspan="2"><input name="lyn" type="radio" value="No">No</td></tr>';
			str2 += '<tr><td align="left" valign="bottom" colspan="8"><h3>Do you currently have a website?</h3></td></tr><tr><td align="left" valign="bottom" colspan="4"></td><td align="left" valign="bottom" colspan="2"><input name="wyn" onClick="radio_sub_form(\'WS_hide\',this.value);" type="radio" value="Yes">Yes</td><td align="left" valign="bottom" colspan="2"><input name="wyn" onClick="radio_sub_form(\'WS_hide\',this.value);" type="radio" value="No">No</td></tr>';
			str2 += '<tr><td align="left" valign="bottom" colspan="8"><div id="WS_hide" name="WS_hide"';
			if (document.main_form.have_website.value!='Yes'){str2+=' style="display:none;"';}
			str2 += '><table width="100%"  border="0" style="font-weight: bold;"><tr><td align="left" valign="top">Website<i>(s)</i></td><td align="right" valign="top"><a href="javascript:add_website();">+</a>&nbsp;<a href="javascript:subtract_website();">-</a></td><td align="left" valign="top"><div id="Web_Addresses" name="Web_Addresses"><input name="wa_0" type="text" style="width:100%;"></div></td></tr>';
			str2 += '</table></div></td></tr>';

			if (assessment_name=="Web Assessment Questionnaire"){
				str1 += '<p><b>Part 1</b></p><p>In order to create an appropriate approach to designing your web presence, we\'d like to learn a little more about your current design assets and goals. The following questions will help us in our design approach by building a dialogue on the potential visual aspects of your website.</p><p>If you have more than one current website, you can add and subtract entry bars by using the <b>+</b> and <b>-</b> buttons.</p>';
				
				str2 += '<tr><td align="left" valign="bottom" colspan="8"><h3>Indicate the purpose of your website.</h3></td></tr><tr><td align="left" valign="bottom" colspan="5"></td><td align="left" valign="bottom" colspan="3"><p style="font-size:80%; margin:0;">Check all that Apply</p></td></tr>';
				str2 +=	'<tr><td align="left" valign="top"><input name="purp_0" type="checkbox" value="Web Presence"></td><td width="25%" align="left" valign="top">Web Presence</td><td align="left" valign="top"><input name="purp_1" type="checkbox" value="Online Brochure"></td><td width="25%" align="left" valign="top">Online Brochure</td><td align="left" valign="top"><input name="purp_2" type="checkbox" value="Full Website"></td><td width="25%" align="left" valign="top">Full Website</td><td align="left" valign="top"><input name="purp_3" type="checkbox" value="Online Store"></td><td width="25%" align="left" valign="top">Online Store</td></tr>';
				str2 += '<tr><td align="left" valign="bottom" colspan="8">&nbsp;</td></tr>';
				str2 += '<tr><td align="left" valign="bottom" colspan="8"><h3>What would you like done?</h3></td></tr><tr><td align="left" valign="bottom" colspan="5"></td><td align="left" valign="bottom" colspan="1"><p style="font-size:80%; margin:0;">Check all that Apply</p></td><td align="left" valign="bottom" colspan="1"><input name="ldone_0" type="checkbox" value="Uncertain"></td><td align="left" valign="bottom" colspan="1">Uncertain</td></tr>';
				str2 +=	'<tr><td align="left" valign="top"><input name="ldone_1" type="checkbox" value="Online Advertising"></td><td width="25%" align="left" valign="top">Online Advertising</td><td align="left" valign="top"><input name="ldone_2" type="checkbox" value="Splash Page"></td><td width="25%" align="left" valign="top">Splash Page</td><td align="left" valign="top"><input name="ldone_3" type="checkbox" value="Edit Content"></td><td width="25%" align="left" valign="top">Edit Content</td><td align="left" valign="top"><input name="ldone_4" type="checkbox" value="Edit Functions"></td><td width="25%" align="left" valign="top">Edit Functions</td></tr>';
				str2 +=	'<tr><td align="left" valign="top"><input name="ldone_5" type="checkbox" value="Add Content"></td><td width="25%" align="left" valign="top">Add Content</td><td align="left" valign="top"><input name="ldone_6" type="checkbox" value="Add Functions"></td><td width="25%" align="left" valign="top">Add Functions</td><td align="left" valign="top"><input name="ldone_7" type="checkbox" value="Site Design"></td><td width="25%" align="left" valign="top">Site Design</td><td align="left" valign="top"><input name="ldone_8" type="checkbox" value="Maintain Site"></td><td width="25%" align="left" valign="top">Maintain Site</td></tr>';
			}else if(assessment_name=="Presentation Assessment Questionnaire"){
				str1 += '<p><b>Part 1</b></p><p>In order to create an appropriate approach to designing your presentation, we\'d like to learn a little more about your current design assets and goals. The following questions will help us in our design approach by building a dialogue on the potential visual aspects of your presentation.</p><p>If you have more than one current website, you can add and subtract entry bars by using the <b>+</b> and <b>-</b> buttons.</p>';
				
				str2 += '<tr><td align="left" valign="bottom" colspan="8"><h3>Do you have an existing presentation template / design?</h3></td></tr><tr><td align="left" valign="bottom" colspan="4"></td><td align="left" valign="bottom" colspan="2"><input name="ptyn" type="radio" value="Yes">Yes</td><td align="left" valign="bottom" colspan="2"><input name="ptyn" type="radio" value="No">No</td></tr>';
				str2 += '<tr><td align="left" valign="bottom" colspan="8"><h3>Indicate the purpose of your presentation.</h3></td></tr><tr><td align="left" valign="bottom" colspan="5"></td><td align="left" valign="bottom" colspan="3"><p style="font-size:80%; margin:0;">Check all that Apply</p></td></tr>';
				str2 +=	'<tr><td align="left" valign="top"><input name="purp_0" type="checkbox" value="Lecture / Workshop"></td><td width="25%" align="left" valign="top">Lecture / Workshop</td><td align="left" valign="top"><input name="purp_1" type="checkbox" value="Legal Proceedings"></td><td width="25%" align="left" valign="top">Legal Proceedings</td><td align="left" valign="top"><input name="purp_2" type="checkbox" value="Business Presentation"></td><td width="25%" align="left" valign="top">Business Presentation</td><td align="left" valign="top"><input name="purp_3" type="checkbox" value="Art / Entertainment"></td><td width="25%" align="left" valign="top">Art / Entertainment</td></tr>';
				str2 += '<tr><td align="left" valign="bottom" colspan="8">&nbsp;</td></tr>';
				str2 += '<tr><td align="left" valign="bottom" colspan="8"><h3>What would you like done?</h3></td></tr><tr><td align="left" valign="bottom" colspan="5"></td><td align="left" valign="bottom" colspan="1"><p style="font-size:80%; margin:0;">Check all that Apply</p></td><td align="left" valign="bottom" colspan="1"><input name="ldone_0" type="checkbox" value="Uncertain"></td><td align="left" valign="bottom" colspan="1">Uncertain</td></tr>';
				str2 +=	'<tr><td align="left" valign="top"><input name="ldone_1" type="checkbox" value="Presentation Development"></td><td width="25%" align="left" valign="top">Presentation Development</td><td align="left" valign="top"><input name="ldone_2" type="checkbox" value="Design Template"></td><td width="25%" align="left" valign="top">Design Template</td><td align="left" valign="top"><input name="ldone_3" type="checkbox" value="Edit Template"></td><td width="25%" align="left" valign="top">Edit Template</td><td align="left" valign="top"><input name="ldone_4" type="checkbox" value="Insert Content into Template"></td><td width="25%" align="left" valign="top">Insert Content into Template</td></tr>';
				str2 +=	'<tr><td align="left" valign="top"><input name="ldone_5" type="checkbox" value="Create Content"></td><td width="25%" align="left" valign="top">Create Content</td><td align="left" valign="top"><input name="ldone_6" type="checkbox" value="Edit Content"></td><td width="25%" align="left" valign="top">Edit Content</td><td align="left" valign="top"><input name="ldone_7" type="checkbox" value="Equipment Training"></td><td width="25%" align="left" valign="top">Equipment Training</td><td align="left" valign="top"><input name="ldone_8" type="checkbox" value="Onsite Implementation"></td><td width="25%" align="left" valign="top">Onsite Implementation</td></tr>';
			}

			str2 +='</table>';
			str2 += '</form></td></tr><tr><td align="left" valign="bottom"><a href="javascript:form_step2();">Step 2: Personnel</a></td><td align="right" valign="bottom"><a href="javascript:form_step4();">Step 3: Part 2</a></td></tr></table>';
			
			if(vrequire==1){str1 += '<p align="right"><h7><a href="javascript:form_step7();">Return to Review</a></h7></p>';}

			ChangeDivContent('form_text',str1);
			ChangeDivContent('main_text4',str2);
			window.scrollTo(0,0);
			
			var wi=1;
			while(wi<=websiter){
				var str4='<br><input name="wa_'+wi+'" type="text" style="width:100%;">';
				AddDivContent('Web_Addresses',str4); wi++;
			}
			document.main_form.form_step.value=3;
			share_form_values();
		}
	}
	
	function form_step4(){
		var check=check_fillout();
		if (check==true){
			capture_form_values();
			
			var str1 = '<h2><strong style="font-size:75%">'+assessment_name+'</strong><p>Step 3: '+stepname+' Information</h2>';
						
			var str2 = '<table width="100%" height="100%" border="0"><tr><td colspan="2" align="left" valign="top"><h2>General '+stepname+' Information: Part 2</h2><br />&nbsp;<form id="temp_form" name="temp_form" action="" method="post" enctype="multipart/form-data">';
			str2 += '<table width="100%"  border="0" style="font-weight: bold;">';
			str2 += '<tr><td align="left" valign="bottom" colspan="4"><h3>What features do you want?</h3></td><td align="left" valign="bottom" colspan="2"><p style="font-size:80%; margin:0;">Check all that Apply</p></td><td align="left" valign="bottom" colspan="1"><input name="feats_0" type="checkbox" value="Uncertain"></td><td align="left" valign="bottom" colspan="1">Uncertain</td></tr>';
			if (assessment_name=="Web Assessment Questionnaire"){
				str1 += '<p><b>Part 2</b></p><p>To help us determine the functionality needs of your website, we\'d like to know what you would expect from your site.</p><p>Please check all boxes that apply, or "uncertain" if you are unsure of what you would like for your site. As an example of the number of potential pages: home page, about us page, and contact page, count as three pages.</p>';
				
				str2 +=	'<tr><td align="left" valign="top"><input name="feats_1" type="checkbox" value="Editor for Your Content"></td><td width="25%" align="left" valign="top">Editor for Your Content</td><td align="left" valign="top"><input name="feats_2" type="checkbox" value="Multiple Languages"></td><td width="25%" align="left" valign="top">Multiple Languages</td><td align="left" valign="top"><input name="feats_3" type="checkbox" value="Photography"></td><td width="25%" align="left" valign="top">Photography</td><td align="left" valign="top"><input name="feats_4" type="checkbox" value="Illustration"></td><td width="25%" align="left" valign="top">Illustration</td></tr>';
				str2 +=	'<tr><td align="left" valign="top"><input name="feats_5" type="checkbox" value="Animation"></td><td width="25%" align="left" valign="top">Animation</td><td align="left" valign="top"><input name="feats_6" type="checkbox" value="Multimedia"></td><td width="25%" align="left" valign="top">Multimedia</td><td align="left" valign="top"><input name="feats_7" type="checkbox" value="Content Management"></td><td width="25%" align="left" valign="top">Content Management</td><td align="left" valign="top"><input name="feats_8" type="checkbox" value="Customer Content"></td><td width="25%" align="left" valign="top">Customer Content</td></tr>';
				str2 +=	'<tr><td align="left" valign="top"><input name="feats_9" type="checkbox" value="Email"></td><td width="25%" align="left" valign="top">Email</td><td align="left" valign="top"><input name="feats_10" type="checkbox" value="Email Newsletter"></td><td width="25%" align="left" valign="top">Email Newsletter</td><td align="left" valign="top"><input name="feats_11" type="checkbox" value="Forms"></td><td width="25%" align="left" valign="top">Forms</td><td align="left" valign="top"><input name="feats_12" type="checkbox" value="Forums"></td><td width="25%" align="left" valign="top">Forums</td></tr>';
				str2 +=	'<tr><td align="left" valign="top"><input name="feats_13" type="checkbox" value="Newsfeeds (RSS)"></td><td width="25%" align="left" valign="top">Newsfeeds <i>(RSS)</i></td><td align="left" valign="top"><input name="feats_14" type="checkbox" value="Mobile Compatibility"></td><td width="25%" align="left" valign="top">Mobile Compatibility</td><td align="left" valign="top"><input name="feats_15" type="checkbox" value="Process Credit Cards"></td><td width="25%" align="left" valign="top">Process Credit Cards</td><td align="left" valign="top"></td><td width="25%" align="left" valign="top"></td></tr>';
				str2 += '<tr><td align="left" valign="top" colspan="1">Other</td><td align="left" valign="bottom" colspan="7"><textarea id="feats_o" name="feats_o" rows="5" style="width:100%;"></textarea></td></tr>';
				str2 += '<tr><td align="left" valign="bottom" colspan="8"><h3>How many individual web pages will your site contain?</h3></td></tr>';
				str2 += '<tr><td align="left" valign="bottom" colspan="2"><input name="wprc" type="radio" value="<5">< 5</td><td align="left" valign="bottom" colspan="2"><input name="wprc" type="radio" value="5-15">5 - 15</td><td align="left" valign="bottom" colspan="2"><input name="wprc" type="radio" value="15+">15+</td><td align="left" valign="bottom" colspan="2"><input name="wprc" type="radio" value="Uncertain">Uncertain</td></tr>';
			}else if(assessment_name=="Presentation Assessment Questionnaire"){
				str1 += '<p><b>Part 2</b></p><p>To help us determine the functionality needs of your presentation, we\'d like to know what you would may need for your presentation.</p><p>Please check all boxes that apply, or "uncertain" if you are unsure of what you would like for your presentation. As an example of the number of potential slides, an introduction with logo, an outline with bullet points and a concluding statement would count as three slides.</p>';
				
				str2 +=	'<tr><td align="left" valign="top"><input name="feats_1" type="checkbox" value="Editor for Your Content"></td><td width="25%" align="left" valign="top">Editor for Your Content</td><td align="left" valign="top"><input name="feats_2" type="checkbox" value="Photography"></td><td width="25%" align="left" valign="top">Photography</td><td align="left" valign="top"><input name="feats_3" type="checkbox" value="Illustration"></td><td width="25%" align="left" valign="top">Illustration</td><td align="left" valign="top"><input name="feats_4" type="checkbox" value="Multimedia"></td><td width="25%" align="left" valign="top">Multimedia</td></tr>';
				str2 +=	'<tr><td align="left" valign="top"><input name="feats_5" type="checkbox" value="Animation"></td><td width="25%" align="left" valign="top">Animation</td><td align="left" valign="top"><input name="feats_6" type="checkbox" value="Motion Graphics"></td><td width="25%" align="left" valign="top">Motion Graphics</td><td align="left" valign="top"><input name="feats_7" type="checkbox" value="Slide Transition Effects"></td><td width="25%" align="left" valign="top">Slide Transition Effects</td><td align="left" valign="top"><input name="feats_8" type="checkbox" value="Audio Effects"></td><td width="25%" align="left" valign="top">Audio Effects</td></tr>';
				str2 +=	'<tr><td align="left" valign="top"><input name="feats_9" type="checkbox" value="Video"></td><td width="25%" align="left" valign="top">Video</td><td align="left" valign="top"><input name="feats_10" type="checkbox" value="Presenter Cues"></td><td width="25%" align="left" valign="top">Presenter Cues</td><td align="left" valign="top"><input name="feats_11" type="checkbox" value="Audience Handouts"></td><td width="25%" align="left" valign="top">Audience Handouts</td><td align="left" valign="top"><input name="feats_12" type="checkbox" value="Presentation Copy for Audience (file, CD, DVD, etc.)"></td><td width="25%" align="left" valign="top">Presentation Copy for Audience <i>(file, CD, DVD, etc.)</i></td></tr>';
				str2 +=	'<tr><td align="left" valign="top"><input name="feats_13" type="checkbox" value="Audience Participation Design"></td><td width="25%" align="left" valign="top">Audience Participation Design</td><td align="left" valign="top"><input name="feats_14" type="checkbox" value="Supplemental Materials"></td><td width="25%" align="left" valign="top">Supplemental Materials</td><td align="left" valign="top"><input name="feats_15" type="checkbox" value="Presentation Strategy Development"></td><td width="25%" align="left" valign="top">Presentation Strategy Development</td><td align="left" valign="top"></td><td width="25%" align="left" valign="top"></td></tr>';
				str2 += '<tr><td align="left" valign="top" colspan="1">Other</td><td align="left" valign="bottom" colspan="7"><textarea id="feats_o" name="feats_o" rows="5" style="width:100%;"></textarea></td></tr>';
				str2 += '<tr><td align="left" valign="bottom" colspan="8"><h3>How many individual slides do you require?</h3></td></tr>';
				str2 += '<tr><td align="left" valign="bottom" colspan="2"><input name="wprc" type="radio" value="<5 slides">< 5 slides</td><td align="left" valign="bottom" colspan="2"><input name="wprc" type="radio" value="5-15 slides">5 - 15 slides</td><td align="left" valign="bottom" colspan="2"><input name="wprc" type="radio" value="15+ slides">15+ slides</td><td align="left" valign="bottom" colspan="2"><input name="wprc" type="radio" value="Uncertain">Uncertain</td></tr>';
				str2 += '<tr><td align="left" valign="bottom" colspan="8"><h3>How long do you estimate your presentation will be?</h3></td></tr>';
				str2 += '<tr><td align="left" valign="bottom" colspan="2"><input name="plrc" type="radio" value="< 10 minutes"> < 10 minutes</td><td align="left" valign="bottom" colspan="2"><input name="plrc" type="radio" value=" < 30 minutes"> < 30 minutes</td><td align="left" valign="bottom" colspan="2"><input name="plrc" type="radio" value="30+ minutes">30+ minutes</td><td align="left" valign="bottom" colspan="2"><input name="plrc" type="radio" value="Uncertain">Uncertain</td></tr>';
			}

			str2 +='</table>';
			str2 += '</form></td></tr><tr><td align="left" valign="bottom"><a href="javascript:form_step3();">Step 3: Part 1</a></td><td align="right" valign="bottom"><a href="javascript:form_step5();">Step 3: Part 3</a></td></tr></table>';
			if(vrequire==1){str1 += '<p align="right"><h7><a href="javascript:form_step7();">Return to Review</a></h7></p>';}
			ChangeDivContent('form_text',str1);
			ChangeDivContent('main_text4',str2);
			window.scrollTo(0,0);
			
			document.main_form.form_step.value=4;
			share_form_values();
		}
	}
	
	function form_step5(){
		var check=check_fillout();
		if (check==true){
			capture_form_values();
			
			var str1 = '<h2><strong style="font-size:75%">'+assessment_name+'</strong><p>Step 3: '+stepname+' Information</h2>';
			var str2 = '<table width="100%" height="100%" border="0"><tr><td colspan="2" align="left" valign="top"><h2>General '+stepname+' Information: Part 3</h2><br />&nbsp;<form id="temp_form" name="temp_form" action="" method="post" enctype="multipart/form-data">';
			str2 += '<table width="100%"  border="0" style="font-weight: bold;">';
			if (assessment_name=="Web Assessment Questionnaire"){
				str1 += '<p><b>Part 3</b></p><p>A website is a valuable tool in today\'s marketplace. The following questions will help develop a dialogue about the relationship between your website and other marketing strategies, including the position of your competition.</p><p>If you know the websites of more than one competitor, you can add and subtract entry bars by using the <b>+</b> and <b>-</b> buttons.</p>';
				
				str2 += '<tr><td align="left" valign="bottom" colspan="6"><h3>What other marketing strategies are you currently employing?</h3></td><td align="left" valign="bottom" colspan="2"><p style="font-size:80%; margin:0;">Check all that Apply</p></td></tr>';
				str2 +=	'<tr><td align="left" valign="top"><input name="mstrat_0" type="checkbox" value="None"></td><td width="25%" align="left" valign="top">None</td><td align="left" valign="top"><input name="mstrat_1" type="checkbox" value="Email Blasts"></td><td width="25%" align="left" valign="top">Email Blasts</td><td align="left" valign="top"><input name="mstrat_2" type="checkbox" value="Cold Calling"></td><td width="25%" align="left" valign="top">Cold Calling</td><td align="left" valign="top"><input name="mstrat_3" type="checkbox" value="Print Campaign"></td><td width="25%" align="left" valign="top">Print Campaign</td></tr>';
				str2 +=	'<tr><td align="left" valign="top"><input name="mstrat_4" type="checkbox" value="Radio Campaign"></td><td width="25%" align="left" valign="top">Radio Campaign</td><td align="left" valign="top"><input name="mstrat_5" type="checkbox" value="Television Campaign"></td><td width="25%" align="left" valign="top">Television Campaign</td><td align="left" valign="top"><input name="mstrat_6" type="checkbox" value="Online Campaign"></td><td width="25%" align="left" valign="top">Online Campaign</td><td align="left" valign="top"></td><td width="25%" align="left" valign="top"></td></tr>';
				str2 += '<tr><td align="left" valign="top" colspan="1">Other</td><td align="left" valign="bottom" colspan="7"><textarea id="mstrat_o" name="mstrat_o" rows="5" style="width:100%;"></textarea></td></tr>';
			}else if(assessment_name=="Presentation Assessment Questionnaire"){
				str1 += '<p><b>Part 3</b></p><p>If there is a deadline for when the presentation will be delivered, please let us know.</p><p>Any examples of other presentations that you like, we would like to see them at our first meeting.</p>';
				
				str2 += '<tr><td align="left" valign="bottom" colspan="8"><h3>If you require an electronic presentation, what software do you prefer?</h3></td></tr>';
				str2 += '<tr><td align="left" valign="bottom" colspan="2"></td><td align="left" valign="bottom" colspan="2"></td><td align="left" valign="bottom" colspan="2"></td><td align="left" valign="bottom" colspan="2"><input name="psrc" type="radio" value="Uncertain">Uncertain</td></tr>';
				str2 += '<tr><td align="left" valign="bottom" colspan="2"><input name="psrc" type="radio" value="PowerPoint">PowerPoint</td><td align="left" valign="bottom" colspan="2"><input name="psrc" type="radio" value="Keynote">Keynote</td><td align="left" valign="bottom" colspan="2"><input name="psrc" type="radio" value="Flash">Flash</td><td align="left" valign="bottom" colspan="2"><input name="psrc" type="radio" value="Impress">Impress</td></tr>';
				str2 += '<tr><td align="left" valign="top" colspan="1">Other</td><td align="left" valign="bottom" colspan="7"><textarea id="psoft_o" name="psoft_o" rows="5" style="width:100%;"></textarea></td></tr>';

			}
			str2 += '<tr><td align="left" valign="bottom" colspan="8"><h3>Is there a specific timetable that needs to be met?</h3></td></tr>';
			str2 += '<tr><td align="left" valign="bottom" colspan="2"></td><td align="left" valign="bottom" colspan="2"><input name="ttyn" onClick="radio_sub_form(\'TT_hide\',this.value);" type="radio" value="Uncertain">Uncertain</td><td align="left" valign="bottom" colspan="2"><input name="ttyn" onClick="radio_sub_form(\'TT_hide\',this.value);" type="radio" value="Yes">Yes</td><td align="left" valign="bottom" colspan="2"><input name="ttyn" onClick="radio_sub_form(\'TT_hide\',this.value);" type="radio" value="No">No</td></tr>';
			str2 += '<tr><td align="left" valign="top" colspan="8"><div id="TT_hide" name="TT_hide"';
			if ((document.main_form.timetable.value!='Yes')&&(document.main_form.timetable.value!='Uncertain')){str2+=' style="display:none;"';}
			str2+='><table width="100%"  border="0" style="font-weight: bold;"><tr><td align="left" valign="top" width="25%">Please describe</td><td align="left" valign="top" width="75%"><textarea id="time_d" name="time_d" rows="5"></textarea></td></tr></table></div></td></tr>';
			if (assessment_name=="Web Assessment Questionnaire"){
				str2 += '<tr><td align="left" valign="bottom" colspan="8"><h3>Please list some of your competitors\' websites:</h3></td></tr>';
				str2+='<tr><td align="right" valign="top" colspan="1"><div id="adder" name="adder"><a href="javascript:add_comp_website();">+</a>&nbsp;<a href="javascript:subtract_comp_website();">-</a></div></td><td align="left" valign="top" colspan="7"><div id="competition" name="competition"><input name="wc_0" type="text" style="width:100%;"></div></td></tr>';
			}else if(assessment_name=="Presentation Assessment Questionnaire"){
				str2 += '<tr><td align="left" valign="bottom" colspan="8"><h3>Are you able to provide examples of what you would like for your presentation?</h3></td></tr>';
				str2 += '<tr><td align="left" valign="bottom" colspan="2"></td><td align="left" valign="bottom" colspan="2"><input name="peyn" type="radio" value="Uncertain">Uncertain</td><td align="left" valign="bottom" colspan="2"><input name="peyn" type="radio" value="Yes">Yes</td><td align="left" valign="bottom" colspan="2"><input name="peyn" type="radio" value="No">No</td></tr>';
			}
			str2 +='</table>';
			str2 += '</form></td></tr><tr><td align="left" valign="bottom"><a href="javascript:form_step4();">Step 3: Part 2</a></td><td align="right" valign="bottom"><a href="javascript:form_step6();">Step 3: Part 4</a></td></tr></table>';
			if(vrequire==1){str1 += '<p align="right"><h7><a href="javascript:form_step7();">Return to Review</a></h7></p>';}

			ChangeDivContent('form_text',str1);
			ChangeDivContent('main_text4',str2);
			window.scrollTo(0,0);
			
			var ci=1;
			while(ci<=competer){
				var str4='<br><input name="wc_'+ci+'" type="text" style="width:100%;">';
				AddDivContent('competition',str4); ci++;
			}
			document.main_form.form_step.value=5;
			share_form_values();
		}
	}
	
	function form_step6(){
		var check=check_fillout();
		if (check==true){
			capture_form_values();
			
			var str1 = '<h2><strong style="font-size:75%">'+assessment_name+'</strong><p>Step 3: '+stepname+' Information</h2>';
			
			if (assessment_name=="Web Assessment Questionnaire"){
				str1 += '<p><b>Part 4</b></p><p>Please use this space to give us any additional information that you believe would assist us.</p>';
				}else if(assessment_name=="Presentation Assessment Questionnaire"){
				str1 += '<p><b>Part 4</b></p><p>Please use this space to give us any additional information that you believe would assist us.</p>';
				}
			if(vrequire==1){str1 += '<p align="right"><h7><a href="javascript:form_step7();">Return to Review</a></h7></p>';}
			var str2 = '<table width="100%" height="100%" border="0"><tr><td colspan="2" align="left" valign="top"><h2>General '+stepname+' Information: Part 4</h2><br />&nbsp;<form id="temp_form" name="temp_form" action="" method="post" enctype="multipart/form-data">';
			str2 += '<table width="100%"  border="0" style="font-weight: bold;">';
			str2 += '<tr><td align="left" valign="top" colspan="8">What outcomes are needed for you to consider your '+stepname+' a success?</td></tr>';
			str2 += '<tr><td align="left" valign="bottom" colspan="8"><textarea id="success_d" name="success_d" rows="15" style="width:100%;"></textarea></td></tr>';
			
			str2 += '<tr><td align="left" valign="top" colspan="8">Are there any other comments/specific ideas we should keep in mind while designing and optimizing your '+stepname+'?</td></tr>';
			str2 += '<tr><td align="left" valign="bottom" colspan="8"><textarea id="ideas_d" name="ideas_d" rows="15" style="width:100%;"></textarea></td></tr>';

			str2 += '<tr><td align="left" valign="top" colspan="8">To better develop our estimate, please list any additional services you require or information about the project below.</td></tr>';
			str2 += '<tr><td align="left" valign="bottom" colspan="8"><textarea id="additional_d" name="additional_d" rows="15" style="width:100%;"></textarea></td></tr>';

			str2 +='</table>';
			str2 += '</form></td></tr><tr><td align="left" valign="bottom"><a href="javascript:form_step5();">Step 3: Part 3</a></td><td align="right" valign="bottom"><a href="javascript:form_step7();">Step 4: Review</a></td></tr></table>';
			
			ChangeDivContent('form_text',str1);
			ChangeDivContent('main_text4',str2);
			window.scrollTo(0,0);
			
			document.main_form.form_step.value=6;
			share_form_values();
		}
	}
	
	function form_step7(){
		var check=check_fillout();
		if (check==true){
			capture_form_values();
			
			var str1 = '<h2><strong style="font-size:75%">'+assessment_name+'</strong><p>Step 4: Review</h2>';
			str1 += '<p>Thank you for taking the time to fill out this assessment form. You can still edit any information, by clicking on that section to the right.  If you would like a copy of this assessment, one will be emailed to you if you check the box. Once you click submit, Zero Division will contact you to schedule a personal meeting to discuss your website needs.</p>';
			
			var str2 = '<table width="100%" height="100%" border="0"><tr><td colspan="2" align="left" valign="top"><h2>Review Information</h2><br />&nbsp;<form id="temp_form" name="temp_form" action="" method="post" enctype="multipart/form-data">';
			str2 += '<table width="100%" cellpadding="1" cellspacing="0" border="0" style="font-weight: bold;">';
			str2 += '<tr><td align="left" valign="top" colspan="8"><h2><strong style="font-size:75%">'+assessment_name+'</strong></h2></td></tr>';
				str2 += '<tr><td align="left" valign="top" colspan="8">';
					str2 += '<div id="s_1" name="s_1" onClick="start_assessment();" onMouseOver="changeColor(this.id,\'#d9e9e6\')" onMouseOut="changeColor(this.id,\'#A6D2CB\')" style="background-color:#A6D2CB;">';
						str2 += '<p>Name: <strong style="color:#f15a27;">'+document.main_form.first_name.value+' '+document.main_form.last_name.value+'</strong>';
						str2 += '<br />Job Title: <strong style="color:#f15a27;">'+document.main_form.main_title.value+'</strong>';
						str2 += '<br />Business Phone: <strong style="color:#f15a27;">'+document.main_form.main_phone.value+'</strong> Mobile Phone: <strong style="color:#f15a27;">'+document.main_form.main_cell.value+'</strong>';
						str2 += '<br />Email Address: <strong style="color:#f15a27;">'+document.main_form.main_email.value+'</strong></p>';
						if (assessment_name=="Web Assessment Questionnaire"){str2 += '<p>Current internet experience:</p>';	
						}else if(assessment_name=="Presentation Assessment Questionnaire"){str2 += '<p>Current presentation experience:</p>';}
						str2 += set_checkbox_review(document.main_form.experience.value,3);
						str2 += '<br />Referral: <br /><strong style="color:#f15a27;">'+document.main_form.reference.value+'</strong>';
					str2 += '</div>';
				str2 +='</td></tr>';
				str2 += '<tr><td align="left" valign="top" colspan="8">';
					str2 += '<div id="s_2" name="s_2" onClick="form_step2();" onMouseOver="changeColor(this.id,\'#d9e9e6\')" onMouseOut="changeColor(this.id,\'#99CBC4\')" style="background-color:#99CBC4;">';
						str2 += '<p>Organization Name: <strong style="color:#f15a27;">'+document.main_form.company_name.value+'</strong>';
						str2 += '<br />Organization Description: <strong style="color:#f15a27;"><br />'+document.main_form.company_description.value+'</strong>';
						str2 += '<br />Street Address: <strong style="color:#f15a27;">'+document.main_form.company_street.value+'</strong>';
						str2 += '<br />City: <strong style="color:#f15a27;">'+document.main_form.company_city.value+'</strong> Postal Code: <strong style="color:#f15a27;">'+document.main_form.company_zip.value+'</strong>';
						str2 += '<br />Country: <strong style="color:#f15a27;">'+document.main_form.company_country.value+'</strong> Fax Number: <strong style="color:#f15a27;">'+document.main_form.company_fax.value+'</strong>';
						str2 += '<p>IT Contact Status: <strong style="color:#f15a27;">'+document.main_form.IT_person.value+'</strong>';	
						if(document.main_form.IT_person.value=='Yes'){str2 += '<br />Name: <strong style="color:#f15a27;">'+document.main_form.IT_name.value+'</strong> Title: <strong style="color:#f15a27;">'+document.main_form.IT_title.value+'</strong></p>';}
						str2 += '<p>Marketing Contact Status: <strong style="color:#f15a27;">'+document.main_form.marketing_person.value+'</strong>';	
						if(document.main_form.marketing_person.value=='Yes'){str2 += '<br />Name: <strong style="color:#f15a27;">'+document.main_form.marketing_name.value+'</strong> Title: <strong style="color:#f15a27;">'+document.main_form.marketing_title.value+'</strong></p>';}
						if (assessment_name=="Web Assessment Questionnaire"){
							str2 += '<p>Other Potential Decision Makers Status: <strong style="color:#f15a27;">'+document.main_form.decision_persons.value+'</strong>';	
							if((document.main_form.decision_persons.value=='Yes')||(document.main_form.decision_persons.value=='Uncertain')){
								var temp_split1=document.main_form.decision_name.value; var temp_spliter1=temp_split1.split('*|*');
								var temp_split2=document.main_form.decision_title.value; var temp_spliter2=temp_split2.split('*|*');
								for (var a=0; a < (temp_spliter1.length-1); a++){
									str2 += '<br />Name: <strong style="color:#f15a27;">'+temp_spliter1[a]+'</strong> Title: <strong style="color:#f15a27;">'+temp_spliter2[a]+'</strong>';
								}
							}	
						}
					str2 += '</div>';
				str2 +='</td></tr>';
				str2 += '<tr><td align="left" valign="top" colspan="8">';
					str2 += '<div id="s_3" name="s_3" onClick="form_step3();" onMouseOver="changeColor(this.id,\'#d9e9e6\')" onMouseOut="changeColor(this.id,\'#8AC5BD\')" style="background-color:#8AC5BD;">';
						str2 += '<p>Logo Status: <strong style="color:#f15a27;">'+document.main_form.logo.value+'</strong></p>';
						str2 += '<p>Website Status: <strong style="color:#f15a27;">'+document.main_form.have_website.value+'</strong>';
						if(document.main_form.have_website.value=='Yes'){
							var temp_split3=document.main_form.company_website.value; var temp_spliter3=temp_split3.split('*|*');
							for (var a=0; a < (temp_spliter3.length-1); a++){
								str2 += '<br />Website '+(a+1)+': <strong style="color:#f15a27;">'+temp_spliter3[a]+'</strong>';
							}
						}	
						if(assessment_name=="Presentation Assessment Questionnaire"){
							str2 += '<p>Pre-existing Presentation Template Status: <strong style="color:#f15a27;">'+document.main_form.have_presentation.value+'</strong></p>';
						}
						str2 += '<p>Purpose of '+stepname+':</p>';
						str2 += set_checkbox_review(document.main_form.purpose.value,3);
						str2 += '<p>Desired Services:</p>';
						str2 += set_checkbox_review(document.main_form.have_done.value,3);
					str2 += '</div>';
				str2 +='</td></tr>';
				str2 += '<tr><td align="left" valign="top" colspan="8">';
					str2 += '<div id="s_4" name="s_4" onClick="form_step4();" onMouseOver="changeColor(this.id,\'#d9e9e6\')" onMouseOut="changeColor(this.id,\'#7DBEB5\')" style="background-color:#7DBEB5;">';
						str2 += '<p>Desired Features:</p>';
						str2 += set_checkbox_review(document.main_form.features.value,3);
						if(document.main_form.features_other.value!=''){str2 += '<p><i>Other Features:</i><strong style="color:#f15a27;"><br />'+document.main_form.features_other.value+'</strong></p>';}
						if (assessment_name=="Web Assessment Questionnaire"){
							str2 += '<p>Estimated Number of Individual Site Pages: <strong style="color:#f15a27;">'+document.main_form.web_pages.value+'</strong></p>';
						}else if(assessment_name=="Presentation Assessment Questionnaire"){
							str2 += '<p>Estimated Number of Presentation slides: <strong style="color:#f15a27;">'+document.main_form.web_pages.value+'</strong></p>';
							str2 += '<p>Estimated time length of presentation: <strong style="color:#f15a27;">'+document.main_form.presentation_length.value+'</strong></p>';
						}
					str2 += '</div>';
				str2 +='</td></tr>';
				str2 += '<tr><td align="left" valign="top" colspan="8">';
					str2 += '<div id="s_5" name="s_5" onClick="form_step5();" onMouseOver="changeColor(this.id,\'#d9e9e6\')" onMouseOut="changeColor(this.id,\'#6EB7AE\')" style="background-color:#6EB7AE;">';
						if (assessment_name=="Web Assessment Questionnaire"){
							str2 += '<p>Marketing Strategies:</p>';
							str2 += set_checkbox_review(document.main_form.marketing_strategies.value,3);
							if(document.main_form.marketing_strategies_other.value!=''){str2 += '<p><i>Other Strategies:</i><strong style="color:#f15a27;"><br />'+document.main_form.marketing_strategies_other.value+'</strong></p>';}
						}else if(assessment_name=="Presentation Assessment Questionnaire"){
							str2 += '<p>Preferred Presentation Software: <strong style="color:#f15a27;">'+document.main_form.presentation_software.value+'</strong></p>';
							if(document.main_form.presentation_software_other.value!=''){str2 += '<p><i>Other Software:</i><strong style="color:#f15a27;"><br />'+document.main_form.presentation_software_other.value+'</strong></p>';}
						}
						str2 += '<p>Timetable Status: <strong style="color:#f15a27;">'+document.main_form.timetable.value+'</strong>';
						if((document.main_form.timetable.value=='Yes')||(document.main_form.timetable.value=='Uncertain')){
							if(document.main_form.timetable_description.value!=''){str2 += '<br /><i>Timetable Description:</i><strong style="color:#f15a27;"><br />'+document.main_form.timetable_description.value+'</strong></p>';}
						}
						if (assessment_name=="Web Assessment Questionnaire"){
							str2 += '<p>Competitor\'s Websites:';
							var temp_split4=document.main_form.competitors_websites.value; var temp_spliter4=temp_split4.split('*|*');
							for (var a=0; a < (temp_spliter4.length-1); a++){
								str2 += '<br />Website '+(a+1)+': <strong style="color:#f15a27;">'+temp_spliter4[a]+'</strong>';
							}
						}else if(assessment_name=="Presentation Assessment Questionnaire"){
							str2 += '<p>Able to Provide Presentation Examples: <strong style="color:#f15a27;">'+document.main_form.presentation_examples.value+'</strong></p>';
						}
					str2 += '</div>';
				str2 +='</td></tr>';
				str2 += '<tr><td align="left" valign="top" colspan="8">';
					str2 += '<div id="s_6" name="s_6" onClick="form_step6();" onMouseOver="changeColor(this.id,\'#d9e9e6\')" onMouseOut="changeColor(this.id,\'#61B1A7\')" style="background-color:#61B1A7;">';
						str2 += '<p>Outcomes Needed for Success:<strong style="color:#f15a27;"><br />'+document.main_form.success.value+'</strong></p>';
						str2 += '<p>Specific Ideas for Design and Optimization:<strong style="color:#f15a27;"><br />'+document.main_form.ideas.value+'</strong></p>';
						str2 += '<p>Additional Services and Information:<strong style="color:#f15a27;"><br />'+document.main_form.services.value+'</strong></p>';
					str2 += '</div>';
				str2 +='</td></tr>';
				
			str2 += '<tr><td align="left" valign="top" colspan="8">';
			
			str2 +='</td></tr>';
			str2 += '<tr><td align="left" valign="top" colspan="8"></td></tr>';
			str2 += '<tr><td align="right" valign="bottom" colspan="4"></td><td align="right" valign="bottom" colspan="1"><input name="to_client0" type="checkbox" value="Yes"></td><td align="left" valign="bottom" colspan="3" style="font-size:80%">Please check here if you want to be emailed a copy of this form.</td></tr>';

			str2 +='</table>';
			str2 += '</form></td></tr><tr><td align="left" valign="bottom"><a href="javascript:form_step6();">Step 3: Part 4</a></td><td align="right" valign="bottom"><h7><a href="javascript:submiter();"> SUBMIT QUESTIONNAIRE </a></h7></td></tr></table>';
			
			var set_zd_gallery=browserstyle('zd_gallery'); set_zd_gallery.display='none';
			
			ChangeDivContent('form_text',str1);
			ChangeDivContent('main_text4',str2);
			window.scrollTo(0,0);
			
			share_form_values(); document.main_form.form_step.value=7;
		}
	}
	
	function submiter(){
		var check=check_fillout();
		if (check==true){
			capture_form_values();
			if ((document.main_form.client_copy.value=="Yes")&&(document.main_form.main_email.value=="")){
				var str='';
				add_warning('Please specify your email address if you want a copy. Input your email on <a href="javascript:start_assessment();">Step 1</a>');
				str+=warnstr;
				warnstr='';
				ChangeDivContent('begin',str);
				window.scrollTo(0,0);
			}else{
				document.main_form.submit();
			}
		}
	}
	
	function radio_sub_form(){
		if(radio_sub_form.arguments[1]!='No'){var itdisplay='block';}else{var itdisplay='none';}
		var subform = browserstyle(radio_sub_form.arguments[0]);
		subform.display=itdisplay;
	}
	
	competer=0;
	function add_comp_website(){
		var temp_hold= new Array;
		for (var ci=0; ci <= competer; ci++){
				if(eval('document.temp_form.wc_'+ci)){temp_hold[ci]=eval('document.temp_form.wc_'+ci+'.value;');}
		}
		competer++;
		var str='<br><input name="wc_'+competer+'" type="text" style="width:100%;">';
		AddDivContent('competition',str);
		for (var ci=0; ci < competer; ci++){
				if(eval('document.temp_form.wc_'+ci)){eval('document.temp_form.wc_'+ci+'.value=temp_hold[ci];');}
		}
	}
	
	function subtract_comp_website(){
		var temp_hold= new Array;
		for (var ci=0; ci <= competer; ci++){
				if(eval('document.temp_form.wc_'+ci)){temp_hold[ci]=eval('document.temp_form.wc_'+ci+'.value;');}
		}
		if(competer>0){
			var str=ReadDivContent('competition'); 
			var replacer='<br><input name="wc_'+competer+'" type="text" style="width:100%;">';
			str=str.replace(replacer,'');
			ChangeDivContent('competition',str); 
			competer--;
		}
		for (var ci=0; ci <= competer; ci++){
				if(eval('document.temp_form.wc_'+ci)){eval('document.temp_form.wc_'+ci+'.value=temp_hold[ci];');}
		}
	}

	websiter=0;
	function add_website(){
		var temp_hold= new Array;
		for (var wai=0; wai <= websiter; wai++){
				if(eval('document.temp_form.wa_'+wai)){temp_hold[wai]=eval('document.temp_form.wa_'+wai+'.value;');}
		}
		websiter++;
		var str='<br><input name="wa_'+websiter+'" type="text" style="width:100%;">';
		AddDivContent('Web_Addresses',str);
		for (var wai=0; wai < websiter; wai++){
				if(eval('document.temp_form.wa_'+wai)){eval('document.temp_form.wa_'+wai+'.value=temp_hold[wai];');}
		}
	}
	
	function subtract_website(){
		var temp_hold= new Array;
		for (var wai=0; wai <= websiter; wai++){
				if(eval('document.temp_form.wa_'+wai)){temp_hold[wai]=eval('document.temp_form.wa_'+wai+'.value;');}
		}
		if(websiter>0){
			var str=ReadDivContent('Web_Addresses'); 
			var replacer='<br><input name="wa_'+websiter+'" type="text" style="width:100%;">';
			str=str.replace(replacer,'');
			ChangeDivContent('Web_Addresses',str); 
			websiter--;
		}
		for (var wai=0; wai <= websiter; wai++){
				if(eval('document.temp_form.wa_'+wai)){eval('document.temp_form.wa_'+wai+'.value=temp_hold[wai];');}
		}
	}
	
	decider=0;
	function add_decision(){
		var temp_hold= new Array; var temp_hold2= new Array;
		for (var di=0; di <= decider; di++){
				if(eval('document.temp_form.dpn_'+di)){temp_hold[di]=eval('document.temp_form.dpn_'+di+'.value;');}
				if(eval('document.temp_form.dpt_'+di)){temp_hold2[di]=eval('document.temp_form.dpt_'+di+'.value;');}
		}
		decider++;
		var str='<table width="100%" border="0" style="font-weight: bold;"><tbody><tr><td align="left" valign="top"><a href="javascript:add_decision();">+</a>&nbsp;<a href="javascript:subtract_decision();">-</a>&nbsp;Contact&nbsp;Name:</td><td align="left" valign="top" width="50%"><input name="dpn_'+ decider +'" type="text" style="width:100%;"></td><td align="left" valign="top">Contact&nbsp;Title:</td><td align="left" valign="top" width="50%"><input name="dpt_'+ decider +'" type="text" style="width:100%;"></td></tr></tbody></table>';
		AddDivContent('DP_hide',str);
		for (var di=0; di < decider; di++){
				if(eval('document.temp_form.dpn_'+di)){eval('document.temp_form.dpn_'+di+'.value=temp_hold[di];');}
				if(eval('document.temp_form.dpt_'+di)){eval('document.temp_form.dpt_'+di+'.value=temp_hold2[di];');}
		}
	}
	
	function subtract_decision(){
		var temp_hold= new Array; var temp_hold2= new Array;
		for (var di=0; di <= decider; di++){
				if(eval('document.temp_form.dpn_'+di)){temp_hold[di]=eval('document.temp_form.dpn_'+di+'.value;');}
				if(eval('document.temp_form.dpt_'+di)){temp_hold2[di]=eval('document.temp_form.dpt_'+di+'.value;');}
		}
		if(decider>0){
			var str=ReadDivContent('DP_hide');
			var replacer = '<table width="100%" border="0" style="font-weight: bold;"><tbody><tr><td align="left" valign="top"><a href="javascript:add_decision();">+</a> <a href="javascript:subtract_decision();">-</a> Contact Name:</td><td align="left" valign="top" width="50%"><input name="dpn_'+ decider +'" type="text" style="width:100%;"></td><td align="left" valign="top">Contact Title:</td><td align="left" valign="top" width="50%"><input name="dpt_'+ decider +'" type="text" style="width:100%;"></td></tr></tbody></table>';
			
			str=str.replace(replacer,'');
			ChangeDivContent('DP_hide',str);
			decider--;
		}
		for (var di=0; di <= decider; di++){
				if(eval('document.temp_form.dpn_'+di)){eval('document.temp_form.dpn_'+di+'.value=temp_hold[di];');}
				if(eval('document.temp_form.dpt_'+di)){eval('document.temp_form.dpt_'+di+'.value=temp_hold2[di];');}
		}
	}
	
	function changeColor(){
		var changer=browserstyle(changeColor.arguments[0]);
		changer.backgroundColor=changeColor.arguments[1];
	}
	
	function set_checkbox_review(){
		var cr_str='';
		cr_str += '<table width="100%" height="100%" border="0">';			
						var temp_split=set_checkbox_review.arguments[0]; var temp_spliter=temp_split.split('*|*'); var temp_table=set_checkbox_review.arguments[1];
						for (var a=0; a < temp_spliter.length; a++){
							if(temp_table==set_checkbox_review.arguments[1]){cr_str += '<tr>';}
							cr_str += '<td align="left" valign="top" colspan="1"><strong style="color:#f15a27;">'+temp_spliter[a]+'</strong></td> ';
							if(temp_table==0){cr_str += '</tr>'; temp_table=set_checkbox_review.arguments[1];}else{temp_table--;}
							if((temp_table!=set_checkbox_review.arguments[1])&&(a == (temp_spliter.length-1))){
								for(var b=0; b <= temp_table; b++){
									cr_str += '<td align="left" valign="top" colspan="1"></td>';
								}
								cr_str += '</tr>';
							}
						}
		cr_str += '</table>';
		return cr_str;
	}
	
	
