// JavaScript Document




$(document).ready(function() {
						   


//functie die stippellijnen om link verwijdert bij aanklikken
	$('a').focus(function(){
		this.blur();						   
	});



/*AANBRENGEN ID EN CLASSES IN DE ASSORTIMENTPAGINA'S)####################################################################
#########################################################################################################################
#########################################################################################################################
#########################################################################################################################
*/



/*analysepagina's*/

$('body#carocroc div.analyse table   tr:not(:has(th)):odd').addClass('odd');
$('body#carocroc div.analyse table  tr:not(:has(th)):even').addClass('even');

$('body#carocroc div.analyse  th:eq(3)').addClass('righthead');

$('body#carocroc div.analyse  tbody:eq(0) tr td:nth-child(1)').addClass('firstcolumn');
$('body#carocroc div.analyse  tbody:eq(0) tr td:nth-child(4)').addClass('fourthcolumn');



$('body#carocroc div.analyse  tbody:eq(1) td:nth-child(1)').addClass('tablefooter_firstcolumn');
$('body#carocroc div.analyse  tbody:eq(1) td:nth-child(2)').addClass('tablefooter_secondcolumn');
$('body#carocroc div.analyse  tbody:eq(1) td:nth-child(3)').addClass('tablefooter_thirdcolumn');
$('body#carocroc div.analyse  tbody:eq(1) td:nth-child(4)').addClass('tablefooter_fourthcolumn');
$('body#carocroc div.analyse  tbody:eq(1) td:nth-child(5)').addClass('tablefooter_fifthcolumn');
$('body#carocroc div.analyse  tbody:eq(1) td:nth-child(6)').addClass('tablefooter_sixthcolumn');












$('body.assortiment div.voedingschema table   tr:not(:has(th)):odd').addClass('odd');
$('body.assortiment div.voedingschema table   tr:not(:has(th)):even').addClass('even');

$('body.assortiment div.voedingschema table thead:eq(0) th').addClass('oddheader');








$('body.puppy div.voedingschema table   tr:not(:has(th)):odd').addClass('odd');
$('body.puppy div.voedingschema table   tr:not(:has(th)):even').addClass('even');


$('body.junior div.voedingschema table   tr:not(:has(th)):odd').addClass('odd');
$('body.junior div.voedingschema table   tr:not(:has(th)):even').addClass('even');

$('body.puppy div.voedingschema table thead:eq(0) th').addClass('oddheader');
$('body.puppy div.voedingschema table thead:eq(1) th').addClass('evenheader');

$('body.junior div.voedingschema table thead:eq(0) th').addClass('oddheader');
$('body.junior div.voedingschema table thead:eq(1) th').addClass('evenheader');


$('body.puppy2 div.voedingschema table   tr:not(:has(th)):odd').addClass('odd');
$('body.puppy2 div.voedingschema table   tr:not(:has(th)):even').addClass('even');

$('body.puppy2 div.voedingschema table thead:eq(0) th').addClass('oddheader');
$('body.puppy2 div.voedingschema table thead:eq(1) th').addClass('evenheader');

$('body.junior2 div.voedingschema table   tr:not(:has(th)):odd').addClass('odd');
$('body.junior2 div.voedingschema table   tr:not(:has(th)):even').addClass('even');

$('body.junior2 div.voedingschema table thead:eq(0) th').addClass('oddheader');
$('body.junior2 div.voedingschema table thead:eq(1) th').addClass('evenheader');


$('body#caro_puppylac div.analyse table   tr:not(:has(th)):odd').addClass('odd');
$('body#caro_puppylac div.analyse table  tr:not(:has(th)):even').addClass('even');

$('body#caro_puppylac div.analyse  th:eq(3)').addClass('righthead');

$('body#caro_puppylac div.analyse  tbody:eq(0) tr td:nth-child(1)').addClass('firstcolumn');
$('body#caro_puppylac div.analyse  tbody:eq(0) tr td:nth-child(4)').addClass('secondcolumn');
$('body#caro_puppylac div.analyse  tbody:eq(0) tr td:nth-child(4)').addClass('thirdcolumn');

/*voedingschema's*/

$('body#caro_puppylac div.voedingschema table   tr:not(:has(th)):odd').addClass('odd');
$('body#caro_puppylac div.voedingschema table   tr:not(:has(th)):even').addClass('even');

$('body#caro_puppylac div.voedingschema table thead:eq(0) th').addClass('header');








$('body#productieproces div#contentRight div:even').addClass('even');


$('body#carocroc div.welke_lam_rijst_voeding table:eq(0) th').addClass('tablehead');
$('body#carocroc div.welke_lam_rijst_voeding table:eq(1) th').addClass('tablehead');
$('body#carocroc div.welke_lam_rijst_voeding table:eq(2) th').addClass('tablehead');


$('body#carocroc div.welke_lam_rijst_voeding table:eq(0) tr:eq(1)').addClass('firstrow');
$('body#carocroc div.welke_lam_rijst_voeding table:eq(1) tr:eq(1)').addClass('firstrow');
$('body#carocroc div.welke_lam_rijst_voeding table:eq(2) tr:eq(1)').addClass('firstrow');

$('body#carocroc div.welke_lam_rijst_voeding table:eq(0) tr:eq(2)').addClass('thirdrow');
$('body#carocroc div.welke_lam_rijst_voeding table:eq(1) tr:eq(2)').addClass('thirdrow');
$('body#carocroc div.welke_lam_rijst_voeding table:eq(2) tr:eq(2)').addClass('thirdrow');


$('body#carocroc div.welke_lam_rijst_voeding table:eq(0) tr:eq(4)').addClass('fifthrow');
$('body#carocroc div.welke_lam_rijst_voeding table:eq(1) tr:eq(4)').addClass('fifthrow');
$('body#carocroc div.welke_lam_rijst_voeding table:eq(2) tr:eq(4)').addClass('fifthrow');







$('body#carocroc div.welke_kip_rijst_voeding table:eq(0) th').addClass('tablehead');
$('body#carocroc div.welke_kip_rijst_voeding table:eq(1) th').addClass('tablehead');
$('body#carocroc div.welke_kip_rijst_voeding table:eq(2) th').addClass('tablehead');


$('body#carocroc div.welke_kip_rijst_voeding table:eq(0) tr:eq(1)').addClass('firstrow');
$('body#carocroc div.welke_kip_rijst_voeding table:eq(1) tr:eq(1)').addClass('firstrow');
$('body#carocroc div.welke_kip_rijst_voeding table:eq(2) tr:eq(1)').addClass('firstrow');

$('body#carocroc div.welke_kip_rijst_voeding table:eq(0) tr:eq(2)').addClass('thirdrow');
$('body#carocroc div.welke_kip_rijst_voeding table:eq(1) tr:eq(2)').addClass('thirdrow');
$('body#carocroc div.welke_kip_rijst_voeding table:eq(2) tr:eq(2)').addClass('thirdrow');


$('body#carocroc div.welke_kip_rijst_voeding table:eq(0) tr:eq(4)').addClass('fifthrow');
$('body#carocroc div.welke_kip_rijst_voeding table:eq(1) tr:eq(4)').addClass('fifthrow');
$('body#carocroc div.welke_kip_rijst_voeding table:eq(2) tr:eq(4)').addClass('fifthrow');




$('body#carocat div.welke_super_premium_voeding table:eq(0) th').addClass('tablehead');
$('body#carocat div.welke_super_premium_voeding table:eq(1) th').addClass('tablehead');
$('body#carocat div.welke_super_premium_voeding table:eq(2) th').addClass('tablehead');


$('body#carocat div.welke_super_premium_voeding table:eq(0) tr:eq(1)').addClass('firstrow');
$('body#carocat div.welke_super_premium_voeding table:eq(1) tr:eq(1)').addClass('firstrow');
$('body#carocat div.welke_super_premium_voeding table:eq(2) tr:eq(1)').addClass('firstrow');

$('body#carocat div.welke_super_premium_voeding table:eq(0) tr:eq(2)').addClass('thirdrow');
$('body#carocat div.welke_super_premium_voeding table:eq(1) tr:eq(2)').addClass('thirdrow');
$('body#carocat div.welke_super_premium_voeding table:eq(2) tr:eq(2)').addClass('thirdrow');


$('body#carocat div.welke_super_premium_voeding table:eq(0) tr:eq(3)').addClass('fifthrow');
$('body#carocat div.welke_super_premium_voeding table:eq(1) tr:eq(3)').addClass('fifthrow');
$('body#carocat div.welke_super_premium_voeding table:eq(2) tr:eq(3)').addClass('fifthrow');







$('body#carocat div.welke_premium_voeding table:eq(0) th').addClass('tablehead');
$('body#carocat div.welke_premium_voeding table:eq(1) th').addClass('tablehead');
$('body#carocat div.welke_premium_voeding table:eq(2) th').addClass('tablehead');


$('body#carocat div.welke_premium_voeding table:eq(0) tr:eq(1)').addClass('firstrow');
$('body#carocat div.welke_premium_voeding table:eq(1) tr:eq(1)').addClass('firstrow');
$('body#carocat div.welke_premium_voeding table:eq(2) tr:eq(1)').addClass('firstrow');

$('body#carocat div.welke_premium_voeding table:eq(0) tr:eq(2)').addClass('thirdrow');
$('body#carocat div.welke_premium_voeding table:eq(1) tr:eq(2)').addClass('thirdrow');
$('body#carocat div.welke_premium_voeding table:eq(2) tr:eq(2)').addClass('thirdrow');


$('body#carocat div.welke_premium_voeding table:eq(0) tr:eq(3)').addClass('fifthrow');
$('body#carocat div.welke_premium_voeding table:eq(1) tr:eq(3)').addClass('fifthrow');
$('body#carocat div.welke_premium_voeding table:eq(2) tr:eq(3)').addClass('fifthrow');




/*//////CAROCAT PAGINA'S/////////*/

/*analysepagina's*/


$('body#carocat div.analyse table   tr:not(:has(th)):odd').addClass('odd');
$('body#carocat div.analyse table  tr:not(:has(th)):even').addClass('even');

$('body#carocat div.analyse  th:eq(3)').addClass('righthead');

$('body#carocat div.analyse  tbody:eq(0) tr td:nth-child(1)').addClass('firstcolumn');
$('body#carocat div.analyse  tbody:eq(0) tr td:nth-child(4)').addClass('fourthcolumn');



$('body#carocat div.analyse  tbody:eq(1) td:nth-child(1)').addClass('tablefooter_firstcolumn');
$('body#carocat div.analyse  tbody:eq(1) td:nth-child(2)').addClass('tablefooter_secondcolumn');
$('body#carocat div.analyse  tbody:eq(1) td:nth-child(3)').addClass('tablefooter_thirdcolumn');
$('body#carocat div.analyse  tbody:eq(1) td:nth-child(4)').addClass('tablefooter_fourthcolumn');
$('body#carocat div.analyse  tbody:eq(1) td:nth-child(5)').addClass('tablefooter_fifthcolumn');
$('body#carocat div.analyse  tbody:eq(1) td:nth-child(6)').addClass('tablefooter_sixthcolumn');



$('body.chicken_rice div.voedingschema table   tr:not(:has(th)):odd').addClass('odd');
$('body.chicken_rice div.voedingschema table   tr:not(:has(th)):even').addClass('even');

$('body.chicken_rice div.voedingschema table thead:eq(0) th').addClass('oddheader');
$('body.chicken_rice div.voedingschema table thead:eq(1) th').addClass('evenheader');

$('body.fish_rice div.voedingschema table   tr:not(:has(th)):odd').addClass('odd');
$('body.fish_rice div.voedingschema table   tr:not(:has(th)):even').addClass('even');

$('body.fish_rice div.voedingschema table thead:eq(0) th').addClass('oddheader');
$('body.fish_rice div.voedingschema table thead:eq(1) th').addClass('evenheader');


$('body.premium3mix div.voedingschema table   tr:not(:has(th)):odd').addClass('odd');
$('body.premium3mix div.voedingschema table   tr:not(:has(th)):even').addClass('even');

$('body.premium3mix div.voedingschema table thead:eq(0) th').addClass('oddheader');
$('body.premium3mix div.voedingschema table thead:eq(1) th').addClass('evenheader');



/*//////TRIXI PAGINA'S/////////*/

/*analysepagina's*/


$('body#trixi div.analyse table   tr:not(:has(th)):odd').addClass('odd');
$('body#trixi div.analyse table  tr:not(:has(th)):even').addClass('even');

$('body#trixi div.analyse  th:eq(3)').addClass('righthead');

$('body#trixi div.analyse  tbody:eq(0) tr td:nth-child(1)').addClass('firstcolumn');
$('body#trixi div.analyse  tbody:eq(0) tr td:nth-child(4)').addClass('secondcolumn');
$('body#trixi div.analyse  tbody:eq(0) tr td:nth-child(4)').addClass('thirdcolumn');

/*voedingschema's*/

$('body#trixi div.voedingschema table   tr:not(:has(th)):odd').addClass('odd');
$('body#trixi div.voedingschema table   tr:not(:has(th)):even').addClass('even');

$('body#trixi div.voedingschema table thead:eq(0) th').addClass('header');



/*//////CONTENT PAGINA'S/////////*/

/*analysepagina's*/


$('body#content div.analyse table   tr:not(:has(th)):odd').addClass('odd');
$('body#content div.analyse table  tr:not(:has(th)):even').addClass('even');

$('body#content div.analyse  th:eq(3)').addClass('righthead');

$('body#content div.analyse  tbody:eq(0) tr td:nth-child(1)').addClass('firstcolumn');
$('body#content div.analyse  tbody:eq(0) tr td:nth-child(4)').addClass('fourthcolumn');



$('body#content div.analyse  tbody:eq(1) td:nth-child(1)').addClass('tablefooter_firstcolumn');
$('body#content div.analyse  tbody:eq(1) td:nth-child(2)').addClass('tablefooter_secondcolumn');
$('body#content div.analyse  tbody:eq(1) td:nth-child(3)').addClass('tablefooter_thirdcolumn');
$('body#content div.analyse  tbody:eq(1) td:nth-child(4)').addClass('tablefooter_fourthcolumn');
$('body#content div.analyse  tbody:eq(1) td:nth-child(5)').addClass('tablefooter_fifthcolumn');
$('body#content div.analyse  tbody:eq(1) td:nth-child(6)').addClass('tablefooter_sixthcolumn');




/*verkooppunten2 pagina - kaartje nederland kiezen provincie*/

$('body#verkooppunten2 div#content table  tr:not(:has(th)):odd').addClass('odd');
$('body#verkooppunten2 div#content table  tr:not(:has(th)):even').addClass('even');


});

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'/>")	
		}





