/**
*
*  Scrollable HTML table plugin for jQuery
*  http://www.webtoolkit.info/
*
**/

jQuery.fn.Scrollable = function(tableHeight, tableWidth) {
	this.each(function(){
		if (jQuery.browser.msie || jQuery.browser.mozilla) {
			var table = new ScrollableTable(this, tableHeight, tableWidth);
		}
	});
};

/*
for IE6 select issue
*/
$(function() {
var tableWidth = $("#scrollable01").width();
var frameWidth = tableWidth - 17;
var theadlength = $("#scrollable01 thead").length;
var tfootlength = $("#scrollable01 tfoot").length;

var height = $("#scrollable01 thead").attr('scrollHeight');
var frameHeight = height + 5;
$('table#scrollable01').before("<iframe scrolling = 'no' frameborder = '0' id = 'frame01'></div>");
$('#frame01').css('position','absolute');
$('#frame01').css('width',frameWidth);
$('#frame01').css('height',frameHeight);
$('#frame01').css('margin','2px');



});

