Hi, this script creates the menu and sub-menus and links them to another page. but it open the links in a new window how to change it to open link in the current window?

Code:
//Create main menu
var menu = new menuObject("menu",pageWidth/2,pageHeight/2,"Gallery",pageHeight/2);
menu.startAngle = -90;

//show menu and caption
menu.show();
menu.showCaption();

//Add submenus
menu.addItem("Personal","window.open('/personal')")
menu.addItem("Friends","toggle");
menu.addItem("Others","toggle");
menu.addItem("Outings","toggle");
menu.addItem("Family","toggle");

menu.subMenus[1].addItem("Friend1","window.open('/script/script22.asp')");
menu.subMenus[1].addItem("Friend2","window.open('/script/script17.asp')");
menu.subMenus[1].addItem("Friend3","window.open('/script/script16.asp')");
menu.subMenus[1].addItem("Friend4","window.open('/script/script15.asp')");