Index: /branches/dev/data/Smarty/templates/admin/products/product.tpl
===================================================================
--- /branches/dev/data/Smarty/templates/admin/products/product.tpl	(revision 11995)
+++ /branches/dev/data/Smarty/templates/admin/products/product.tpl	(revision 11996)
@@ -9,5 +9,10 @@
 // URL¤ÎÉ½¼¨ÈóÉ½¼¨ÀÚ¤êÂØ¤¨
 function lfDispSwitch(id){
-	document.getElementById('sub_detail').style.display = '';
+	var obj = document.getElementById(id);
+	if (obj.style.display == 'none') {
+		obj.style.display = '';
+	} else {
+		obj.style.display = 'none';		
+	}
 }
 </script>
