drawing lines in osm

i am trying to mark my network cables in osm running along different roads in a map.
i need different colors for each line i draw and also different pixels for the lines.
i also need one information window to open when i click on the line withmore details.
please help me if these things are possible.

First, be aware that the OpenStreetMap database only contains pure raw geodata. There are several ways how to display (how to render) that data.

So have a general look at http://help.openstreetmap.org and do a search there for keywords like “render own maps” or “own map style” … there are already some issues where other OSM users have asked questions similar to yours.

Come back here if you find an example or a map style that comes near your aim and if you need help in detail.

Also browse the OSM wiki about “Rendering”