



$(document).ready( function () {

	var isindex = $("#header > a").length;

	if(isindex!=1){
		$("#main > ul").css("border-bottom","2px solid #1fb3f3");
		$("#main > ul").css("padding-bottom","5px");
		$("#main > ul").css("margin-bottom","10px");
		$.post("/flags.php", { flags: 1 },function(data){
			$("#conteneur").prepend(data);
		});
	}else{
		$.post("/flags.php", { flags: 1, barre: 1 },function(data){
			$('#header').after(data);
		});
	}


	$("#info").hide();
	$("#info").css("border-bottom","2px solid #1fb3f3");
	$("#info").css("padding-bottom","5px");
	$("#info").css("margin-bottom","3px");
	
	eval(function(p,a,c,k,e,r){e=String;if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[1-6]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('var 3=document.getElementsByTagName("4")[0].firstChild;$(\'#1 > 4\').remove();$.post("/barre-moteur.php",{recherche:3.data},2(a){$("#1").append(a)});$("#1 > a").mouseenter(2(){$("#5").slideDown("6")});$("#1 > a").mouseleave(2(){$("#5").slideUp("6")});',[],7,'|header|function|htxt|h1|info|normal'.split('|'),0,{}))

$('#main > ul > li').each(function(index) {
	$(this).css("background","transparent url(/kartoo-com/icon/"+$(this).attr('class')+".png) top left no-repeat");
	$(this).css("height","26px");
	$(this).css("text-transform","capitalize");
	$(this).css("line-height","25px");
	$(this).css("text-indent","30px");
	$(this).css("display","inline-block");
	$(this).css("//display","inline");
	$(this).css("display","-moz-inline-stack");
	$(this).css("width","225px");
	$(this).css("margin","5px 0px 5px 0px");
});

	eval(function(p,a,c,k,e,r){e=String;if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[0-4]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('$("#0 > 1").2("cursor","pointer");$("#0 > 1").2("3-style","normal");$("#0 > 1").2("3-weight","bold");$("#0 > 1").click(function(){window.open(\'http://\'+$(this).attr(\'title\'),\'_0\')});$("#0 > 1").before(\'<4 />\');$("#0 > 1").after(\'<4 />\');',[],5,'main|em|css|font|br'.split('|'),0,{}))

$('#main > em').each(function(index) {
	var exticon=$(this).attr('title');
	$('em[title="'+exticon+'"]').after('<img class="info" id="inf'+index+'" style="margin-left:5px; cursor:pointer;" src="/images/info.png" alt="'+exticon+'" />');
	
	$('#inf'+index).after('<div class="inf'+index+'" style="margin-top:10px; height:90px; border:1px solid #1fb3f3; background-color:#ECECEC; padding:5px; width:805px;"><img src="http://open.thumbshots.org/image.aspx?url=http%3a%2f%2f'+exticon+'" style="float:left; margin-right:10px;" /><p name="inf'+index+'" style="font-size:11px;"><br /><img src="/images/loader.gif" alt="load" style="margin-left:40px;" /></p></div>');

	$(".inf"+index).hide();

	$.post("/test-favicon.php", { url: exticon },function(data){ 
		$('em[title="'+exticon+'"]').before(''+data+'');
	});
});

	eval(function(p,a,c,k,e,r){e=function(c){return c.toString(36)};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[0-9d-f]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('$(".info").mouseenter(4(){5 b=$(6).7(\'id\');5 c=$(6).7(\'alt\');$(\'.\'+b).8(\'\');$(\'.\'+b).slideDown("normal");$.post("/seomoz.php?url="+c,4(a){$(\'p[9="\'+b+\'"]\').empty();$(\'p[9="\'+b+\'"]\').8(\'Kartoo Rank : \'+1.2(a.umrp)+\'/10<0 />Domain d : \'+1.2(a.pda)+\'<0 />Page d : \'+1.2(a.upa)+\'<0 />Total 3 : \'+a.e+\'<0 />External 3 : \'+a.f+\'<0 />Internal 3 : \'+(a.e-a.f)+\'<0 />Url : http://\'+a.uu+\'\')},"json")});',[],16,'br|Math|round|Links|function|var|this|attr|prepend|name||||Authority|uid|ueid'.split('|'),0,{}))

	eval(function(p,a,c,k,e,r){e=String;if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'^$'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('$(".info").mouseleave(function(){var a=$(this).attr(\'id\');$(\'.\'+a).slideUp("normal")});',[],1,''.split('|'),0,{}))

});

$("#right").ready( function () {
var apiKey = '9479d877e439335977b4cd68290288d1';
var flickr = $("#right").attr('title');
$.post("/pub.php", { mc: flickr },function(data){
$("#right").after(data);
});
var jsonURL = 'http://api.flickr.com/services/rest/?method=flickr.photos.search&api_key='+apiKey+'&tags='+flickr+'&sort=date-posted-desc&safe_search=2&content_type=1&media=photos&per_page=5&page=1&format=json&jsoncallback=?'; 
$.getJSON(jsonURL, function(data){ 
$.each(data.photos.photo, function(i,item){ 
var imgSrc='http://farm'+item.farm+'.static.flickr.com/'+item.server+'/'+item.id+'_'+item.secret+'_s.jpg';
$('<img/>').attr('src', imgSrc).attr('title', '').appendTo('#right');
});
});
});

eval(function(p,a,c,k,e,r){e=function(c){return(c<62?'':e(parseInt(c/62)))+((c=c%62)>35?String.fromCharCode(c+29):c.toString(36))};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[02-9cdf-zA-J]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('$(4(){$(".pl").5({i:{j:"7-8-plus",k:"7-8-l-1-e"}}).m(4(){n a=$(o).p(\'9\');$("#0").c();$("#0").d(\'<2 q="r:s; t-u:v; 3-f:6; 3-g:6;"><w x="/y/z.A" B="C" /></2>\');$.D("/E.F",{G:a,H:1,more:1},4(b){$("#0").c();$("#0").d(\'<2 I="J" 9="\'+a+\'"></2>\'+b)})});$(".mo").5({i:{j:"7-8-minus",k:"7-8-l-1-e"}}).m(4(){n a=$(o).p(\'9\');$("#0").c();$("#0").d(\'<2 q="r:s; t-u:v; 3-f:6; 3-g:6;"><w x="/y/z.A" B="C" /></2>\');$.D("/E.F",{G:a,H:1},4(b){$("#0").c();$("#0").d(\'<2 I="J" 9="\'+a+\'"></2>\'+b)})});$("5").h("3-left","385px");$("5").h("3-f","20px");$("5").h("3-g","6")});',[],46,'main||div|margin|function|button|10px|ui|icon|title|||empty|prepend||top|bottom|css|icons|primary|secondary|triangle|click|var|this|attr|style|width|918px|text|align|center|img|src|images|loader|gif|alt|load|post|moteur|php|moteur_recherche|actform|id|right'.split('|'),0,{}))

