// JavaScript Document




$(document).ready(function() {
						   


//functie die stippellijnen om link verwijdert bij aanklikken
	$('a').focus(function(){
		this.blur();						   
	});



/*AANBRENGEN ID EN CLASSES IN DE submenuPAGINA'S)####################################################################
#########################################################################################################################
#########################################################################################################################
#########################################################################################################################
*/
/*analysepagina's curative cat*/



$('body div.curative table tr:not(:has(th)):odd').addClass('odd');
$('body div.curative table tr:not(:has(th)):even').addClass('even');

$('body div.curative table  tr:not(:has(th)):odd td:nth-child(1)').addClass('grey_odd1');
$('body div.curative table  tr:not(:has(th)):odd td:nth-child(2)').addClass('grey_odd2');

$('body div.curative table  tr:not(:has(th)):even td:nth-child(1)').addClass('grey_even1');
$('body div.curative table  tr:not(:has(th)):even td:nth-child(2)').addClass('grey_even2');



$('body div.curative table  th:eq(0)').addClass('lefthead');
$('body div.curative table  th:eq(1)').addClass('righthead2');
$('body div.curative table  th:eq(2)').addClass('righthead');





$('body div.curative table  tbody:eq(0) th:nth-child(1)').addClass('subhead1c');
$('body div.curative table  tbody:eq(0) th:nth-child(2)').addClass('subhead1');
$('body div.curative table  tbody:eq(0) th:nth-child(3)').addClass('subhead2');
$('body div.curative table  tbody:eq(0) th:nth-child(4)').addClass('subhead2');
$('body div.curative table  tbody:eq(0) th:nth-child(5)').addClass('subhead2');
$('body div.curative table  tbody:eq(0) th:nth-child(6)').addClass('subhead2c');
$('body div.curative table  tbody:eq(0) th:nth-child(7)').addClass('subhead2a');
$('body div.curative table  tbody:eq(0) th:nth-child(8)').addClass('subhead2a');
$('body div.curative table  tbody:eq(0) th:nth-child(9)').addClass('subhead2a');
$('body div.curative table  tbody:eq(0) th:nth-child(10)').addClass('subhead2a');

 $('body div.curative table  tbody:eq(1) th:nth-child(1)').addClass('subhead1c');
$('body div.curative table  tbody:eq(1) th:nth-child(2)').addClass('subhead1');
$('body div.curative table  tbody:eq(1) th:nth-child(3)').addClass('subhead2');
$('body div.curative table  tbody:eq(1) th:nth-child(4)').addClass('subhead2');
$('body div.curative table  tbody:eq(1) th:nth-child(5)').addClass('subhead2');
$('body div.curative table  tbody:eq(1) th:nth-child(6)').addClass('subhead2c');
$('body div.curative table  tbody:eq(1) th:nth-child(7)').addClass('subhead2a');
$('body div.curative table  tbody:eq(1) th:nth-child(8)').addClass('subhead2a');
$('body div.curative table  tbody:eq(1) th:nth-child(9)').addClass('subhead2a');
$('body div.curative table  tbody:eq(1) th:nth-child(10)').addClass('subhead2a');

$('body div.curative table  tr td:nth-child(6)').addClass('sixthcolumn');


$('body div.curative table  tbody:eq(3) td:nth-child(1)').addClass('toevoegingen2');
$('body div.curative table  tbody:eq(3) td:nth-child(2)').addClass('toevoegingen2');
$('body div.curative table  tbody:eq(5) td:nth-child(1)').addClass('toevoegingen2');
$('body div.curative table  tbody:eq(6) td:nth-child(1)').addClass('toevoegingen2');
$('body div.curative table  tbody:eq(7) td:nth-child(1)').addClass('toevoegingen3');
$('body div.curative table  tbody:eq(5) td:nth-child(2)').addClass('toevoegingen2');
$('body div.curative table  tbody:eq(6) td:nth-child(2)').addClass('toevoegingen2');
$('body div.curative table  tbody:eq(7) td:nth-child(2)').addClass('toevoegingen3');












/*analysepagina's*/


$('table#analysepage  tr:not(:has(th)):odd').addClass('odd');
$('table#analysepage  tr:not(:has(th)):even').addClass('even');

$('table#analysepage  tr:not(:has(th)):odd td:nth-child(1)').addClass('grey_odd1');
$('table#analysepage  tr:not(:has(th)):odd td:nth-child(2)').addClass('grey_odd2');

$('table#analysepage  tr:not(:has(th)):even td:nth-child(1)').addClass('grey_even1');
$('table#analysepage  tr:not(:has(th)):even td:nth-child(2)').addClass('grey_even2');




$('table#analysepage  tr td:nth-child(3)').addClass('thirdcolumn');

$('table#analysepage  tr td:nth-child(4)').addClass('fourthcolumn');

$('table#analysepage  tr td:nth-child(5)').addClass('fifthcolumncolumn');

$('table#analysepage  tr td:nth-child(6)').addClass('sixthcolumn');





$('table#analysepage  th:eq(0)').addClass('lefthead');

$('table#analysepage  th:eq(1)').addClass('righthead');




$('table#analysepage  tbody:eq(0) th:nth-child(1)').addClass('subhead1');

$('table#analysepage  tbody:eq(0) th:nth-child(6)').addClass('subhead1a');

$('table#analysepage  tbody:eq(0) th:nth-child(2)').addClass('subhead2');
$('table#analysepage  tbody:eq(0) th:nth-child(3)').addClass('subhead2');
$('table#analysepage  tbody:eq(0) th:nth-child(4)').addClass('subhead2');
$('table#analysepage  tbody:eq(0) th:nth-child(5)').addClass('subhead2');

$('table#analysepage  tbody:eq(0) th:nth-child(7)').addClass('subhead2a');
$('table#analysepage  tbody:eq(0) th:nth-child(8)').addClass('subhead2a');
$('table#analysepage  tbody:eq(0) th:nth-child(9)').addClass('subhead2a');
$('table#analysepage  tbody:eq(0) th:nth-child(10)').addClass('subhead2a');





$('table#analysepage  tbody:eq(2) th:nth-child(1)').addClass('toevoegingen');
$('table#analysepage  tbody:eq(2) th:nth-child(2)').addClass('leeg');
$('table#analysepage  tbody:eq(2) th:nth-child(3)').addClass('leeg');
$('table#analysepage  tbody:eq(2) th:nth-child(4)').addClass('leeg');
$('table#analysepage  tbody:eq(2) th:nth-child(5)').addClass('leeg');





<!-- onderste 3 rijen linker kolom (grijs)    -->

$('table#analysepage  tbody:eq(4) th:nth-child(1)').addClass('tablefooter_left2');


$('table#analysepage  tbody:eq(5) th:nth-child(1)').addClass('tablefooter_left');
$('table#analysepage  tbody:eq(5) th:nth-child(2)').addClass('tablefooter_left');


$('table#analysepage  tbody:eq(6) th:nth-child(1)').addClass('tablefooter_left');
$('table#analysepage  tbody:eq(6) th:nth-child(2)').addClass('tablefooter_left');

<!-- EINDE onderste 3 rijen linker kolom (grijs)    -->



$('table#analysepage  tbody:eq(4) th:nth-child(2)').addClass('tablefooter_right2');
$('table#analysepage  tbody:eq(4) th:nth-child(3)').addClass('tablefooter_right');
$('table#analysepage  tbody:eq(4) th:nth-child(4)').addClass('tablefooter_right');
$('table#analysepage  tbody:eq(4) th:nth-child(5)').addClass('tablefooter_right');



$('table#analysepage  tbody:eq(5) th:nth-child(3)').addClass('tablefooter_rightbottom2');
$('table#analysepage  tbody:eq(5) th:nth-child(4)').addClass('tablefooter_rightbottom');
$('table#analysepage  tbody:eq(5) th:nth-child(5)').addClass('tablefooter_rightbottom');
$('table#analysepage  tbody:eq(5) th:nth-child(6)').addClass('tablefooter_rightbottom');





$('table#analysepage  tbody:eq(6) th:nth-child(3)').addClass('tablefooter_rightbottom2');
$('table#analysepage  tbody:eq(6) th:nth-child(4)').addClass('tablefooter_rightbottom');
$('table#analysepage  tbody:eq(6) th:nth-child(5)').addClass('tablefooter_rightbottom');
$('table#analysepage  tbody:eq(6) th:nth-child(6)').addClass('tablefooter_rightbottom');



/******************************************
*Analysepagina hypallergenic lr met worst**
******************************************/




$('table#analysepage_worst  tr:not(:has(th)):odd').addClass('odd');
$('table#analysepage_worst  tr:not(:has(th)):even').addClass('even');

$('table#analysepage_worst  tr:not(:has(th)):odd td:nth-child(1)').addClass('grey_odd1');
$('table#analysepage_worst  tr:not(:has(th)):odd td:nth-child(2)').addClass('grey_odd2');

$('table#analysepage_worst  tr:not(:has(th)):even td:nth-child(1)').addClass('grey_even1');
$('table#analysepage_worst  tr:not(:has(th)):even td:nth-child(2)').addClass('grey_even2');




$('table#analysepage_worst  tr td:nth-child(3)').addClass('thirdcolumn');

$('table#analysepage_worst  tr td:nth-child(4)').addClass('fourthcolumn');

$('table#analysepage_worst  tr td:nth-child(5)').addClass('fifthcolumncolumn');

$('table#analysepage_worst  tr td:nth-child(6)').addClass('sixthcolumn');





$('table#analysepage_worst  th:eq(0)').addClass('lefthead_worst');

$('table#analysepage_worst  th:eq(1)').addClass('righthead_worst');

$('table#analysepage_worst  th:eq(2)').addClass('lefthead_worst');

$('table#analysepage_worst  th:eq(3)').addClass('righthead_worst');
$('table#analysepage_worst  th:eq(4)').addClass('righthead_worst');




$('table#analysepage_worst  tbody:eq(0) th:nth-child(1)').addClass('subhead1_worst');

$('table#analysepage_worst  tbody:eq(0) th:nth-child(6)').addClass('subhead1a_worst');

$('table#analysepage_worst  tbody:eq(0) th:nth-child(2)').addClass('subhead2_worst');
$('table#analysepage_worst  tbody:eq(0) th:nth-child(3)').addClass('subhead2_worst');
$('table#analysepage_worst  tbody:eq(0) th:nth-child(4)').addClass('subhead2_worst');
$('table#analysepage_worst  tbody:eq(0) th:nth-child(5)').addClass('subhead2_worst');
$('table#analysepage_worst  tbody:eq(0) th:nth-child(6)').addClass('subhead2_worst');

$('table#analysepage_worst  tbody:eq(0) th:nth-child(7)').addClass('subhead2a_worst');
$('table#analysepage_worst  tbody:eq(0) th:nth-child(8)').addClass('subhead2a_worst');
$('table#analysepage_worst  tbody:eq(0) th:nth-child(9)').addClass('subhead2a_worst');
$('table#analysepage_worst  tbody:eq(0) th:nth-child(10)').addClass('subhead2a_worst');
$('table#analysepage_worst  tbody:eq(0) th:nth-child(11)').addClass('subhead2a_worst');







$('table#analysepage_worst  tbody:eq(2) th:nth-child(1)').addClass('toevoegingen');
$('table#analysepage_worst  tbody:eq(2) th:nth-child(2)').addClass('leeg');
$('table#analysepage_worst  tbody:eq(2) th:nth-child(3)').addClass('leeg');
$('table#analysepage_worst  tbody:eq(2) th:nth-child(4)').addClass('leeg');
$('table#analysepage_worst  tbody:eq(2) th:nth-child(5)').addClass('leeg');
$('table#analysepage_worst  tbody:eq(2) th:nth-child(6)').addClass('leeg');






<!-- onderste 3 rijen linker kolom (grijs)    -->

$('table#analysepage_worst  tbody:eq(4) th:nth-child(1)').addClass('tablefooter_left2');


$('table#analysepage_worst  tbody:eq(5) th:nth-child(1)').addClass('tablefooter_left');
$('table#analysepage_worst  tbody:eq(5) th:nth-child(2)').addClass('tablefooter_left');


$('table#analysepage_worst  tbody:eq(6) th:nth-child(1)').addClass('tablefooter_left');
$('table#analysepage_worst  tbody:eq(6) th:nth-child(2)').addClass('tablefooter_left');

<!-- EINDE onderste 3 rijen linker kolom (grijs)    -->



$('table#analysepage_worst  tbody:eq(4) th:nth-child(2)').addClass('tablefooter_right2');
$('table#analysepage_worst  tbody:eq(4) th:nth-child(3)').addClass('tablefooter_right');
$('table#analysepage_worst  tbody:eq(4) th:nth-child(4)').addClass('tablefooter_right');
$('table#analysepage_worst  tbody:eq(4) th:nth-child(5)').addClass('tablefooter_right');
$('table#analysepage_worst  tbody:eq(4) th:nth-child(6)').addClass('tablefooter_right');



$('table#analysepage_worst  tbody:eq(5) th:nth-child(3)').addClass('tablefooter_rightbottom2');
$('table#analysepage_worst  tbody:eq(5) th:nth-child(4)').addClass('tablefooter_rightbottom');
$('table#analysepage_worst  tbody:eq(5) th:nth-child(5)').addClass('tablefooter_rightbottom');
$('table#analysepage_worst  tbody:eq(5) th:nth-child(6)').addClass('tablefooter_rightbottom');
$('table#analysepage_worst  tbody:eq(5) th:nth-child(7)').addClass('tablefooter_rightbottom');






$('table#analysepage_worst  tbody:eq(6) th:nth-child(3)').addClass('tablefooter_rightbottom2');
$('table#analysepage_worst  tbody:eq(6) th:nth-child(4)').addClass('tablefooter_rightbottom');
$('table#analysepage_worst  tbody:eq(6) th:nth-child(5)').addClass('tablefooter_rightbottom');
$('table#analysepage_worst  tbody:eq(6) th:nth-child(6)').addClass('tablefooter_rightbottom');
$('table#analysepage_worst  tbody:eq(6) th:nth-child(7)').addClass('tablefooter_rightbottom');











/*indicatiepagina's*/







/*effectiviteitspagina's*/


/*TABEL effectiviteitpage */

$('body table:nth-child(2)').addClass('aandoeningen');


$('table#effectiviteitpage  tr:eq(0)').addClass('head');
$('table#effectiviteitpage   th:nth-child(2)').addClass('center_head');
$('table#effectiviteitpage   th:nth-child(4)').addClass('center_head');




$('table#effectiviteitpage  tr:not(:has(th)):odd').addClass('even');
$('table#effectiviteitpage  tr:not(:has(th)):even').addClass('odd');

$('table#effectiviteitpage  tr:not(:has(th)):odd td:nth-child(2)').addClass('center_odd');
$('table#effectiviteitpage  tr:not(:has(th)):odd td:nth-child(4)').addClass('center_odd');

$('table#effectiviteitpage  tr:not(:has(th)):even td:nth-child(2)').addClass('center_odd');
$('table#effectiviteitpage  tr:not(:has(th)):even td:nth-child(4)').addClass('center_odd');






$('table#effectiviteitpage  tr:nth-child(6) td:nth-child(1)').addClass('noborder');
$('table#effectiviteitpage  tr:nth-child(6) td:nth-child(2)').addClass('noborder');
$('table#effectiviteitpage  tr:nth-child(6) td:nth-child(3)').addClass('noborder');
$('table#effectiviteitpage  tr:nth-child(6) td:nth-child(4)').addClass('noborder');

$('table#effectiviteitpage  tr:nth-child(7) td:nth-child(1)').addClass('noborder');
$('table#effectiviteitpage  tr:nth-child(7) td:nth-child(2)').addClass('noborder');
$('table#effectiviteitpage  tr:nth-child(7) td:nth-child(3)').addClass('noborder');
$('table#effectiviteitpage  tr:nth-child(7) td:nth-child(4)').addClass('noborder');








$('table#effectiviteitpage  tr:not(:has(th)):odd td:nth-child(2)').addClass('center2_odd');
$('table#effectiviteitpage  tr:not(:has(th)):odd td:nth-child(4)').addClass('center2_odd');

$('table#effectiviteitpage tr:not(:has(th)):even td:nth-child(2)').addClass('center2_odd');
$('table#effectiviteitpage  tr:not(:has(th)):even td:nth-child(4)').addClass('center2_odd');






/*TABEL effectiviteitpage2 */

$('table#effectiviteitpage2  tr:eq(0)').addClass('head');
$('table#effectiviteitpage2   th:nth-child(2)').addClass('center_head');
$('table#effectiviteitpage2   th:nth-child(4)').addClass('center_head');




$('table#effectiviteitpage2  tr:not(:has(th)):odd').addClass('even');
$('table#effectiviteitpage2  tr:not(:has(th)):even').addClass('odd');

$('table#effectiviteitpage2  tr:not(:has(th)):odd td:nth-child(2)').addClass('center_odd');
$('table#effectiviteitpage2  tr:not(:has(th)):odd td:nth-child(3)').addClass('center_odd');

$('table#effectiviteitpage2  tr:not(:has(th)):even td:nth-child(2)').addClass('center_odd');
$('table#effectiviteitpage2  tr:not(:has(th)):even td:nth-child(3)').addClass('center_odd');









$('table#effectiviteitpage2  tr:not(:has(th)):odd td:nth-child(2)').addClass('center2_odd');
$('table#effectiviteitpage2  tr:not(:has(th)):odd td:nth-child(3)').addClass('center2_odd');

$('table#effectiviteitpage2 tr:not(:has(th)):even td:nth-child(2)').addClass('center2_odd');
$('table#effectiviteitpage2  tr:not(:has(th)):even td:nth-child(3)').addClass('center2_odd');




/*PAGINA SPECIFIEKEN*/

$('body#weight_reduction  tr:not(:has(th)):even td:nth-child(3)').addClass('center_odd');
$('body#weight_reduction  tr:not(:has(th)):odd td:nth-child(3)').addClass('center_odd');
$('body#weight_reduction  th:nth-child(3)').addClass('center_head');
     
$('body#weight_control  tr:not(:has(th)):even td:nth-child(3)').addClass('center_odd');
$('body#weight_control  tr:not(:has(th)):odd td:nth-child(3)').addClass('center_odd');
$('body#weight_control  th:nth-child(3)').addClass('center_head');
									  




/*indicatiespagina's*/


/*TABEL indicatiepage */

$('table#indicatiepage  tr:eq(0)').addClass('head');
$('table#indicatiepage   th:nth-child(2)').addClass('center_head');
$('table#indicatiepage   th:nth-child(4)').addClass('center_head');




$('table#indicatiepage  tr:not(:has(th)):odd').addClass('even');
$('table#indicatiepage  tr:not(:has(th)):even').addClass('odd');

$('table#indicatiepage  tr:not(:has(th)):odd td:nth-child(2)').addClass('center_odd');
$('table#indicatiepage  tr:not(:has(th)):odd td:nth-child(3)').addClass('center_odd');

$('table#indicatiepage  tr:not(:has(th)):even td:nth-child(2)').addClass('center_odd');
$('table#indicatiepage  tr:not(:has(th)):even td:nth-child(3)').addClass('center_odd');


$('table#indicatiepage  tr:not(:has(th)):odd td:nth-child(2)').addClass('center2_odd');
$('table#indicatiepage  tr:not(:has(th)):odd td:nth-child(3)').addClass('center2_odd');

$('table#indicatiepage tr:not(:has(th)):even td:nth-child(2)').addClass('center2_odd');
$('table#indicatiepage  tr:not(:has(th)):even td:nth-child(3)').addClass('center2_odd');


/*DOWNLOADTABEL CONTACTPAGINA CONSUMENTEN*/

/*
$('table#downloads_consumenten  tr:eq(0) td:nth-child(1)').addClass('curative_dog');
$('table#downloads_consumenten  tr:eq(0) td:nth-child(3)').addClass('curative_cat');


$('table#downloads_consumenten  tr:eq(1) td:nth-child(1)').addClass('download-hypoallergenic_lr');
$('table#downloads_consumenten  tr:eq(2) td:nth-child(1)').addClass('download-hypoallergenic_dr');
$('table#downloads_consumenten  tr:eq(4) td:nth-child(3)').addClass('download-weight_reduction');

$('table#downloads_consumenten  tr:eq(4) td:nth-child(1)').addClass('download-weight_control');
$('table#downloads_consumenten  tr:eq(5) td:nth-child(1)').addClass('download-anti_osteoarthritis');
$('table#downloads_consumenten  tr:eq(6) td:nth-child(1)').addClass('download-neoplasia_cardiac');
$('table#downloads_consumenten  tr:eq(7) td:nth-child(1)').addClass('download-atopy_sensitive');

$('table#downloads_consumenten  tr:eq(1) td:nth-child(3)').addClass('download-renal');
$('table#downloads_consumenten  tr:eq(2) td:nth-child(3)').addClass('download-anti_struvite');
$('table#downloads_consumenten  tr:eq(3) td:nth-child(3)').addClass('download-empty');
$('table#downloads_consumenten  tr:eq(4) td:nth-child(3)').addClass('download-empty');
$('table#downloads_consumenten  tr:eq(5) td:nth-child(3)').addClass('download-preventive_dog');
$('table#downloads_consumenten  tr:eq(6) td:nth-child(3)').addClass('download-empty');
$('table#downloads_consumenten  tr:eq(7) td:nth-child(3)').addClass('download-preventive_cat');

*/






});

var Safari=navigator.userAgent.toLowerCase();
		isSafari=(Safari.indexOf('safari') != -1);
		if(isSafari)
		{
		document.write("<link type='text/css' rel='stylesheet' href='../../stylesheets/patches/safari.css' media='screen, projection'/>")	
		}




