Javascript works in FF, but not in IE

Hi There,

i have this bit of JS, and i have found it is not working in IE, but it is in Firefox!!!

var doc = document.forms[0];

var currentTime = new Date();

var Month = currentTime.getMonth() + 1;

var Day = currentTime.getDate();

var Year = currentTime.getFullYear();

var Hours = currentTime.getHours();

var Minutes = currentTime.getMinutes();

if (doc.Decision[0].checked == false && doc.Decision[1].checked == false && doc.Decision[2].checked == false && doc.Decision[3].checked == false)

{

alert("Decision needs to be filled out\nbefore Engineering is marked as Complete." );

return false;

}

if (doc.EngResolution.value == “”)

{

alert("Engineering Resolution needs to be filled out\nbefore Engineering is marked as Complete." );

return false;

}

if (doc.Decision[1].checked == true || doc.Decision[3].checked == true)

{

var comboBoxValue = doc.TechJust.options[doc.TechJust.selectedIndex].text

if(comboBoxValue == "<Choose Justification>"){

	alert("Technical Justification needs to be filled out\nbefore Engineering is marked as Complete." );

	doc.TechJust.focus();

	return false;

} //end if

} // end if

doc.EngComplete.value = “Yes”;

doc.TXLeadSigDate.value = Day + “/” + Month + “/” + Year + " " + Hours + “:” + Minutes;

checkSubmitted();

Can anyone help?

Thanks

F1H

Subject: Javascript works in FF, but not in IE

IE 7 has some issues with code on Domino < 6.5.6. That may be your problem (for example, DWA - calendars don’t display meetings etc on IE 7 but do on IE 6 and FireFox).