		
		
		function onLoadIframe(iframe_name, select_id)
		{
			iframe_values = window.frames[iframe_name].values;
			
			if(iframe_values && iframe_values!="empty")		
			{
				rows = iframe_values.split(";;;");
				
				obj_select = document.getElementById(select_id);
				
				if(rows.length==1 && rows[0].search("0&&&---")!=-1)
				{
					obj_select.options[0].selected = true;
					obj_select.disabled = true;
				}
				else
				{					
					cicle = obj_select.options.length;
					
					xxx = 0;
					for(k=0; k<cicle; k++)
					{
						if(obj_select.options[0].value=='0')
						{
							xxx = 1;
						}
						obj_select.options[xxx] = null;
					}
		
					for(k=0; k<rows.length; k++)
					{
						cols = rows[k].split("&&&");
						
						obj_select.options[k] = new Option(cols[1], cols[0]);
					}
				}
			}
		}

		function onChangeSelect(value, iframe_name, url)
		{
			document.getElementById(iframe_name).src=url+"?"+iframe_name+"_id="+value;
		}
		
		
