if(document.images) { othersitesbuttonoff = new Image(); othersitesbuttonoff.src = "/assets/templateimages/button.othersites.gif"; othersitesbuttonover = new Image(); othersitesbuttonover.src = "/assets/templateimages/button.othersites-over.gif"; textsize1off = new Image(); textsize1off.src = "/assets/templateimages/button.textsize.big.1.gif"; textsize1over = new Image(); textsize1over.src = "/assets/templateimages/button.textsize.big.1-over.gif"; textsize1down = new Image(); textsize1down.src = "/assets/templateimages/button.textsize.big.1-down.gif"; textsize2off = new Image(); textsize2off.src = "/assets/templateimages/button.textsize.big.2.gif"; textsize2over = new Image(); textsize2over.src = "/assets/templateimages/button.textsize.big.2-over.gif"; textsize2down = new Image(); textsize2down.src = "/assets/templateimages/button.textsize.big.2-down.gif"; textsize3off = new Image(); textsize3off.src = "/assets/templateimages/button.textsize.big.3.gif"; textsize3over = new Image(); textsize3over.src = "/assets/templateimages/button.textsize.big.3-over.gif"; textsize3down = new Image(); textsize3down.src = "/assets/templateimages/button.textsize.big.3-down.gif"; textsize4off = new Image(); textsize4off.src = "/assets/templateimages/button.textsize.big.4.gif"; textsize4over = new Image(); textsize4over.src = "/assets/templateimages/button.textsize.big.4-over.gif"; textsize4down = new Image(); textsize4down.src = "/assets/templateimages/button.textsize.big.4-down.gif"; textsize5off = new Image(); textsize5off.src = "/assets/templateimages/button.textsize.big.5.gif"; textsize5over = new Image(); textsize5over.src = "/assets/templateimages/button.textsize.big.5-over.gif"; textsize5down = new Image(); textsize5down.src = "/assets/templateimages/button.textsize.big.5-down.gif"; textsize6off = new Image(); textsize6off.src = "/assets/templateimages/button.textsize.big.6.gif"; textsize6over = new Image(); textsize6over.src = "/assets/templateimages/button.textsize.big.6-over.gif"; textsize6down = new Image(); textsize6down.src = "/assets/templateimages/button.textsize.big.6-down.gif"; textsize7off = new Image(); textsize7off.src = "/assets/templateimages/button.textsize.big.7.gif"; textsize7over = new Image(); textsize7over.src = "/assets/templateimages/button.textsize.big.7-over.gif"; textsize7down = new Image(); textsize7down.src = "/assets/templateimages/button.textsize.big.7-down.gif"; textsize8off = new Image(); textsize8off.src = "/assets/templateimages/button.textsize.big.8.gif"; textsize8over = new Image(); textsize8over.src = "/assets/templateimages/button.textsize.big.8-over.gif"; textsize8down = new Image(); textsize8down.src = "/assets/templateimages/button.textsize.big.8-down.gif"; } function changeImages() { if (document.images) { for (var i=0; i