												 
						//alert('anzeige ok');
						fieldname = 'myname';
                         width = 320;
                         min = 0;
                         max = 6;
                         formname = 'shopForm';
                         do2regler = false; //true = 2 regler, false = 1 regler
                         defaultmin = 3;	//2
                         defaultmax = 4;	//4
                         bgtext = '&nbsp;Verschieb&nbsp;&nbsp;&nbsp;&nbsp;mich&nbsp;doch!';
                      
                        onchangefunc = function (newvalue1,newvalue2)
                        {
                          d = document.getElementById('anzeige'); //'dd_'+fieldname+'_d1'
													var e = document.getElementById('co2mix');
                          
							if(newvalue1 == 0)
							{
								d.innerHTML = '<div style="clear:both;"><div align="left" style="float:left;width:50%;font-size:9px;"><b>100%</b> EUA-Emissionshandel </div><div align="right" style="float:left;width:50%;font-size:9px;">VER-Klimaschutzprojekt  <b>0%</b></div>';
								d.style.backgroundColor = '#FFFFFF';
								//d.style.backgroundColor = '#FF9F00';
								e.value = '100';
							}
							else if(newvalue1 == 1)
							{
								d.innerHTML = '<div style="clear:both;"><div align="left" style="float:left;width:50%;font-size:9px;"><b>90%</b> EUA-Emissionshandel </div><div align="right" style="float:left;width:50%;font-size:9px;">VER-Klimaschutzprojekt  <b>10%</b></div>';
								d.style.backgroundColor = '#FFFFFF';
								//d.style.backgroundColor = '#FFDF00';
								e.value = '90';
							}
							else if(newvalue1 == 2)
							{
								d.innerHTML = '<div style="clear:both;"><div align="left" style="float:left;width:50%;font-size:9px;"><b>75%</b> EUA-Emissionshandel </div><div align="right" style="float:left;width:50%;font-size:9px;">VER-Klimaschutzprojekt  <b>25%</b></div>';
								d.style.backgroundColor = '#FFFFFF';
								//d.style.backgroundColor = '#FFFF00';
								e.value = "75";
							}
							
							else if(newvalue1 == 3)
							{
								d.innerHTML = '<div style="clear:both;"><div align="left" style="float:left;width:50%;font-size:9px;"><b>50%</b> EUA-Emissionshandel </div><div align="right" style="float:left;width:50%;font-size:9px;">VER-Klimaschutzprojekt  <b>50%</b></div>';
								d.style.backgroundColor = '#FFFFFF';
								//d.style.backgroundColor = '#C0FF00';
								e.value = "50";
							}
							else if(newvalue1 == 4)
							{
								d.innerHTML = '<div style="clear:both;"><div align="left" style="float:left;width:50%;font-size:9px;"><b>25%</b> EUA-Emissionshandel </div><div align="right" style="float:left;width:50%;font-size:9px;">VER-Klimaschutzprojekt  <b>75%</b></div>';
								d.style.backgroundColor = '#FFFFFF';
								//d.style.backgroundColor = '#00FF00';
								e.value = "25";
							}
							else if(newvalue1 == 5)
							{
								d.innerHTML = '<div style="clear:both;"><div align="left" style="float:left;width:50%;font-size:9px;"><b>10%</b> EUA-Emissionshandel </div><div align="right" style="float:left;width:50%;font-size:9px;">VER-Klimaschutzprojekt  <b>90%</b></div>';
								d.style.backgroundColor = '#FFFFFF';
								//d.style.backgroundColor = '#00FF00';
								e.value = "10";
							}
							
							else
							{
								d.innerHTML = '<div style="clear:both;"><div align="left" style="float:left;width:50%;font-size:9px;"><b>0%</b> EUA-Emissionshandel </div><div align="right" style="float:left;width:50%;font-size:9px;">VER-Klimaschutzprojekt  <b>100%</b></div>';
								d.style.backgroundColor = '#FFFFFF';
								//d.style.backgroundColor = '#00FF00';
								e.value = "0";
							}
							
							VignSelektionAktualisieren();
							return false;
                        }
                      
                        einrasten = true;
                      
                        drawBar(fieldname,width,min,max,formname,do2regler,defaultmin,defaultmax,bgtext, onchangefunc,einrasten);
                      
                         //90% EUA/ 10% Klimaschutz
                      //75% EUA/ 25% Klimaschutz
                      //50% EUA / 50% Klimaschutz
                      //25% EUA / 75% Klimaschutz
                      //100% Klimaschutz
                      

