// Skin Specific JS goes here. The jQuery library has already been loaded by the core templates. So if you use jQuery, you are ready to go.
$(document).ready(function(){
	//Lightbox for some external links
	$(".lightbox-hab").colorbox({iframe:true, innerWidth:"1000px", innerHeight:"630px"});
	$(".lightbox-vis").colorbox({iframe:true, innerWidth:"675px", innerHeight:"510px"});
        $(".lightbox-order").colorbox({iframe:true, innerWidth:"550px", innerHeight:"690px"});
//add strip all to lightbox content
	$('.tellmemore-lightbox').attr('href', function() {
		return this.href + '&type=44'
	});
	$('.tellmemore-lightbox').colorbox({
		overlayClose:false,
		width:"550px", height:"710px",
		iframe:true
	});
// split lists in columns
//	var $bigList = $('.tx-categorypages-pi1'),
//		group = $bigList.find('p:lt(7)').remove();
//	alert(group.length); 
//1	while(group.length){
//1		group.appendTo('.tx-categorypages-pi1');
//1		group = $bigList.find('p:lt(7)').remove();
//1	};
});


