var chrPARAM0; // prevents error in version detection
if (chrPARAM0==null) { // A version was released that did not need Parameters. That version is grandfather in here.
var chrMONTHSARRAY = new Array(1,2,3,6,12,24,36);
// Begin grandfathered version with no parameters;
document.write('
');
}
else { //Begin new version with parameters;
var chrMONTHSARRAY = new Array(6,12,36,60);
document.write(' |
| | | ');
document.write('');
document.write(' | | | |
|
');
}
function chrCHANGEDISPLAY(){
document.images.chrDISPLAY.src = "http://charts.stockmaster.com/cgi-bin/c?ad=geocities-gadgetview&w=200&h=200&v=0&t=l&m=" + chrMONTHSARRAY[document.chrINPUT.chrDIR.selectedIndex] + "&s=" + document.chrINPUT.chrSYMBOLS.value;
}