
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){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
	}



function InitImages(szImagePath)
{
	if (document.images)
           {
		 
             menu1on= new Image(60,27);
             menu1on.src=szImagePath+"home01.gif";  

             menu1off= new Image(60,27);
             menu1off.src=szImagePath+"home02.gif";
             
             menu2on= new Image(53,27);
             menu2on.src=szImagePath+"news01.gif";  

             menu2off= new Image(53,27);
             menu2off.src=szImagePath+"news02.gif";
             
             menu3on= new Image(91,27);
             menu3on.src=szImagePath+"about01.gif";  

             menu3off= new Image(91,27);
             menu3off.src=szImagePath+"about02.gif";
             
             menu4on= new Image(74,27);
             menu4on.src=szImagePath+"edenites01.gif";  

             menu4off= new Image(74,27);
             menu4off.src=szImagePath+"edenites02.gif";
             
             menu5on= new Image(87,27);
             menu5on.src=szImagePath+"expelled01.gif";  

             menu5off= new Image(87,27);
             menu5off.src=szImagePath+"expelled02.gif";
		 
		 menu6on= new Image(69,27);
             menu6on.src=szImagePath+"forum01.gif";  

             menu6off= new Image(69,27);
             menu6off.src=szImagePath+"forum02.gif";
		 
		 menu7on= new Image(49,27);
             menu7on.src=szImagePath+"voting01.gif";  

             menu7off= new Image(49,27);
             menu7off.src=szImagePath+"voting02.gif";
		 
		 menu8on= new Image(58,27);
             menu8on.src=szImagePath+"apply01.gif";  

             menu8off= new Image(58,27);
             menu8off.src=szImagePath+"apply02.gif";
		 
		 menu9on= new Image(65,27);
             menu9on.src=szImagePath+"back01.gif";  

             menu9off= new Image(65,27);
             menu9off.src=szImagePath+"back02.gif";
		 
		 menu10on= new Image(65,27);
             menu10on.src=szImagePath+"back01.gif";  

             menu10off= new Image(65,27);
             menu10off.src=szImagePath+"back02.gif";
		 
		 
             lftvoteon= new Image(165,60);
             lftvoteon.src=szImagePath+"lftvote02.gif";	
		 
	       lftvoteoff= new Image(165,60);
             lftvoteoff.src=szImagePath+"lftvote01.gif";		 
		 
           }
	     
}

        function changeImages() {
                                  if (document.images) {
                                    for (var i=0; i<changeImages.arguments.length; i+=2) {
                                      document[changeImages.arguments[i]].src =
                               eval(changeImages.arguments[i+1] + ".src");
                                    }
                                  }
                               }
