
	var req;
	var dft_popup_param="toolbar=no,location=no,directories=no,status=no,"+
					    "menubar=no,scrollbars=yes,resizeable=yes";
	var win_opts;
	var toolsobj, toolsbxobj;
	var TimerID=null;
	var onToolBoxMenu = false;

	function init() {
		toolsobj=document.getElementById("tools");
		toolsbxobj=document.getElementById("toolsbox");
		pos = YAHOO.util.Dom.getXY("tools");
		new_pos=[pos[0]-132,pos[1]+18];
		YAHOO.util.Dom.setXY("toolsbox",new_pos);
		/*
		toolsbxobj.style.left=toolsobj.style.left;
		toolsbxobj.style.top=toolsobj.style.top+18+document.body.scrollTop;
		*/
		toolsobj.onmouseover=function() {
			TimerID=null;
			toolsbxobj.style.visibility="visible";
			onToolBoxMenu = true;
		}
		toolsobj.onmouseout=function() {
			onToolBoxMenu = false;
			TimerID=setTimeout("disableTools()",1500);
		}
		toolsbxobj.onmouseover=function() {
			onToolBoxMenu = true;
		}
		toolsbxobj.onmouseout=function() {
			onToolBoxMenu = false;
			TimerID=setTimeout("disableTools()",1500);
		}
	}
	function disableTools() {
		if (! onToolBoxMenu && TimerID != null) {
			toolsbxobj.style.visibility="hidden";
			TimerID= null;
		}
	}
	function showHelp(cat) {
		switch(cat) {
			case 'vbv':
				win_opts=dft_popup_param+",width=500,height=420";
				open('http://www.nextwarehouse.com/vbv_learn_more.htm',
					 'help', win_opts);
				break;
			case 'sc':
				win_opts=dft_popup_param+",width=580,height=360";
				open('http://www.mastercardbusiness.com/mcbiz/index.jsp?template=/orphans&content=securecodepopup',
					 'help', win_opts);
				break;
		}
	}
