function show_help(str){ //alert("OK") showModelessDialog('/admin/help.php?name='+escape(str),null,"help:no;status:false;resizable:false;dialogWidth:500px;dialogHeight:500px"); } function movedown_block_node(id){ obj=document.all("tr"+id).nextSibling.nextSibling if (obj.id!=""){ if (obj.name.indexOf("tr")!=-1) id1=obj.name.substr(2,obj.name.length-2) val=document.all("tr_pr"+id).value document.all("tr_pr"+id).value=document.all("tr_pr"+id1).value document.all("tr_pr"+id1).value=val document.all("tr"+id).swapNode(obj) } } function changeElement(id){ reloadElements(id); switch(document.all('fld_type'+id).value){ case "VARCHAR(255)": for (i=0;i0){ year=year+incr; day=1 break; } else{ year=dat.getYear() } case 1: if ((month+incr>-1) && (month+incr<12)) month=month+incr; else { if (month+incr==12) month=0 if (month+incr==-1) month=11 } day=1 break; case 2: if ((day+incr>0) && (day+incrdocument.all("pa").offsetLeft && event.clientX<(document.all("pa").offsetLeft+document.all("pa").offsetWidth)) if (event.clientY>(document.all("pa").offsetTop) && event.clientY<(document.all("pa").offsetTop+document.all("pa").offsetHeight)) a=0 else document.all("pa").style.display="none" else document.all("pa").style.display="none" } function change_image(image,img){ image.src="/images/"+img } function fulltime() { var time=new Date(); document.all("clock").innerHTML=time.toLocaleString(); setTimeout('fulltime()',500) }