var OxO4bf8=["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,OxO4bf8[0],true);var eenheid=Window_GetElement(window,OxO4bf8[1],true);var alignment=Window_GetElement(window,OxO4bf8[2],true);var hrcolor=Window_GetElement(window,OxO4bf8[3],true);var hrcolorpreview=Window_GetElement(window,OxO4bf8[4],true);var shade=Window_GetElement(window,OxO4bf8[5],true);var sel_size=Window_GetElement(window,OxO4bf8[6],true);UpdateState=function UpdateState_Hr(){} ;SyncToView=function SyncToView_Hr(){if(element[OxO4bf8[8]][OxO4bf8[7]]){if(element[OxO4bf8[8]][OxO4bf8[7]].search(/%/)<0){eenheid[OxO4bf8[9]]=OxO4bf8[10];inp_width[OxO4bf8[9]]=element[OxO4bf8[8]][OxO4bf8[7]].split(OxO4bf8[10])[0];} else {eenheid[OxO4bf8[9]]=OxO4bf8[11];inp_width[OxO4bf8[9]]=element[OxO4bf8[8]][OxO4bf8[7]].split(OxO4bf8[11])[0];} ;} ;sel_size[OxO4bf8[9]]=element[OxO4bf8[12]];alignment[OxO4bf8[9]]=element[OxO4bf8[13]];hrcolor[OxO4bf8[9]]=element[OxO4bf8[14]];if(element[OxO4bf8[14]]){hrcolor[OxO4bf8[8]][OxO4bf8[15]]=element[OxO4bf8[14]];} ;if(element[OxO4bf8[16]]){shade[OxO4bf8[9]]=OxO4bf8[17];} else {shade[OxO4bf8[9]]=OxO4bf8[18];} ;} ;SyncTo=function SyncTo_Hr(element){if(sel_size[OxO4bf8[9]]){element[OxO4bf8[12]]=sel_size[OxO4bf8[9]];} ;if(hrcolor[OxO4bf8[9]]){element[OxO4bf8[14]]=hrcolor[OxO4bf8[9]];} ;if(alignment[OxO4bf8[9]]){element[OxO4bf8[13]]=alignment[OxO4bf8[9]];} ;if(shade[OxO4bf8[9]]==OxO4bf8[17]){element[OxO4bf8[16]]=true;} else {element[OxO4bf8[16]]=false;} ;if(inp_width[OxO4bf8[9]]){element[OxO4bf8[8]][OxO4bf8[7]]=inp_width[OxO4bf8[9]]+eenheid[OxO4bf8[9]];} ;} ;hrcolor[OxO4bf8[19]]=hrcolorpreview[OxO4bf8[19]]=function hrcolor_onclick(){SelectColor(hrcolor,hrcolorpreview);} ;