// Vaibhav-Eclat, 09-13-08
//Initialization script
//alert("Start");
Hashtable.prototype.hash = null;
Hashtable.prototype.keys = null;
Hashtable.prototype.location = null;
function Hashtable()
{
	this.hash = new Array();
	this.keys = new Array();
	this.location = 0;
}

Hashtable.prototype.get = function (key)
{
	return this.hash[key];
}

Hashtable.prototype.put = function (key, value)
{
	if (value == null)
		return null;
	if (this.hash[key] == null)
		this.keys[this.keys.length] = key;

	this.hash[key] = value;
}
//declare an instance
var proIds = new Hashtable();
var mfrIds = new Hashtable();

//delcate vairables
var contentId;				// contentId of page content
var contentType;			// type of contents on page
var productStr = "";		// string of product
var manufacturerStr = "";	// string of maunfacturer
var proCount = 0;			// no of products
var mfrCount = 0;			// no of manufacturers
var content_group_id = 0;	// content_group_id
