function preloadImg(srcFileName, srcFileExt) {
this.normal = new Image();
this.normal.src = srcFileName + "." + srcFileExt;
this.over = new Image();
this.over.src = srcFileName + "_hi." + srcFileExt;
}
if (document.images) {
var arrImgs = new Array();
arrImgs["msg_about"] = new preloadImg("gfx/msg_about","gif");
arrImgs["msg_order"] = new preloadImg("gfx/msg_order","gif");
arrImgs["msg_sotr"] = new preloadImg("gfx/msg_sotr","gif");
arrImgs["msg_eng"] = new preloadImg("gfx/msg_eng","gif");
arrImgs["msg_special"] = new preloadImg("gfx/msg_special","gif");

arrImgs["msg_usl"] = new preloadImg("images/msg_usl","gif");
arrImgs["msg_faq"] = new preloadImg("images/msg_faq","gif");
arrImgs["msg_leg"] = new preloadImg("images/msg_leg","gif");
arrImgs["msg_forum"] = new preloadImg("images/msg_forum","gif");
arrImgs["msg_contact"] = new preloadImg("images/msg_contact","gif");
arrImgs["msg_links"] = new preloadImg("images/msg_links","gif");
arrImgs["msg_inf"] = new preloadImg("images/msg_inf","gif");

}
function over(elemName) {
if (document.images && arrImgs[elemName]) document.images[elemName].src = arrImgs[elemName].over.src;
}
function out(elemName) {
if (document.images && arrImgs[elemName]) document.images[elemName].src = arrImgs[elemName].normal.src;
}
