Windows 7 Gadget Spectrum Analyzer

I’m new to programming language and I just join here. I want to make 16 band spectrum analyzer gadget on windows 7, and I just found similar code in every spectrum analyzer gadget from various sources… the problem is each bar uses the same source of image, that is bar1.png… I want each bar uses different source of image like bar1.png for first bar, bar2.png for second bar, etc… can you please help me modify this code, so that each bar uses different source of image? Note: I don’t know anything about coding, complete newbie… but I want to learn… I can understand few codes people use but I can not yet create my own full code…, please help me… this is the code that I found :

// EQ band itself divGraph.innerHTML += "<div id='divEQpeak" + j + "' style='overflow:hidden; width:" + barWidth + "px; top:" + yPos + "px; " + "left:" + xPos + "px;'>" + "<img id='imgEQpeak" + j + "' src='" + skinPath + "/peak.png' /></div>"; // each peak hold divGraph.innerHTML += "<div id='divEQband" + j + "' style='overflow:hidden; width:" + barWidth + "px; top:" + yPos + "px; " + "left:" + xPos + "px;'>" + "<img id='imgEQband" + j + "' src='" + skinPath + "/bar1.png' /></div>";