function paramEncode(str){
	var text = escape(str);
	while(text.indexOf("%u") !=-1)
		text = text.replace("%u","!u");
	while(text.indexOf("%") !=-1)
		text = text.replace("%","!u00");
        while(text.indexOf(".") !=-1)                                                                                        
                text = text.replace(".","!u002E");   
        while(text.indexOf("/") !=-1)                                                                                        
                text = text.replace("/","!u002F");   
	return text;
}

