function DoNothing() { // Stub } //******************************* // DYNAMIC TASK ELEMENT FUNCTIONS //******************************* function BuildTaskTable() { // Define start of table var szNewTable = ''; // Dynamically load table rows and table cells for( var i = 0; i <= giTotalButtons; i++ ) { szNewTable += ' \n'; szNewTable += ' \n'; szNewTable += ' \n'; szNewTable += ' \n'; } // Define end of table szNewTable += '
\n'; // Add new table to div container divTask.insertAdjacentHTML('BeforeEnd', szNewTable ); } function LoadTaskLeftText() { for( var i = 0; i <= giTotalButtons; i++ ) { document.all('tdTaskLeft_' + i).innerHTML = L_gszTaskPointer_StaticText; } } function LoadTaskRightAnchors() { for( var i = 0; i <= giTotalButtons; i++ ) { document.all('anchorLink_' + i).innerHTML = gaszBtnCaptions[i]; } } //*********************************** // DYMANIC DETAILS ELEMENTS FUNCTIONS //*********************************** function BuildDetailsTable() { // Define start of table var szNewTable = ''; // Dynamically load table rows and table cells for( var i = 0; i <= giTotalButtons; i++ ) { szNewTable += ' \n'; szNewTable += ' \n'; szNewTable += ' \n'; szNewTable += ' \n'; } // Define end of table szNewTable += '
\n'; // Add new table to div container divDetails.insertAdjacentHTML('BeforeEnd', szNewTable ); } function LoadDetailsLeftText() { for( var i = 0; i <= giTotalButtons; i++ ) { document.all('tdDetailsLeft_' + i).innerHTML = gaszBtnTooltips[i]; } } function LoadDetailsRightText() { for( var i = 0; i <= giTotalButtons; i++ ) { document.all('tdDetailsRight_' + i).innerHTML = gaszDetailsRight[i]; } } //***************** // HELPER FUNCTIONS //***************** function HighlightTask( newIndex ) { // First unhighlight any previously selected task if( giCurrentTask >= 0 ) { document.all('tdTaskLeft_' + giCurrentTask).style.visibility = 'hidden'; } // Now highlight the new task document.all('tdTaskLeft_' + newIndex).style.visibility = 'visible'; // Load task summary text divDetails.innerHTML = gaszBtnTooltips[newIndex]; } //********************************** // RESIZE FUNCTION FOR SUMMARY PAGES //********************************** function ResizeFontsSummary() { var iSmallerDimension = GetSmallerDimension(); // Apply custom multipliers tdTitle.style.fontSize = iSmallerDimension * L_ConstSummaryTitleText_Number; anchorExit.style.fontSize = iSmallerDimension * L_ConstSummaryExitText_Number; tdWatermark.style.fontSize = iSmallerDimension * L_ConstWatermarkHomeText_Number; divHeaderRule.style.fontSize = iSmallerDimension * L_ConstSummaryCaptionText_Number; divTaskCaption.style.fontSize = iSmallerDimension * L_ConstSummaryCaptionText_Number; divDetailsCaption.style.fontSize = iSmallerDimension * L_ConstSummaryCaptionText_Number; divDetails.style.fontSize = iSmallerDimension * L_ConstAnchorLinkText_Number; tdBranding.style.fontSize = iSmallerDimension * L_ConstBrandingText_Number; tblTask.style.fontSize = iSmallerDimension * L_ConstAnchorLinkText_Number; for( var i = 0; i <= giTotalButtons; i++ ) { document.all('tdTaskLeft_' + i).style.fontSize = iSmallerDimension * L_ConstSummaryToDoPointerSize_Number; } }