ar1_on=new Image(11,11);
ar1_on.src="images/arrow/ar1_o.gif";
ar1_off=new Image(11,11);
ar1_off.src="images/arrow/ar1.gif";

ar2_on=new Image(11,11);
ar2_on.src="images/arrow/ar2_o.gif";
ar2_off=new Image(11,11);
ar2_off.src="images/arrow/ar2.gif";


m21_on=new Image(200,37);
m21_on.src="images/m21_o.gif";
m21_off=new Image(200,37);
m21_off.src="images/m21.gif";

m22_on=new Image(200,36);
m22_on.src="images/m22_o.gif";
m22_off=new Image(200,36);
m22_off.src="images/m22.gif";

m23_on=new Image(200,36);
m23_on.src="images/m23_o.gif";
m23_off=new Image(200,36);
m23_off.src="images/m23.gif";

m24_on=new Image(200,36);
m24_on.src="images/m24_o.gif";
m24_off=new Image(200,36);
m24_off.src="images/m24.gif";

m25_on=new Image(200,36);
m25_on.src="images/m25_o.gif";
m25_off=new Image(200,36);
m25_off.src="images/m25.gif";

m26_on=new Image(200,37);
m26_on.src="images/m26_o.gif";
m26_off=new Image(200,37);
m26_off.src="images/m26.gif";

m21p_on=new Image(200,30);
m21p_on.src="images/pages/m21_o.gif";
m21p_off=new Image(200,30);
m21p_off.src="images/pages/m21.gif";

m22p_on=new Image(200,29);
m22p_on.src="images/pages/m22_o.gif";
m22p_off=new Image(200,29);
m22p_off.src="images/pages/m22.gif";

m23p_on=new Image(200,29);
m23p_on.src="images/pages/m23_o.gif";
m23p_off=new Image(200,29);
m23p_off.src="images/pages/m23.gif";

m24p_on=new Image(200,29);
m24p_on.src="images/pages/m24_o.gif";
m24p_off=new Image(200,29);
m24p_off.src="images/pages/m24.gif";

m25p_on=new Image(200,29);
m25p_on.src="images/pages/m25_o.gif";
m25p_off=new Image(200,29);
m25p_off.src="images/pages/m25.gif";

m26p_on=new Image(200,30);
m26p_on.src="images/pages/m26_o.gif";
m26p_off=new Image(200,30);
m26p_off.src="images/pages/m26.gif";

m31_on=new Image(53,28);
m31_on.src="images/m31_o.gif";
m31_off=new Image(53,28);
m31_off.src="images/m31.gif";

m32_on=new Image(115,28);
m32_on.src="images/m32_o.gif";
m32_off=new Image(115,28);
m32_off.src="images/m32.gif";

m33_on=new Image(76,28);
m33_on.src="images/m33_o.gif";
m33_off=new Image(76,28);
m33_off.src="images/m33.gif";

m34_on=new Image(59,28);
m34_on.src="images/m34_o.gif";
m34_off=new Image(59,28);
m34_off.src="images/m34.gif";

m35_on=new Image(83,28);
m35_on.src="images/m35_o.gif";
m35_off=new Image(83,28);
m35_off.src="images/m35.gif";

// ------- buttons under PHOTO ------
m41_on=new Image(73,28);
m41_on.src="images/m41_o.gif";
m41_off=new Image(73,28);
m41_off.src="images/m41.gif";

m42_on=new Image(153,28);
m42_on.src="images/m42_o.gif";
m42_off=new Image(153,28);
m42_off.src="images/m42.gif";

m43_on=new Image(95,28);
m43_on.src="images/m43_o.gif";
m43_off=new Image(95,28);
m43_off.src="images/m43.gif";

m44_on=new Image(133,28);
m44_on.src="images/m44_o.gif";
m44_off=new Image(133,28);
m44_off.src="images/m44.gif";

m45_on=new Image(71,28);
m45_on.src="images/m45_o.gif";
m45_off=new Image(71,28);
m45_off.src="images/m45.gif";

m46_on=new Image(68,28);
m46_on.src="images/m46_o.gif";
m46_off=new Image(68,28);
m46_off.src="images/m46.gif";

// ------- buttons left menu ------
m51_on=new Image(200,37);
m51_on.src="images/pages/m51_o.gif";
m51_off=new Image(200,37);
m51_off.src="images/pages/m51.gif";

m52_on=new Image(200,37);
m52_on.src="images/pages/m52_o.gif";
m52_off=new Image(200,37);
m52_off.src="images/pages/m52.gif";

m53_on=new Image(200,37);
m53_on.src="images/pages/m53_o.gif";
m53_off=new Image(200,37);
m53_off.src="images/pages/m53.gif";

m54_on=new Image(200,37);
m54_on.src="images/pages/m54_o.gif";
m54_off=new Image(200,37);
m54_off.src="images/pages/m54.gif";

m61_on=new Image(200,37);
m61_on.src="images/pages/m61_o.gif";
m61_off=new Image(200,37);
m61_off.src="images/pages/m61.gif";

m62_on=new Image(200,37);
m62_on.src="images/pages/m62_o.gif";
m62_off=new Image(200,37);
m62_off.src="images/pages/m62.gif";

m63_on=new Image(200,37);
m63_on.src="images/pages/m63_o.gif";
m63_off=new Image(200,37);
m63_off.src="images/pages/m63.gif";

m64_on=new Image(200,37);
m64_on.src="images/pages/m64_o.gif";
m64_off=new Image(200,37);
m64_off.src="images/pages/m64.gif";

m65_on=new Image(200,37);
m65_on.src="images/pages/m65_o.gif";
m65_off=new Image(200,37);
m65_off.src="images/pages/m65.gif";

m66_on=new Image(200,37);
m66_on.src="images/pages/m66_o.gif";
m66_off=new Image(200,37);
m66_off.src="images/pages/m66.gif";

m67_on=new Image(200,37);
m67_on.src="images/pages/m67_o.gif";
m67_off=new Image(200,37);
m67_off.src="images/pages/m67.gif";

m68_on=new Image(200,37);
m68_on.src="images/pages/m68_o.gif";
m68_off=new Image(200,37);
m68_off.src="images/pages/m68.gif";

m69_on=new Image(200,37);
m69_on.src="images/pages/m69_o.gif";
m69_off=new Image(200,37);
m69_off.src="images/pages/m69.gif";

m70_on=new Image(200,37);
m70_on.src="images/pages/m70_o.gif";
m70_off=new Image(200,37);
m70_off.src="images/pages/m70.gif";

m71_on=new Image(200,37);
m71_on.src="images/pages/m71_o.gif";
m71_off=new Image(200,37);
m71_off.src="images/pages/m71.gif";

m72_on=new Image(200,37);
m72_on.src="images/pages/m72_o.gif";
m72_off=new Image(200,37);
m72_off.src="images/pages/m72.gif";

m73_on=new Image(200,37);
m73_on.src="images/pages/m73_o.gif";
m73_off=new Image(200,37);
m73_off.src="images/pages/m73.gif";

m81_on=new Image(200,37);
m81_on.src="images/pages/m81_o.gif";
m81_off=new Image(200,37);
m81_off.src="images/pages/m81.gif";

m82_on=new Image(200,37);
m82_on.src="images/pages/m82_o.gif";
m82_off=new Image(200,37);
m82_off.src="images/pages/m82.gif";

m83_on=new Image(200,37);
m83_on.src="images/pages/m83_o.gif";
m83_off=new Image(200,37);
m83_off.src="images/pages/m83.gif";

m84_on=new Image(200,37);
m84_on.src="images/pages/m84_o.gif";
m84_off=new Image(200,37);
m84_off.src="images/pages/m84.gif";


function on(a) { document.images[a].src = eval(a + '_on.src') }
function off(a) { document.images[a].src = eval(a + '_off.src') }

IE = navigator.appName=="Microsoft Internet Explorer";
NS = navigator.appName=="Netscape";
bVer = parseInt(navigator.appVersion);
var newWin=null;

function PopUp(loc_ie, loc_ns, name, width, height) {
    var _params = "width="+width+",height="+height+",status=yes,scrollbars=yes";
	
    // JSCRIPT 1.2
    if (bVer >= 4) {
	_left = ( (screen.width-width) >>1 );
	_top = ( (screen.height-height) >>1 );
    } else {
	_left = ( (800-width) >>1 );
        _top = ( (600-height) >>1 );
    }
										    
    if (IE) _params += ",top=" + _top + ",left=" + _left;
    else if (NS) _params += ",screenX=" + _left + ",screenY=" + _top;
    
    if (IE) newWin = window.open(loc_ie, name, _params);
    else if (NS) newWin = window.open(loc_ns, name, _params);
									    
    if ( newWin!=null && !(IE && bVer<5) )
        newWin.focus(); // MSIE4 dont work
}
