function showCalendar(id)
{
var date = showModalDialog("../editor/popup_calendar.htm", "", "help: no; status: no; scroll: no;");
if (date)
{
eval(id).value=date;
}
}
function image_open(image_loc,img)
{
HTML = "
Zoom out image
";
popupImage = window.open('','_blank','toolbar=no,scrollbars=no');
popupImage.document.open();
popupImage.document.write(HTML);
popupImage.document.close();
}
function doMark_(id)
{
st=eval('document.all.'+id);
if(st.className=='cellcheck')
st.className='celluncheck';
else
st.className='cellcheck';
}
function doOpen(file,field,show)
{
open(file+'?return='+field+'&show='+show,'','width=350,height=350,top=0,left=0,scrollbars,status,resize');
return false;
}
function doOpenWindow(file,width,height,top,left)
{
if(width=="")
width=460;
if(height=="")
height=460;
if(top=="")
top=0;
if(left=="")
left=0;
open(file,'','width='+width+',height='+height+',top='+top+',left='+top+',scrollbars,status,resize');
return false;
}
function openImage(vLink, vHeight, vWidth)
{
var sLink = (typeof(vLink.href) == 'undefined') ? vLink : vLink.href;
if (sLink == '')
{
return false;
}
winDef = 'status=no,resizable=no,scrollbars=no,toolbar=no,location=no,fullscreen=no,titlebar=yes,height='.concat(vHeight).concat(',').concat('width=').concat(vWidth).concat(',');
winDef = winDef.concat('top=').concat((screen.height - vHeight)/2).concat(',');
winDef = winDef.concat('left=').concat((screen.width - vWidth)/2);
newwin = open('', '_blank', winDef);
newwin.document.writeln('');
newwin.document.writeln('
');
newwin.document.writeln('');
if (typeof(vLink.href) != 'undefined')
{
return false;
}
}