﻿function SetProperPropertyTableMaxTdWidth()
{
var table = window.document.getElementById('PropertyResultTable');
var rowCount = table.rows.length;
var maxHeight = 0;
for(var i = 0; i <rowCount; i++)//for all rows
{
    var cellCount = table.rows[i].cells.length;
    for (var j = 0; j < cellCount; j++)//get the max cell height of the current row
    {
        if(maxHeight < table.rows[i].cells[j].clientHeight)
        {
            maxHeight = table.rows[i].cells[j].clientHeight;
        }
    }
    for (var j = 0; j < cellCount; j++)//set the max cell height to all cells in the current row
    {
        table.rows[i].cells[j].height = maxHeight;
    }
    maxHeight = 0; //set the cel height back to 0
}

}

/*
Text Fade In/Out (Website Secrets Version)
Version 1.0
March 1, 2009
Will Bontrager
http://www.willmaster.com/
Copyright 2009 Bontrager Connection, LLC
*/

// Three places to customize --

// Place One:
// Between the quotes, specify the id value of the div 
//   or other container with text to fade in/out.
var ContainerID = "no_commission";

// Place Two:
// In the color mask, put an 0 for the color digits that will 
//   change and otherwise for digits that will remain static.
var ColorMask = "#FF0E0F";

// Place Three:
// Specify the number of milliseconds to wait between each 
//  fade in/out step.
var FadePause = 50;

/*************************************/
// No further customizations required.
/*
var numlist = "0123456789ABCDEF".split("");
var pointer = 15;
var direction = 'up';
var counter = 0;
var MaxChanges = 0;
if( FadePause < 1 ) { FadePause = 1; }
function FadeColorInOut() {
if( pointer == 15 ) { direction = 'down'; }
else if( pointer == 0 ) { direction = 'up'; }
if( direction == 'up' ) { pointer++; }
else { pointer--; }
counter++;
if( MaxChanges > 0 && counter > MaxChanges ) { clearInterval(Changing); }
re = /0/g;
var thiscolor = ColorMask.replace(re,numlist[pointer]);
var elements = getElementsByName_iefix("p",ContainerID);//.style.color = thiscolor;
for(var i = 0; i < elements.length; i++)
{
    elements[i].style.color = thiscolor;
}
}
setInterval("FadeColorInOut()",FadePause);

function getElementsByName_iefix(tag, name) {
     
     var elem = document.getElementsByTagName(tag);
     var arr = new Array();
     for(i = 0,iarr = 0; i < elem.length; i++) {
          att = elem[i].getAttribute("name");
          if(att == name) {
               arr[iarr] = elem[i];
               iarr++;
          }
     }
     return arr;
}
*/
