You have to set the id of the div to "linkup" for the script to work (you only set the class name). So add the following line to option 1 and to 2: newdiv.id = "linkup"; /Marcus