// This code opens the requested page in the original frameset
// instead of stand-alone document when directly linked (like search engine...)
/*var master_frame = 'index.html'
if (top.document == self.document)
{
	window.location = master_frame +'?'+ window.location.pathname;
}
*/

// This code will update the panel in the current active link
// (needed in case of pressing the BACK & FORWARD buttons

function updatePanel (catNum)
{
  if (top.document != self.document)
  {
	  parent.frames.panel.updateThePanel (catNum);
	}
}