how do i get the variable at the end of a URL so i can use it?

script.html?srcPic=001.jpg

HOW i get the 001.jpg?

so can use it as the src image?

I pass the variable to the end ok i think

THANKS,