rem: cookie = mqgetCookie(); values = new Array(); newval = new Array(); add    = 1;  if(cookie) { values = cookie.split(','); for(var i = 0; i < values.length; i++) { if(values[i] == id) { add = 0; } else { newval[newval.length] = values[i]; } } } if(add) { newval[newval.length] = id; img.src = mq_img_on; } else { img.src = mq_img_off; }  mqmakeCookie(newval.join(',')); return false; 
add: link = FetchElement('mq_'+id+'_link'); cookie = mqgetCookie(); values = new Array(); newval = new Array(); add	   = 1;  if(cookie) { values = cookie.split(','); for(var i = 0; i < values.length; i++) { if(values[i] == id) { add = 0; } else { newval[newval.length] = values[i]; } } } if(add) { newval[newval.length] = id; img.src = mq_img_on; link.innerHTML = lng['js_quote_multi_2']; } else { img.src = mq_img_off; link.innerHTML = lng['js_quote_multi']; }  mqmakeCookie(newval.join(',')); 
context: function multiquote(id) {	img = FetchElement('mq_'+id);    cookie = mqgetCookie();    values = new Array();    newval = new Array();    add    = 1;        if(cookie) {        values = cookie.split(',');        for(var i = 0; i < values.length; i++) {            if(values[i] == id) {                 add = 0;            }            else {                newval[newval.length] = values[i];            }        }    }    if(add) {        newval[newval.length] = id;        img.src = mq_img_on;    }    else {        img.src = mq_img_off;    }        mqmakeCookie(newval.join(','));    return false;}
meta: 9569	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9569/fff2f308282fe247393de3bb4ce3a016b2a3a28e/global.js/buggy/viscacha/templates/global.js