﻿function showPopUp(nerden) {
    document.getElementById(nerden + "Bg").style.display = "inline";
    var dvis = document.getElementById(nerden).style;
    dvis.display = "inline";
}

function closePopUp(nerden) {
    document.getElementById(nerden + "Bg").style.display = "none";
    document.getElementById(nerden).style.display = "none";
}

function pencere(sayfa, en, boy, sbar, loc, mbar, stat, tbar, rsz, lft, top) {
    window.open(sayfa, null, "width=" + en + ",height=" + boy + ",scrollbars=" + sbar + ",location=" + loc + ",menubar=" + mbar + ",status=" + stat + ",toolbar=" + tbar + ",resizable=" + rsz + ",left=" + lft + ",top=" + top)
}

function pencereWait(sayfa, en, boy, sbar, loc, mbar, stat, tbar, rsz, lft, top) {
    var dvwait = document.getElementById("ctl00_UpdateProgress");
    var dvwaitBG = document.getElementById("tblErrorMessageBg");
    dvwaitBG.style.display = "inline";
    dvwait.style.display = "inline";
    setTimeout("pencere('" + sayfa + "'," + en + "," + boy + "," + sbar + "," + loc + "," + mbar + "," + stat + "," + tbar + "," + rsz + "," + lft + "," + top + ")", 2000);
}

function CloseTheWindow() {
    alert('Giriş Bilgileri Doğru Değil. Geldiğiniz Noktayı doğrulayın.\nBu işlem geçerli olmadığından sayfa kapatılacaktır!');
    window.close();
}

var nW, nH, oH, oW;
function zoomToggle(iWideSmall, iHighSmall, iWideLarge, iHighLarge, whichImage) {
    oW = whichImage.style.width; oH = whichImage.style.height;
    if ((oW == iWideLarge) && (oH == iHighLarge)) {
        nW = iWideSmall; nH = iHighSmall;
    } else {
        nW = iWideLarge; nH = iHighLarge;
    }
    whichImage.style.width = nW; whichImage.style.height = nH;
}

