(function() {google.bind=function(a,b,c){google.listen(a,b,c)};google.listen=function(a,b,c){var d="on"+b;if(a.addEventListener)a.addEventListener(b,c,false);else if(a.attachEvent)a.attachEvent(d,c);else{var e=a[d];a[d]=function(){var g=e.apply(this,arguments),f=c.apply(this,arguments);return g==undefined?f:f==undefined?g:f&&g}}};google.unbind=function(a,b,c){google.unlisten(a,b,c)};google.unlisten=function(a,b,c){a.removeEventListener?a.removeEventListener(b,c,false):a.detachEvent("on"+b,c)};var h=0,i=false;google.listen(window,"resize",j);function j(){var a=false;if(!k.isCorrectDimensions()){a=true;l()}m.postCheckCanvasSize(a)}function l(){k.create();m.renderResults();n.update();dyn.onr&&dyn.onr({})}function o(a){return a?a.replace(//g,"%3E").replace(/"/g,"%22").replace(/'/g,"%27").replace(/{/g,"%7B").replace(/}/g,"%7D").replace(/ /g,"%20"):a}
window.dyn={initialize:function(a,b,c){this.updateCommonParams(a);h=b;i=c},updateCommonParams:function(a){m.updateCommonParams(a)},getCommonParams:function(){return m.getCommonParams()},updateBaseUrl:function(a){n.injectedBaseUrl=o(a);if(a){if(a=a.match(/[?&]start=(\d+)/))h=+a[1]}else h=0},updateStartUrlParam:function(a){h=a},updateNavbar:function(){n.updateNavbar()},setIsLast:function(a){i=a},getIsLast:function(){return i},checkCanvasSize:function(){j()},setResults:function(a){m.setResults(a);l()},
getResults:function(){return m.getResults()},injectRenderers:function(a,b){m.injectRenderers(a,b);l()},restoreRenderers:function(){m.restoreRenderers();l()},setImgSrc:function(a,b){m.setImgSrc(a,b)}};dyn.onr=function(){};
var k={G:[18,20,20,18,21],b:3,k:0,j:"right",i:function(){return document.getElementById("rw").offsetWidth},v:function(){return document.body&&document.body.clientHeight?document.body.clientHeight:window.innerHeight},getNumberOfImagesToShow:function(){return i?21:this.G[this.b-3]},o:function(){var a=Math.floor(this.i()/this.B());return Math.max(3,Math.min(7,a))},B:function(){return 180},getHorizontalCellPadding:function(){return 16},getCurrentNumColumns:function(){return this.b},getCurrentNumRows:function(){return this.k},
C:function(a){return Math.ceil(this.getNumberOfImagesToShow()/a)},getColumnWidth:function(){return this.i()/this.b},isCorrectDimensions:function(){return this.b==this.o()},z:function(a,b,c){return["<td id=tDataImage",a," style=padding-top:",b?"0px":"16px"," align=",this.j," nowrap valign=bottom width=",c,"%>"].join("")},D:function(a,b){return["<td id=tDataText",a," align=",this.j," valign=top width=",b,"%>"].join("")},create:function(){for(var a=0,b=this.b=this.o(),c=this.k=this.C(b),d=100/b,e=["<table width=100% class=ts id=imgtb>"],
g=0;gthis.f){for(;b.length>this.f;){var c=a.lastIndexOf(" ");if(c>=0){a=a.slice(0,c);
b=b.slice(0,b.lastIndexOf(" "))}else{a=a.slice(0,this.f);break}}a=a.replace(/-1&&a.indexOf("</b>",b)==-1)a+="</b>"}return a},K:function(a){if(a.length>this.e){a=this.e>3?a.slice(0,this.e-3):"";var b=a.lastIndexOf(".");if(b>=0)a=a.slice(0,b);a=a.replace(/[-.]\w?$/,"")+"..."}return a},injectRenderers:function(a,b){this.q=this.q||this.a;this.r=this.r||this.c;this.a=a||this.a;this.c=b||this.c},restoreRenderers:function(){this.a=this.q||this.a;this.c=this.r||
this.c},t:function(a,b){if(a[18]){var c=n.injectedBaseUrl||o(document.location.href);c=c.replace(/#.*/,"");var d=c.match(/[?&]start=(\d+)/);d&&parseInt(d[1],10);c=p(c,"i_similar");c=q(c,"start");c=q(c,"cd");c=q(c,"cad");c=q(c,"as_st");c=t(c,"sa","X");c=t(c,"ei",google.kEI);c=t(c,"ct","img-sim-l");c=t(c,"oi","image_sil");c=t(c,"resnum",b+1+"");c=t(c,"tbnid",""+a[2]);return['<div class=eft><a class=fl href="',
c,""العثور على صور مشابهة/a/div"].join("")}return""},setImgSrc:function(a,b){for(var c=0,d;d=this.d[c];++c)if(d[2]==a){d[19]=b;if(a=document.getElementById("tDataImage"+c))a.innerHTML=this.a(d,c);break}},F:function(a){return a[21]||[a[14],"?q=tbn:",a[2]].join("")},A:function(a){return a[19]=="#"?"":a[19]||this.F(a)}},n={injectedBaseUrl:"",n:function(){return document.getElementById("navbar")||document.getElementById("nav")},update:function(){this.updateNavbar();
this.M()},updateNavbar:function(){var a=this.n();if(a){var b=k.getNumberOfImagesToShow();a=a.getElementsByTagName("a");for(var c=this.u(),d=0,e;e=a[d++]
{var g=this.injectedBaseUrl||e.href,f=e.href.match(/[?&]start=(\d+)/);f=f?+f[1]:0;f=Math.round(f/c);f=f*b;g=t(g,"start",f+"");e.href=t(g,"ndsp",b+"")}}},u:function(){var a=this.n(),b=a.getElementsByTagName("a")[0];a=/[?&]ndsp=(\d+)/;if(b)if((b=b.href.match(a))&&b[1]>0)return parseInt(b[1],10);if((a=this.w().match(a))&&a[1]>0)return parseInt(a[1],
10);return 21},M:function(){var a=document.getElementById("upperLimit");if(a){var b=h;if(!(b=c)){c=m.getNumImages();var d=i?c:k.getNumberOfImagesToShow();if(c