if (chkdiv('links')) {links.innerHTML='\n';}