amalgamating two programs

http://pastebin.com/RVAzFiQZ

above I have managed to modify a code for an 8led chaser in one direction only with speed control via a pot. which for my first attempt I am quite proud. but I have only used 8 outputs and I have designed a circuit for a single fading led which I would like to incorporate into the program but I don't know how. can anyone help. link to main program is above.

Welcome! How do you want the single fading led to function in this 8-led chaser?

The simple minded way is here:- http://www.thebox.myzen.co.uk/Tutorial/Merging_Code.html

for a single fading led which I would like to incorporate into the program but I don't know how

This is more complex and you will have to use the concept of a state machine. One example is given in the blink without delay example in the IDE.

An other is show here:- http://www.thebox.myzen.co.uk/Tutorial/State_Machine.html

Forget using delay() to time the LEDs.

Start with, as suggested, Blink Without Delay in the examples that came with the Arduino IDE, and read here: http://forum.arduino.cc/index.php?topic=223286.0

link to main program is above.

Dumping your code in the rubbish bin is not the way to make it available to us to read. There is a link below, Additional options..., that lets you attach your code here.