

var numOfBars= 15;
function SetNavLeft(V_on_name)
 { 

var vimgnum;
//var imgV_path - "/images/toolbox/";
var top_directory="/toolbox/"

baseArray = new Array(numOfBars) ;// create global baseArray to store images
baseArray[0]="overview";
baseArray[1]="target";
baseArray[2]="sequence";
baseArray[3]="proteinStructure";
baseArray[4]="microarrayon";
baseArray[5]="epd";
baseArray[6]="literature";
baseArray[7]="software";
baseArray[8]="links_m";
baseArray[9]="highThroughput";
baseArray[10]="tool";
baseArray[11]="downloads";
baseArray[12]="weizmann";
baseArray[13]="links";
baseArray[14]="totm"// Alt tags

altArray = new Array(numOfBars) ;// create global barArray to store alt tags

altArray[0]="Overview";
altArray[1]="Sequence Analysis by Target";
altArray[2]="Sequence Analysis";
altArray[3]="proteinStructure";
altArray[4]="Microarray";
altArray[5]="Expression Public Data";
altArray[6]="Literature";
altArray[7]="Software";
altArray[8]="Links";
altArray[9]="High Throughput Sequence";
altArray[10]="Tool Development";
altArray[11]="Downloads";
altArray[12]="Made in Weizmann";
altArray[13]="Links";
altArray[14]="Tool of the Month";
 
for(i=0; i<=baseArray.length-1; i++){
if (baseArray[i]==V_on_name) {
vimgnum=i;
break;
}
}

  // alert("got " + V_on_name + " found " + vimgnum);

barArray = new Array(baseArray.length);
for(j=0; j<=baseArray.length-1; j++){
if(j!= vimgnum)
barArray[j] ='"'+ imgV_path + baseArray[j]+"1"+ imgExt +'"'+'alt='+ '"'+ altArray[j] +'"' +' border="0"';
else
barArray[j] ='"'+ imgV_path + baseArray[j]+"3"+ imgExt +'"'+'alt='+ '"'+ altArray[j] +'"' +' border="0"';
} 


// var buff; for(j=0; j<=baseArray.length-1; j++){ buff = buff + "\n" + barArray[j]; } alert(buff);
  
	 //ref
 refArray = new Array(numOfBars) ;// create global barArray to store images


refArray[0]=top_directory + "overview.html";
refArray[1]=top_directory + "target/target.html";
refArray[2]=top_directory + "seq_analysis/sequence.html";
refArray[3]=top_directory + "structure/structure.html";
refArray[4]=top_directory + "microarray/microarray.html";
refArray[5]=top_directory + "microarray/epd.html";
refArray[6]=top_directory + "microarray/literature.html";
refArray[7]=top_directory + "microarray/software.html";
refArray[8]=top_directory + "microarray/links_m.html";
refArray[9]=top_directory + "highThroughput/highThroughput.html";
refArray[10]=top_directory + "tool_dev/tool.html";
refArray[11]=top_directory + "downloads/downloads.html";
refArray[12]=top_directory + "miw/weizmann.html";
refArray[13]=top_directory + "links/portal.html";
refArray[14]=top_directory + "totm/totm.html";
 }	


 

