function _o (a) { return document.getElementById(a) } function clickCheckbox ( obj, target ) { if ( obj.checked ) target.value = obj.value; else target.value = ""; } var move_x, move_y, temp_x, temp_y ; function mouse_dragdrop() { var obj = selectManager; if(event.button == 1 && flag_drag == true) { obj.style.pixelLeft = temp_x + event.clientX - move_x; obj.style.pixelTop = temp_y + event.clientY - move_y; //obj.style.pixelLeft = event.clientX - move_x; //obj.style.pixelTop = event.clientY - move_y; } } function mouse_drag() { var obj = selectManager;//Picker; temp_x = obj.style.pixelLeft; temp_y = obj.style.pixelTop; move_x = event.clientX; move_y = event.clientY; document.onmousemove = mouse_dragdrop; flag_drag = true; } function mouse_up() { flag_drag = false; } function showManager ( html ) { var obj = _o("selectManager"); obj.style.top = document.body.scrollTop + 40; obj.style.left = ( document.body.offsetWidth - parseInt(obj.style.width) ) / 2 ; obj.style.display = ""; obj.innerHTML = html; pageDisabled ( true ); } function showFileManager (pagename,pagetitle,pHeight, f, t ) { var html = ""; html += '
'; html += ' | '; html += ' | '; html += ' | |||||||
'; html += ' | |||||||||
'; html += ' | ';
html += '
| ';
html += ''; html += ' | |||||||
'; html += ' | ';
html += '
| ';
html += ''; html += ' | |||||||
'; html += ' | '; html += ' | '; html += ' | |||||||
'; html += ' |