/*	Sticky Table Row styles by Steve Cochrane
	http://stevecochrane.com/sticky-table-row/ */
	
/*	Last updated: July 5, 2007
	If you would like to use this in your sites I only ask that you include the above comment.
	Suggestions, questions? hq@stevecochrane.com
*/

/*	These are the bare minimum of styles needed for this to work.
	The rest of the appearance is up to you, of course.
	Basically the script will apply a class of "fixed" to the command bar when it needs to stick
	to the bottom of the screen, and when that happens, the following styles are applied.
*/

#sticky-table-row .cmdbar.fixed #cmdbarcontent {
	position: fixed;
	bottom: 0;
}
/*	The values for "0" and "-28" will probably have to be changed when used elsewhere.
	I just used trial and error until it was positioned properly :) */
* html #sticky-table-row .cmdbar.fixed #cmdbarcontent {
	position: absolute !important;
	top: expression( ( 0 - cmdbarcontent.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
	right: auto;
	bottom: auto;
	left: expression( ( -18 - cmdbarcontent.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
}
