The previous, anonymous post would be correct, assuming you have the ability to write server-side code in something (PHP,ASP,ASP.NET,etc); however, given your example, I assumed that you don't have that capability, and are limited to JavaScript. It might be feasible to do something with a Java Applet, but of course, that only works for users of your site with Java Runtime Environment installed. What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.