function iDictionary( strParameters ){
	this.aKeys			= new Array()
	this.aValues 			= new Array()

	this.add				= iDictionary_add
	this.getValue				= iDictionary_getValue
	this.getParametersFromString		= iDictionary_getParametersFromString
	this.toString				= iDictionary_toString
	this.makeCURL				= iDictionary_makeCURL

	strParameters ?	this.getParametersFromString( strParameters ): null
}

function iDictionary_add( strKey, strValue ){
	this.aKeys[ this.aKeys.length ] = strKey
	eval( "this.aValues['" + strKey+ "']='" + escape(escape(strValue)) + "'" )
}

function iDictionary_getValue( strKey ){
	return unescape(unescape(eval( "this.aValues['" + strKey+ "']" )))
}

function iDictionary_getParametersFromString( strParameters ){
	var aParams = strParameters.split( "&" ) 
	var aParam
	var i

	for(i=0; i<aParams.length; i++){
		aParam = aParams[i].split( "=" )
		this.add ( aParam[0], unescape(aParam[1]) )
	}
}

function iDictionary_toString(){
	var toString = ""

	for(i=0; i<this.aKeys.length; i++){
		toString += ( escape(this.aKeys[i] + "=" ) + escape(escape(this.getValue(this.aKeys[i]))) + escape("&") ) 
	}

	return escape(toString.substr(0, toString.length - escape( "&" ).length ))
}

function iDictionary_makeCURL( strURL ){
	return strURL + "/0,," + this.toString() + ",00.html"
}