agent = navigator.userAgent;
browserVer = 2;
if (agent.substring(0,7) == "Mozilla"){if (parseInt(agent.substring(8,9)) >= 3){browserVer = 1;}}

if(browserVer == 1){
oneon = new Image(); 	oneoff = new Image();
twoon = new Image(); 	twooff = new Image();
threeon = new Image(); 	threeoff = new Image();
fouron = new Image(); 	fouroff = new Image();
fiveon = new Image(); 	fiveoff = new Image();
sixon = new Image(); 	sixoff = new Image();
sevenon = new Image(); 	sevenoff = new Image();
eighton = new Image(); 	eightoff = new Image();

aon = new Image(); 	aoff = new Image();
bon = new Image(); 	boff = new Image();
con = new Image(); 	coff = new Image();
don = new Image(); 	doff = new Image();
eon = new Image(); 	eoff = new Image();
fon = new Image(); 	foff = new Image();
gon = new Image(); 	goff = new Image();
hon = new Image(); 	hoff = new Image();
ion = new Image(); 	ioff = new Image();
kon = new Image(); 	koff = new Image();
lon = new Image(); 	loff = new Image();
mon = new Image(); 	moff = new Image();
non = new Image(); 	noff = new Image();
oon = new Image(); 	ooff = new Image();
pon = new Image(); 	poff = new Image();

oneon.src = "imgs/head_banner_on.gif";
oneoff.src = "imgs/head_banner_off.gif";
twoon.src = "imgs/side_ban_on.gif";
twooff.src = "imgs/side_ban_off.gif";
threeon.src = "imgs/body_banner_on.gif";
threeoff.src = "imgs/body_banner_off.gif";
fouron.src = "imgs/section_coll_on.gif";
fouroff.src = "imgs/section_coll_off.gif";
fiveon.src = "imgs/section_photos_on.gif";
fiveoff.src = "imgs/section_photos_off.gif";
sixon.src = "imgs/section_catalog_on.gif";
sixoff.src = "imgs/section_catalog_off.gif";
sevenon.src = "imgs/section_groups_on.gif";
sevenoff.src = "imgs/section_groups_off.gif";
eighton.src = "imgs/section_memb_on.gif";
eightoff.src = "imgs/section_memb_off.gif";


aon.src = "imgs/btn_home_on.gif";
aoff.src = "imgs/btn_home_off.gif";
bon.src = "imgs/btn_profile_on.gif";
boff.src = "imgs/btn_profile_off.gif";
con.src = "imgs/btn_group_on.gif";
coff.src = "imgs/btn_group_off.gif";
don.src = "imgs/btn_closet_on.gif";
doff.src = "imgs/btn_closet_off.gif";
eon.src = "imgs/btn_forum_on.gif";
eoff.src = "imgs/btn_forum_off.gif";
fon.src = "imgs/btn_snip_on.gif";
foff.src = "imgs/btn_snip_off.gif";
gon.src = "imgs/btn_catwalk_on.gif";
goff.src = "imgs/btn_catwalk_off.gif";
hon.src = "imgs/btn_search_on.gif";
hoff.src = "imgs/btn_search_off.gif";
ion.src = "imgs/btn_invite_on.gif";
ioff.src = "imgs/btn_invite_off.gif";
kon.src = "imgs/btn_help_on.gif";
koff.src = "imgs/btn_help_off.gif";
lon.src = "imgs/btn_photos_on.gif";
loff.src = "imgs/btn_photos_off.gif";
mon.src = "imgs/btn_bestfit_on.gif";
moff.src = "imgs/btn_bestfit_off.gif";
non.src = "imgs/btn_bemember_on.gif";
noff.src = "imgs/btn_bemember_off.gif";
oon.src = "imgs/btn_askadvisor_on.gif";
ooff.src = "imgs/btn_askadvisor_off.gif";
pon.src = "imgs/btn_makegroup_on.gif";
poff.src = "imgs/btn_makegroup_off.gif";

}

function press(imgName) {if (document.images)document[imgName].src = eval(imgName + 'on.src');}
function release(imgName) {if (document.images)document[imgName].src = eval(imgName + 'off.src');}
