This is the code:

<HTML>
<HEAD>

<script language="javascript" type="text/javascript">
function set_cookie(name,value,days)
{
if (days)
{
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else
{
expires = "";
}

document.cookie = name+"="+value+expires+"; path=/";
}

function get_cookie(cookie)
{
var cname = cookie + "=";
var i = 0;

while (i < document.cookie.length)
{
var j = i + cname.length;

if (document.cookie.substring(i, j) == cname)
{
var leng = document.cookie.indexOf (";", j);
if (leng == -1) leng = document.cookie.length;
return unescape(document.cookie.substring(j, leng));
}

i = document.cookie.indexOf(" ", i) + 1;

if (i == 0)
break;
}

return "";
}

function init_form_radio(control,value)
{
for (var i = 0; i < control.length; i++)
{
if (control[i].value == value)
{
control[i].checked = true;
break;
}
}
}

function main_settings_save()
{

if (!get_cookie('settings_own_background'))
{
set_cookie('settings_own_background', settings.own_background.value, 365);
set_cookie('settings_own_background_transparancy', '100', 365);
}
else
{
for (i=0; i < settings.own_background_delete.length; i++)
{
if (settings.own_background_delete[1].checked)
{
set_cookie('settings_own_background', '', 365);
set_cookie('settings_own_background_transparancy', '', 365);
}
}

if(settings.own_background_transparancy.value)
set_cookie('settings_own_background_transparancy', settings.own_background_transparancy.value, 365);
}

location.reload();
}
</script>

</HEAD>
<BODY>

<script language="javascript" type="text/javascript">
if (get_cookie('settings_own_background'))
{
document.write('<img width="236" src="'+get_cookie('settings_own_background')+'" style="filter:Alpha(Opacity='+get_cookie('settings_own_background_transparancy')+', Style=0)">');
}
</script>

<!-- START OF OUTPUT -->

<FORM name=settings>
<TABLE>
<script language="javascript" type="text/javascript">
if (!get_cookie('settings_own_background'))
{
document.write('<tr>');
document.write(' <td>Choose picture:<br></td>');
document.write('</tr>');
document.write('<tr>');
document.write(' <td><input type="file" name="own_background" size="15"></td>');
document.write('</tr>');
}
else
{
document.write('<tr>');
document.write(' <td>Delete:<br></td>');
document.write('</tr>');
document.write('<tr>');
document.write(' <td><input type="radio" name="own_background_delete" value="0" checked>No</td>');
document.write('</tr>');
document.write('<tr>');
document.write(' <td><input type="radio" name="own_background_delete" value="1">Yes<br></td>');
document.write('</tr>');
document.write('<tr>');
document.write(' <td></td>');
document.write('</tr>');
document.write('<tr>');
document.write(' <td>Transparancy:<br></td>');
document.write('</tr>');
document.write('<tr>');
document.write(' <td><input type="text" name="own_background_transparancy" size="3" maxlength="3" value="'+get_cookie('settings_own_background_transparancy')+'"> %</td>');
document.write('</tr>');
}
</SCRIPT>
</TABLE>
<INPUT onclick=main_settings_save(); type=button value="Submit">
</FORM>

<!-- END OF OUTPUT -->

</BODY>
</HTML>

I would appriciate it very much if anyone can help!