function show_picture(dir_name,name,W,H,title_picture)
{
    var height_pic = H+20;
	var parameter3 = "width=" + W + ",height=" + height_pic + ",left=0,top=0,stutus=Yes,toolbar=No,menubar=No,scrollbars=yes,resizable=yes";
	//alert(parameter3);
	form_win=window.open("","win_form",parameter3);
	
	form_win.document.write ("<html><head><title>העכו העתיקה</title>");
	//form_win.document.write ("<link rel='stylesheet' type='text/css' href='../styles/ACRE-HEB.css'>");
	form_win.document.write ("</head>");
	//form_win.document.write ("<body bgcolor='#ceffff'><center><img src='images/"+dir_name+"/"+name+".JPG' vspace='5' width=100%><br>");
	form_win.document.write ("<body bgcolor='#ceffff' style='margin:0;padding:0'>");
	form_win.document.write ("<center><h2 style='COLOR: #00304a;DIRECTION: rtl;FONT-FAMILY: David;FONT-SIZE: medium;MARGIN: 0px;PADDING:10px;5px,5px,0px;TEXT-ALIGN: center'>"+title_picture+"</h2>");
	form_win.document.write ("<img src='"+dir_name+"/"+name+".JPG' vspace='0' width=100%><br>");
	//form_win.document.write ("<body bgcolor='#ceffff' style='margin:0;padding:0'><center><img src='images/"+dir_name+"/"+name+".JPG' vspace='0' width=100%><br>");
	form_win.document.write ("<input type='button' style='margin-top:7px;margin-bottom:0px;BACKGROUND-COLOR: #00304a;COLOR: white;FONT-FAMILY: Arial(Hebrew);FONT-SIZE: 16px;HEIGHT: 28px;TEXT-ALIGN: center;WIDTH: 100px;valign:middle;padding:0px,0px,5px,0px' id='id_close' name='id_close' class='buttonPicBig'  onClick='window.close();'  value='   סגור   '></input>");
	form_win.document.write ("&nbsp;<input type='button' style='margin-top:7px;margin-bottom:0px;BACKGROUND-COLOR: #00304a;COLOR: white;FONT-FAMILY: Arial(Hebrew);FONT-SIZE: 16px;HEIGHT: 28px;TEXT-ALIGN: center;WIDTH: 100px;valign:middle;padding:0px,0px,5px,0px' id='id_print' name='id_print' class='buttonPicBig'  onClick='window.print();'  value='   הדפסה   '></input>");
	form_win.document.write ("</center></body></html>");
	form_win.document.close();
	form_win.focus();
	
	return;
}
function show_map(dir_name,name,W,H,title_picture)
{
    var height_pic = H+20;
	var parameter3 = "width=" + W + ",height=" + height_pic + ",left=0,top=0,stutus=Yes,toolbar=No,menubar=No,scrollbars=yes,resizable=yes";
	//alert(parameter3);
	form_win=window.open("","win_form",parameter3);
	
	form_win.document.write ("<html><head><title>העכו העתיקה</title>");
	//form_win.document.write ("<link rel='stylesheet' type='text/css' href='../styles/ACRE-HEB.css'>");
	form_win.document.write ("</head>");
	//form_win.document.write ("<body bgcolor='#ceffff'><center><img src='images/"+dir_name+"/"+name+".JPG' vspace='5' width=100%><br>");
	form_win.document.write ("<body bgcolor='#ceffff' style='margin:0;padding:0'>");
	form_win.document.write ("<center><h2 style='COLOR: #00304a;DIRECTION: rtl;FONT-FAMILY: David;FONT-SIZE: medium;MARGIN: 0px;PADDING:10px;5px,5px,0px;TEXT-ALIGN: center'>"+title_picture+"</h2>");
	form_win.document.write ("<img src='"+dir_name+"/"+name+".gif' vspace='0' ><br>");
	//form_win.document.write ("<body bgcolor='#ceffff' style='margin:0;padding:0'><center><img src='" + dir_name+"/"+name+".gif' vspace='0' ><br>");
	form_win.document.write ("<input type='button' style='margin-top:7px;margin-bottom:0px;BACKGROUND-COLOR: #00304a;COLOR: white;FONT-FAMILY: Arial(Hebrew);FONT-SIZE: 16px;HEIGHT: 28px;TEXT-ALIGN: center;WIDTH: 100px;valign:middle;padding:0px,0px,5px,0px' id='id_close' name='id_close' class='buttonPicBig'  onClick='window.close();'  value='   סגור   '></input>");
	form_win.document.write ("&nbsp;<input type='button' style='margin-top:7px;margin-bottom:0px;BACKGROUND-COLOR: #00304a;COLOR: white;FONT-FAMILY: Arial(Hebrew);FONT-SIZE: 16px;HEIGHT: 28px;TEXT-ALIGN: center;WIDTH: 100px;valign:middle;padding:0px,0px,5px,0px' id='id_print' name='id_print' class='buttonPicBig'  onClick='window.print();'  value='   הדפסה   '></input>");
	form_win.document.write ("</center></body></html>");
	form_win.document.close();
	form_win.focus();
	
	return;
}