if(Dd('property_required') != null) { var ptrs = Dd('property_required').getElementsByTagName('option'); for(var i = 0; i < ptrs.length; i++) { f = 'property-'+ptrs[i].value; var t = $('#'+f).attr('tagName').toLowerCase(); if(t == 'span') { j = checked_count(f); if(j == 0) { Dmsg('ÇëÑ¡Ôñ'+ptrs[i].innerHTML, f, 1); return false; } } else if(t == 'select') { if(Dd(f).value == '') { Dmsg('ÇëÑ¡Ôñ'+ptrs[i].innerHTML, f); return false; } } else { if(Dd(f).value.length < 1) { Dmsg('ÇëÌîÐ´'+ptrs[i].innerHTML, f); return false; } } } }