function zoom(url, width, height, title){
    myWin= open("", "displayWindow","width="+width+",height="+height+",status=no,toolbar=no,menubar=no,scrollbars=no");
    myWin.document.open();
    myWin.document.write("<html><head><title>"+title+"</title></head>");
    myWin.document.write("<body leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">");
    myWin.document.write("<img src=\"/"+url+"\" width=\""+width+"\" height=\""+height+"\"/>");
    myWin.document.write("</body>");
    myWin.document.close();
}


function borderTrHover(objectCurrent){
    objectCurrent.className = "mainTable_img_som_collumn_tdhover";
}
function borderTrHoverNo(objectCurrent){
    objectCurrent.className = "mainTable_img_som_collumn_td";
}


/*function zoom(url, width, height, title){
    myWin= open("", "displayWindow","width="+width+",height="+height+",status=no,toolbar=no,menubar=no,scrollbars=no");
    myWin.document.open();
    myWin.document.write("<html><head><title>"+title+"</title></head>");
    myWin.document.write("<body leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">");
    myWin.document.write("<img src=\""+url+"\" width=\""+width+"\" height=\""+height+"\"/>");
    myWin.document.write("</body>");
    myWin.document.close();
}*/

/*
function errTestMail(){
    var EXP =/^([a-z0-9_\-]+\.)*[a-z0-9_\-]+@([a-z0-9][a-z0-9\-]*[a-z0-9]\.)+[a-z]{2,4}$/i;
    var valueMail = $('emailSub').value;
    if(EXP.test(valueMail)){
        sendSub();

        $('divFormOn').className="anDisplayDiv";
        $('sendOkDiv').className="DisplayDiv";
        return true;
    }else{
        $('emailSub').className="inputFormErr";
        return false;
    }
}
function sendSub() {

    var url = "/subscription.kd";

    var valueMail = $('emailSub').value;
    var parametrs = "mail="+valueMail;
    var myAjax = new Ajax.Request(
            url,
    { parameters: parametrs, onComplete: showResponse});

    function showResponse(originalRequest){
        var message = originalRequest.responseText;

if(message == "ok"){
            var dispDiv = $('anDisplayDiv');
            dispDiv.className="anDisplayDiv";
            $('sendOkDiv').className="DisplayDiv";
        }
   }

}
function visible(){
    $('emailSub').className="inputForm";
    $('divFormOn').className="DisplayDiv";
    $('sendOkDiv').className="anDisplayDiv";
    $('emailSub').value="";
}

function cl(inp, val) {
    if (inp.value == val) inp.value = "";
}

function fl(inp, val) {
    if (inp.value == "") inp.value = val;
}
function Goto(selObj){
    document.location = selObj.options[selObj.selectedIndex].value;
}
function openWin(url, width, height){
    myWin= open(url, "displayWindow","width="+width+",height="+height+",status=no,toolbar=no,menubar=no,scrollbars=no");
}
function closed(){
    myWin=close;
}
function openWinPAR(url, width, height){
    myWinPAR= open(url, "displayWindow","width="+width+",height="+height+",status=no,toolbar=no,menubar=no,scrollbars=no");
}
function closedPAR(){
    myWinPAR=close;
}
*/

