herna er smá sem eg fær ekki að virka sooo getur einhver að hjálpa mer


//
var dateStr;
function clock()
{
dateStr=“”; //here put path to the month dir
now= new Date();
// дата
date= now.getDate();
month= now.getMonth()+1;// add +1, becouse month count from 0 to 11
year= now.getYear();//year
switch (month){ //define month
case 1 : dateStr+=“janvar”; // Month
break;
case 2 : dateStr+=“fevral”;
break;
case 3 : dateStr+=“mart”;
break;
case 4 : dateStr+=“aprel”;
break;
case 5 : dateStr+=“mai”;
break;
case 6 : dateStr+=“iun”;
break;
case 7 : dateStr+=“iul”;
break;
case 8 : dateStr+=“avgust”;
break;
case 9 : dateStr+=“sentabr”;
break;
case 10 : dateStr+=“oktabr”;
break;
case 11 : dateStr+=“noabr”;
break;
case 12 : dateStr+=“dekabr”;
break;

}

switch (year)
{
case 2003 : dateStr+=“03”;
break;
case 2004 : dateStr+=“04”;
break;
default: //ef not 2003 or 2004
dateStr=“”+“error.htm” // файл находится в корневом каталоге
return dateStr
document.writeln(clock());//вывод имени файла для подкачки
return;
break;

}
dateStr+=“” ; //add symbol to dateStr \\\\\\\\\\\\\\\\ В кавычках стоят два символа \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ первый является служебным и не инерпритируется
dateStr+=(( date < 10) ? “0” : “”) + date;
dateStr+=((month < 10) ? “-0” : “-”) + month;//modificate to view: xx-xx-xxxx
dateStr+= “-0” + (year-2000);
// return document.clock.date.value = dateStr; //return date
dateStr+= “.htm”; // file name will be xx-xx-xx.htm
return dateStr;//return file name xx-xx-xx.htm
Timer= setTimeout(“clock()”,1000);
}

//



Sko eg er með skrásafn : c:\\\\\\\\\\\\\\\\website\\\\\\\\\\\\\\\\prihod\\\\\\\\\\\\\\\\…. og her eru mánaðar i hverju mánaðar möppu eru htm fælar sem berja frá t.d 01-02-04.htm til 29-02-04.htm

getur einhver að benda mer á mistok !!!