debug. flaw. will not actually selected already selected
debug. flaw fixed. Used onmouseout to call store_pic()
template