var helpClosed = new Image;
var helpOpened = new Image;

helpOpened.src = 'Templates/20/Images/QuestionE.gif';
helpClosed.src = 'Templates/20/Images/Question.gif';

function helpLight(status){
	if(!document.all)
		return
	if (status)
		document.all[event.srcElement.sourceIndex].src = helpOpened.src;		
	else
		document.all[event.srcElement.sourceIndex].src = helpClosed.src;		
}

var wHelp;

function PickHelp(sUrl) 
{	
	try
	{
		if (wHelp.opener) 
		{
			wHelp.focus();
			return true;
		}
	}
	catch(e) 
	{}
	
	var strUrl;
	var iWidth=210;
	var iHeight=480;
	
	iWidth = parseInt(screen.width / 3);	
	iHeight = screen.height - 58;		
	strUrl = "templates/20/help/" + escape(sUrl) + '20.html';
	wHelp = window.open(strUrl, 'help', 'top=0 left='+ ((iWidth * 2) - 10) +' width='+iWidth+' height='+iHeight+' border=thin center=yes scrollbars=yes',false);
		
	if (wHelp != null && wHelp != '') 
	{
		if (wHelp.opener==null) { wHelp.opener=self; }
	}
}


