// This section of JavaScript code is meant to break apart the URL and
// assigne the components into the page_URL (URL only without get data)
// and the tabid requested by the user if there is one 

// First, split the URL into what should be two pieces: the URL and the get data
	URLMajorComponents = document.URL.split("?");
// If there is only one component, then there is no get data and we need to simply use
// the tabid default. Otherwise, let's split the get data into its components.
// Get data should be right after the URL.  Be sure to set the page URL to the current
// URL without any data
	page_URL = URLMajorComponents[0];
	if(URLMajorComponents.length>1)
	{
// Split the first get data at the ampersands.  This will give the the variable names
// and their values in the form "variable_name=value".
		getdata = URLMajorComponents[1].split("&");
// Now that we've separated each of the variables and values, see if we can find
// the data we're looking for, i.e., the tabid
		for(i=0; i<getdata.length; i++)
		{
			name_value_pair = getdata[i].split("=");
			if((name_value_pair[0] == "tabid")&&(name_value_pair[1]<number_of_tabs))
				tabid = name_value_pair[1];
			if((name_value_pair[0] == "print")&&(name_value_pair[1] == "yes"))
				print = 1;
		}
	}
