var OxO624a=["inp_width","eenheid","alignment","hrcolor","hrcolorpreview","shade","sel_size","width","style","value","px","%","size","align","color","backgroundColor","noShade","noshade","","onclick"];var inp_width=Window_GetElement(window,OxO624a[0],true);var eenheid=Window_GetElement(window,OxO624a[1],true);var alignment=Window_GetElement(window,OxO624a[2],true);var hrcolor=Window_GetElement(window,OxO624a[3],true);var hrcolorpreview=Window_GetElement(window,OxO624a[4],true);var shade=Window_GetElement(window,OxO624a[5],true);var sel_size=Window_GetElement(window,OxO624a[6],true);UpdateState=function UpdateState_Hr(){} ;SyncToView=function SyncToView_Hr(){if(element[OxO624a[8]][OxO624a[7]]){if(element[OxO624a[8]][OxO624a[7]].search(/%/)<0){eenheid[OxO624a[9]]=OxO624a[10];inp_width[OxO624a[9]]=element[OxO624a[8]][OxO624a[7]].split(OxO624a[10])[0];} else {eenheid[OxO624a[9]]=OxO624a[11];inp_width[OxO624a[9]]=element[OxO624a[8]][OxO624a[7]].split(OxO624a[11])[0];} ;} ;sel_size[OxO624a[9]]=element[OxO624a[12]];alignment[OxO624a[9]]=element[OxO624a[13]];hrcolor[OxO624a[9]]=element[OxO624a[14]];if(element[OxO624a[14]]){hrcolor[OxO624a[8]][OxO624a[15]]=element[OxO624a[14]];} ;if(element[OxO624a[16]]){shade[OxO624a[9]]=OxO624a[17];} else {shade[OxO624a[9]]=OxO624a[18];} ;} ;SyncTo=function SyncTo_Hr(element){if(sel_size[OxO624a[9]]){element[OxO624a[12]]=sel_size[OxO624a[9]];} ;if(hrcolor[OxO624a[9]]){element[OxO624a[14]]=hrcolor[OxO624a[9]];} ;if(alignment[OxO624a[9]]){element[OxO624a[13]]=alignment[OxO624a[9]];} ;if(shade[OxO624a[9]]==OxO624a[17]){element[OxO624a[16]]=true;} else {element[OxO624a[16]]=false;} ;if(inp_width[OxO624a[9]]){element[OxO624a[8]][OxO624a[7]]=inp_width[OxO624a[9]]+eenheid[OxO624a[9]];} ;} ;hrcolor[OxO624a[19]]=hrcolorpreview[OxO624a[19]]=function hrcolor_onclick(){SelectColor(hrcolor,hrcolorpreview);} ;