//mozblogs.js

function chooseOther(what,selectiontype,listnum)
	{
	
	if (what.value == "addnew") 
	    {	
		var newother;
		newother = prompt('Please enter the address of the ' + selectiontype + ' which is not listed here','http://www.myfavoritesite.com/rss.php');
		
		if (listnum == '1') 
			//there must be a better way than this that works - I tried, in vain
		
			{
			 var len = document.rssfeeds.rssaddress.options.length;
			 document.rssfeeds.rssaddress.options[len] = new Option( newother );
			 document.rssfeeds.rssaddress.options[len].value = newother;
			 document.rssfeeds.rssaddress.selectedIndex = len;
			}
		
		 
		}

	}
