if (document.images) {
var img1on = new Image();
img1on.src = "http://www.e-maga.com/art/title2.gif";
var img1off = new Image();
img1off.src = "http://www.e-maga.com/art/title.gif";
}
function On(img1) { 
if (document.images) { 
document.images[img1].src = eval(img1 + 'on.src'); 
} 
}
function Off(img1) { 
if (document.images) { 
document.images[img1].src = eval(img1 + 'off.src'); 
} 
}

if (document.images) {
var img2on = new Image();
img2on.src = "http://www.e-maga.com/wp-content/themes/emagacom/images/seo2.gif";
var img2off = new Image();
img2off.src = "http://www.e-maga.com/wp-content/themes/emagacom/images/seo.gif";
}
function On(img2) { 
if (document.images) { 
document.images[img2].src = eval(img2 + 'on.src'); 
} 
}
function Off(img2) { 
if (document.images) { 
document.images[img2].src = eval(img2 + 'off.src'); 
} 
}

if (document.images) {
var img3on = new Image();
img3on.src = "http://www.e-maga.com/wp-content/themes/emagacom/images/menu-home.gif";
var img3off = new Image();
img3off.src = "http://www.e-maga.com/wp-content/themes/emagacom/images/menu-home1.gif";
}
function On(img3) { 
if (document.images) { 
document.images[img3].src = eval(img3 + 'on.src'); 
} 
}
function Off(img3) { 
if (document.images) { 
document.images[img3].src = eval(img3 + 'off.src'); 
} 
}

if (document.images) {
var img4on = new Image();
img4on.src = "http://www.e-maga.com/wp-content/themes/emagacom/images/menu-contact.gif";
var img4off = new Image();
img4off.src = "http://www.e-maga.com/wp-content/themes/emagacom/images/menu-contact1.gif";
}
function On(img4) { 
if (document.images) { 
document.images[img4].src = eval(img4 + 'on.src'); 
} 
}
function Off(img4) { 
if (document.images) { 
document.images[img4].src = eval(img4 + 'off.src'); 
} 
}


if (document.images) {
var img5on = new Image();
img5on.src = "http://www.e-maga.com/wp-content/themes/emagacom/images/menu-links.gif";
var img5off = new Image();
img5off.src = "http://www.e-maga.com/wp-content/themes/emagacom/images/menu-links1.gif";
}
function On(img5) { 
if (document.images) { 
document.images[img5].src = eval(img5 + 'on.src'); 
} 
}
function Off(img5) { 
if (document.images) { 
document.images[img5].src = eval(img5 + 'off.src'); 
} 
}
