I'm very new to Javascript. I've been trying to do this for some time now. And i've been hacking my brains out.

HTML Code:
<a href="javascript:var inputone = "http://www.freewebs.com/vanashajokes/FMA%20Vids.html" + "#E" + prompt("Which episode do you wish to watch?","1");window.location = inputone;">GoTo Episode</a>



The link is there. But the actual link chops off most of the code.
You can visit the website Here
Warning: The website does lag quite a bit, it has 49 embed videos on it.
Thank you, all.