jQuery.noConflict();
siteMain = function(){
	jQuery('table.catalog-tbl tbody tr:nth-child(even)').addClass('alt');
	jQuery('table.catalog-tbl thead tr:last-child td:first-child').addClass('catalog-tbl-thead-bl');
	jQuery('table.catalog-tbl thead tr:last-child td:last-child').addClass('catalog-tbl-thead-br');
	jQuery('table.catalog-tbl thead tr:first-child td:first-child').prepend('<div class="catalog-tbl-thead-tl"><div class="tl"></div></div>');
	jQuery('table.catalog-tbl thead tr:first-child td:last-child').prepend('<div class="catalog-tbl-thead-tr"><div class="tr"></div></div>');
	jQuery('table.catalog-tbl tbody tr:last-child td:first-child').addClass('catalog-tbl-tbody-bl');
	jQuery('table.catalog-tbl tbody tr:last-child td:last-child').addClass('catalog-tbl-tbody-br');
animArray = new Array("assets/templates/complexsb/images/layer1.jpg", "assets/templates/complexsb/images/layer2.jpg", "assets/templates/complexsbv2/images/layer3.jpg", "assets/templates/complexsb/images/layer4.jpg", "assets/templates/complexsbv2/images/layer5.jpg", "assets/templates/complexsb/images/layer6.jpg");
animArrayCounter = 6;
var i;
	jQuery('#headeranimateparent img').remove();
for (i = animArray.length; i--; i > 0){
	jQuery('#headeranimateparent').append('<img src="assets/templates/complexsbv2/images/layer'+(i+1)+'.jpg" width="742" height="222" title="" alt="">');
}
window.setTimeout(hideshow, 8000);
}
hideshow = function(){

if (animArrayCounter != 1 ){
jQuery('#headeranimateparent img:eq('+(animArrayCounter-1)+')').fadeOut(600);
animArrayCounter--;
}else{
jQuery('#headeranimateparent img:gt(0)').fadeIn(600);
animArrayCounter = 6;
}
window.setTimeout(hideshow, 8000);
}
jQuery(document).ready(siteMain);