ACC SHELL
function del(t)
{
return confirm(t.title + '?');
}
function resizeLoad()
{
resizeWidth = document.getElementById('resizeWidth');
resizeHeight = document.getElementById('resizeHeight');
resizeImage = document.getElementById('resizeImage');
resizeWidth.value = resizeImage.width;
resizeHeight.value = resizeImage.height;
resizeRatio = resizeWidth.value / resizeHeight.value;
}
function resize(i)
{
switch(i.name)
{
case 'resizeWidth':
w = resizeWidth.value;
h = w / resizeRatio;
break;
case 'resizeHeight':
h = resizeHeight.value;
w = h * resizeRatio;
break;
}
w = Math.round(w);
h = Math.round(h);
if(!(w == 0 && h == 0))
{
resizeWidth.value = w;
resizeHeight.value = h;
}
resizeImage.width = w;
resizeImage.height = h;
}
$(function() {
$(".datepicker").datepicker({ dateFormat: 'yy-mm-dd', firstDay: 1 });
});
ACC SHELL 2018