﻿// returns an associative array representing the GET arguments for this url
function parseArguments(url) 
{
   
   var result = {};
   try 
   {
     var arguments = url.split("?")[1].split("&");
     for(i=0; i<arguments.length;i++) 
     {
        var argumentName = arguments[i].split("=")[0];
        var argumentValue = arguments[i].split("=")[1];
        result[argumentName] = argumentValue;
     }
   } catch (e) {}
   return result;
}

function openSpecWindow(product) 
 {
          var url = cnetSpecs.servletURL+"http://www.estore.com.au/ProductDetails/ProductDetails.html?product="+product+"&language="+cnetSpecs.language;
          window.open(url, 'popup');
 }