// Called when user clicks the 'Personal strategy' link. 
// It opens strategy.html and resizes and moves the main window so that both can be seen simultanouesly
function newwin(main_window)
{
  var hgt = screen.availHeight;
	var wth = screen.availWidth;
  main_window.resizeTo(790, hgt);
	main_window.moveTo((wth - 790),0);
  window.open("strategy.html", "personal_strategy", "height=" + (hgt - 80) + ",width=435,menubar=yes,scrollbars=yes,resizable=yes,left=0,top=0");
	window.name
}

// called when user clicks a menu in the strategy page
function inparent(page)
{
  //strategy_window.parent.location=page;
	self.opener.location=page;
}