// JavaScript Document
function ShowLookUp() {


        p_windowname = 'Ablak';
        p_width = 0;
        p_height = 0;
        
        p_search       = arguments[0];
        p_windowname   = arguments[1]; 
        p_width		     = arguments[2];
        p_height	     = arguments[3];
       
       
        if (p_windowname=='undefined'){p_windowname = 'Ablak'}
        if (p_width  < 100) {p_width = 400;}
        if (p_height < 100) {p_height = 500;}
        
        
        
                	        
        var w=screen.width;
        var h=screen.height;
       
        var t=Math.round((h-p_height) / 15) ;
        var l=Math.round((w-p_width) / 2) ;
        
        
        //alert(p_height);
                       
        //ujablak(p_search);

        vWinCal = open("", p_windowname,
                "width="+p_width+",height="+p_height+",top="+t+",left="+l+" ,scrollbars=yes, status=yes, resizable=yes");

        vWinCal.opener = self;
        ggWinCal = vWinCal;
        ggWinCal.document.open;
        ggWinCal.document.writeln("<html>");
        ggWinCal.document.writeln("<head><title></title>");
        ggWinCal.document.writeln("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1250\">");
        ggWinCal.document.writeln("</head>");
        ggWinCal.document.writeln("<frameset frameborder=yes BORDERCOLOR=gray rows=\"35%,*\" cols=\"27%,*\">");        
        ggWinCal.document.location.assign(p_search);
   //     location.assign(p_search);
        ggWinCal.document.writeln("</html>");
        ggWinCal.document.close;
        

}

function Show_PopUp_Munkakor() {


        p_windowname = 'PopUpMunkakor';
        p_width = 500;
        p_height = 160;
        
        p_search       = arguments[0];        
                       	        
        var w=screen.width;
        var h=screen.height;
       
        var t=Math.round((h-p_height) / 15) ;
        var l=Math.round((w-p_width) / 2) ;
                               
        //ujablak(p_search);

        vWinCal = open("", p_windowname,
                "width="+p_width+",height="+p_height+",top="+t+",left="+l+" ,scrollbars=yes, status=yes, resizable=yes");

        vWinCal.opener = self;
        ggWinCal = vWinCal;
        ggWinCal.document.open;
        ggWinCal.document.writeln("<html>");
        ggWinCal.document.writeln("<head><title></title>");
        ggWinCal.document.writeln("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1250\">");
        ggWinCal.document.writeln("</head>");
        ggWinCal.document.writeln("<frameset frameborder=yes BORDERCOLOR=gray rows=\"35%,*\" cols=\"27%,*\">");        
        ggWinCal.document.location.assign(p_search);
   //     location.assign(p_search);
        ggWinCal.document.writeln("</html>");
        ggWinCal.document.close;
        

}

