//*******************************************************************
// (C) 2003 Corel Corporation. All rights reserved.
// Build Date: Thu Jul 3 2003 15:50:17 EDT
//*******************************************************************

function dsvgSetAttribute(J5Im){var id=yuD(J5Im,'elementID');var target=doc.getElementById(id);if(target==null && _B[id]){target=_B[id].J5Im;};var _cL11dsvgSetAttribute="084104117032074117108032051032050048048051049053058053048058049055032069068084";if(target!=null){var attributeName=yuD(J5Im,'attribute');var BE;var prefix;if(attributeName.indexOf(':')>-1){prefix=attributeName.split(':')[0];BE=Hp(target,prefix);attributeName=attributeName.split(':')[1];};if(target.nodeName.toLowerCase().indexOf('alias')>-1){var scu=yuD(target,'reference');target=doc.getElementById(scu.split('@')[0]);attributeName=scu.split('@')[1];};var value=yuD(J5Im,'value');D(target,attributeName,value,BE);if(BE!=""){if(prefix=='dsvg'){w2(attributeName,target);};};if(_B[id]!=null){_B[id].om();};if(attributeName=='visibility' || attributeName=='display'){for(c in _B){if(_B[c].nv=='ContextMenu'){var Jw0=_B[c];while(Jw0.compositeParent){Jw0=Jw0.compositeParent;};if(JTm(target,Jw0.J5Im)){_B[c].QA();}};}};if(target.localName.toLowerCase()=='mapcoords'){if(target.getAttribute('convertNow')){var Jb=v8kq[target.getAttribute('id')];var A4=target.getAttribute('inputID');Jb.transformNode(doc.getElementById(A4));D(target,'convertNow','');};};if(target.localName.toLowerCase()=='focus' && attributeName=="elementID"){aRV(target);};}};function KCp(Zq){for(var PLT=Zq.firstChild;PLT;PLT=PLT.nextSibling){if(AZz(PLT,'tooltip')){return PLT;};};if(Zq.nodeName=='svg'){return null;}else{return KCp(Zq.parentNode);};};