var session_id = "{SESSION_ID}"; var extra_params = "&type=extrafields"; btn = addbutton("Add Extra Field");
// the url to go when the button is clicked on // the id given to the function on addbtn() is appended to the end main_url = "{WWW_DIR}settings/settings_main.php?session_id={SESSION_ID}&xfield_id=" loader_url = "{WWW_DIR}settings/settings_loader.php?session_id={SESSION_ID}&xfield_id=";