
function onChange(id_price){
mf = document.getElementById("a"+id_price);
mfa = document.getElementById("b"+id_price);
cena = mfa.getAttribute("value");
mf.setAttribute("value",cena);
}


function LoadImageP(wurl,wwidth,wheight)
{
//  window.open (filename,'','left=50,top=50,menubar=no,location=no,width='+sizex+',height='+sizey+',scrollbars=yes,resizable=no,status=no'); 
   w = wwidth;
   h = wheight;
   var winl = (screen.width - w) / 2;
   var wint = (screen.height - h) / 2;
   winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl;
   d = new Date();
   popupWin = window.open(wurl, d.getHours() + d.getMinutes() + d.getSeconds() , winprops + ",status=no,toolbar=no,menubar=no,location=no,scrollbars=yes");
}

function LoadImage(wurl,wwidth,wheight)
{
//  window.open (filename,'','left=50,top=50,menubar=no,location=no,width='+sizex+',height='+sizey+',scrollbars=yes,resizable=no,status=no'); 
   w = wwidth;
   h = wheight;
   var winl = (screen.width - w) / 2;
   var wint = (screen.height - h) / 2;
   winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl;
   d = new Date();
   wurla="image_fn.php?image="+wurl+".jpg";
   popupWin = window.open(wurla, d.getHours() + d.getMinutes() + d.getSeconds() , winprops + ",status=no,toolbar=no,menubar=no,location=no,scrollbars=yes");
}
function LoadImageL(wurl,wwidth,wheight)
{
//  window.open (filename,'','left=50,top=50,menubar=no,location=no,width='+sizex+',height='+sizey+',scrollbars=yes,resizable=no,status=no'); 
   w = wwidth;
   h = wheight;
   var winl = (screen.width - w) / 2;
   var wint = (screen.height - h) / 2;
   winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl;
   d = new Date();
   wurla="image_fl.php?image="+wurl+".jpg";
   popupWin = window.open(wurla, d.getHours() + d.getMinutes() + d.getSeconds() , winprops + ",status=no,toolbar=no,menubar=no,location=no,scrollbars=yes");
}

function my_lan(obj_td) {
mf = document.getElementById("form1");
mfa = document.getElementById("lang");
mfa.setAttribute("value","ru");
mf.submit();
}
function my_lane(obj_td) {
mf = document.getElementById("form1");
mfa = document.getElementById("lang");
mfa.setAttribute("value","en");
mf.submit();
}

function openWindow(wurl,wwidth,wheight) {
   w = wwidth;
   h = wheight;
   var winl = (screen.width - w) / 2;
   var wint = (screen.height - h) / 2;
   winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl;
   d = new Date();
   popupWin = window.open(wurl, d.getHours() + d.getMinutes() + d.getSeconds() , winprops + ",status=no,toolbar=no,menubar=no,location=no,scrollbars=yes");
}

<!-- ------------------------------------------------------ -->
function showTip(which,MPY,MPX,parent) {
        var lyr = document.all[which].style;
    lyr.top = 338 + MPY;// + document.body.scrollTop;
    lyr.left= 0 + MPX;// + document.body.scrollLeft;
    lyr.visibility = "visible";
    lyr.overflow = 'visible';
}
<!-- ------------------------------------------------------ -->
function hideTip(which) {
    obj = document.all[which];
    obj.style.visibility = "hidden";
}
<!-- ------------------------------------------------------ -->



<!-- ------------------------------------------------------ -->

function my_onmouseover1(obj_td) {
        obj_td.style.backgroundColor= '#9BA8C8';//'#FF0F24';
        obj_td.style.color="#1A2C6F";
//        obj_td.style.width='190px';
//        obj_td.style.filter='alpha(opacity=99,FinishOpacity=20, style=1)'; 
//        obj_td.style.filter='glow(color=#000000,strength=5)'; 

//	obj_td.style.backgroundImage='index_03.jpg';
}
function my_onmouseout1(obj_td) {
        obj_td.style.backgroundColor= '';
        obj_td.style.color= '';
//        obj_td.style.filter='alpha(opacity=100, style=0)'; 
}
function my_onmouseover2(obj_td) {
//        obj_td.style.backgroundColor= '#045FFF';//'#FF0F24';
        obj_td.style.color="#000000";
}
function my_onmouseout2(obj_td) {
//        obj_td.style.backgroundColor= '';
        obj_td.style.color= '';
}
function comps()
{
            document.getElementById('text2').innerHTML = document.getElementById('text').innerHTML;
	    document.getElementById('text').innerHTML = '';
	    document.getElementById('text').style.dispay="none";
}
document.getElementById('text').style.dispay="none";

