function ShowPictureSize(url,w,h)
{
if (w>screen.availWidth)
{
w = screen.availWidth;
};
if (h>screen.availHeight)
{
h = screen.availHeight;
};
left_ = Math.floor((screen.availWidth - w)/2);
top_ = Math.floor((screen.availHeight - h)/2);
win = window.open ('', '_blank', 'width='+w+',height='+h+',left='+left_+',top='+top_+'scrollbars=yes,resizeable=yes');
s='
';
win.document.write(s);
};
function ShowRejim(str)
{
h=360;
w=460;
if (w>screen.availWidth)
{
w = screen.availWidth;
};
if (h>screen.availHeight)
{
h = screen.availHeight;
};
left_ = Math.floor((screen.availWidth - w)/2);
top_ = Math.floor((screen.availHeight - h)/2);
win = window.open ('', '_blank', 'width='+w+',height='+h+',left='+left_+',top='+top_+'scrollbars=yes,resizeable=yes');
s=''+str+'
';
win.document.write(s);
};
function context_search(key,select_id,text_id)
{
var text=document.getElementById(text_id);
var select=document.getElementById(select_id);
reg=new RegExp("^"+text.value+"", "i");
if (key==13)
{
for (var i=0;i'+title+' '+str+'