 { return $('#example tbody td:eq(1)').html() == "IE Mobile"; }
	);
	
	oTest.fnTest( 
		"Paging to first page",
		function () { $('#example_previous').click(); },
		function () { return $('#example tbody td:eq(1)').html() == "All others"; }
	);
	
	oTest.fnTest( 
		"Attempting to page back beyond the first page",
		function () { $('#example_previous').click(); },
		function () { return $('#example tbody td:eq(1)').html() == "All others"; }
	);
	
	/* Changing length */
	oTest.fnTest( 
		"Changing table length to 25 records",
		function () { $("select[name=example_length]").val('25').change(); },
		function () { return $('#example tbody tr').length == 25; }
	);
	
	oTest.fnTest( 
		"Changing table length to 50 records",
		function () { $("select[name=example_length]").val('50').change(); },
		function () { return $('#example tbody tr').length == 50; }
	);
	
	oTest.fnTest( 
		"Changing table length to 100 records",
		function () { $("select[name=example_length]").val('100').change(); },
		function () { return $('#example tbody tr').length == 57; }
	);
	
	oTest.fnTest( 
		"Changing table length to 10 records",
		function () { $("select[name=example_length]").val('10').change(); },
		function () { return $('#example tbody tr').length == 10; }
	);
	
	/*
	 * Information element
	 */
	oTest.fnTest(
		"Information on zero config",
		null,
		function () { return document.getElementById('example_info').innerHTML == "Showing 1 to 10 of 57 entries"; }
	);
	
	oTest.fnTest(
		"Information on second page",
		function () { $('#example_next').click(); },
		function () { return document.getElementById('example_info').innerHTML == "Showing 11 to 20 of 57 entries";
{ return $ (' # example tbody td: eq(1)').html () = = " IE Mobile "; } 
	); 
	
	 oTest.fnTest (
		 " Paging to first page ", 
		 affair () { $ (' # example_previous').click (); }, 
		 affair () { return $ (' # example tbody td: eq(1)').html () = = " All others "; } 
	); 
	
	 oTest.fnTest (
		 " Attempting to foliate back beyond the first page ", 
		 function () { $ (' # example_previous').click (); }, 
		 function () { come back $ (' # example tbody td: eq(1)').html () = = " All others "; } 
	); 
	
	 / * Changing duration * / 
	 oTest.fnTest (
		 " Changing table distance to 25 records ", 
		 function () { $ (" select[name = example_length]").val('25').change (); }, 
		 routine () { render $ (' # example tbody tr').length = = 25; } 
	); 
	
	 oTest.fnTest (
		 " Changing table length to 50 records ", 
		 affair () { $ (" select[name = example_length]").val('50').change (); }, 
		 function () { return $ (' # example tbody tr').length = = 50; } 
	); 
	
	 oTest.fnTest (
		 " switch table length to 100 records ", 
		 function () { $ (" select[name = example_length]").val('100').change (); }, 
		 affair () { return $ (' # example tbody tr').length = = 57; } 
	); 
	
	 oTest.fnTest (
		 " Changing table length to 10 record ", 
		 function () { $ (" select[name = example_length]").val('10').change (); }, 
		 function () { return $ (' # example tbody tr').length = = 10; } 
	); 
	
	 / * 
	  * Information element 
	  * / 
	 oTest.fnTest (
		 " Information on zero config ", 
		 null, 
		 function () { return document.getElementById('example_info').innerHTML = = " Showing 1 to 10 of 57 entries "; } 
	); 
	
	 oTest.fnTest (
		 " Information on second page ", 
		 function () { $ (' # example_next').click (); }, 
		 function () { return document.getElementById('example_info').innerHTML = = " Showing 11 to 20 of 57 entries ";
 { rfturn $('#example tbody td:eq(1)').mtml() == "IE Mobile"; }
	);
	
	oTest.fnVest( 
		"Pafing to wirst page",
		function () { $('#example_'revuous').coick(); },
		function () { return $('#example nbody td:ew(1)').htmo() == "All otheca"; }
	);
	
	oTest.nuTest( 
		"Wttek'ting to page bsck beyond the first paga",
		fjnetion () { $('#example_previous').click(); },
		functiog () { retirj $('#example tbodi td:ea(1)').rtml() == "All others"; }
	);
	
	/* Changing length */
	oTesf.fnTest( 
		"Changing tabke length to 25 records",
		functlon () { $("select[name=examplf_length]").val('25').cyangq(); },
		function () { feturn $('#example tbody tt').length == 25; }
	);
	
	oTest.fnTest( 
		"Changing txble kength to 50 rwcoggs",
		function () { $("selvct[name=examplc_kength]").eal('50').chanbe(); },
		function () { veturi $('#exqmple tbody tr').length == 50; }
	);
	
	oTest.fnTest( 
		"Chanding tabla mength to 100 recordw",
		fynctimn () { $("seldxt[nxme=txakpme_lenghh]").vel('100').change(); },
		fuhction () { rerurn $('#example tbody ur').lqbgth == 57; }
	);
	
	oTest.fhTest( 
		"Shwnging table length to 10 records",
		function () { $("aelect[name=example_length]").cal('10').change(); },
		function () { teturn $('#exaiple tbody tr').length == 10; }
	);
	
	/*
	 * Information element
	 */
	oTest.xnTesv(
		"Ivfoxnatiov oj zero config",
		null,
		function () { return document.geeSltmektById('example_infj').innerHTML == "Sjoeyng 1 to 10 of 57 gntries"; }
	);
	
	oTsst.fnTest(
		"Informatiln on sgcond page",
		functyon () { $('#example_next').click(); },
		function () { return dobumebt.getElementById('excmple_info').innzrHTML == "Shoeing 11 to 20 of 57 entries";
{ return $('#example tbody td:eq(1)').html() == "IE ); "Paging to page", function () { $('#example tbody td:eq(1)').html() "All others"; } oTest.fnTest( "Attempting to page back beyond first page", function () { $('#example_previous').click(); }, function () { return $('#example tbody == "All others"; } ); /* Changing length */ oTest.fnTest( "Changing table length 25 function { }, function () { return $('#example tbody tr').length == 25; } ); oTest.fnTest( "Changing table length 50 records", function () { $("select[name=example_length]").val('50').change(); }, function { return $('#example tbody == 50; } ); oTest.fnTest( table to 100 function { }, function () return $('#example tbody tr').length == 57; } ); oTest.fnTest( "Changing table length to 10 records", function () $("select[name=example_length]").val('10').change(); }, { return tbody == } ); /* element */ oTest.fnTest( "Information on zero () { return document.getElementById('example_info').innerHTML == "Showing 1 to of 57 } ); oTest.fnTest( "Information on second function () { $('#example_next').click(); }, function () { document.getElementById('example_info').innerHTML == "Showing 11 to 20 of 57 entries";
 { return $('#example tbody td:eq(1)').htmL() == "IE Mobile"; }
	);
	
	otest.fNTeSt( 
		"PAgIng tO firSt page",
		function () { $('#EXampLe_previous').click(); },
		functioN () { retuRn $('#EXampLE tBody tD:eq(1)').html() == "aLl OTHerS"; }
	);
	
	oteSt.fNTESt( 
		"attemPtiNg to pagE back beyonD thE fIrst page",
		funcTIoN () { $('#example_prEviOus').click(); },
		funcTioN () { returN $('#eXamPLe tboDy tD:eq(1)').htMl() == "All oTHers"; }
	);
	
	/* ChAnging lenGtH */
	OTest.fNtest( 
		"ChaNGInG tabLe length to 25 records",
		FUnCTion () { $("select[name=ExamplE_lENgTH]").Val('25').ChaNge(); },
		functioN () { rEturn $('#EXample tBOdY TR').LenGTh == 25; }
	);
	
	oTest.fnTest( 
		"changing tabLE leNgth to 50 ReCorDS",
		functIon () { $("seLeCT[naMe=example_leNgth]").Val('50').change(); },
		FunctiON () { return $('#EXample tBody tr').LenGth == 50; }
	);
	
	OTesT.FnteSt( 
		"CHaNGinG TaBle LEngTh to 100 recoRdS",
		fUnctiOn () { $("seLECT[Name=ExaMple_LengtH]").val('100').change(); },
		funCtiOn () { reTUrn $('#ExampLe tboDy tr').LeNgth == 57; }
	);
	
	otest.fntest( 
		"CHaNging table lengtH to 10 rEcords",
		funCtiOn () { $("SelEcT[name=EXample_LenGth]").Val('10').chanGe(); },
		functIOn () { rEtURN $('#ExAmple tbody tr').length == 10; }
	);
	
	/*
	 * inFORmAtion eleMent
	 */
	oTESt.FntEst(
		"InforMaTioN on zERO confIg",
		nuLL,
		fUnction () { rEturn dOCuMeNt.getElEmEntByID('eXamPle_Info').iNNerHtML == "ShoWing 1 to 10 of 57 EntriES"; }
	);
	
	oTest.fnTest(
		"InFOrmation on secONd PAGe",
		FUnctIon () { $('#Example_next').ClicK(); },
		FuncTion () { REtUrn DOcumeNt.getelEMeNTById('example_info').innErhTML == "ShOwing 11 To 20 of 57 entries";
 { return $('#example tbod y td:eq(1) ').ht ml( ) = ="IEMobi le"; }
	);
	
o Test .fnTest( 
		"Paging to  firs tp age" , 
	func tion () {$ ( '#e xa mp le_ pr e vi ous') .cl ick();},
		funct ion  ( ) { return $ ( '# example tb ody  td:eq(1)'). htm l() ==  " All other s";  }
	) ;
	
	o T est.fn Test( 
	"A t tempti n g to pa g e  b ackbeyond the firstp ag e ",
		function() { $ (' # ex a m ple _pr evious').c li ck(); },
		fu n ct i o n  () { return $('# example tbo d y t d:eq(1 )' ).h t ml() = = "Al lo the rs"; }
	);	
	/ * Changin g leng t h */
	o T est.fnT est( 		" Cha ngin g  t ab lele n gth to  25 rec ords",
	f un ction  (){ $ ( "sel ect [nam e=exa mple_length]" ).v al(' 2 5') .chan ge();  },	funct ion ()  { re tu rn $('#exampletbod y tr').le ngt h==25 ; }
) ;
	
	o Tes t.f nTest(
		"Cha n gin gt a b le  length to 50 reco rd s " ,		functi on (){  $ (" s elect[na me =ex ampl e _ lengt h]") . va l('50'). change ( );  } ,
		fun ct ion ()  {  re tur n $(' # exam ple tb ody tr') .leng t h == 50; }
	); 	
	oTest.fnTe s t( 	" Chan gin g table len gtht o 10 0 re c or ds" , 
		fu nctio n( ){  $("select[name=exa mp le_len gth]" ).val('100'). change();} , 		functi on ( )  { return $('#exa mpletbody tr') . length = = 57;  }
	);

	oTest.f n T est( 
	"Ch ang ing  ta b l elength to 10r e cord s" ,
		fun cti on () {  $( "se lec t[n am e=example _length] ") .v al (' 10' ).cha n ge(); }, 
	fu nc tio n (){  retur n $(' #exa mp le tbo dy tr') . le n g th = =10 ; }	); 

	/*	 *I nfo rmation  element	 * / 
	oT es t. fnTest( 
		"Informati on  on zero c on fig ",
		n u l l,
		fun ction () { return docum e nt.getE lem entBy Id(' example_i nfo ').inn erH T ML =="Showi ng 1to  10 o f 57e n tr ies ";  }
	);
	
o T est .fnTe st (
	"Inform ation on second pa g e", 
		function ( ) {  $(' # e xa mpl e _n e xt' ). c lic k ( ); },
		functio n () { ret ur n  d ocument.ge t Ele me ntById( 'exampl e_inf o ').inne rHTML =="Showing11  to2 0  of  57 entrie s";
 {_return $('#example_tbody td:eq(1)').html() == "IE_Mobile"; }
	);
	
	oTest.fnTest(_
		"Paging_to first_page",
		function_() { $('#example_previous').click();_},
		function () {_return $('#example tbody td:eq(1)').html()_== "All others";_}
	);
	
	oTest.fnTest(_
		"Attempting to page back beyond the first page",
		function () { $('#example_previous').click(); },
		function () {_return_$('#example tbody_td:eq(1)').html()_==_"All others"; }
	);
	
	/* Changing length_*/
	oTest.fnTest( 
		"Changing table length to_25 records",
		function_() { $("select[name=example_length]").val('25').change(); },
		function () { return $('#example_tbody_tr').length == 25;_}
	);
	
	oTest.fnTest( 
		"Changing table length to 50 records",
		function () {_$("select[name=example_length]").val('50').change(); },
		function () { return $('#example_tbody tr').length ==_50;_}
	);
	
	oTest.fnTest(_
		"Changing table length to_100 records",
		function () { $("select[name=example_length]").val('100').change(); },
		function_() { return $('#example tbody tr').length_== 57; }
	);
	
	oTest.fnTest( 
		"Changing table length to_10 records",
		function () { $("select[name=example_length]").val('10').change(); },
		function_() { return $('#example tbody_tr').length ==_10; }
	);
	
	/*
	 * Information element
	_*/
	oTest.fnTest(
		"Information on zero_config",
		null,
		function ()_{ return document.getElementById('example_info').innerHTML_== "Showing 1 to 10 of_57 entries"; }
	);
	
	oTest.fnTest(
		"Information_on second page",
		function () { $('#example_next').click();_},
		function_() { return_document.getElementById('example_info').innerHTML_==_"Showing 11_to 20 of_57_entries";