Geturl link breaks

Hey,
I have to put a link together that if clicked goes to a specific url.
however after in a live enviorment it breaks.
Where clickTAg gathers the beginning url outside via javascript:
for example
http://www.school.edu/?s=123456
I ahve it so the year gets calculated live, but i also tried it for test purposes to just declare the year in a quick varibale, neither seems to matter or have an impact.
I tried & and %26 but it dosent matter.
I have tried various things looks below

on (release) {
if (y==1) {
link=_root.clickTAG;
trace (link);
getURL(link,"_blank");
}
else if (y==2) {
var year = 1997;
var link=_root.clickTAG + “&gradyear=” + container.optionlist.year1;
trace (link);
getURL(link,"_blank");
}
else if (y==3) {
var year = 1987;
var link=_root.clickTAG+"%26gradyear="+container.optio nlist.year2;
trace (link);
getURL(link,"_blank");
}
else if (y==4) {
var year = 1977;
var link=clickTAG+"&gradyear="+year;
trace (link);
getURL(link,"_blank");
}
else if (y==5) {
var year = 1967;
var link=clickTAG+"%26gradyear="+year;
trace (link);
getURL(link,"_blank");
}
else if (y==6) {
var year = 1957;
var link=clickTAG+“gradyear=”+container.optionlist.yea r5;
getURL(link,"_blank");
}

when i test this locally it works fine;
however as i said in a live enviorment it only gives me the link it gathers from the outside: and dosent add what else i have declared in the variable.

please help!
i have been working on this for 3 days, im about to break the keyboard lol

best,
v:hair: