script update

it's a list of link, when you click on an item it refresh to the right
page, BUT ONLY THE FIRST TIME. then it is able to get only from input...