// This function creates a new anchor element and uses location
// properties (inherent) to get the desired URL data. Some String
// operations are used (to normalize results across browsers).
 
function parseURL(url) 
{
url = url.replace("http://","");
url = url.replace("www.","");
arr = url.split("/");

return arr[0];
}


