<SCRIPT LANGUAGE="JavaScript">
function openform(value,id)
{
OpenWindow=window.open("", "newwin", "height=250, width=400,toolbar=no,scrollbars="+scroll+",menubar=no");
OpenWindow.document.write("<TITLE>Update Gallerie</TITLE>")
OpenWindow.document.write("<BODY BGCOLOR='#990033' >")
OpenWindow.document.write("<form method='post' action='update_gallerie.php' enctype='multipart/form-data'>")
OpenWindow.document.write("<table cellpading='2' cellspacing='1'>")
OpenWindow.document.write("<tr><td><font color='#ffffff'>Gallerie URL :</td><td><input type='text' name='' value='"+value+"'></td></tr>")
OpenWindow.document.write("<tr><td><font color='#ffffff'>Gallerie Thumb : </td><td><input type='file' name='upload'></td></tr>")
OpenWindow.document.write("<input type='hidden' name='id' value='"+id+"'>")
OpenWindow.document.write("<tr><td colspan=2 height='50' align=right valign='bottom'><input type='submit' name='submit' value='Update'></td></tr> ")
OpenWindow.document.write("</table>")
OpenWindow.document.write("</form>")
OpenWindow.document.write("</BODY>")
OpenWindow.document.write("</HTML>")
OpenWindow.document.close()
self.name="main"
}
</SCRIPT>