function MM_preloadImages()
{
	var d=document;
	if(d.images)
	{
		if(!d.MM_p)
			d.MM_p=new Array();
		var i,j=d.MM_p.length,a=MM_preloadImages.arguments; 
		for(i=0; i<a.length; i++)
    		if (a[i].indexOf("#")!=0)
			{
				//alert(a[i])
				d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];
			}
	}
}

function home_ev(menu, MouseOn)
{
	switch (menu)
	{
	case 1:
		if (MouseOn == 0)
			document.all.img_m1.src="imgs/menu1_off.png";
		else
			document.all.img_m1.src="imgs/menu1_on.png";
		break;
	case 2:
		if (MouseOn == 0)
			document.all.img_m2.src="imgs/menu2_off.png";
		else
			document.all.img_m2.src="imgs/menu2_on.png";
		break;
	case 3:
		if (MouseOn == 0)
			document.all.img_m3.src="imgs/menu3_off.png";
		else
			document.all.img_m3.src="imgs/menu3_on.png";
		break;
	case 4:
		if (MouseOn == 0)
			document.all.img_m4.src="imgs/menu4_off.png";
		else
			document.all.img_m4.src="imgs/menu4_on.png";
		break;
	case 5:
		if (MouseOn == 0)
			document.all.img_m5.src="imgs/menu5_off.png";
		else
			document.all.img_m5.src="imgs/menu5_on.png";
		break;
	case 6:
		if (MouseOn == 0)
			document.all.img_m6.src="imgs/menu_mail.png";
		else
			document.all.img_m6.src="imgs/menu_mail.png";
		break;
	}	
}
