linknames = 'linkname_'+i;
var linknames = [ 'bla-bla', 'blu-blu', 'qwerty' ]; alert(linknames[0]);
document.write(linknames[1]);