<!--
var ols;
var bce;  /* глобальная переменная */
/* функция смены отбражения блоков */
function do_menu(i)
{if(!ols) {ols="con1";} 
document.getElementById(ols).style.display="none";
document.getElementById(i).style.display="block";
switch (i){
case "con1":
document.getElementById("c1").style.background="transparent url(images/fon_td1_zag.gif) no-repeat left bottom";
document.getElementById("c2").style.background="transparent url(images/fon_td_zag1.gif) no-repeat right bottom";
document.getElementById("c3").style.background="none";
break;
case "con2":
document.getElementById("c1").style.background="none";
document.getElementById("c2").style.background="transparent url(images/fon_td2_zag.gif) no-repeat left bottom";
document.getElementById("c3").style.background="none";
break;
case "con3":
document.getElementById("c1").style.background="transparent url(images/fon_td_zag1.gif) no-repeat right bottom"; 	  
document.getElementById("c2").style.background="none";
document.getElementById("c3").style.background="transparent url(images/fon_td3_zag.gif) no-repeat right bottom";
break;
}
ols=i;
}

function InputSkid(path){
var x=(screen.width-700)/2;
var y=(screen.height-700)/2;
 window.open(path, "InputSkid", "width=605, height=375, left="+x+", top="+y+", menubar=0, toolbar=0, location=0, directory=0,scrollbars=0, status=0, resizable=0");
}
function InputKol(path){
var x=(screen.width-380)/2;
var y=(screen.height-140)/2;
 window.open(path, "InputKol", "width=25, height=25, left="+x+", top="+y+", menubar=0, toolbar=0, location=0, directory=0,scrollbars=0, status=0, resizable=0");
}
function openInput(){
var x=(screen.width-380)/2;
var y=(screen.height-140)/2;
 window.open("infologin.htm", "Input", "width=440, height=100, left="+x+", top="+y+", menubar=0, toolbar=0, location=0, directory=0,scrollbars=0, status=0, resizable=0");
}
function openData(){
var x=(screen.width-600)/2;
var y=(screen.height-350)/2;
 window.open("data.php?user=<?PHP echo $cookie_user_id;?>", "data", "width=600, height=350, left="+x+", top="+y+", menubar=0, toolbar=0, location=0, directory=0,scrollbars=0, status=0, resizable=0");
}
function openHelpKatalog() {
var x=(screen.width-380);
  window.open("help_katalog1.htm", "help", "width=370, height=600, left="+x+", top=94, menubar=0, toolbar=0, location=0, directory=0, scrollbars=0, status=0, resizable=0");
}
function openInfo(patch){
var x=(screen.width-440)/2;
var y=(screen.height-380)/2;
 window.open(patch, "info", "width=440, height=380, left="+x+", top="+y+", menubar=0, toolbar=0, location=0, directory=0,scrollbars=0, status=0, resizable=0");
}
function openFoto(patch){
var x=(screen.width-450)/2;
var y=(screen.height-390)/2;
 window.open(patch, "foto", "width=450, height=390, left="+x+", top="+y+", menubar=0, toolbar=0, location=0, directory=0,scrollbars=0, status=0, resizable=0");
}
function openCatCode(patch){
var x=(screen.width-440)/2;
var y=(screen.height-380)/2;
 window.open(patch, "CatCode", "width=440, height=240, left="+x+", top="+y+", menubar=0, toolbar=0, location=0, directory=0,scrollbars=0, status=0, resizable=0");
}
function openYES(patch){
var x=(screen.width-460)/2;
var y=(screen.height-520)/2;
 window.open(patch, "yes", "width=460, height=520, left="+x+", top="+y+", menubar=0, toolbar=0, location=0, directory=0,scrollbars=0, status=0, resizable=0");
}
function openVopros(){
var x=(screen.width-600)/2;
var y=(screen.height-500)/2;
 window.open("vopros.php", "vopros", "width=610, height=510, left="+x+", top="+y+", menubar=0, toolbar=0, location=0, directory=0,scrollbars=0, status=0, resizable=0");
}
function displayhelp() {
Help=window.open('user_www_help.htm','Help','');
}
function BadPrice(patch){
var x=(screen.width-350)/2;
var y=(screen.height-350)/2;
 window.open(patch, "BadPrice", "width=350, height=350, left="+x+", top="+y+", menubar=0, toolbar=0, location=0, directory=0,scrollbars=0, status=0, resizable=0");
}
function comment(patch) {
Models=window.open(patch,'comment','toolbar=no,status=no,width=650,height=120');
}
function displayhelp_registr() {
var x=(screen.width-520)/2;
var y=(screen.height-500)/2;
window.open('help_registr.htm','Help_registr', "width=520, height=420, left="+x+", top="+y+", menubar=0, toolbar=0, location=0, directory=0,scrollbars=0, status=0, resizable=0");
}
function InputXLS(path){
var x=(screen.width-520)/2;
var y=(screen.height-430)/2;
 window.open(path, "InputXLS", "width=520, height=430, left="+x+", top="+y+", menubar=0, toolbar=0, location=0, directory=0,scrollbars=0, status=0, resizable=0");
}

function openModel(patch){
var x=(screen.width-440)/2;
var y=(screen.height-380)/2;
 window.open(patch, "Model", "width=440, height=240, left="+x+", top="+y+", menubar=0, toolbar=0, location=0, directory=0,scrollbars=0, status=0, resizable=0");
}

function openQuery()
{
var x=(screen.width-853)/2;
var y=(screen.height-573)/2;
 window.open("/se_js/query.php", "vopros", "width=853, height=573, left="+x+", top="+y+", menubar=0, toolbar=0, location=0, directory=0,scrollbars=0, status=0, resizable=0");
}
-->
