function ToolTipBrowser() {
	this.noActiveX = !window.ActiveXObject; 
}
ToolTipBrowser.prototype.createWindow = function(parentWindow,name,position,left,top,width,height,src,nodes) {
	
	//relaunch specific...tooltip is for the media player in ie only...
	if(this.noActiveX)return;

	try {
		// create browser container div
		this.toolTip = document.createElement('div');
		this.id = name;

		// find parent window to attach this media div to.
		this.target = document.getElementById(parentWindow+"_div");	
		this.target.appendChild(this.toolTip);

		this.toolTip.classPointer = this;
		//this.toolTip.style.visibility = "hidden";	
		this.toolTip.onmouseover = function () {
			ToolTipBrowser_showToolTip(this.classPointer.toolTipImage);	
		}; 
		this.toolTip.onmouseout = function () {
			ToolTipBrowser_hideToolTip(this.classPointer.toolTipImage);	
		}; 
		// create the windows media player object
		this.updateWindow(position,left,top,width,height,src);	

	}catch(e){
		Debug.trace("toolTip Error: " + e);
	}

}
ToolTipBrowser.prototype.updateWindow = function(position,left,top,width,height,src) {
	Debug.trace(this.id + ' ToolTipBrowser_updateWindow(' + position + ',' + left + ',' + top + ',' + width + ',' + height + ',' + src  + ')');								

	if(this.noActiveX)return;

	var newStyle = 'display:inline;background-image:url(spacdder.gif);position:' + position + ';left:' + left + 'px;top:' + top + 'px;width:' + width + 'px;height:' + height + 'px;';	
	this.toolTip.style.cssText = newStyle;

	if(this.toolTipImage){
		if(this.lastSrc==src)
			return;
	}
	this.toolTipImage = document.createElement('img');
	this.toolTipImage.setAttribute('src',src);
	this.lastSrc = src;
	ToolTipBrowser_hideToolTip(this.toolTipImage)
	
	this.toolTip.appendChild(this.toolTipImage);

}
ToolTipBrowser.prototype.destroyWindow = function() {

	if(this.noActiveX)return;
	this.target.removeChild(this.toolTip);			
}
ToolTipBrowser.prototype.command = function(name,commandName,args) {
}

ToolTipBrowser_showToolTip = function (obj) {
	obj.style.visibility = "visible";	
	obj.style.cursor = "pointer";
}; 
ToolTipBrowser_hideToolTip = function (obj) {
	obj.style.visibility = "hidden";	
	obj.style.cursor = "auto";
}; 
ToolTipBrowser.prototype.onPageLoad = function() { }
