I am writing the following code to create an excel sheet in classic asp. But this does not work. Can you help?

toggleSave("SAVE");
document.getElementById("iDownloadFile").src = "PCRVolumeReview_Excel.asp?CMLocation=" + arrBase[0] + "&BaseFyQTR=" + arrBase[1] + "&BaseQuote=" + arrBase[2] + "&ReviewFyQTR=" + arrReview[1] + "&ReviewQuote=" + arrReview[2];