<?php header('Content-Type: text/html; charset=windows-1251'); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1251">
<STYLE>
a:hover {color:red;background:#fffacd;FONT-WEIGHT: bold}
a {width:100px;TEXT-DECORATION: none;color:black}
.t{WIDTH: 11px;LINE-HEIGHT:11px;background:white;BORDER:1px solid;
TEXT-DECORATION: none;cursor:hand}
u{FONT-WEIGHT: bold; color:#800000 ;cursor:hand}
b{FONT-WEIGHT: bold;TEXT-DECORATION: underline;cursor:hand}
i{FONT-WEIGHT: bold;COLOR: darkblue;cursor:hand}
fieldset{cursor:pointer;background:#e0ffff }
big{FONT-WEIGHT: bold;color:brown}
em{FONT-WEIGHT: bold;color:brown}
}
</STYLE>
<title>
PA constructor for CMS pages "ONPHPONLY"
</title>
<body id=bod leftMargin=0  onkeydown=klava2(event.keyCode,1)  topMargin=0  
style="visibility:hidden;overflow:hidden;background:#808080;position:absolute;top:0;left:0">
<!----input form for editing tooltips and links of map areas ----->
<table id=area_title_href border=0   onclick=area_title_href_click(event) width=100% height=100% border=0 style="display:none;z-index:102;background:none transparent scroll repeat 0% 0%;position:absolute;top:0;left:0">
<tr><td width=25%>&nbsp;</td>
<td align=center width=50% >
<table border=1 style=background:white><tr style="background:#483d8b ;color:white"><td valign=top align=center width=100% >
<strong>Editing </strong> <strong> title and href area </strong></td>
<td>
<button id=area_title_href_links title="Open link list" style=width:75>Links</button></td><td>
<button id=area_title_href_L title="Open list of page links" style=width:30>LL</button>
</td><td>
<button id=area_title_href_save title="Save changes">Save</button></td>
<td><button title="Cancel and close" id=area_title_href_close style="width:30">X</button></td>
</tr>
<tr><td colspan=5 >
<center style=background:silver>title = </center>
<TEXTAREA id=area_title_href_title style=width:100%></TEXTAREA><br>
<center style=background:silver>href = </center>
<TEXTAREA id=area_title_href_href style=width:100% ></TEXTAREA>
</td></tr>
</table>
</td><td width=25%>&nbsp;</td></tr></table>

<!---- ----->
<table id=href_area   onclick=href_area_click(event) width=100% height=100% border=0 style="display:none;z-index:900;background:none transparent scroll repeat 0% 0%;position:absolute;top:0;left:0">
<tr><td width=20%>&nbsp;</td>
<td align=top>
<table style=background:white><tr style="background:brown;color:white"><td valign=top align=center width=100% >
<strong id=href_area_zag  >Select the area link </strong></td>
<td><button title="To begin" id=href_area_top style="width:30">&#8593;</button></td>
<td><button title="Cancel and close" id=href_area_close style="width:30">X</button></td>
</tr>
<tr><td colspan=3 align=top>
</td></tr>
</table>
<div id=href_area_div  style="background:#faebd7  ;OVERFLOW: scroll; HEIGHT: 400;width:100%"></div>
</td><td width=20%>&nbsp;</td></tr></table>

<!--- map edit form  ---->
<table id=rkart  onclick=rkart_click(event) width=100% height=100% border=0 style="display:none;z-index:102;background:none transparent scroll repeat 0% 0%;position:absolute;top:0;left:0">
<tr><td width=30%>&nbsp;</td>
<td align=center width=800>
<div style="background:#483d8b;color:white">
<table border=1><tr><td valign=top align=center width=100% >
<big style=color:white>CHANGE MAP AREAS:</big></td><td><button title="Deselect and close" id=rkart_close style="width:30">X</button></td>
</tr></table>
<button form="" id=rkart_delete title="" style="width:130" >Remove</button> 
<button form="" id=rkart_create title="" style="width:130" >Create</button> 
<button form="" id=rkart_restore title="" style="width:130">Restore</button> 
<!----


---->
</td><td width=30%>&nbsp;</td></tr></table>

<!--- SELECT A BACKGROUND  ---->
<table id=color_col onclick=color_sel() width=100% height=100% border=0 style="display:none;z-index:1000;background:none transparent scroll repeat 0% 0%;position:absolute;top:0;left:0">
<tr><td width=30%>&nbsp;</td>
<td align=center width=800>
<div   style="background:silver;border:brown 2 solid;">
<table><tr><td valign=top align=center width=100%>
<big>Color collection</big></td><td><button title="Deselect and close" id=color_col_close style="width:30">X</button></td>
</tr></table>

<button form=""  style="BACKGROUND: white;white" title="white">...</button> 
<button form=""  style="BACKGROUND: #e6e6fa" title="#e6e6fa">...</button> 
<button form=""  style="BACKGROUND: #dcdcdc" title="#dcdcdc">...</button> 
<button form=""  style="BACKGROUND: #f5f5dc" title="#f5f5dc">...</button> 
<button form=""  style="BACKGROUND: #faebd7" title="#faebd7">...</button> 
<button form=""  style="BACKGROUND: #d3d3d3" title="#d3d3d3">...</button> 
<button form=""  style="BACKGROUND: #d8bfd8" title="#d8bfd8">...</button> 
<button form=""  style="BACKGROUND: #c0c0c0" title="#c0c0c0">...</button> 
<button form=""  style="BACKGROUND: #a9a9a9" title="#a9a9a9">...</button> 
<button form=""  style="BACKGROUND: #708090" title="#708090">...</button> 
<button form=""  style="BACKGROUND: #808080" title="#808080">...</button> 
<button form=""  style="BACKGROUND: #696969" title="#696969">...</button> 
<button form=""  style="BACKGROUND: #000000" title="#000000">...</button> 
<button form=""  style="BACKGROUND: #dda0dd" title="#dda0dd">...</button> 
<button form=""  style="BACKGROUND: #da70d6" title="#da70d6">...</button> 
<button form=""  style="BACKGROUND: #ba55d3" title="#ba55d3">...</button> 
<button form=""  style="BACKGROUND: #db7093" title="#db7093">...</button> 
<button form=""  style="BACKGROUND: #9370db" title="#9370db">...</button> 
<button form=""  style="BACKGROUND: #8a2be2" title="#8a2be2">...</button> 
<button form=""  style="BACKGROUND: #9932cc" title="#9932cc">...</button> 
<button form=""  style="BACKGROUND: #9400d3" title="#9400d3">...</button> 
<button form=""  style="BACKGROUND: #800080" title="#800080">...</button> 
<button form=""  style="BACKGROUND: #8b008b" title="#8b008b">...</button> 
<button form=""  style="BACKGROUND: #ee82ee" title="#ee82ee">...</button> 
<button form=""  style="BACKGROUND: #ff69b4" title="#ff69b4">...</button> 
<button form=""  style="BACKGROUND: #ff00ff" title="#ff00ff">...</button> 
<button form=""  style="BACKGROUND: #ff1493" title="#ff1493">...</button> 
<button form=""  style="BACKGROUND: #c71585" title="#c71585">...</button> 
<button form=""  style="BACKGROUND: #ff4500" title="#ff4500">...</button> 
<button form=""  style="BACKGROUND: red" title="red">...</button> 
<button form=""  style="BACKGROUND: #dc143c" title="#dc143c">...</button> 
<button form=""  style="BACKGROUND: #e0ffff" title="#e0ffff">...</button> 
<button form=""  style="BACKGROUND: #afeeee" title="#afeeee">...</button> 
<button form=""  style="BACKGROUND: #7fffd4" title="#7fffd4">...</button> 
<button form=""  style="BACKGROUND: #00ced1" title="#00ced1">...</button> 
<button form=""  style="BACKGROUND: #48d1cc" title="#48d1cc">...</button> 
<button form=""  style="BACKGROUND: #40e0d0" title="#40e0d0">...</button> 
<button form=""  style="BACKGROUND: #00bfff" title="#00bfff">...</button> 
<button form=""  style="BACKGROUND: #87ceeb" title="#87ceeb">...</button> 
<button form=""  style="BACKGROUND: #b0c4de" title="#b0c4de">...</button> 
<button form=""  style="BACKGROUND: #87cefa" title="#87cefa">...</button> 
<button form=""  style="BACKGROUND: #add8e6" title="#add8e6">...</button> 
<button form=""  style="BACKGROUND: #b0e0e6" title="#b0e0e6">...</button> 
<button form=""  style="BACKGROUND: #6495ed" title="#6495ed">...</button> 
<button form=""  style="BACKGROUND: #1e90ff" title="#1e90ff">...</button> 
<button form=""  style="BACKGROUND: #4682b4" title="#4682b4">...</button> 
<button form=""  style="BACKGROUND: #6a5acd" title="#6a5acd">...</button> 
<button form=""  style="BACKGROUND: #7b68ee" title="#7b68ee">...</button> 
<button form=""  style="BACKGROUND: #4169e1" title="#4169e1">...</button> 
<button form=""  style="BACKGROUND: #0000ff" title="#0000ff">...</button> 
<button form=""  style="BACKGROUND: #0000cd" title="#0000cd">...</button> 
<button form=""  style="BACKGROUND: #483d8b" title="#483d8b">...</button> 
<button form=""  style="BACKGROUND: #4b0082" title="#4b0082">...</button> 
<button form=""  style="BACKGROUND: #000080" title="#000080">...</button> 
<button form=""  style="BACKGROUND: #00008b" title="#00008b">...</button> 
<button form=""  style="BACKGROUND: #191970" title="#191970">...</button> 
<button form=""  style="BACKGROUND: #2e8b57" title="#2e8b57">...</button> 
<button form=""  style="BACKGROUND: #6b8e23" title="#6b8e23">...</button> 
<button form=""  style="BACKGROUND: #228b22" title="#228b22">...</button> 

<button form=""  style="BACKGROUND: #008000" title="#008000">...</button> 
<button form=""  style="BACKGROUND: #006400" title="#006400">...</button> 
<button form=""  style="BACKGROUND: #808000" title="#808000">...</button> 
<button form=""  style="BACKGROUND: #556b2f" title="#556b2f">...</button> 
<button form=""  style="BACKGROUND: #2f4f4f" title="#2f4f4f">...</button> 
<button form=""  style="BACKGROUND: #98fb98" title="#98fb98">...</button> 
<button form=""  style="BACKGROUND: #90ee90" title="#90ee90">...</button> 
<button form=""  style="BACKGROUND: #00ff7f" title="#00ff7f">...</button> 
<button form=""  style="BACKGROUND: #00fa9a" title="#00fa9a">...</button> 
<button form=""  style="BACKGROUND: #adff2f" title="#adff2f">...</button> 
<button form=""  style="BACKGROUND: #00ff00" title="#00ff00">...</button> 
<button form=""  style="BACKGROUND: #7cfc00" title="#7cfc00">...</button> 
<button form=""  style="BACKGROUND: #7fff00" title="#7fff00">...</button> 
<button form=""  style="BACKGROUND: #3cb371" title="#3cb371">...</button> 
<button form=""  style="BACKGROUND: #32cd32" title="#32cd32">...</button> 
<button form=""  style="BACKGROUND: #9acd32" title="#9acd32">...</button> 
<button form=""  style="BACKGROUND: #8fbc8f" title="#8fbc8f">...</button> 
<button form=""  style="BACKGROUND: #66cdaa" title="#66cdaa">...</button> 
<button form=""  style="BACKGROUND: #10b2aa" title="#10b2aa">...</button> 
<button form=""  style="BACKGROUND: #5f9ea0" title="#5f9ea0">...</button> 

<button form=""  style="BACKGROUND: #008080" title="#008080">...</button> 
<button form=""  style="BACKGROUND: #fffacd" title="#fffacd">...</button> 
<button form=""  style="BACKGROUND: #fff8dc" title="#fff8dc">...</button> 
<button form=""  style="BACKGROUND: #ffefd5" title="#ffefd5">...</button> 
<button form=""  style="BACKGROUND: #ffebcd" title="#ffebcd">...</button> 
<button form=""  style="BACKGROUND: #f0e68c" title="#f0e68c">...</button> 
<button form=""  style="BACKGROUND: #eee8aa" title="#eee8aa">...</button> 
<button form=""  style="BACKGROUND: #ffff00" title="#ffff00">...</button> 
<button form=""  style="BACKGROUND: #ffd700" title="#ffd700">...</button> 
<button form=""  style="BACKGROUND: #bdb76b" title="#bdb76b">...</button> 
<button form=""  style="BACKGROUND: #deb887" title="#deb887">...</button> 
<button form=""  style="BACKGROUND: #d2b48c" title="#d2b48c">...</button> 
<button form=""  style="BACKGROUND: #cd853f" title="#cd853f">...</button> 
<button form=""  style="BACKGROUND: #b8860b" title="#b8860b">...</button> 
<button form=""  style="BACKGROUND: #daa520" title="#daa520">...</button> 
<button form=""  style="BACKGROUND: #ffa500" title="#ffa500">...</button> 
<button form=""  style="BACKGROUND: #e9967a" title="#e9967a">...</button> 
<button form=""  style="BACKGROUND: #ff8c00" title="#ff8c00">...</button> 
<button form=""  style="BACKGROUND: #f4a460" title="#f4a460">...</button> 
<button form=""  style="BACKGROUND: #ffdead" title="#ffdead">...</button> 

<button form=""  style="BACKGROUND: #800000" title="#800000">...</button> 
<button form=""  style="BACKGROUND: #8b0000" title="#8b0000">...</button> 
<button form=""  style="BACKGROUND: #b22222" title="#b22222">...</button> 
<button form=""  style="BACKGROUND: #8b4513" title="#8b4513">...</button> 
<button form=""  style="BACKGROUND: #a52a2a" title="#a52a2a">...</button> 
<button form=""  style="BACKGROUND: #a52a2a" title="#a52a2a">...</button> 
<button form=""  style="BACKGROUND: #a0522d" title="#a0522d">...</button> 
<button form=""  style="BACKGROUND: #d2691e" title="#d2691e">...</button> 
<button form=""  style="BACKGROUND: #cd5c5c" title="#cd5c5c">...</button> 
<button form=""  style="BACKGROUND: #ff6347" title="#ff6347">...</button> 
<button form=""  style="BACKGROUND: #ff7f50" title="#ff7f50">...</button> 
<button form=""  style="BACKGROUND: #fa8072" title="#fa8072">...</button> 
<button form=""  style="BACKGROUND: #f08080" title="#f08080">...</button> 
<button form=""  style="BACKGROUND: #bc8f8f" title="#bc8f8f">...</button> 
<button form=""  style="BACKGROUND: #ffb6c1" title="#ffb6c1">...</button> 
<button form=""  style="BACKGROUND: #ffc0cb" title="#ffc0cb">...</button> 
<button form=""  style="BACKGROUND: #ffdab9" title="#ffdab9">...</button> 
<button form=""  style="BACKGROUND: #ffe4c4" title="#ffe4c4">...</button> 
<button form=""  style="BACKGROUND: #f5deb3" title="#f5deb3">...</button> 
<button form=""  style="BACKGROUND: #ffe4b5" title="#ffe4b5">...</button></div> 
</td><td width=30%>&nbsp;</td></tr></table>
<div id=img_col  onclick=img_sel(event) style="display:none;border:brown 2 solid; OVERFLOW: scroll;height:100%;width:100%;z-index:1000;background:silver;position:absolute;top:0;left:0">
<table><tr><td valign=top align=center width=100%>
<big>Background collection</big></td><td><button id=img_col_close title="Deselect and close" style="width:30">X</button></td>
</tr></table>
<TABLE title=2 height=500 border=0 width="100%" time="0">
<TBODY>
<?php
$dr=" .jpg.gif.png.bmp";
$_pohtm=str_replace("pgdrw57_1",'plan/pod_img/',getcwd());
$fes =scandir($_pohtm, 1);	            //
$i=1;
$j=1;
 foreach ($fes as $val) 				//
 {if ($val != "." && $val != "..")  	//
  {if  (!strstr($val, '.'))             //
  {}
  else
  {list($s1, $s2) = explode(".",$val);
  if (strpos($dr,".".$s2)>0)
{if ($i==1)
  {echo "<TR>";
  }
  echo '<TD>'.$j." = ".$val.'<DIV style="height:75;width:100;OVERFLOW:auto;border:green thin solid"><img src=../plan/pod_img/'.$val.'></DIV></TD>';	
  $i++;
  if ($i==10)
  {echo "</TR>"; $i=1;
  }
$j++;
  }}}}
?>
</TBODY></TABLE>
</div>

<table id=help2 style="display:none;z-index:10000;position:absolute;top:0;left:0;width:100%; height:100%" >
<tr>
<td width=20%></td>
<td id=help3 width=60% valign=center align=center></td>
<td width=20%></td>
</tr>
</table>

<table id=conf onclick=conf_click(event)  width=100% height=100% border=0
style="display:none;z-index:99999;position:absolute;top:0;left:0">
<tr height=20><td width=20%>&nbsp;</td><td width=60% colspan=2 style="background:#f5f5dc ;color:brown" align=center>
<b id=conf_text>Here is the question</b>
</td><td width=20%>&nbsp;</td></tr>
<tr><td width=20%>&nbsp;</td>
<td align=center style=background:#f5f5dc ><button>Yes</button></td>
<td style=background:#f5f5dc  align=center><button>No</button></td> 
<td width=20%>&nbsp;</td></tr>
<tr><td colspan=4 height=100%>&nbsp;</td></tr>
</table>


<table id=main style="width:100%; height:100%" >
<tr id=buttons height=34><td align=center>
<?php
//**************************
// 
//**************************
// OBJECTS
include "obj.htm";
include "start2_buttons.html";
?>
</td></tr>
<!---  CONSTRUCTOR FIELD--->
<tr><td height=100%>
<?php
include "start2_k1.html";    //
?>
</td></tr>
<tr>
<td id=status>
<?php
include "start2_buttons2.html";  //
?>
</td></tr>
</table>
<?php
include "objects.html";          //
?>
</body>
<?php
include "start2_functions.html";
include "start2_functions2.html";
?>
</html>