+ function visible_from_store_html() {
+ $id=$this->id;
+ $html = "";
+ $html .= "<script type='text/javascript'>";
+ // javascript code can't take -
+ // $idj=str_replace('-','_',$id);
+ // $html .= "function init_$idj () { plekit_toggle_from_store('$id');}";
+ // $html .= "Event.observe(window,'load',init_$idj);";
+ $html .= "plekit_toggle_from_store('$id');";
+ $html .= "</script>";
+ return $html;
+ }