 function getQS() 
{  
     // The return is a collection of key/value pairs  
     var result = {};  
   
     // Gets the query string with a preceeding '?'  
     var querystring = document.location.search;  
   
     // document.location.search is empty if a query string is absent  
     if (!querystring)  
         return result;  
   
     // substring(1) to remove the '?'  
     var pairs = querystring.substring(1).split("&");  
     var splitPair;  
   
//alert(pairs[param_Order -1]);

//alert(pairs.Value);
     // Load the key/values of the return collection  
     for (var i = 0; i < pairs.length; i++) {  
	   //alert(pairs[i]);
         splitPair = pairs[i].split("=");  
         result[splitPair[0]] = splitPair[1];  
     }  
     return result;  
	//return pairs[param_Order -1];
 }
  
