I am not sure exactly what you're talking about, but I owned a doll site once. Feel free to steal codes from
http://www.geocities.com/x_mistermaster_x/home.html the makers there if you want.
You don't have to worry about crediting since the site is dead xD