 (var i = 0; i < sURLVariables.length; i++)
        {
            var sParameterName = sURLVariables[i].split('=');
            if (sParameterName[0] == sParam)
            {
                return sParameterName[1];
            }
        }
    }

	function geturl() { return $('#url').val(); }

	</script>
	<style type="text/css">
		.error {
			color: red;
		}
	</style>
</head>
<body>
	<div>
		URL (anything inside [ ] is url encoded):
		<br/>
		<input type="text" id="url" value="/api/v2/" size="120"/>
	</div