rl.indexOf("#");
		
		//Extract fragment identifier
		if(hashIndex != -1){
			frag = url.substring(hashIndex + 1, url.length);
			url = url.substring(0, hashIndex);
		}

		//Extract querystring
		var parts = url.split("?");
		if(parts.length == 2){
			query = parts[1];
		}

		defineParams(query);
		defineParams(frag);

		if(noInit){ return; }
		if(domain.length > 0){
			document.domain = domain;
		}
		var hasParentDojo = false;
		try{
			hasParentDojo = window.parent != window && window.parent["dojo"];
		}c