--- includes/kaltura.themeing.inc	Wed Jan 14 14:46:17 2009
+++ includes/kaltura.themeing.inc	Wed Jan 14 17:43:03 2009
@@ -487 +487,2 @@
-    $fix_subject = '      if (window.top.document.getElementById("edit-subject").value == "") ';
+    $fix_subject = '      if(window.top.document.getElementById("edit-subject")) {';
+    $fix_subject .= '      if (window.top.document.getElementById("edit-subject").value == "") ';
@@ -488,0 +490 @@
+    $fix_subject .= ' }';
