function windowOpener(a, url, width, height, opts)
{
	this.a = $(a);
	this.url = url;
	this.width = width;
	this.height = height;
	this.opts = opts;
	this.init();
}

windowOpener.prototype.init = function()
{	
	try
	{
		var that = this;
		this.a.onclick = function(e)
		{					
			try
			{
				window.open(that.url, '', 'width=' + that.width + ',height=' + that.height + that.opts);		
				return false;
			}
			catch(e){}
		}
	}
	catch(e){}
}