                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

if(!window.__td){window.__MT=100;window.__ti=0;window.__td=[];window.__td.length=__MT;window.__noTrace=false;}
if(typeof vp=="undefined"){var vp={};}
if(!vp.controls)
{vp.controls={};}
vp.controls.StylizedTable={};vp.controls.StylizedTable.renderAll=function controls_StylizedTable_renderAll()
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
var i;var aTables=document.getElementsByTagName("TABLE");for(i=0;i<aTables.length;i++)
{var oTable=aTables[i];if(vp.ui.hasClass(oTable,"stylized-table"))
{vp.controls.StylizedTable.render(oTable);}}
if(vp.controls.StylizedTable._aOnRenderAllHandler)
{var handlers=vp.controls.StylizedTable._aOnRenderAllHandler;for(i=0;i<handlers.length;i++)
{var fnHandler=handlers[i];if(typeof fnHandler=="function")
{fnHandler();}}}};vp.controls.StylizedTable.addOnRenderAllHandler=function controls_StylizedTable_addOnRenderAllHandler(fnHandler)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
if(!vp.controls.StylizedTable._aOnRenderAllHandler)
{vp.controls.StylizedTable._aOnRenderAllHandler=[];}
vp.controls.StylizedTable._aOnRenderAllHandler.push(fnHandler);};vp.controls.StylizedTable.render=function controls_StylizedTable_render(vTable)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
var oTable=vp.core.getElement(vTable,"vp.controls.StylizedTable.render()");if(oTable._stylizedTableRendered)
{return;}
oTable._stylizedTableRendered=true;oTable.cellSpacing=0;oTable.cellPadding=0;var oCell;var i;var oHeaderRow=oTable.rows[0];if(vp.browser.isGecko||(vp.browser.isIE&&vp.browser.ver>=8))
{vp.ui.addClass(oTable,"background-fix");}
if(oHeaderRow.cells.length==1)
{var oInnerTable=document.createElement("TABLE");oInnerTable.cellPadding=0;oInnerTable.cellSpacing=0;oInnerTable.width="100%";var oInnerRow=oInnerTable.insertRow(-1);var oFirstCell=oInnerRow.insertCell(-1);var oSecondCell=oInnerRow.insertCell(-1);oSecondCell.style.width="10px";oSecondCell.style.padding="0px";oSecondCell.className="header-right-tile";while(oHeaderRow.cells[0].childNodes.length>0)
{var oNode=oHeaderRow.cells[0].childNodes[0];oNode.parentNode.removeChild(oNode);oFirstCell.appendChild(oNode);}
oHeaderRow.cells[0].appendChild(oInnerTable);}
vp.controls.StylizedTable._processRow(oHeaderRow,"header");for(i=1;i<oTable.rows.length;i++)
{vp.controls.StylizedTable._processRow(oTable.rows[i],"data");for(var j=0;j<oTable.rows[i].cells.length;j++)
{oCell=oTable.rows[i].cells[j];if(!vp.ui.hasClass(oCell,"normal-row")&&!vp.ui.hasClass(oCell,"alternate-row"))
{vp.ui.addClass(oCell,(i%2===1)?"normal-row":"alternate-row");}}}
for(var sSkin in vp.controls.StylizedTable.skins)
{if(vp.ui.hasClass(oTable,sSkin))
{vp.controls.StylizedTable._applySkin(oTable,vp.controls.StylizedTable.skins[sSkin]);}}};vp.controls.StylizedTable._processRow=function controls_StylizedTable__processRow(oRow,sClass)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
var iLen=oRow.cells.length;if(iLen==1)
{vp.ui.addClass(oRow.cells[0],sClass);vp.ui.addClass(oRow.cells[0],"single");}
else
{for(var i=0;i<oRow.cells.length;i++)
{var oCell=oRow.cells[i];vp.ui.addClass(oRow.cells[i],sClass);if(i===0)
{vp.ui.addClass(oCell,"left");}
else if(i==iLen-1)
{vp.ui.addClass(oCell,"right");}
else
{vp.ui.addClass(oCell,"center");}}}};vp.controls.StylizedTable._buildCssTree=function controls_StylizedTable__buildCssTree(oSkin)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
var iSubHeaderHeight=oSkin.subHeaderHeight;if(vp.browser.isGecko||(vp.browser.isIE&&vp.browser.ver>=8))
{iSubHeaderHeight++;}
var oTree={"header":{style:{fontWeight:"bold",padding:oSkin.headerPadding,border:"0px",height:oSkin.headerHeight+"px"},"left":{style:{backgroundImage:"url("+oSkin.sprite+")",backgroundPosition:"top left",backgroundRepeat:"no-repeat"}},"right":{style:{backgroundImage:"url("+oSkin.sprite+")",backgroundPosition:"top right",backgroundRepeat:"no-repeat",borderRight:"0px"}},"center":{style:{backgroundImage:"url("+oSkin.centerTile+")",backgroundRepeat:"repeat-x"}},"single":{style:{backgroundImage:"url("+oSkin.sprite+")",backgroundPosition:"top left",backgroundRepeat:"no-repeat",borderRight:oSkin.borderStyle}},"super-highlight":{style:{backgroundImage:"url("+oSkin.superHighlightCenterTile+")",backgroundRepeat:"repeat-x",borderLeft:oSkin.borderStyle,borderRight:oSkin.borderStyle},"left":{style:{backgroundImage:"url("+oSkin.superHighlightSprite+")",backgroundPosition:"top left",backgroundRepeat:"no-repeat",borderLeft:"0px"}},"single":{style:{backgroundImage:"url("+oSkin.superHighlightSprite+")",backgroundPosition:"top left",backgroundRepeat:"no-repeat",borderLeft:"0px"}}}},"subheader":{style:{borderBottom:oSkin.borderStyle,borderRight:oSkin.borderStyle,backgroundColor:"#FFFFFF",height:iSubHeaderHeight+"px",padding:"0px"},"left":{style:{borderRight:"0px",backgroundImage:"url(/vp/images/b09/common/table/primary/grey-dot.gif)",backgroundRepeat:"repeat-y"}},"right":{style:{}},"center":{style:{borderRight:"0px"}},"single":{style:{backgroundImage:"url(/vp/images/b09/common/table/primary/grey-dot.gif)",backgroundRepeat:"repeat-y"}},"super-highlight":{style:{borderLeft:oSkin.borderStyle,borderRight:oSkin.borderStyle},"left":{style:{borderLeft:"0px"}},"single":{style:{borderLeft:"0px"}}}},"data":{style:{padding:"5px 8px 5px 8px",borderBottom:oSkin.borderStyle,borderRight:oSkin.borderStyle},"left":{style:{backgroundImage:"url(/vp/images/b09/common/table/primary/grey-dot.gif)",backgroundRepeat:"repeat-y"},"subrow":{style:{backgroundImage:"none",backgroundRepeat:"repeat-y"}}},"single":{style:{backgroundImage:"url(/vp/images/b09/common/table/primary/grey-dot.gif)",backgroundRepeat:"repeat-y"}},"normal-row":{style:{backgroundColor:oSkin.bgColor}},"alternate-row":{style:{backgroundColor:oSkin.altColor}},"highlight":{style:{backgroundColor:oSkin.highlightColor}},"super-highlight":{style:{backgroundColor:oSkin.superHighlightColor}},"smooth":{"left":{style:{borderRight:"0px"}},"center":{style:{borderRight:"0px",borderLeft:"0px"}},"right":{style:{borderLeft:"0px"}},"highlight":{style:{border:oSkin.borderStyle}}},"merged":{style:{borderBottom:"0px"}}}};if(!oSkin.useTiles)
{oTree.header={style:{backgroundColor:oSkin.headerColor,border:oSkin.borderStyle,padding:oSkin.headerPadding,height:oSkin.headerHeight}};}
return oTree;};vp.controls.StylizedTable._buildClassMap=function controls_StylizedTable__buildClassMap(oElem,oMap)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
oMap=oMap||{};var aClasses=oElem.className.split(" ");for(var i=0;i<aClasses.length;i++)
{if(aClasses[i].trim())
{oMap[aClasses[i]]=true;}}};vp.controls.StylizedTable._applySkin=function controls_StylizedTable__applySkin(oTable,oSkin)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
var i;var oCell;oTable.style.borderCollapse="collapse";if(oSkin.useSubheader)
{var oSubHeaderRow=oTable.insertRow(1);for(i=0;i<oTable.rows[0].cells.length;i++)
{oCell=oTable.rows[0].cells[i];var oSubCell=oSubHeaderRow.insertCell(-1);if(oCell.colSpan!=1)
{oSubCell.colSpan=oCell.colSpan;}
var oSpacer=vp.ui.createElement("DIV",{},{width:1,height:1,overflow:"hidden"});oSubCell.appendChild(oSpacer);oSubCell.className=oCell.className.replace("header","subheader");}}
var oCssTree=vp.controls.StylizedTable._buildCssTree(oSkin);for(i=0;i<oTable.rows.length;i++)
{var oRow=oTable.rows[i];for(var j=0;j<oRow.cells.length;j++)
{oCell=oRow.cells[j];var oClasses={};vp.controls.StylizedTable._buildClassMap(oCell,oClasses);vp.controls.StylizedTable._buildClassMap(oRow,oClasses);vp.controls.StylizedTable._buildClassMap(oTable,oClasses);vp.controls.StylizedTable._applyCssTree(oCell,null,oCssTree,oClasses);}}};vp.controls.StylizedTable._applyCssTree=function controls_StylizedTable__applyCssTree(oCell,sClass,oTree,oClasses)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
if(!sClass||oClasses[sClass])
{if(oTree.style)
{vp.ui.setStyle(oCell,oTree.style);}
for(var sSubClass in oTree)
{if(sSubClass!="style")
{vp.controls.StylizedTable._applyCssTree(oCell,sSubClass,oTree[sSubClass],oClasses);}}}};vp.controls.StylizedTable.skins={};vp.controls.StylizedTable.skins.primary={sprite:"/vp/images/b09/common/table/primary/sprite.gif",centerTile:"/vp/images/b09/common/table/primary/center.gif",superHighlightSprite:"/vp/images/b09/common/table/accent/sprite.gif",superHighlightCenterTile:"/vp/images/b09/common/table/accent/center.gif",headerHeight:26,borderStyle:"1px #BEC3C5 solid",altColor:"#e5f1f6",bgColor:"#FFFFFF",highlightColor:"#cee5ef",superHighlightColor:"#fef9df",subHeaderHeight:2,headerPadding:"0px 8px 0px 8px",useSubheader:true,useTiles:true};vp.controls.StylizedTable.skins.accent={sprite:"/vp/images/b09/common/table/accent/sprite.gif",centerTile:"/vp/images/b09/common/table/accent/center.gif",superHighlightSprite:"/vp/images/b09/common/table/accent/sprite.gif",superHighlightCenterTile:"/vp/images/b09/common/table/accent/center.gif",headerHeight:26,borderStyle:"1px #BEC3C5 solid",altColor:"#ffffde",bgColor:"#FFFFFF",highlightColor:"#fcefae",superHighlightColor:"#fef9df",subHeaderHeight:2,headerPadding:"0px 8px 0px 8px",useSubheader:true,useTiles:true};vp.events.addOnDOMLoadHandler(vp.controls.StylizedTable.renderAll);