var area,fmstartnumber,grange,optimizemenu,overflowtype,pixperpage,resized,showcaptionview,showphotographer,showfilesize,showrelease,viewmode,winH;var Builder,color,date,MACIE5,method,orient,pagetype,q_args,q_id,scriptname,searchinclude,sort,spec_idx,ucats,vcdbrowse,feat_requestview,mobject_id,similar_to,ukeys,dsplkys;var global=new Object();var afInitObj=new afInit();var afDateObj=new afDate();var afCookieObj=new afCookie();var afCartObj=new afCart();var afLightboxObj=new afLightbox();var afImageObj=new afImage();var afHTMLObj=new afHTML();var afURLObj=new afURL();var afMouseObj=new afMouse();var afPreviewObj=new afPreview();var afSearchObj=new afSearch();var afSystemObj=new afSystem();var afLegalObj=new afLegal();var afInfoObj=new afInfo();var afWindowObj=new afWindow();var afDispatchObj=new afDispatch();var afPageObj=new afPage();var afReleaseObj=new afRelease();var afShareObj=new afShare();gfixDate=afDateObj.fixDate;setCurrentTime=afDateObj.setCurrentTime;_handleNonSearch=afURLObj.createNextLink;make_share_control_string=afShareObj.makeShareControlString;switch_share_control=afShareObj.toggleShareControlCookie;share_set_page=afShareObj.shareSetPage;EAD=afShareObj.checkID;sos=afShareObj.saveShares;sor=afShareObj.saveReleaseControl;validaterad=afShareObj.validateRadioButtons;gsetCookie=afCookieObj.setCookie;gsetCookie2=afCookieObj.setCookie2;ggetCookie=afCookieObj.getCookie;gGetCookieDom=afCookieObj.getCookieDomain;gdeleteCookie=afCookieObj.deleteCookie;gwhichindex=afCookieObj.setCookieGwhichindex;greleasedselect=afCookieObj.setCookieGreleasedselect;cart_addto=afCartObj.addToCart;cart_build=afCartObj.buildCart;cart_build_act=afCartObj.cart_build_act;cart_check_act=afCartObj.cart_check_act;cart_delete_license=afCartObj.deleteLicenseFromCart;cart_delete_image=afCartObj.deleteImageFromCart;cart_display=afCartObj.displayCart;cart_mod_act=afCartObj.cart_mod_act;cart_reprice=afCartObj.repriceImagesInCart;cart_away=afCartObj.awayCart;cart_check=afCartObj.checkCart;dispatchCart_display=afCartObj.displayDispatchedCart;topcartrefresh=afCartObj.refreshTopCart;lightbox_add2cart=afLightboxObj.addLightboxToCart;lightbox_addto=afLightboxObj.addImageToLightbox;lightbox_build=afLightboxObj.buildLightbox;lightbox_new=afLightboxObj.newLightbox;lightbox_new_send=afLightboxObj.registerLightbox;lightbox_email=afLightboxObj.emailConfirmation;lightbox_email_send=afLightboxObj.emailLightbox;lightbox_mod_act=afLightboxObj.lightbox_mod_act;lightbox_delete=afLightboxObj.deleteLightbox;lightbox_delete_image_enl=afLightboxObj.deleteLightboxFromEnlargeView;lightbox_delete_image=afLightboxObj.deleteImageFromLightbox;lightbox_rename=afLightboxObj.renameLightbox;lightbox_rename_send=afLightboxObj.registerLightboxRename;lightbox_change=afLightboxObj.changeLightbox;make_lightbox_string=afLightboxObj.makeLightboxString;polllb=afLightboxObj.saveLightbox;showhideLB=afLightboxObj.toggleLightbox;simplemessage=afLightboxObj.simpleMessage;test_valid_name=afLightboxObj.validateLightboxName;toplightboxrefresh=afLightboxObj.refreshTopLightbox;buildimages=afImageObj.buildImages;fitMeTo=afImageObj.sizeImageToContainer;preloadnextimg=afImageObj.preloadNextImage;price_image_act=afImageObj.price_image_act;price_image=afImageObj.priceImage;prloadimg=afImageObj.preLoadImage;twidle_price_img=afImageObj.twidleImagePrice;twidle_price_img_delay=afImageObj.twidlePriceImagedelay;buildpages=afHTMLObj.buildPagination;center_panel=afHTMLObj.centerPanel;coveroff=afHTMLObj.hideCoverLayer;createCoverLayer=afHTMLObj.createCoverLayer;createDisplayPanel=afHTMLObj.createDisplayPanel;dispatchBuildimages=afHTMLObj.dispatchBuildImages;divshim=afHTMLObj.divShim;hidedisplaypanel=afHTMLObj.hideDisplayPanel;html_share_con_opts=afHTMLObj.html_share_con_opts;html_weight_con_opts=afHTMLObj.html_weight_con_opts;html_combined_con_opts=afHTMLObj.html_combined_con_opts;htmlit=afHTMLObj.imageProfile;init_share_radios=afHTMLObj.initShareRadios;displaypanelshow=afHTMLObj.showDisplayPanel;footer=afHTMLObj.getFooter;mouseSnap=afMouseObj.mouseSnap;pfindmouse=afMouseObj.findMouse;getMouseXY=afMouseObj.getMouseCoordinates;hp=afPreviewObj.hp;hpoff=afPreviewObj.hpoff;portSize=afPreviewObj.portSize;previewset=afPreviewObj.previewSet;sp=afPreviewObj.sp;sp_act=afPreviewObj.sp_act;checkIt=afSearchObj.checkIt;expandit=afSearchObj.expandIt;g=afSearchObj.searchType;g_standard=afSearchObj.standardSearch;fsearchprefs=afSearchObj.searchPreferences;narrowit=afSearchObj.narrowIt;optimize=afSearchObj.optimizeSearch;popkeys2=afSearchObj.popKeywords;writesearch=afSearchObj.writeSearch;writesimilar=afSearchObj.writeSimilar;writesearch_standard=afSearchObj.writeStandardSearch;writesimilar_standard=afSearchObj.writeStandardSimilar;hovercopyright=afLegalObj.copyrightNotice;license=afLegalObj.licenseCostWindow;enlarge2=afInfoObj.enlarge2;dispatchEnlarge2=afInfoObj.dispatchEnlarge2;enlarge2_act__generateTierRows=afInfoObj.enlarge2_act__generateTierRows;enlarge2_act=afInfoObj.enlarge2_act;MM_preloadImages=afInfoObj.preloadImages;MM_setTextOfLayer=afInfoObj.setTextOfLayer;launchwin=afWindowObj.popUp;displayWindow=afWindowObj.displayWindow;displayWindow2=afWindowObj.displayWindow2;maxscreen=afWindowObj.maximizeScreen;dispatchAll=afDispatchObj.dispatchAll;reDispatch=afDispatchObj.reDispatch;checkpageresize=afPageObj.checkPageResize;currentpage=afPageObj.currentPage;gSetBackpage=afPageObj.setBackPage;setuppagesize=afPageObj.setupPageSize;nextpage=afPageObj.nextPage;prevpage=afPageObj.previousPage;preloadnextpage=afPageObj.preloadNextPage;save_all_releases=afReleaseObj.saveAllReleases;release_set_page=afReleaseObj.releaseSetPage;validatechx=afReleaseObj.validateCheckboxes;iconstatus=afReleaseObj.iconStatus;debug=afSystemObj.debug;getVars=afSystemObj.getVars;nada=afSystemObj.empty;tellme=afSystemObj.screenInfo;afInitObj.init();var MACIE5=global.macIE5;var q_args=global.qArgs;var searchinclude=global.searchInclude;var color=global.color;var method=global.method;var orient=global.orient;var sort=global.sort;var todaysDate=global.currentDate;var vcdbrowse=global.VCDBrowse;var spec_idx=global.specIdx;var q_id=global.qID;var scriptname=global.scriptName;var nextlink;var narrowurl;ucats=global.uCats;mobject_id=global.mobjectID;similar_to=global.similarTo;dsplkys=global.lightboxSphotog;var firstpictureonpage=global.firstPicOnPage;var snum=global.sNum;var tset=global.tSet;var showstartnumber_trap=global.showStartNumberTrap;var currentlbname=global.currentLbName;var currentlblist=global.currentLbList;var feat_requestview=global.featureRequestView;var typeoflbaction=global.typeOfLbAction;var sphotog=global.sPhotog;var pre_q_args=global.preQArgs;var winW=global.winW;var baseurl=global.baseURL;var carnit=global.carnIt;var currentLbdivMode=global.currentLbdivMode;var gloCrop=global.gloCrop;var currentLayer1Mode=global.currentLayer1Mode;var cartview=global.cartView;var enlargeview=global.enlargeView;var viewmode=global.viewMode;var lightbox_built=global.lightBoxBuilt;var currMousedOverObj=global.currentMousedOverObject;var suspendpreviews=global.suspendPreviews;var scr=global.scr;var d=global.currentDate;var currentYear=global.currentYear;var now=global.currentTime;var bad=global.bad;var agt=global.userAgent;var yourOS=global.userOS;var yourBrowse=global.userBrowser;var ver5=global.netscapeVersion5;var dynimagesname=global.dynamicImagesName;document.currentlbstash="";var lbexpansionspace=global.lbExpansionSpace;var pmousedelta=global.pMouseDelta;var loadImg=new Image();loadImg.src=global.loadImage;var detect=global.userAgentLowerCase;var OS=global.userOSName;var browser=global.userBrowserName;var version=global.userBrowserVersion;var total=global.total;var thestring;var getpost=global.getPost;var pngsupport=global.pngSupport;var gsession=global.gSession;var debugmode=global.gDebugMode;var gusert=global.gUserT;var gcartimages=global.gCartImages;var gusername=global.gUserName;var gcurrency=global.gCurrency;var gfirstname=global.gFirstName;if(global.scriptName!=""){pixperpage=global.pixPerPage;grange=global.gRange;winH=global.winH;area=global.area;resized=global.resized;c=-1;fmstartnumber=global.fmStartNumber;overflowtype=global.overflowType;optimizemenu=global.optimizeMenu;showphotographer=global.showPhotographer;showrelease=global.showRelease;showfilesize=global.showFileSize;showcaptionview=global.showCaptionView;var output=_handleNonSearch({color:color,date:todaysDate,enlargeview:enlargeview,method:method,orient:orient,preQArgs:global.preQArgs,q_args:global.qArgs,qID:global.qID,scriptName:global.scriptName,searchInclude:global.searchInclude,sort:global.sort,specIdx:global.specIdx,ucats:ucats,VCDBrowse:global.VCDBrowse});nextlink=output["nextlink"];narrowurl=output["narrowurl"];}var tempW=global.winW;if(global.featureRequestView){document.thisIsFeatureView=true;}var lbdisplaymode=global.lbDisplayMode;var nodeTree=global.nodeTree;function _globals(){var d=afDateObj.getCurrentDate();global={firstPicOnPage:(typeof (firstpictureonpage)!="undefined"?firstpictureonpage:0),sNum:(snum?snum:0),tSet:(tset?tset:"on"),showStartNumberTrap:0,currentLbName:undefined,currentLbList:undefined,featureRequestView:feat_requestview,typeOfLbAction:undefined,sPhotog:sphotog,preQArgs:pre_q_args,qArgs:typeof (q_args)=="undefined"?undefined:q_args,baseURL:baseurl,carnIt:1,gloCrop:"",currentLayer1Mode:document.currentLayer1Mode?currentLayer1Mode:"searchresults",currentLbdivMode:undefined,cartView:(cartview?cartview:""),cartViewLocation:"/bin/Cklb?ref=/SwishSearch?cartview=1",enlargeView:(enlargeview?enlargeview:""),lightBoxBuilt:0,currentMousedOverObject:undefined,suspendPreviews:0,scr:"",currentDate:d,currentTime:d.getTime(),currentYear:d.getFullYear(),dynamicImagesName:typeof (dynimagesname)=="undefined"?"dyn_images":"",bad:undefined,userAgent:navigator.userAgent,userAgentLowerCase:navigator.userAgent.toLowerCase(),userOS:navigator.userAgent.indexOf("Mac")!=-1?"Mac":"PC",userOSName:undefined,userBrowser:navigator.appName=="Netscape"?"NS":"IE",userBrowserName:undefined,userBrowserVersion:undefined,netscapeVersion5:navigator.appVersion.substr(22,1)>="5"?"Yes":"",lbExpansionSpace:0,pMouseDelta:[20,-30],loadImage:"/graphics/loading.png",pngSupport:1,getPost:"POST",gSession:ggetCookie("gmpsess"),debugMode:ggetCookie("debugmode"),gUserT:ggetCookie("usert"),gCartImages:ggetCookie("gcartimages"),gUserName:ggetCookie("username")||ggetCookie("gwhichuser"),gCurrency:ggetCookie("currency"),gFirstName:ggetCookie("firstname"),scriptName:typeof (scriptname)=="undefined"?undefined:scriptname,viewMode:(typeof (viewmode)!="undefined")?viewmode:((typeof (scriptname)!="undefined")?ggetCookie("gviewmode"):""),pixPerPage:(typeof (scriptname)!="undefined")?12:pixperpage,gRange:(typeof (scriptname)!="undefined")?"legal":grange,winW:(typeof (scriptname)!="undefined")?700:winW,winH:(typeof (scriptname)!="undefined")?460:winH,area:(typeof (scriptname)!="undefined")?12:area,resized:(typeof (scriptname)!="undefined")?0:resized,fmStartNumber:(typeof (scriptname)!="undefined")?0:fmstartnumber,overflowType:(typeof (scriptname)!="undefined")?"hidden":overflowtype,macIE5:((navigator.userAgent.indexOf("Mac")!=-1)&&(navigator.appName.indexOf("Microsoft")!=-1))?"true":"false",optimizeMenu:(typeof (scriptname)!="undefined")?0:optimizemenu,showPhotographer:(typeof (scriptname)!="undefined")?1:showphotographer,showRelease:(typeof (scriptname)!="undefined")?1:showrelease,showFileSize:(typeof (scriptname)!="undefined")?1:showfilesize,showCaptionView:(typeof (scriptname)!="undefined")?1:showcaptionview,pageType:typeof (pagetype)=="undefined"?undefined:pagetype,lbDisplayMode:ggetCookie("ghidelightbox"),cartPic:"/graphics/cart_enabled_02.gif",searchInclude:searchinclude,builderClass:Builder,nodeTree:undefined,color:color,method:method,orient:orient,sort:sort,qID:q_id,specIdx:spec_idx,VCDBrowse:vcdbrowse,uCats:ucats,mobjectID:mobject_id,similarTo:similar_to,total:total,uKeys:ukeys,lightboxSphotog:dsplkys};}function afCart(){this.addToCart=addToCart;this.awayCart=awayCart;this.buildCart=buildCart;this.checkCart=checkCart;this.deleteLicenseFromCart=deleteLicenseFromCart;this.deleteImageFromCart=deleteImageFromCart;this.displayCart=displayCart;this.displayDispatchedCart=displayDispatchedCart;this.cart_build_act=cart_build_act;this.cart_mod_act=cart_mod_act;this.cart_check_act=cart_check_act;this.refreshTopCart=refreshTopCart;this.repriceImagesInCart=repriceImagesInCart;function addToCart(id,_3){if(gsession){if(document.JSONobj.getCartDat&&typeof (_3)=="undefined"){for(var _4=0;_4<document.JSONobj.getCartDat("total");_4++){if(id==document.JSONobj.getCartDat("image_id",_4)){alert("That image is already in your Cart");return;}}}if(typeof (_3)=="undefined"){_3=$H({callback:"cart_mod_act(0)"});}else{if(_3.callback&&_3.callback.toString().length>1){_3.callback+=" cart_mod_act(0);";}else{_3.callback="cart_mod_act(0)";}}document.TEXTresp=null;simplemessage("Adding image to Shopping Cart <blink>.</blink>","","LB");if(typeof (_3)=="object"&&_3.Size_opname){Object.extend(_3,{calc_rate:1});}if(typeof (debugmode)!="undefined"){ajax_JSON("/AjaxHandlers/CartAdd/"+id+".json","GET",_3);}else{ajax_JSON("/AjaxHandlers/CartAdd/"+id+".json","POST",_3);}debug("args to json /AjaxHandlers/CartAdd/"+id,_3);}else{window.location="/bin/Cklb?ref=/SwishSearch%3FKeywords%3D"+escape(ukeys)+"%26cartview%3D1&atct="+id;}}function deleteLicenseFromCart(id,_6){if(typeof (_6)!="object"){return;}simplemessage("Removing License from Image<blink>.</blink>","","LB");var _7=$A(_6.opts).join("|");if(_7.toString().length){_6.opts=_7;}if(_6.callback&&_6.callback.toString().length>1){_6.callback+=" cart_mod_act(0);";}else{_6.callback="cart_mod_act(0)";}ajax_JSON("/AjaxHandlers/CartDelLicense/"+id+".json","POST",_6);}function deleteImageFromCart(id){simplemessage("Deleting image from Shopping Cart <blink>.</blink>","","LB");ajax_JSON("/AjaxHandlers/CartDel/"+id+".json","POST","callback=cart_mod_act(0)");}function cart_mod_act(_9){_9++;if(!document.JSONobj&&!document.TEXTresp&&_9<10){setTimeout("cart_mod_act('"+_9+"')",500);}else{hidedisplaypanel(1);cart_build();if(document.currentLayer1Mode=="cartview"){cart_display("view");}}}function repriceImagesInCart(_a){if(typeof (_a)=="undefined"){_a=$H({callback:"cart_mod_act(0)"});}else{if(_a.callback&&_a.callback.toString().length>1){_a.callback+=" cart_mod_act(0);";}else{_a.callback="cart_mod_act(0)";}}ajax_JSON("/AjaxHandlers/CartReprice/all.json","POST",_a);}function awayCart(){top.location="/bin/Cart?op=ckout";}function checkCart(){simplemessage("<a style=\"cursor:pointer; text-decoration:underline;\" title=\"click here if you find you are waiting too long to load.\" onclick=\"cart_check();\">Tabulating Shopping Cart <blink>.</blink> </a>","","LB");ajax_JSON("/AjaxHandlers/CartInfo/open.json","POST",{"callback":"cart_check_act(); cart_display();"});}function cart_check_act(){if(document.JSONobj&&typeof (document.JSONobj.getCartDat)=="function"){var _b=1;if(document.JSONobj.getCartDat("total")>0){for(cti=0;cti<document.JSONobj.getCartDat("total");cti++){if(document.JSONobj.getCartDat("price",cti)){if(!(document.JSONobj.getCartDat("price",cti)!="null"&&document.JSONobj.getCartDat("price",cti)>0)){_b=0;}}else{_b=0;}}}else{_b=0;}if(_b==1){cart_away();}else{alert("There are unlicensed images in your cart, or it is empty.  To license image(s) first click the 'specify usage and calculate fee' link for each image in your cart and use the Rate calculator. Rates vary based on usage.");topcartrefresh();}}}function displayCart(_c){if(document.cart_display_lock){return;}var _d=$H({showstart:"cartview",snum:firstpictureonpage,viewmode:"cartview",flp:_c}).toJSON();if(_c){dispatchAll(_d);}else{try{YAHOO.util.History.navigate("nav",_d);}catch(e){dispatchAll(_d);}}}function buildCart(_e){currentLbdivMode="cart";$("LBdiv").style.height="130px";if(_e=="changing"){simplemessage("<a style=\"cursor:pointer; text-decoration:underline;\" title=\"click here if you find you are waiting too long to load.\" onclick=\"cart_build('changing_again');\"> Loading Shopping Cart <blink>.</blink></a>","","LB");}ajax_JSON("/AjaxHandlers/CartInfo/open.json",getpost,"callback=cart_build_act()");currMousedOverObj="shop_cart";}function cart_build_act(){if(!$("LBdiv")){return;}if(!isNaN(document.JSONobj.getCartDat("total"))){hidedisplaypanel(1);var _f=$A([]);var _10=document.JSONobj.getCartDat("total");_f.push(Builder.node("div",{id:"lbbuttons",style:"padding:0px; margin:0px; width:127px; height:16px; overflow:hidden"},[nodeTree.cart_build_act__buttons,]),Builder.node("div",{className:"lbname",style:"padding:3px 0px 0px 3px; margin:0px;"},[Builder.node("b",{},"Shopping Cart  "+(_10?_10:0)+" images "),nodeTree.cart_build_act__actions,]));if(document.JSONobj.getCartDat("total")>0){var _11=parseInt((winW*0.65)/document.JSONobj.getCartDat("total"));if(winH<340){vlim=25;}else{if(winH<450){vlim=35;}else{vlim=58;}}if(_11>vlim){_11=vlim;}else{if(_11<18){_11=18;}}var _12=$A([]);for(cti=0;cti<document.JSONobj.getCartDat("total");cti++){ctimid=document.JSONobj.getImgDat("id",cti);ctid=document.JSONobj.getCartDat("id",cti);_12.push(Builder.node("div",{align:"center",id:"dct"+cti+"s",name:"dct"+cti+"s",valign:"bottom",style:"float:left; height:"+(_11+18)+"px; overflow:hidden;"},[Builder.node("a",{href:"",onclick:"hp(); return false",id:"dct"+cti+"s_cti"},[Builder.node("img",{id:"ctimage_"+ctimid,onmouseover:"prloadimg(\""+ctimid+"\"); sp(this, \""+ctimid+"\", \"1\", \""+tset+"\");",onmouseout:"hp();",src:"http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+ctimid+".JPG",height:_11,border:0,className:"lbimg",hspace:2})]),Builder.node("div",{style:"padding:2px"},[Builder.node("a",{href:"",onclick:"cart_delete_image(\""+ctid+"\"); return false;",className:"ctlink",title:"Remove this image from the cart"},"X")])]));}_f.push(Builder.node("div",{id:"LBimgdiv",style:"padding:6px 0 0 3px; height: 100%"},[_12,Builder.node("br",{style:"clear:both"})]));var _13=new Date();_13.setTime(_13.getTime()+(60*24*60*60*1000));gsetCookie("gcartimages",cti,_13,"/",gGetCookieDom());}$("LBdiv").replace("<DIV id=\"LBdiv\"></DIV>");_f.each(function(_14){$("LBdiv").appendChild(_14);});}}function displayDispatchedCart(_15){if(typeof (_15)!="object"){return;}var _16=_15["flp"];document.cart_display_lock=1;document.currentLayer1Mode="cartview";if($("cdheader")){$("cdheader").style.display="none";}if(!_16){_16="view";}ajax_HTML("Layer1","/bin/Cart?op="+_16,"GET");$("Layer1").style.height=truevertHeight+"px";$("Layer1").style.overflow="scroll";$("Layer1").style.overflowX="hidden";if($("pagingrow")&&document.currentLayer1Mode!="searchresults"){$("pagingrow").innerHTML="";}document.cart_display_lock=0;}function refreshTopCart(){if(gsession){self.location.replace((typeof (baseurl)!="undefined"?baseurl:"")+"/SwishSearch?n=1&cartview=1&random="+Math.random(100));}else{self.location=(typeof (baseurl)!="undefined"?baseurl:"")+"/bin/Cklb?ref=%2FSwishSearch?cartview=1";}}}function afCookie(){this.setCookie=setCookie;this.setCookie2=setCookie2;this.getCookie=getCookie;this.deleteCookie=deleteCookie;this.getCookieDomain=getCookieDomain;this.setCookieGwhichindex=setCookieGwhichindex;this.setCookieGreleasedselect=setCookieGreleasedselect;function setCookie(_17,_18,_19,_1a,_1b,_1c){var _1d=_17+"="+escape(_18)+((_19)?"; expires="+_19.toGMTString():"")+((_1a)?"; path="+_1a:"")+((_1b)?"; domain="+_1b:"")+((_1c)?"; secure":"");document.cookie=_1d;}function getCookie(_1e){var dc=document.cookie;var _20=_1e+"=";var _21=dc.indexOf("; "+_20);if(_21==-1){_21=dc.indexOf(_20);if(_21!=0){return null;}}else{_21+=2;}var end=document.cookie.indexOf(";",_21);if(end==-1){end=dc.length;}return unescape(dc.substring(_21+_20.length,end));}function deleteCookie(_23,_24,_25){if(getCookie(_23)){document.cookie=_23+"="+((_24)?"; path="+_24:"/")+((_25)?"; domain="+_25:"")+"; expires=Thu, 01-Jan-70 00:00:01 GMT";}}function setCookie2(_26,_27){setCookie(_26,_27,"","/",getCookieDomain());}function getCookieDomain(){var _28=document.domain;_28=_28.replace(/^(www(\d*)|tools)\./i,"");var _29=_28.split(".");var end=_29.length-1;var _2b=_29.length-2;var _2c=_29[end];var _2d=_29[_2b];var _2e=_2d+"."+_2c;if(_2d.match(/^co(m?)$/)){_2e=_28;}return _2e;}function setCookieGwhichindex(_2f){gsetCookie("gwhichindex",_2f,"","/",gGetCookieDom());}function setCookieGreleasedselect(_30){gsetCookie("greleasestatus",_30,"","/",gGetCookieDom());}}function afDate(){this.getCurrentDate=getCurrentDate;this.setCurrentTime=setCurrentTime;this.fixDate=fixDate;function getCurrentDate(){var d=new Date();return (d);}function setCurrentTime(_32){var _33=_32||this.getCurrentDate();var now=_33;fixDate(_33);now.setTime(now.getTime()+365*24*60*60*1000);return (now);}function fixDate(_35){var _36=new Date(0);var _37=_36.getTime();if(_37>0){_35.setTime(_35.getTime()-_37);}}}function afDispatch(){this.dispatchAll=dispatchAll;this.reDispatch=reDispatch;function dispatchAll(_38,_39){var oC=(typeof (_38)=="object"?_38:_38.evalJSON());var _3b=(typeof (firstpictureonpage)!="undefined"?firstpictureonpage:0);if(oC.viewmode=="ss"){dispatchEnlarge2(oC);}else{if(oC.viewmode=="cartview"||cartview){document.currentLbdivMode="cart";document.currentLayer1Mode="cartview";viewmode="cartview";currMousedOverObj="shop_cart";dispatchCart_display(oC);}else{if(oC.snum<_3b){document.currentLayer1Mode=oC.viewmode;viewmode=oC.viewmode;oC["buildmode"]=oC["buildmode"]||"prev";dispatchBuildimages(oC);}else{if(oC.snum>_3b){document.currentLayer1Mode=oC.viewmode;viewmode=oC.viewmode;oC["buildmode"]=oC["buildmode"]||"next";dispatchBuildimages(oC);}else{if(oC.snum==_3b){document.currentLayer1Mode=oC.viewmode;viewmode=oC.viewmode;oC["buildmode"]=oC["buildmode"]||"current";dispatchBuildimages(oC);}}}}}}function reDispatch(){dispatchAll(YAHOO.util.History.getCurrentState());}}function afHTML(){this.buildPagination=buildPagination;this.imageProfile=imageProfile;this.centerPanel=centerPanel;this.createCoverLayer=createCoverLayer;this.createDisplayPanel=createDisplayPanel;this.dispatchBuildImages=dispatchBuildImages;this.divShim=divShim;this.getFooter=getFooter;this.hideCoverLayer=hideCoverLayer;this.hideDisplayPanel=hideDisplayPanel;this.html_share_con_opts=html_share_con_opts;this.html_weight_con_opts=html_weight_con_opts;this.html_combined_con_opts=html_combined_con_opts;this.initShareRadios=initShareRadios;this.showDisplayPanel=showDisplayPanel;function centerPanel(x,y,_3e,tp){if(typeof (winH)=="undefined"){setuppagesize();}var _40=(typeof (popupYoffset)!="undefined")?popupYoffset:0;if((winW-x)<0){panelx=0;}else{panelx=parseInt((winW-x)/2);}if((winH-y)<0){panely=41;}else{panely=parseInt((winH-y)/2);}if(tp){var tx=Position.cumulativeOffset($("scontainer"));var ty=Position.cumulativeOffset($("row2"));panelx=tx[0];panely=ty[1];}createDisplayPanel();createCoverLayer();$("displaypanellayer").style.top=(panely+_40)+"px";$("displaypanellayer").style.left=panelx+"px";$("displaypanellayer").style.width=x+"px";$("displaypanellayer").style.height=y+"px";$("coverlayer").style.visibility="visible";$("displaypanellayer").style.visibility="hidden";new Effect.Appear("coverlayer",{duration:0.3,from:0,to:0.7});$("displaypanellayer").innerHTML=_3e;setTimeout("displaypanelshow();",320);}function imageProfile(_43){var _44="";switchpage=false;if(id[_43]){var _45=rm[_43];myid=id[_43];if(typeof (suspendsimilars)=="undefined"){mysimilarto=st[_43];}else{mysimilarto="";}if(typeof (scp)!="undefined"&&(viewmode=="list"||viewmode=="editing")){myshortcaption=unescape(scp[_43]);}else{myshortcaption="n/a";}var _46=true;var _47="";var _48="";if(!relcon[_43]){_48=rel[_43];}if(typeof (relcon)!="undefined"&&relcon[_43]&&mysimilarto.length<13){var _49=_48;_49=_49.substring(0,16)+(_48.length>16?"...":"");_48="<div id=\"shortrel"+_43+"\">Release: "+_49+"</div> <div>  <form id=\"releasecontrol"+_43+"\" > "+relcon[_43]+" <input type=\"hidden\" name=\"shdex\" value=\""+_43+"\"/></form> <a href=\"javascript: return false;\" onclick=\"sor("+_43+"); return false;\" >Save Release</a></div>";}else{if(showrelease){if(!(_48=="MODEL RELEASED"||_48=="MODEL AND PROPERTY RELEASED"||_48=="PROPERTY RELEASED")){_48="Release: "+_48;}if(typeof (relcon)!="undefined"&&relcon[_43]&&mysimilarto.length<13){_48="<br/>"+_48;}}else{_48="";}}if(myshortcaption.length>90){for(z=0;z<130;z++){var c=myshortcaption.charAt(z);if(_46==true){if((z>90)&&(c==".")){_46=false;_47+=c+" ...";}else{if((z>110)&&(c==" ")){_46=false;_47+=" ...";}else{_47+=c;}}}}myshortcaption=_47;}var _4b="yes";myphotographer=pho[_43];myrglobaldynf=rm[_43];myfilesize=fs[_43];var _4c=hrdl[_43];var _4d=html_share_con_opts(_43);var _4e=html_weight_con_opts(_43);var _4f=html_combined_con_opts(_43);var _50="";if(rfcd[_43].match(myid)){var pm=unescape(rfcd[_43]).match(/SwishSearch\?n\=1\&fn\=(.*)\&supst\=cd/);if(pm!=null){_50=pm[1];}}adminheight=0;if(_4c){if(viewmode!="editing"){adminheight=11;}}if(myfilesize<5){myfilesize="Scan on Demand";}if(myid.length>9){if(o[_43]){displayid=o[_43];}else{displayid=myid;}if(viewmode=="editing"){var _52=160+adminheight;var _53=unescape(shsync[_43]);_53=_53.split("|");var _54="white";if(_53[0]=="shared"){_54="#77BB33";}else{if(_53[0].toString().match(/notshared|rejected/)){_54="#DF0000";}}var _55="white";if(parseInt(_53[1])){_55="orange";}if(mysimilarto.length<13){_44+="<span id=\"cellwrapper"+myid+"\" valign=bottom style=\"float:left;background-color:"+_55+"; padding:0 6px; 0 6px\">";_44+="<div id=\"d"+myid+"\" align=center valign=bottom style=\" background-color:"+_54+"; width:288px; height:"+_52+"px;\">";_44+="<TABLE width=298 cellspacing=2 cellpadding=0 border=0><TR><TD valign=top><div style=\"position:relative;height:160px;\"><a href=\"javasc"+"ript:enlarge2('"+myid+"'"+","+"'"+_43+"');\"><img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+myid+".JPG\" border=0 class=pimg vspace=2 hspace=3";_44+=" onmouseover=\"prloadimg('"+myid+"'); sp(this, '"+myid+"','"+_43+"','"+tset+"');";_44+="\" onmouseout=\"hp();\" id="+myid+">";_44+="</a>";_44+=_4f+_4d;_44+="</div></TD><TD valign=\"top\"><font class=xsmall>ID:"+myid;if(typeof (suppressrmrftype)=="undefined"){_44+="  <font class=rmrfindicator>"+rm[_43]+"</font>";}_44+="<DIV class=icons>";if((typeof (pre_q_args)!="undefined"&&pre_q_args.match(/fn=/))||(typeof (q_args)!="undefined"&&(q_args.match(/vmo=/)||q_args.match(/rid=/)||q_args.match(/lb_view=1/)||q_args.match(/fn=/)))){_44+="<A href=\"javascript:lightbox_delete_image_enl('"+myid+"');\" class=\"lblink\" TITLE=\"Remove this image from the lightbox\">X</A>";}_44+="</DIV>";myphotographer=unescape(myphotographer);if(myphotographer.length>18){myphotographer=myphotographer.substring(0,18)+"...";}if(showphotographer==1){_44+="&copy; "+currentYear+" "+myphotographer;}_44+="  <nobr>";if(showfilesize){_44+=myfilesize;}_44+="</nobr><br/>CAPTION: "+myshortcaption+"<div>"+_48+"</div></font>";_44+=_4e;if(_4c){_44+="<br/><NOBR><a href=\""+_4c+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a></NOBR>";}_44+="<br/><a href=\"javascript: return false;\" ONCLICK=\"lightbox_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add to your current lightbox\">LB+</a>";_44+="</TD></TR></TABLE></DIV></span></SPAN>";}else{_44+="<span id=\"cellwrapper"+myid+"\" valign=bottom style=\"float:left;background-color:"+_55+"; padding:0 6px; 0 6px;\">";_44+="<div id=\"d"+myid+"\" align=center valign=bottom style=\" background-color:"+_54+"; width:288px; height:"+_52+"px;\">";_44+=writesimilar(myid,_43,myphotographer,myshortcaption,"start","editing",_4c,_48);_44+="</DIV></span></SPAN>";}}else{if(viewmode=="list"){var _52=172+adminheight;if(mysimilarto.length<13){_44+="<span id=\"cellwrapper"+_43+"\" valign=bottom style=\"float:left;\">";_44+="<div align=center valign=bottom style=\"width:305px; height:"+_52+"px;\">";_44+="<TABLE width=298 cellspacing=2 cellpadding=0 border0><TR><TD valign=top>";if(_50){_44+="<a href=\"/SwishSearch?n=1&fn="+_50+"&supst=cd\" >";}else{_44+="<a href=\"javascript: return false;\" onclick=\"hp(); enlarge2('"+myid+"'"+","+"'"+_43+"'); return false;\">";}_44+="<img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+myid+".JPG\" border=0 class=pimg vspace=2 hspace=3";_44+=" onmouseover=\"prloadimg('"+myid+"'); sp(this, '"+myid+"','"+_43+"','"+tset+"');";_44+="\" onmouseout=\"hp();\" id="+myid+">";_44+="</a><BR>";if(_4c){_44+="<center><a href=\""+_4c+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a></center>";}_44+="</TD><TD valign=\"top\"><font class=xsmall>ID:"+displayid;if(typeof (suppressrmrftype)=="undefined"){_44+="  <font class=rmrfindicator>"+rm[_43]+"</font>";}_44+="<DIV class=icons>";if(!_50&&((typeof (pre_q_args)!="undefined"&&pre_q_args.match(/fn=/))||(typeof (q_args)!="undefined"&&(q_args.match(/vmo=/)||q_args.match(/rid=/)||q_args.match(/lb_view=1/)||q_args.match(/fn=/))))){_44+="<A href=\"javascript: return false;\" onclick=\"lightbox_delete_image_enl('"+myid+"'); return false;\" class=\"lblink\" TITLE=\"Remove this image from the lightbox\">X</A>";}_44+="<a href=\"javascript: return false;\" ONCLICK=\"lightbox_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add to your current lightbox\">LB+</a>";if(gsession){_44+="<a href=\"javascript: return false;\" ONCLICK=\"cart_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add this image to your shopping cart\">CART+</a>";}_44+="<a href=\"javascript: return false;\" ONCLICK=\"return price_image('"+myid+"','"+_45+"');\" class=\"iconlink\" Title=\"Price Image\">$</a>";if(!_50){_44+="<a href=\"javascript: return false;\" ONCLICK=\"enlarge2('"+myid+"'"+","+"'"+_43+"'); return false;\" class=iconlink title=\"Enlarge image and more info\"><font class=eye>i</font></a>";}_44+="</DIV>";if(showphotographer==1){_44+="<BR>&copy; "+currentYear+" "+myphotographer;}_44+="  <nobr>";if(showfilesize){_44+=myfilesize;}_44+="</nobr><br/>CAPTION: "+myshortcaption+"<div>"+_48+"</div></font>";_44+="</TD></TR></TABLE></DIV></SPAN>";}else{_44+="<span valign=bottom style=\"float:left;\">";_44+="<div id=\"d"+myid+"\" align=center valign=bottom style=\"width:305px; height:"+_52+"px;\">";_44+=writesimilar(myid,_43,myphotographer,myshortcaption,"start","list",_4c,_48);_44+="</DIV></SPAN>";}}else{if(viewmode=="tiny"){var _52=100+adminheight;if(mysimilarto.length<13){_44+="<span valign=bottom style=\"float:left;\">";_44+="<div align=center valign=bottom style=\"width:95px; height:"+_52+"px; overflow: hidden;\">";if(_50){_44+="<a href=\"/SwishSearch?n=1&fn="+_50+"&supst=cd\" ";}else{_44+="<a href=\"javascript: return false;\" onclick=\"hp(); enlarge2('"+myid+"'"+","+"'"+_43+"'); return false;\"";}if(document.page.previews.selectedIndex==1){_44+=" TITLE=\"ID:"+displayid;if(showphotographer==1){_44+="\r&copy; "+myphotographer;}if(showfilesize){_44+="\rSIZE: "+myfilesize;}_44+=" \r"+"CAPTION: "+myshortcaption+"\"";}_44+="><img src=http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+myid+".JPG border=0 class=pimg vspace=1 hspace=1 height=55";_44+=" onmouseover=\"prloadimg('"+myid+"'); sp(this, '"+myid+"', '"+_43+"','"+tset+"');";_44+="\" onmouseout=\"hp();\" id="+myid+">";_44+="</a><BR>";_44+="<font class=\"xxsmall\"><DIV class=icons>";if(!_50&&((typeof (pre_q_args)!="undefined"&&pre_q_args.match(/fn=/))||(typeof (q_args)!="undefined"&&(q_args.match(/vmo=/)||q_args.match(/rid=/)||q_args.match(/lb_view=1/)||q_args.match(/fn=/))))){_44+="<A href=\"javascript: return false;\" onclick=\"lightbox_delete_image_enl('"+myid+"'); return false;\" class=\"iconlinktiny\" TITLE=\"Remove this image from the lightbox\">X</A>";}_44+="<a href=\"javascript: return false;\" ONCLICK=\"lightbox_addto('"+myid+"'); return false;\" class=\"iconlinktiny\" title=\"Add to your current lightbox\">LB+</a>";if(gsession){_44+="<a href=\"javascript: return false;\" ONCLICK=\"cart_addto('"+myid+"'); return false;\" class=\"iconlinktiny\" title=\"Add this image to your shopping cart\">CART+</a>";}_44+="<a href=\"javascript: return false;\" ONCLICK=\"return price_image('"+myid+"','"+_45+"');\" class=\"iconlinktiny\" Title=\"Price Image\">$</a>";if(!_50){_44+="<a href=\"javascript: return false;\" ONCLICK=\"enlarge2('"+myid+"'"+","+"'"+_43+"'); return false;\" class=\"iconlinktiny\" title=\"Enlarge image and more info\"><font class=eye>i</font></a>";}_44+="</DIV></font>";_44+="<DIV class=imidxxsmall>"+displayid;if(typeof (suppressrmrftype)=="undefined"){_44+="  <font class=rmrfindicator>"+rm[_43]+"</font>";}_44+="</DIV>";if(_4c){_44+="<a href=\""+_4c+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a>";}_44+="</DIV></SPAN>";}else{_44+="<span valign=bottom style=\"float:left;\">";_44+="<div id=\"d"+myid+"\" align=center valign=bottom style=\"width:95px; height:"+_52+"px; overflow:hidden;\">";_44+=writesimilar(myid,_43,myphotographer,myshortcaption,"start","tiny",_4c,_48);_44+="</DIV></SPAN>";}}else{if(viewmode=="med"){var _52=130+adminheight;if(mysimilarto.length<13){_44+="<span valign=bottom style=\"float:left;\">";_44+="<div align=center valign=bottom style=\"width:140px; height:"+_52+"px; overflow: hidden;\">";if(_50){_44+="<a href=\"/SwishSearch?n=1&fn="+_50+"&supst=cd\" ";}else{_44+="<a href=\"javascript: return false;\" onclick=\"hp(); enlarge2('"+myid+"'"+","+"'"+_43+"'); return false;\"";}if(document.page.previews.selectedIndex==1){_44+=" TITLE=\"ID:"+displayid;if(showphotographer==1){_44+="  \r&copy; "+myphotographer;}if(showfilesize){_44+="\rSIZE: "+myfilesize;}_44+=" \r"+"CAPTION: "+myshortcaption+"\"";}_44+="><img src=http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+myid+".JPG border=0 vspace=1 class=pimg hspace=1 height=80";_44+=" onmouseover=\"prloadimg('"+myid+"'); sp(this, '"+myid+"', '"+_43+"','"+tset+"');";_44+="\" onmouseout=\"hp();\" id="+myid+">";_44+="</a><BR>";_44+="<font class=\"xsmall\"><DIV class=icons>";if(!_50&&((typeof (pre_q_args)!="undefined"&&pre_q_args.match(/fn=/))||(typeof (q_args)!="undefined"&&(q_args.match(/vmo=/)||q_args.match(/rid=/)||q_args.match(/lb_view=1/)||q_args.match(/fn=/))))){_44+="<A href=\"javascript: return false;\" onclick=\"lightbox_delete_image_enl('"+myid+"'); return false;\" class=\"lblink\" TITLE=\"Remove this image from the lightbox\">X</A>";}_44+="<a href=\"javascript: return false;\" ONCLICK=\"lightbox_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add to your current lightbox\">LB+</a>";if(gsession){_44+="<a href=\"javascript: return false;\" ONCLICK=\"cart_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add this image to your shopping cart\">CART+</a>";}_44+="<a href=\"javascript: return false;\" ONCLICK=\"return price_image('"+myid+"','"+_45+"');\" class=\"iconlink\" Title=\"Price Image\">$</a>";if(!_50){_44+="<a href=\"javascript: return false;\" ONCLICK=\"enlarge2('"+myid+"'"+","+"'"+_43+"'); return false;\" class=\"iconlink\" title=\"Enlarge image and more info\"><font class=eye>i</font></a>";}if(typeof (gusert)!="undefined"&&gusert=="IPN"){_44+="<A href=\"javascript: return false;\" onclick=\"ajax_TEXT('/bin/KeywordAdjust?good=1&id="+myid+"&q="+dsplkys+"',getpost); return false;\"><IMG src=/graphics/rating_enhance.gif width=18 height=12 border=0 style=\"margin-bottom: -3px;\"></a><A href=\"javascript: return false;\" onclick=\"ajax_TEXT('/bin/KeywordAdjust?bad=1&id="+myid+"&q="+dsplkys+"', getpost); return false;\"><IMG src=/graphics/rating_discourage.gif width=18 border=0 height=12 style=\"margin-bottom: -3px;\"></a>";}_44+="</DIV></font>";_44+="<DIV class=imidxxsmall>"+displayid;if(typeof (suppressrmrftype)=="undefined"){_44+="  <font class=rmrfindicator>"+rm[_43]+"</font>";}_44+="</DIV>";if(_4c){_44+="<a href=\""+_4c+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a>";}_44+="</DIV></SPAN>";}else{_44+="<span valign=bottom style=\"float:left;\">";_44+="<div id=\"d"+myid+"\" align=center valign=bottom style=\"width:140px; height:"+_52+"px;\">";_44+=writesimilar(myid,_43,myphotographer,myshortcaption,"start","med",_4c,_48);_44+="</DIV></SPAN>";}}else{if(viewmode=="ss"){_44="  ";}else{if(viewmode=="huge"){var _52=220+adminheight;if(mysimilarto.length<13){_44+="<span valign=bottom style=\"float:left;\">";_44+="<div align=center valign=bottom style=\"width:330px; height:"+_52+"px; overflow: hidden;\">";if(_50){_44+="<a href=\"/SwishSearch?n=1&fn="+_50+"&supst=cd\" ";}else{_44+="<a href=\"javascript: return false;\" onclick=\"hp(); enlarge2('"+myid+"'"+","+"'"+_43+"'); return false;\" TITLE=\"ID:"+displayid;}if(showphotographer==1){_44+="\r&copy; "+myphotographer;}if(showfilesize){_44+="\rSIZE: "+myfilesize;}_44+=" \r"+"CAPTION: "+myshortcaption+"\"><img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/420/60/"+myid+".JPG\" border=\"0\" vspace=\"1\" hspace=\"3\" alt=\"loading...\" height=\"192\"></a><BR>";_44+="<font class=\"xsmall\"><DIV class=icons>";if(!_50&&((typeof (pre_q_args)!="undefined"&&pre_q_args.match(/fn=/))||(typeof (q_args)!="undefined"&&(q_args.match(/vmo=/)||q_args.match(/rid=/)||q_args.match(/lb_view=1/)||q_args.match(/fn=/))))){_44+="<A href=\"javascript: return false;\" onclick=\"lightbox_delete_image_enl('"+myid+"'); return false;\" class=\"lblink\" TITLE=\"Remove this image from the lightbox\">X</A>";}_44+="<a href=\"javascript: return false;\" ONCLICK=\"lightbox_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add to your current lightbox\">LIGHTBOX+</a>";if(gsession){_44+="<a href=\"javascript: return false;\" ONCLICK=\"cart_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add this image to your shopping cart\">CART+</a>";}_44+="<a href=\"javascript: return false;\" ONCLICK=\"return price_image('"+myid+"','"+_45+"');\" class=\"iconlink\" Title=\"Price Image\">$</a>";if(!_50){_44+="<a href=\"javascript: return false;\" ONCLICK=\"enlarge2('"+myid+"'"+","+"'"+_43+"'); return false;\" class=\"iconlink\" title=\"Enlarge image and more info\"><font class=eye>i</font> ENLARGE</a> ";}if(typeof (gusert)!="undefined"&&gusert=="IPN"){_44+="<A href=\"javascript: return false;\" onclick=\"ajax_TEXT('/bin/KeywordAdjust?good=1&id="+myid+"&q="+dsplkys+"', getpost); return false;\"><IMG src=/graphics/rating_enhance.gif width=18 height=12 border=0 style=\"margin-bottom: -3px;\"></a><A href=\"javascript: return false;\" onclick=\"ajax_TEXT('/bin/KeywordAdjust?bad=1&id="+myid+"&q="+dsplkys+"',getpost); return false;\"><IMG src=/graphics/rating_discourage.gif width=18 border=0 height=12 style=\"margin-bottom: -3px;\"></a>";}_44+=displayid;if(typeof (suppressrmrftype)=="undefined"){_44+="  <font class=rmrfindicator>"+rm[_43]+"</font> ";}_44+="</DIV></font>";if(_4c){_44+="<a href=\""+_4c+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a>";}_44+="</DIV></SPAN>";}else{_44+="<span valign=bottom style=\"float:left;\">";_44+="<div id=\"d"+myid+"\" align=center valign=bottom style=\"width:330px; height:"+_52+"px; overflow: hidden;\">";_44+=writesimilar(myid,_43,myphotographer,myshortcaption,"start","huge",_4c,_48);_44+="</DIV></SPAN>";}}else{if(viewmode=="large"){var _52=199+adminheight;if(mysimilarto.length<13){_44+="<span valign=bottom style=\"float:left;\">";_44+="<div align=center valign=bottom style=\"width:187px; height:"+_52+"px; overflow:hidden;\">";if(_50){_44+="<a href=\"/SwishSearch?n=1&fn="+_50+"&supst=cd\" ";}else{_44+="<a href=\"javascript: return false;\" onclick=\"hp(); enlarge2('"+myid+"'"+","+"'"+_43+"'); return false;\"";}if(document.page.previews.selectedIndex==1){_44+=" TITLE=\"ID:"+displayid;if(showphotographer==1){_44+="\r&copy; "+myphotographer;}if(showfilesize){_44+="\rSIZE: "+myfilesize;}_44+=" \r"+"CAPTION: "+myshortcaption+"\"";}_44+="><img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/170/85/"+myid+".JPG\" class=pimg border=\"0\" vspace=\"0\" hspace=\"3\"";_44+=" onmouseover=\"prloadimg('"+myid+"'); sp(this, '"+myid+"','"+_43+"','"+tset+"');";_44+="\" onmouseout=\"hp();\" id="+myid+">";_44+="</a><BR>";_44+="<font class=\"xsmall\"><DIV class=icons>";if(!_50&&((typeof (pre_q_args)!="undefined"&&pre_q_args.match(/fn=/))||(typeof (q_args)!="undefined"&&(q_args.match(/vmo=/)||q_args.match(/rid=/)||q_args.match(/lb_view=1/)||q_args.match(/fn=/))))){_44+="<A href=\"javascript: return false;\" onclick=\"lightbox_delete_image_enl('"+myid+"'); return false;\" class=\"iconlink\" TITLE=\"Remove this image from the lightbox\">X</A>";}_44+="<a href=\"javascript: return false;\" ONCLICK=\"lightbox_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add to your current lightbox\">LB+</a>";if(gsession){_44+="<a href=\"javascript: return false;\" ONCLICK=\"cart_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add this image to your shopping cart\">CART+</a>";}_44+="<a href=\"javascript: return false;\" ONCLICK=\"return price_image('"+myid+"','"+_45+"');\" class=\"iconlink\" Title=\"Price Image\">$</a>";if(!_50){_44+="<a href=\"javascript: return false;\" ONCLICK=\"enlarge2('"+myid+"'"+","+"'"+_43+"'); return false;\" class=\"iconlink\" title=\"Enlarge image and more info\"><font class=eye>i</font></a>&nbsp;";}if(typeof (gusert)!="undefined"&&gusert=="IPN"){_44+="<A href=\"javascript: return false;\" onclick=\"ajax_TEXT('/bin/KeywordAdjust?good=1&id="+myid+"&q="+dsplkys+"',getpost); return false;\"><IMG src=/graphics/rating_enhance.gif width=18 height=12 border=0 style=\"margin-bottom: -3px;\"></a><A href=\"javascript: return false;\" onclick=\"ajax_TEXT('/bin/KeywordAdjust?bad=1&id="+myid+"&q="+dsplkys+"',getpost); return false;\"><IMG src=/graphics/rating_discourage.gif width=18 border=0 height=12 style=\"margin-bottom: -3px;\"></a>";}_44+="</div><div><font class=imid>"+displayid+"</font>";if(typeof (suppressrmrftype)=="undefined"){_44+="  <font class=rmrfindicator>"+rm[_43]+"</font>";}_44+="</DIV></font>";if(_4c){_44+="<a href=\""+_4c+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a>";}_44+="</DIV></SPAN>";}else{_44+="<span valign=bottom style=\"float:left;\">";_44+="<div id=\"d"+myid+"\" align=center valign=bottom style=\"width:187px; height:"+_52+"px; overflow: hidden;\">";_44+=writesimilar(myid,_43,myphotographer,myshortcaption,"start","large",_4c,_48);_44+="</DIV></SPAN>";}}else{var _52=176+adminheight;if(mysimilarto.length<13){_44+="<span valign=bottom style=\"float:left;\">";_44+="<div align=center valign=bottom style=\"width:152px; height:"+_52+"px; overflow:hidden;\">";if(_50){_44+="<a href=\"/SwishSearch?n=1&fn="+_50+"&supst=cd\" ";}else{_44+="<a href=\"javascript: return false;\" onclick=\"hp(); enlarge2('"+myid+"'"+","+"'"+_43+"'); return false;\"";}if(document.page.previews.selectedIndex==1){_44+=" TITLE=\"ID:"+displayid;if(showphotographer==1){_44+="\r&copy; "+myphotographer;}if(showfilesize){_44+="\rSIZE: "+myfilesize;}_44+=" \r"+"CAPTION: "+myshortcaption+"\"";}_44+="><img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+myid+".JPG\" class=pimg border=\"0\" vspace=\"0\" hspace=\"3\"";_44+=" onmouseover=\"prloadimg('"+myid+"'); sp(this, '"+myid+"','"+_43+"','"+tset+"');";_44+="\" onmouseout=\"hp();\" id="+myid+">";_44+="</a><BR>";_44+="<font class=\"xsmall\"><DIV class=icons>";if(!_50&&((typeof (pre_q_args)!="undefined"&&pre_q_args.match(/fn=/))||(typeof (q_args)!="undefined"&&(q_args.match(/vmo=/)||q_args.match(/rid=/)||q_args.match(/lb_view=1/)||q_args.match(/fn=/))))){_44+="<A href=\"javascript: return false;\" onclick=\"lightbox_delete_image_enl('"+myid+"'); return false;\" class=\"iconlink\" TITLE=\"Remove this image from the lightbox\">X</A>";}_44+="<a href=\"javascript: return false;\" ONCLICK=\"lightbox_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add to your current lightbox\">LB+</a>";if(gsession){_44+="<a href=\"javascript: return false;\" ONCLICK=\"cart_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add this image to your shopping cart\">CART+</a>";}_44+="<a href=\"javascript: return false;\" ONCLICK=\"return price_image('"+myid+"','"+_45+"');\" class=\"iconlink\" Title=\"Price Image\">$</a>";if(!_50){_44+="<a href=\"javascript: return false;\" ONCLICK=\"enlarge2('"+myid+"'"+","+"'"+_43+"'); return false;\" class=\"iconlink\" title=\"Enlarge image and more info\"><font class=eye>i</font></a>&nbsp;";}if(typeof (gusert)!="undefined"&&gusert=="IPN"){_44+="<A href=\"javascript: return false;\" onclick=\"ajax_TEXT('/bin/KeywordAdjust?good=1&id="+myid+"&q="+dsplkys+"',getpost); return false;\"><IMG src=/graphics/rating_enhance.gif width=18 height=12 border=0 style=\"margin-bottom: -3px;\"></a><A href=\"javascript: return false;\" onclick=\"ajax_TEXT('/bin/KeywordAdjust?bad=1&id="+myid+"&q="+dsplkys+"',getpost); return false;\"><IMG src=/graphics/rating_discourage.gif width=18 border=0 height=12 style=\"margin-bottom: -3px;\"></a>";}_44+="</div><div><font class=imid>"+displayid+"</font>";if(typeof (suppressrmrftype)=="undefined"){_44+="  <font class=rmrfindicator>"+rm[_43]+"</font>";}_44+="</DIV></font>";if(_4c){_44+="<a href=\""+_4c+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a>";}_44+="</DIV></SPAN>";}else{_44+="<span valign=bottom style=\"float:left;\">";_44+="<div id=\"d"+myid+"\" align=center valign=bottom style=\"width:152px; height:"+_52+"px; overflow: hidden;\">";_44+=writesimilar(myid,_43,myphotographer,myshortcaption,"start","normal",_4c,_48);_44+="</DIV></SPAN>";}}}}}}}}}}return _44;}function initShareRadios(){for(var cnt=showstartnumber_trap;cnt<endnumber;cnt++){var _57=unescape(shsync[cnt]);_57=_57.split("|");var _58=_57[0]+$F("share_control_view")+$F("share_control_home_sphotog");var _59,_5a;if(typeof (cocon)=="object"&&cocon[0]){_5a=_57[2];_59=_57[0].toString().substring(0,1);}var _5b=$("shf"+id[cnt]);if(_5b){$A(_5b.elements).each(function(rad){if(rad.value==_58){rad.checked=true;}else{if(_59&&(rad.value==_59||(_59=="s"&&rad.value==_5a))){rad.checked=true;}else{rad.checked=false;}}});}}}function createDisplayPanel(){if($("displaypanellayer")){return;}var dp=document.createElement("div");dp.setAttribute("id","displaypanellayer");document.body.appendChild(dp);}function createCoverLayer(){if($("coverlayer")){return;}var dp=document.createElement("div");dp.setAttribute("id","coverlayer");document.body.appendChild(dp);}function showDisplayPanel(){createDisplayPanel();$("displaypanellayer").style.zIndex="9991001";$("displaypanellayer").style.visibility="visible";new Effect.Appear("displaypanellayer",{duration:0.5});setTimeout("divshim(1);",200);}function buildPagination(_5f,_60,_61){suspendtrap=1;var _62="<table width=\"100%\"><tr><td valign=\"top\">";_62+="<NOBR><FONT class=page>";var _63=parseInt(_5f)+parseInt(_61)+1;var _64=parseInt(_60)+parseInt(_61);if(Number(currentpagenum)>0){_62+="<A href=\"javascript: return false;\" onclick=\"document.currentLayer1Mode='searchresults';prevpage(); return false;\"><FONT style=\"font-size:9pt;font-family: Arial;\">&#8592;</FONT> PREV PAGE</A>&nbsp;";}else{if(_63<=results_total){_62+="<FONT style=\"font-family: Arial;color:#AAAAAA;\"><FONT style=\"9pt;\">&#8592;</FONT> PREV PAGE</FONT>&nbsp;";}}if(_63<=results_total){_62+="Go&nbsp;to&nbsp;Page:&nbsp;<SELECT name=\"pageurl\" align=\"absmiddle\"  onChange=\"document.currentLayer1Mode='searchresults'; self.location=this.options[this.selectedIndex].value; return false;\" class=\"smallmenu\" style=\"width:5.5em;\">";totalpages=(Math.ceil((_61)/(parseInt($F("pixperpage"))))+Math.ceil((results_total-_61)/(parseInt($F("pixperpage")))));if(Number(currentpagenum)>52){psn=(Number(currentpagenum)-50);}else{psn=1;}if((Number(totalpages)-Number(currentpagenum))>50){pen=(Number(currentpagenum)+50);}else{pen=totalpages;}if(psn>1&&currentpagenum!=0){_62+="<OPTION VALUE=\""+nextlink+"snum="+((psn-2)*(parseInt(gpixperpagev)))+"\">&lt; "+(Number(psn)-1)+"</option>";}for(i=psn;i<=pen;i++){if(i==(Number(currentpagenum)+1)){_62+="<OPTION VALUE=\""+nextlink+"snum="+((i-1)*(parseInt(gpixperpagev)))+"\" SELECTED>"+i+"</option>";}else{_62+="<OPTION VALUE=\""+nextlink+"snum="+((i-1)*(parseInt(gpixperpagev)))+"\">"+i+"</option>";}}if(pen!=totalpages){_62+="<OPTION VALUE=\""+nextlink+"snum="+((Number(pen))*(parseInt(gpixperpagev)))+"\">&gt; "+(Number(pen)+1)+"</option>";}_62+="</select>";if(grange!="outofrange"){_62+="&nbsp;<A HREF=\"javascript: return false;\" onclick=\"document.currentLayer1Mode='searchresults';nextpage(); return false;\">NEXT PAGE&nbsp;<FONT style=\"font-size:9pt;font-family: Arial;\">&#8594;</FONT></A></font>";}_62+="&nbsp;&nbsp;["+_63+"-";if(_64>parseInt(results_total)){_62+="<span id=\"lastpgtotal\">"+results_total+"</span>"+"]&nbsp;of&nbsp;<span id=\"imgtotal\">"+results_total+"</span>";}else{_62+=_64+"]&nbsp;of&nbsp;<span id=\"imgtotal\">"+results_total+"</span>";}_62+="</NOBR>";_62+="</td><td align=\"right\">";if(document.thisIsFeatureView){_62+="<a href=\"/R?"+feat_requestview+"\" style=\"color:#c00; font-size:10px\"><nobr>View images from</nobr> <br/><nobr><b>All IPN Members</b></nobr></a>";}if(typeof (shsync)=="object"&&shsync[0]&&shsync[0]!=""){var _65="<a onclick=\"return save_all_releases();\" href=\"javascript: return false;\">Save All Releases</a> &nbsp;&nbsp; [ Set All: <a href=\"javascript: return false;\" onclick=\"return share_set_page('shared'); \">Accepted</a> | <a href=\"javascript: return false;\" onclick=\"return share_set_page('rejected'); \">Rejected</a> | <a href=\"javascript: return false;\" onclick=\"return share_set_page('pending'); \">Pending</a>  &nbsp;|&nbsp;  <a onclick=\"return release_set_page('NOT RELEASED');\" href=\"javascript: return false;\" title=\"NOT RELEASED\">NR</a> | <a onclick=\"return release_set_page('NOT APPLICABLE');\" href=\"javascript: return false;\" title=\"NOT APPLICABLE\">NA</a> | <a onclick=\"return release_set_page('NOT RECOGNIZABLE');\" href=\"javascript: return false;\" title=\"NOT RECOGNIZABLE\">NR</a> | <a onclick=\"return release_set_page('MODEL AND PROPERTY RELEASED');\" href=\"javascript: return false;\" title=\"MODEL AND PROPERTY RELEASED\">MaPR</a> ]";$("Layerpreviews").innerHTML=_65;}}_62+="</td></tr></table>";$("Layerpages").style.overflow="visible";MM_setTextOfLayer("Layerpages","",_62);}function divShim(_66){if(typeof ($)=="function"&&$("DivShim")){if(_66){createDisplayPanel();$("DivShim").style.width=$("displaypanellayer").style.width;$("DivShim").style.height=$("displaypanellayer").style.height;$("DivShim").style.top=$("displaypanellayer").style.top;$("DivShim").style.left=$("displaypanellayer").style.left;$("DivShim").style.zIndex=$("displaypanellayer").style.zIndex-1;$("DivShim").style.display="block";}else{$("DivShim").style.display="none";}}}function hideDisplayPanel(_67){createCoverLayer();divshim(0);createDisplayPanel();if($("displaypanellayer").style&&$("displaypanellayer").style.visibility=="visible"){if(_67==1){new Effect.Fade("displaypanellayer",{duration:0.01});}else{new Effect.Fade("displaypanellayer",{duration:0.3});}}if($("coverlayer").style&&$("coverlayer").style.visibility=="visible"){new Effect.Fade("coverlayer",{delay:0.22,duration:0.3,from:0.7,to:0});setTimeout("coveroff();",0.31);}setTimeout("$('displaypanellayer').style.visibility='hidden';",0.31);Event.stopObserving(document,"mousemove",getMouseXY);}function hideCoverLayer(){createCoverLayer();$("coverlayer").style.visibility="hidden";}function html_share_con_opts(dex){if(typeof (shcon)=="object"&&shcon[dex]&&shcon[dex]!=""){return "<form id=\"shf"+id[dex]+"\"><span style=\"font-size:7pt\"><NOBR>"+unescape(shcon[dex])+"</NOBR></span><input type=\"hidden\" name=\"dexer\" value=\""+dex+"\"/></form>";}else{return "";}}function html_weight_con_opts(dex){if(typeof (swcon)=="object"&&swcon[dex]&&swcon[dex]!=""){return "Weight:&nbsp;<select class=\"editformelem\" id=\"weightcontrol"+dex+"\" name=\"weightcontrol"+dex+"\" onchange=\"sos("+dex+",'weight')\">"+unescape(swcon[dex])+"</select>";}else{return "";}}function html_combined_con_opts(dex){if(typeof (cocon)=="object"&&cocon[dex]&&cocon[dex]!=""){return "<form id=\"shf"+id[dex]+"\"><span style=\"font-size:7pt\"><NOBR>"+unescape(cocon[dex])+"</NOBR></span><input type=\"hidden\" name=\"dexer\" value=\""+dex+"\"/></form>";}else{return "";}}function dispatchBuildImages(_6b){var _6c=global.macIE5;var _6d=_6b["snum"];var _6e=_6b["buildmode"];var _6f=_6b["resized"];viewmode=_6b["viewmode"];$("Layer1").style.height=winH+"px";$("Layer1").style.overflow="hidden";if($("cdheader")){(typeof (dsplkys)!="undefined"?((dsplkys.substring(0,6)=="BLDVCD"||dsplkys.match(/ZRFCD$/))?$("cdheader").style.display="block":$("cdheader").style.display="none"):$("cdheader").style.display="block");}document.currentLayer1Mode="searchresults";createCoverLayer();if(!_6c){var _70=Element.getOpacity("coverlayer");}if(_70>0.2){hidedisplaypanel();}suspendcheck=1;if(_6d>1||_6f==1){setuppagesize();}showstartnumber_trap=parseInt(_6d);var _71=optimize();grange="legal";MM_setTextOfLayer("Layer1","","<CENTER> <BR><BR><BR><BR><BR><BR><BR><BR>loading ...</CENTER>");var cnt=_6d;firstpictureonpage=_6d;endnumber=parseInt(gpixperpagev)+parseInt(_6d);if(viewmode!="ss"){if(pagetype=="lb"&&(typeof (pre_q_args)!="undefined"&&!(pre_q_args.match(/lb_view=1/)||pre_q_args.match(/fn=/)||pre_q_args.match(/vmo=/)))){_71+="&nbsp;&nbsp;<A href=\"javascript: return false;\" onclick=\"viewmode='"+viewmode+"';gsetCookie('gviewmode','"+viewmode+"', '', '/', gGetCookieDom()); self.location='/SwishSearch"+pre_q_args+"'; return false;\"><FONT style=\"font-size:9pt; font-family:Arial;\">&#8593;</font> BACK TO SEARCH RESULTS</A><BR/><BR/>";}while(cnt<endnumber){if(id[cnt]){if(typeof (htmlit_custom)=="function"){_71+=htmlit_custom(cnt);}else{_71+=htmlit(cnt);}}else{if((snum+cnt)>=results_total){if(grange!="outofrange"){_71+="<span valign=bottom style=\"float:left;\"><div align=center valign=bottom style=\"width:130; height:50px; overflow: hidden;\">";if(pagetype=="lb"){_71+="<div id=\"endbox\" class=\"endoflightboximages\"><nobr>[ end of lightbox images ]</div></nobr></DIV></SPAN> ";}else{_71+="<div id=\"endbox\" class=\"endofsearchresults\"><nobr>[ end of search results ]</div></nobr></DIV></SPAN> ";}}grange="outofrange";}else{grange="illegalpage";}}cnt++;}if(snum+cnt==results_total){grange="outofrange";}if(grange=="illegalpage"){if(_6e=="next"){var _73=(Number(snum)+Number(_6d));var _74=$H({showstart:1,snum:0,viewmode:viewmode,resized:_6f}).toJSON();self.location=nextlink+"snum="+_73+"#nav="+_74;MM_setTextOfLayer("Layer1","","<CENTER> <BR><BR><BR><BR><BR><BR><BR><BR>loading next set of images...</CENTER>");}else{prevtogoto=Number(snum)+Number(_6d)-parseInt($F("pixperpage"));if(prevtogoto<0){prevtogoto=0;}var _74=$H({showstart:1,snum:0,viewmode:viewmode,resized:_6f}).toJSON();self.location=nextlink+"snum="+prevtogoto+"#nav="+_74;}}else{MM_setTextOfLayer("Layer1","",_71);if(shsync[0]){setTimeout("init_share_radios()",1);}var _75="<table id=\"footerpaging\" style=\"position:absolute; z-index:999;\" width=100% height=17 cellpadding=0 cellspacing=0 border=0><TR><TD align=left width=40%>";if((typeof (snum)!="undefined"&&Number(snum)>1)||(typeof (_6d)!="undefined"&&Number(_6d)>1)){_75+="<nobr>&nbsp;&nbsp;<A HREF=javasc"+"ript:prevpage();><FONT style=\"font-size:9pt;font-family: Arial;\">&#8592;</FONT> PREV PAGE</A></nobr>";}else{_75+="&nbsp;";}_75+="</TD><TD align=\"middle\"  width=20%><center><nobr>"+footer()+"</nobr></center></TD><TD width=40% align=right>";if(grange!="outofrange"){_75+="<nobr><A HREF='javascript: return false;' onclick='nextpage(); return false;' name=bottomnext>NEXT PAGE <FONT style=\"font-size:9pt;font-family: Arial;\">&#8594;</FONT></A>&nbsp;&nbsp;</nobr></DIV>";}_75+="</TD></TR></table>";$("pagingrow").innerHTML=_75;lastimage=cnt;if($("pixperpage")){prestart=endnumber-1;preend=(lastimage+parseInt($F("pixperpage")));if(_6d==0){var _76=6000+parseInt($F("pixperpage")*30);self.setTimeout("preloadnextpage()",_76);}else{var _76=1000;self.setTimeout("preloadnextpage()",_76);}}}}else{enlarge2(id[0],0);}currentpagenum=Math.ceil((Number(snum)+Number(_6d))/parseInt($F("pixperpage")));buildpages(_6d,endnumber,snum);iconstatus();}function getFooter(){if(typeof (customfooter)!="undefined"){return customfooter;}else{return Templates.footer__body.evaluate({currentyear:currentYear});}}}function afImage(){this.buildImages=buildImages;this.priceImage=priceImage;this.sizeImageToContainer=sizeImageToContainer;this.preloadNextImage=preloadNextImage;this.price_image_act=price_image_act;this.preLoadImage=preLoadImage;this.twidleImagePrice=twidleImagePrice;this.twidlePriceImagedelay=twidlePriceImagedelay;function sizeImageToContainer(_77,_78){if(!_77||!_78||!$(_77)){return;}var _79=Element.getDimensions(_77);if(_78.style){_78.style.width=(_79["width"]+8)+"px";_78.style.height=(_79["height"]+8)+"px";}return 1;}function priceImage(pid,_7b){if(!pid||!pid.match(/^[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]?$/)){return false;}var url="/AjaxHandlers/ImageInfo/"+pid+".json";ajax_JSON(url,"POST",null);price_image_act(pid,0,0);return false;}function price_image_act(pid,_7e,_7f){if(document.ajaxLoaded||_7f){var _80=(document.JSONobj.getImgDat("tier")||"");launchwin("/bin/Rates?ln="+pid+"&calc_only=1&supst="+_80);}else{if(_7e<5){_7e++;setTimeout("price_image_act('"+pid+"','"+_7e+"', 0 )",500);}else{_7e++;price_image_act(pid,_7e,1);}}return;}function preLoadImage(_81,_82){if(!$("pimid")){document.body.appendChild(Builder.node("div",{id:"pimid",style:"position:absolute; top:-500px"}));}var _83=$H({id:"previewimg_"+_81,src:"/graphics/loading.png",border:0,alt:"Loading...",lowsrc:"/graphics/spacer.gif"});if(winH<450){smallscreen=1;if(typeof (_82)!="undefined"){if(_82=="panoramic"){_83["width"]=420;}else{if(_82=="vertical"){_83["height"]=((winH-100)<180)?180:(winH-100);}else{_83["height"]=((winH-142)<160)?160:(winH-142);}}}else{_83["height"]=135;}}else{smallscreen=0;}$("pimid").innerHTML="";$("pimid").style.visibility="hidden";var _84=Builder.node("div",{id:"previewpaneshadow2"},[Builder.node("div",{id:"previewpaneshadow1"},[Builder.node("div",{id:"previewpane"},[Builder.node("div",{style:"padding: 2px 2px 2px 2px;",align:"center"},[Builder.node("img",_83)]),Builder.node("div",{id:"previewpane_metdat_"+_81},"")]),Builder.node("img",{src:"http://globaldyn.ipnstock.com/"+dynimagesname+"/420/60/"+_81+".JPG",style:"display:none",onload:"if($('previewimg_"+_81+"')) $('previewimg_"+_81+"').src = this.src"})])]);$("pimid").appendChild(_84);}function twidleImagePrice(_85,_86,_87){setTimeout("twidle_price_img_delay("+_85+", '"+_86+"', '"+_87+"')",10);return false;}function twidlePriceImagedelay(_88,_89,_8a){var _8b="lic"+_88;if(document[_8b].loaded=="true"){return;}if(_89=="RF"){var _8c=new Image();_8c.src="/graphics/specify_filesize.gif";document[_8b].src=_8c.src;}if(_8a=="$ 0.00"){}else{var _8c=new Image();_8c.src="/graphics/ready_to_license.gif";document[_8b].src=_8c.src;}document[_8b].loaded="true";return true;}function buildImages(_8d,_8e,_8f){if(typeof (cartview)!="undefined"&&cartview){return;}if(typeof (id)=="undefined"){return;}var _90=parseInt(_8d)+parseInt(snum)+1;var _91=$H({showstart:_90,snum:_8d,viewmode:viewmode,buildmode:_8e,resized:_8f}).toJSON();try{YAHOO.util.History.navigate("nav",_91);}catch(e){dispatchAll(_91);}}function preloadNextImage(){preloadcurrent++;if(preloadcurrent<preend&&endnumber<preend){objImage=new Image();Event.observe(objImage,"load",function(){setTimeout("preloadnextimg();",10);});objImage.src="http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+id[preloadcurrent]+".JPG";}}}function afInfo(){this.enlarge2=enlarge2;this.dispatchEnlarge2=dispatchEnlarge2;this.enlarge2_act__generateTierRows=enlarge2_act__generateTierRows;this.enlarge2_act=enlarge2_act;this.preloadImages=preloadImages;this.setTextOfLayer=setTextOfLayer;function enlarge2(_92,_93,_94,_95){var _96=$H({ssid:_92,ssdex:_93,fimg:_94,nc:_95,showstart:"ss",snum:firstpictureonpage,viewmode:"ss"}).toJSON();try{YAHOO.util.History.navigate("nav",_96);}catch(e){dispatchAll(_96);}}function dispatchEnlarge2(_97){if(typeof (_97)!="object"){return;}var _98=_97["ssid"];var _99=_97["ssdex"];var _9a=_97["fimg"];var _9b=_97["nc"];var _9c=document.currentLayer1Mode;document.currentLayer1Mode="enlarge";var url="/AjaxHandlers/ImageInfo/"+(_9a?_9a:_98)+".json";var drk="";if(_9b){drk="&drk="+Math.random(10);}ajax_JSON(url,getpost,"callback=enlarge2_act('"+_98+"','"+_99+"','"+(_9a?_9a:"")+"','"+_9c+"')"+drk);setuppagesize();$("Layer1").style.height=truevertHeight+"px";var _9f=0;if($("cdheader")&&$("cdheader").style.display=="block"){_9f=146;}$("Layer1").style.height=truevertHeight+_9f+"px";}function enlarge2_act__generateTierRows(_a0,_a1,_a2,_a3){var _a4="";if(_a1=="RF"){var _a5="";$A(_a0.tierinfo).each(function(_a6){Object.extend(_a6,{enlargetid:_a0.image_id,usage:_a6.subof,img_id:_a2,encount:(_a3?_a3:"''")});_a5+=Templates.tieredimgpricing__rfslug_row.evaluate(_a6);});_a4=Templates.tieredimgpricing__rfslug.evaluate({"rows":_a5});}else{if(_a1=="RR"){var _a7="";$A(_a0.tierinfo).each(function(_a8){Object.extend(_a8,{enlargetid:_a0.image_id,usage:_a8.subof,img_id:_a2,encount:(_a3?_a3:"''")});if(_a8.opt_selected==1){_a8.removebutton=Templates.tieredimgpricing__rrslug_row_removebutton.evaluate(_a8);}_a7+=Templates.tieredimgpricing__rrslug_row.evaluate(_a8);});_a4=Templates.tieredimgpricing__rrslug.evaluate({"rows":_a7});}}return _a4;}function enlarge2_act(_a9,_aa,_ab,_ac){_ab=(_ab=="undefined"?"":_ab);debug("featuredimage",_ab);hp();var _ad=0;if(id[_aa]==document.JSONobj.getImgDat("id")||_ab.length==10){_ad=1;}debug("useInPage",_ad);if(_ad||(document.ajaxLoaded&&(_a9.match(document.JSONobj.getImgDat("id"))))){if(typeof (viewmode)!="undefined"&&viewmode=="ss"){gsetCookie("gcurrentview","","","/",gGetCookieDom());}if($("cdheader")){$("cdheader").style.display="none";}if((!document.thisIsFeatureView&&_ad&&st[_aa]&&st[_aa].length>13)||overflowtype=="hidden"){suspendtrap=1;}if(firstpictureonpage){gsetCookie("gwhichstartpage",firstpictureonpage,"","/",gGetCookieDom());}var _ae;var _af=document.JSONobj.getImgDat("short_caption");_af=(_af?_af:"n/a");var _b0=document.JSONobj.getImgDat("long_caption");_b0=(_b0?_b0:"n/a");if(typeof (uselongcaption)!="undefined"&&_b0!="n/a"){if(uselongcaption=="useboth"){if(_af=="n/a"){_ae=_af;}else{_ae="<span id=\"enlarge_short_caption\">"+_af+" <a href=\"javascript: return false;\" onclick=\"$('enlarge_short_caption').style.display='none'; $('enlarge_long_caption').style.display='inline'; return false;\">more&nbsp;&gt;&gt;</a></span><span style=\"display:none\" id=\"enlarge_long_caption\">"+_b0+"  <a href=\"javascript: return false;\" onclick=\"$('enlarge_long_caption').style.display='none'; $('enlarge_short_caption').style.display='inline'; return false;\">&lt;&lt;&nbsp;less</a></span>";}}else{_ae=_b0;}}else{_ae=_af;}var _b1=document.JSONobj.getImgDat("rmrftype");var _b2=document.JSONobj.getImgDat("tieredimgpricing");var _b3=enlarge2_act__generateTierRows(_b2,_b1,_a9,_aa);var _b4=document.JSONobj.getImgDat("photographer")+((document.JSONobj.getImgDat("agent_name")&&document.JSONobj.getImgDat("agent_name")!="")?"&nbsp;/&nbsp;"+document.JSONobj.getImgDat("agent_name"):"");var _b5=(document.JSONobj.getImgDat("file_size")<5?"Scan on Demand":document.JSONobj.getImgDat("file_size")+" Mb");var _b6=document.JSONobj.getImgDat("released");var _b7=document.JSONobj.getImgDat("image_restrictions");var _b8=document.JSONobj.getImgDat("comp_allow");var _b9=(typeof (showdimensions)!="undefined"?document.JSONobj.getImgDat("dimensions"):"");if(_b9){var _ba=_b9.match(/^(\d+)x(\d+)$/);if(typeof (_ba)=="object"){_b9="<br/><b>Original Dimensions:</b>&nbsp;"+_ba[1]+"px&nbsp;x&nbsp;"+_ba[2]+"px";}}var _bb=parseInt(_aa)+1;var _bc=id[_bb];var _bd=parseInt(_aa)-1;var _be=id[_bd];var _bf="";if((!document.thisIsFeatureView)&&_ad&&v[_aa]&&(v[_aa]=="H")){var _c0=+_a9.substring(0,2)+"/"+_a9.substring(0,5)+"/"+_a9;_bf+="<EMBED SRC=\"http://tools.cgibackgrounds.com/qtvideo/"+_c0+".MOV\" WIDTH=420 HEIGHT=280></EMBED>";}else{var _c1="0000000000";if(_ab){_c1=_ab;}else{_c1=_a9;}debug("tarid",_c1);_bf+="<A HREF=\"\" onclick=\"currentpage(); return false;\">"+"<img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/"+((typeof (localwatermark)!="undefined"&&!pngsupport)?"wm":"420")+"/60/"+_c1+".JPG\" border=1 style=\"display:inline; clear:none;\" id=\""+_c1+"\">"+((typeof (localwatermark)!="undefined"&&pngsupport)?"<img style=\"z-index: 300; position:absolute; left:0px; bottom:0px;\" src=\""+localwatermark+"\" border=\"0\" onload=\"fitMeTo('"+_c1+"', this)\"/>":"");_bf+="</A>";}var _c2="";if(!document.thisIsFeatureView&&_ad&&st[_aa]&&st[_aa].length>13){var _c3=st[_aa];var _c4=_c3.split(" ");var _c5=_c4[1].split(",");if(_c5.length>1){_c5=_c4[0]+" "+_c5.join(" ");_c4=_c5.split(" ");}var _c6=_c4.length;if(_c6>40){simheight=(70-_c6/2);}else{simheight=70-_c6;}var _c7="";for(var i=0;i<_c6;i++){_c7+="<span valign=bottom style=\"float:left;\">"+"<a href=\"javasc"+"ript:enlarge2('"+_a9+"'"+","+"'"+_aa+"','"+_c4[i]+"');\" TITLE=\"ID:"+_c4[i];if(showphotographer==1){_c7+="  \r&copy; "+_b4;}_c7+=" click image to view similar\"><img src=http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+_c4[i]+".JPG border=0 vspace=2 hspace=2 height="+simheight+" align=left></a></span>";}_c2=Templates.enlarge2_act__similars.evaluate({simcolinfo:_c7});}var _c9="";var _ca="";if(_ac=="cartview"){_ca="<A HREF=\"\" onclick=\"document.currentLayer1Mode='cartview'; viewmode='"+viewmode+"';gsetCookie('gviewmode','"+viewmode+"', '', '/', gGetCookieDom());currentpage(); return false;\"><FONT style=\"font-size:9pt; font-family:Arial;\">&#8593;</font> BACK TO CART</A><BR><BR>";}else{if(document.thisIsFeatureView){_ca="<A HREF=\"\" onclick=\"document.currentLayer1Mode='searchresults'; viewmode='"+viewmode+"';gsetCookie('gviewmode','"+viewmode+"', '', '/', gGetCookieDom()); self.location = self.location; return false;\"><FONT style=\"font-size:9pt; font-family:Arial;\">&#8593;</font> BACK TO REQUEST RESULTS</A><BR><BR>";}else{_ca="<A HREF=\"\" onclick=\"document.currentLayer1Mode='searchresults'; viewmode='"+viewmode+"';gsetCookie('gviewmode','"+viewmode+"', '', '/', gGetCookieDom()); currentpage(); return false; \"><FONT style=\"font-size:9pt; font-family:Arial;\">&#8593;</font> BACK TO SEARCH RESULTS</A><BR><BR>";}}if(_ad){if(_ac!="cartview"){if((snum+_aa)>0){_c9+="                                  <A HREF=\"\" onclick=\"enlarge2('"+_be+"','"+_bd+"'); return false;\" TITLE=\"GO TO THE PREVIOUS IMAGE\"><FONT style=\"font-size:9pt; font-family: Arial;\">&#8592;</FONT> PREV IMAGE </A>&nbsp;&nbsp;";}if((Number(snum)+Number(_aa)+1)<Number(results_total)){_c9+="                                  <A HREF=\"\" onclick=\"enlarge2('"+_bc+"','"+_bb+"'); return false;\" TITLE=\"GO TO THE NEXT IMAGE\">NEXT IMAGE <FONT style=\"font-size:9pt; font-family: Arial;\">&#8594;</FONT></A><BR>";}}}var _cb="";if(_ab){_cb=_ab;}else{_cb=_a9;}var _cc="";if(_ac!="cartview"){if(gsession&&gusername&&_b8=="Y"){_cc="<a href=\"Javascr"+"ipt:displayWindow('/comp_view.shtml?"+gusername+"/"+cs[_aa]+"/"+_cb+".JPG','600','640');\"><img src=\"/graphics/icon_comp.gif\" width=21 height=15 alt=\"\" border=\"0\"> DOWNLOAD COMP</a><BR><BR>";}else{if(gsession){_cc="<a href=\"Javascr"+"ipt:displayWindow('/comp_view.shtml?guest/"+cs[_aa]+"/"+_cb+".JPG','600','640');\"><img src=\"/graphics/icon_comp.gif\" width=21 height=15 alt=\"\" border=\"0\"> DOWNLOAD COMP</a><BR><BR>";}}}var _cd=(_b3?"<BR/><div class=\"enlargeratetiers\">"+_b3+"</div>":"");var _ce=(showrelease?"<b>Release:</b> "+_b6+"<br>":"");var _cf=_b4;if(_b4.indexOf("/")>0){_cf=_cf.substring(0,_cf.indexOf("/"));}var _d0=((_b4&&showphotographer)?"<b>Photographer:</b> <A href=\"/SwishSearch?Keywords="+_cf+"&spec_idx=ne&method=photographer\">"+_b4+"</a><br>":"");var _d1=((!_ab&&showfilesize)?"<b>File Size:</b> "+_b5:"");var _d2=(_b7?"<BR/><span style=\"color:#990000\">"+_b7+"</span>":"");var _d3="";document.JSONobj.getKeywords().each(function(kwd){var _d5=q_args;if(_d5.match(/Keywords=[^\+\&]+\+/)){_d5=_d5.replace(/Keywords=[^\+]+\+/,"Keywords="+kwd+"+");}else{if(_d5.match(/Keywords=[^\+\&]+\&/)){_d5=_d5.replace(/Keywords=[^\+\&]+\&/,"Keywords="+kwd+"&");}else{if(_d5.match(/Keywords=[^\+\&]+$/)){_d5=_d5.replace(/Keywords=[^\+\&]+$/,"Keywords="+kwd);}else{_d5=_d5.replace(/((rid|\&rid)|(vmo|\&vmo)|(lb_view|\&lb_view)|(cartview|\&cartview))=[^\&]+/,"");_d5="Keywords="+kwd+"&"+_d5;_d5=_d5.replace(/\&+/,"&");}}}_d5=_d5.replace("&spec_idx=ne","");_d3+="<a href=\"/SwishSearch?"+_d5+"&spec_idx=ne\">"+kwd+"</a>, ";});var _d6;if(o[_aa]){_d6=o[_aa];}else{_d6=_cb;}var _d7=document.JSONobj.getImgDat("date_shot");var _d8=document.JSONobj.getImgDat("rfcdlink");var _d9=$H({enlargetid:_cb,rfcdlinkslug:_d8,dateshot:_d7,keywordinfo:_d3,displayenlargetid:_d6,restrictionsinfo:_d2,filesizeinfo:_d1,photographerinfo:_d0,releaseinfo:_ce,ratetierinfo:_cd,downloadcomplink:_cc,navenlargedlinks:_c9,navbacklinks:_ca,similarscolumn:_c2,themediainsert:_bf,rmrftype:_b1,myshortcaption:_ae,dimensions:_b9});$("Layer1").style.overflow="auto";MM_setTextOfLayer("Layer1","",Templates.enlarge2_act__body.evaluate(_d9));if(typeof (autoshowkeywords)!="undefined"){setTimeout("popkeys2('enlarge_keywords','','enalarge_keywords_text');",500);}MM_preloadImages("http://gdynx.ipnstock.com/"+dynimagesname+"/420/60/"+_bc+".JPG");}else{gsetCookie("gviewmode","ss","","/",gGetCookieDom());self.location=nextlink+"snum="+(Number(firstpictureonpage)+Number(snum));}}function preloadImages(){var d=document;if(d.images){if(!d.MM_p){d.MM_p=new Array();}var i,j=d.MM_p.length,a=MM_preloadImages.arguments;for(i=0;i<a.length;i++){if(a[i].indexOf("#")!=0){d.MM_p[j]=new Image;d.MM_p[j++].src=a[i];}}}}function setTextOfLayer(_de,x,_e0){var obj=$(_de);if(obj!=null){if($("pagingrow")&&document.currentLayer1Mode!="searchresults"){$("pagingrow").innerHTML="";}if(document.layers){document.write(unescape(_e0));document.close();}else{obj.innerHTML=unescape(_e0);}}}}function afInit(){this.init=init;function init(){var _e2;_prototype();_globals();checkStatus();prepareEvents();findBrowser();findOS();styleSheets();checkGetPost();checkPNGSupport();handleSession({cartView:global.cartView,cartViewLocation:global.cartViewLocation,gSession:global.gSession,pageType:global.pageType,pre_q_args:global.preQArgs,q_args:global.qArgs});pageTypeEvents({pageType:global.pageType});handleBuilder({Builder:global.builderClass,cartPic:global.cartPic});}function checkGetPost(){if(global.userBrowserName=="Firefox"){global.getPost="GET";}}function checkPNGSupport(){if(global.userBrowserName=="Explorer"&&parseInt(global.userBrowserVersion)<7){global.pngSupport=0;}}function checkStatus(){document.currentLayer1Mode=global.currentLayer1Mode;if(global.currentLayer1Mode=="enlarge"){document.currentLayer1Mode="searchresults";global.currentLayer1Mode="searchresults";}}function findData(_e3){for(var i=0;i<_e3.length;i++){var _e5=_e3[i].string;var _e6=_e3[i].prop;this.versionSearchString=_e3[i].versionSearch||_e3[i].identity;if(_e5){if(_e5.indexOf(_e3[i].subString)!=-1){return _e3[i].identity;}}else{if(_e6){return _e3[i].identity;}}}}function findVersion(_e7){var _e8=_e7.indexOf(this.versionSearchString);if(_e8==-1){return;}return parseFloat(_e7.substring(_e8+this.versionSearchString.length+1));}function findBrowser(){var _e9=[{string:navigator.userAgent,subString:"Chrome",identity:"Chrome"},{string:navigator.userAgent,subString:"OmniWeb",versionSearch:"OmniWeb/",identity:"OmniWeb"},{string:navigator.vendor,subString:"Apple",identity:"Safari",versionSearch:"Version"},{prop:window.opera,identity:"Opera"},{string:navigator.vendor,subString:"iCab",identity:"iCab"},{string:navigator.vendor,subString:"KDE",identity:"Konqueror"},{string:navigator.userAgent,subString:"Firefox",identity:"Firefox"},{string:navigator.vendor,subString:"Camino",identity:"Camino"},{string:navigator.userAgent,subString:"Netscape",identity:"Netscape"},{string:navigator.userAgent,subString:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{string:navigator.userAgent,subString:"Gecko",identity:"Mozilla",versionSearch:"rv"},{string:navigator.userAgent,subString:"Mozilla",identity:"Netscape",versionSearch:"Mozilla"}];global.userBrowserName=findData(_e9)||"An unknown browser";global.userBrowserVersion=findVersion(navigator.userAgent)||findVersion(navigator.appVersion)||"an unknown version";}function findOS(){var os=[{string:navigator.platform,subString:"Win",identity:"Windows"},{string:navigator.platform,subString:"Mac",identity:"Mac"},{string:navigator.platform,subString:"Linux",identity:"Linux"}];global.userOSName=findData(os)||"An unknown operating system";}function handleBuilder(_eb){var _ec=_eb["Builder"];var _ed=_eb["cartPic"];if(typeof (_ec)!="undefined"){global.nodeTree=$H({cart_build_act__buttons:_ec.node("a",{href:"#",onclick:"lightbox_change(); return false;",title:"SWITCH TO YOUR LIGHTBOX"},[_ec.node("img",{src:"/graphics/cart_enabled_02.gif",border:0,width:127,height:18,hspace:0,vspace:0})]),cart_build_act__actions:_ec.node("span",{},[_ec.node("a",{href:"#",onclick:"cart_display(); return false;",className:"lblink",style:"text-decoration:none; cursor:pointer;"},"View Cart and Calculate Usage Fees")," | ",_ec.node("a",{href:"#",onclick:"cart_check(); return false;",className:"lblink",style:"text-decoration:none; cursor:pointer;"},"Checkout"),(document.thisIsFeatureView?" | ":""),(document.thisIsFeatureView?_ec.node("a",{href:"#",className:"lblink",onclick:"$(\"LBdiv\").style.visibility = \"hidden\"",style:"cursor:pointer;"},"[x] Hide Cart"):"")])});}return ({nodeTree:global.nodeTree});}function handleSession(_ee){var _ef=_ee["cartView"];var _f0=_ee["cartViewLocation"];var _f1=_ee["gSession"];var _f2=_ee["pageType"];var _f3=_ee["pre_q_args"];var _f4=_ee["q_args"];if(typeof (_f1)!="undefined"&&_f1){if(_ef){document.currentLbdivMode="cart";document.currentLayer1Mode="cartview";global.currentMousedOverObject="shop_cart";}if((typeof (_f2)!="undefined"&&_f2=="lb")||(typeof (_f3)!="undefined"&&(_f3.match(/lb_view=1/)||_f3.match(/fn=/)))||(typeof (_f4)!="undefined"&&(_f4.match(/vmo=/)||_f4.match(/lb_view=1/)))){global.pageType="lb";gsetCookie("gwhichstartpage","","","/",gGetCookieDom());}}else{if(_ef){top.location=_f0;}}return ({currMousedOverObj:global.currentMousedOverObject,pagetype:global.pageType});}function pageTypeEvents(_f5){var _f6=_f5["pageType"];if(typeof (_f6)!="undefined"){Event.observe(window,"load",currentpage);Event.observe(window,"resize",checkpageresize);Event.observe(window,"click",hp);}}function prepareEvents(){if(typeof (Event)!="undefined"&&typeof (Event.observe)=="function"){Event.observe(window,"load",getVars);Event.observe(window,"load",function(){if(EAD("share_control_sphotog")){nextlink+="site="+$F("share_control_sphotog")+"&";}if(EAD("share_control_status")){nextlink+="status_view="+$F("share_control_status")+"&";}if(EAD("share_control_view")){nextlink+="view="+$F("share_control_view")+"&";}if(EAD("share_control_release")){nextlink+="release_view="+$F("share_control_release")+"&";}});}}function _prototype(){if(typeof ($)!="function"){document.write("<script src=\"/javascripts/prototype.js\" type=\"text/javascript\"></script>");}}function styleSheets(){var _f7=document.styleSheets;var _f8=false;for(i=0;i<_f7.length;i++){if(_f7[i].href!=null&&_f7[i].href.endsWith("/css/main2.css")){_f8=true;}}if(!_f8){document.write("<LINK rel=\"stylesheet\" href=\"/css/main2.css\" type=\"text/css\">");}if((global.userBrowser=="IE"||global.userBrowserName=="Explorer")&&(parseInt(global.userBrowserVersion)<5)){document.write("<LINK rel=\"stylesheet\" href=\"/css/fixed4ie.css\" type=\"text/css\">");}}}function afLegal(){this.copyrightNotice=copyrightNotice;this.licenseCostWindow=licenseCostWindow;function copyrightNotice(){if($("copyright")){if(typeof (customhovermessage)!="undefined"&&customhovermessage!=""){$("copyright").innerHTML=customhovermessage;}else{$("copyright").innerHTML=Templates.hovercopyright__text.evaluate({currentyear:currentYear,baseurl:baseurl});}}}function licenseCostWindow(id){launchwin("/bin/Rates?calc_only=1&usage=1&ln="+id);}}function afLightbox(){this.newLightbox=newLightbox;this.registerLightbox=registerLightbox;this.emailLightbox=emailLightbox;this.emailConfirmation=emailConfirmation;this.lightbox_mod_act=lightbox_mod_act;this.simpleMessage=simpleMessage;this.addLightboxToCart=addLightboxToCart;this.deleteLightbox=deleteLightbox;this.renameLightbox=renameLightbox;this.buildLightbox=buildLightbox;this.validateLightboxName=validateLightboxName;this.registerLightboxRename=registerLightboxRename;this.changeLightbox=changeLightbox;this.addImageToLightbox=addImageToLightbox;this.deleteLightboxFromEnlargeView=deleteLightboxFromEnlargeView;this.deleteImageFromLightbox=deleteImageFromLightbox;this.toggleLightbox=toggleLightbox;this.makeLightboxString=makeLightboxString;this.refreshTopLightbox=refreshTopLightbox;this.saveLightbox=saveLightbox;function newLightbox(){center_panel(290,200,Templates.lightbox_new__body.evaluate());}function registerLightbox(){var lbn="";if($("lightbox_new_name")){lbn=$F("lightbox_new_name");}if(lbn.length==0||lbn.length>100){alert("Lightbox names must be between 1 and 100 characters long.");if(lbn){lbn="";}}else{if(test_valid_name(lbn)){polllb();var lbs=make_lightbox_string(gusername,lbn,[{id:1}]);currentlbname=lbn;simplemessage("creating your lightbox "+lbn+" <blink>.</blink>","","LB");ajax_JSON("/AjaxHandlers/LightboxNew/"+lbs+".json",getpost,null);}}}function emailLightbox(){var _fc="/bin/Mail";var _fd="ot=2&dsm=1&to_email="+$("to_email").value+"&mail_text="+escape($("mail_text").value);if($("allow_hrdl")&&$("allow_hrdl").checked==true){_fd+=(typeof (emaillburladd)!="undefined"?emaillburladd:"");}if($("bill_to_customer")&&$("bill_to_customer").value.toString().length>0){_fd+="&customer_id="+$("bill_to_customer").value;}if($("email_project")&&$("email_project").value.toString().length>0){_fd+="&project="+$("email_project").value;}if($("email_notes")&&$("email_notes").value.toString().length>0){_fd+="&notes="+$("email_notes").value;}if($("notify").checked==true){_fd+="&notify=1";}if($("readonly").checked==true){_fd+="&readonly=1";}ajax_TEXT(_fc+"?"+_fd,"GET");simplemessage("Sending your lightbox "+" <blink>.</blink>",0);}function lightbox_mod_act(_fe){if(currentLbdivMode=="cart"){return false;}var _ff=0;if(document.JSONobj&&document.JSONobj.getLbDat("lbname")){var _100=document.JSONobj.getLbDat("lbname");if(currentlbname==_100||!currentlbname){hidedisplaypanel(1);var _101=document.JSONobj.getLbDat("lblist");var lbl=document.JSONobj.getLbDat("lbnamelist");if(typeof (_101)!="array"&&typeof (_101)!="object"||!_101.length){_101=new Array(1);_101[0]={id:"1",rfcd:""};}document.currentlbstash=_101;currentlbname=_100;currentlblist=lbl;_ff=0;lightbox_build(_101,_100,"",lbl);}else{_ff=1;}}else{_ff=1;}if(_ff){setTimeout("lightbox_mod_act()",500);}}function simpleMessage(m,mode,trg){if(trg&&$("LBdiv")){$("LBdiv").style.height="100px";$("LBdiv").innerHTML=Templates.simplemessage__body_lightbox.evaluate({message:m});}else{createDisplayPanel();if($("displaypanellayer").style.left=="0px"){$("displaypanellayer").style.left=parseInt(winW-200)/2+"px";}if($("displaypanellayer").style.top=="0px"){$("displaypanellayer").style.top=parseInt(winH-100)/2+"px";}if($("displaypanellayer").style.visibility=="hidden"){$("displaypanellayer").style.visibility="visible";}$("displaypanellayer").innerHTML=Templates.simplemessage__body.evaluate({message:m});}if(!mode){setTimeout("hidedisplaypanel(1);",700);}}function emailConfirmation(mode){if(mode=="sent"){simplemessage("Lightbox Sent!"+"<blink>.</blink>");}else{if(mode=="close"){hidedisplaypanel(1);}else{var _107={emaillbaddhtml:(typeof (emaillbaddhtml)!="undefined"?emaillbaddhtml:" "),currentlbname:currentlbname};center_panel(390,280,Templates.lightbox_email__body.evaluate(_107));}}}function addLightboxToCart(){simplemessage("Adding lightbox images to Shopping Cart <blink>.</blink>","","LB");ajax_JSON("/AjaxHandlers/CartLbAdd/0000000000.json","POST","callback=cart_mod_act(0)");}function deleteLightbox(){simplemessage("Deleting your current lightbox "+currentlbname,"","LB");var _108=((typeof (mobject_id)!="undefined"&&mobject_id!="")?"mob="+mobject_id:"");var lbs=make_lightbox_string(gusername,currentlbname);currentlbname="";ajax_JSON("/AjaxHandlers/LightboxDelete/"+lbs+".json",getpost,_108);}function renameLightbox(){var _10a={currentlbname:currentlbname};center_panel(290,200,Templates.lightbox_rename__body.evaluate(_10a));}function buildLightbox(tlba,_10c,secr,lbl){if(cartview&&carnit){carnit=0;document.currentlbstash=tlba;cart_build("changing");return;}hidedisplaypanel(1);if(typeof (tlba)!="object"&&typeof (document.currentlbstash)=="undefined"){return;}else{if(typeof (document.currentlbstash)=="object"&&typeof (tlba)!="object"){tlba=document.currentlbstash;}}currentLbdivMode="lightbox";if(_10c){currentlbname=_10c;}if(lbl){currentlblist=lbl.split("|");}if(secr){scr=secr;}var _10f=$("LBdiv")?Position.cumulativeOffset($("LBdiv")):[0,0];var _110=winH-_10f[1]-18;document.currentlbstash=tlba;if($("LBdiv")){var _111=$A([]);_111.push(Builder.node("div",{id:"lbbuttons",style:"padding: 0px; margin: 0px; height:16px; width: 127px; overflow:hidden;"},[Builder.node("a",{href:"javascript: return false;",onclick:"cart_build('changing'); return false;",title:"SWITCH TO YOUR CART"},[Builder.node("img",{src:"/graphics/lightbox_enabled_02.gif",border:0,width:127,height:18,hspace:0,vspace:0})])]));var _112=$A([]);if(currentlblist&&currentlblist.length>0){var _113=0;$A(tlba).each(function(_114){if(_114.id==1){_113=1;}});var _115=(_113?(tlba.length-1):tlba.length);_112.push(Builder.node("b",{},currentlbname+" Lightbox"),"  ("+_115+")  ",Builder.node("b",{},"Change to  "));var _116=document.createElement("select");_116.setAttribute("name","n");_116.setAttribute("id","lightbox_menu");_116.setAttribute("class","smallmenu");_116.onchange=function(){lightbox_change(this.options[this.selectedIndex].value);};for(var i=0;i<currentlblist.length;i++){if(currentlblist[i]!=""){var _118;_118=document.createElement("option");_118.setAttribute("value",currentlblist[i]);_118.appendChild(document.createTextNode(currentlblist[i].substring(0,25)+(currentlblist[i].length>25?"...":"")));if(currentlblist[i]==currentlbname){_118.setAttribute("selected","selected");}_116.appendChild(_118);}}_112.push(_116);}var tlb1="";var tlb2="";var tlb3="";var tlb4="";var tlb5="";var tlb6="";var tlb7="";var tlb8="";var tlb9="";if(winW>832){tlb1="New Lightbox";tlb2="View Expanded Lightbox";tlb3="Email Lightbox";tlb4="Add Lightbox to Cart";tlb5="Delete Lightbox";tlb6="Rename Lightbox";tlb7="Make LB a Feature";tlb8="Copy LB to User";tlb9="Resort LB";}else{tlb1="New LB";tlb2="View LB";tlb3="Email LB";tlb4="Add LB to Cart";tlb5="Delete LB";tlb6="Rename LB";tlb7="Make Feature";tlb8="Copy LB";tlb9="Sort";}_112.push(Builder.node("a",{"href":"javascript: return false;","class":"lblink","onclick":"lightbox_new(); return false;"},tlb1)," | ",Builder.node("a",{"href":"javascript: return false;","onclick":"var d = new Date(); d.setMinutes(d.getMinutes()+5); gsetCookie('gprewhichstartpage', showstartnumber_trap, d, '/', gGetCookieDom()); toplightboxrefresh(); return false;","class":"lblink"},tlb2)," | ",Builder.node("a",{"href":"javascript: return false;","class":"lblink","onclick":"lightbox_email(); return false;"},tlb3)," | ",Builder.node("a",{"href":"javascript: return false;","class":"lblink","onclick":"lightbox_add2cart(); return false;"},tlb4)," | ",Builder.node("a",{"href":"javascript: return false;","class":"lblink","onclick":"lightbox_delete(); return false;"},tlb5)," | ",Builder.node("a",{"href":"javascript: return false;","class":"lblink","onclick":"lightbox_rename(); return false;"},tlb6));if(typeof (makelightboxfeature)!="undefined"){_112.push(" | ",Builder.node("a",{"href":"javascript: return false;","class":"lblink","onclick":"launchwin('"+makelightboxfeature+currentlbname+"', 'make feature', 500, 400, 100, 100); return false;"},tlb7));}if(typeof (copylightboxtouser)!="undefined"){_112.push(" | ",Builder.node("a",{href:"javascript: return false;","class":"lblink","onclick":"launchwin('"+copylightboxtouser+"', 'copy_lightbox', 300, 300, 300, 400); return false;"},tlb8));}if(typeof (enlargedlbsort)!="undefined"){_112.push(" | ",Builder.node("a",{href:"javascript: return false;","class":"lblink","onclick":"if(pagetype=='lb') { center_panel(390,120, '<div style=\"background:#F7E6A9;height:120px;font-size:6pt;text-align:center;padding:20px 10px 0 10px;\"><br/><h1>Your display will be refreshed once you close the Lightbox Sort popup window.</h1></div>'); } launchwin('"+enlargedlbsort+currentlbname+"', 'resort_lightbox', 450, 750, 200, 300); return false;"},tlb9));}_112.push(" | ",Builder.node("a",{"href":"javascript: return false;","class":"lblink","onclick":"showhideLB(); return false;",style:"cursor:pointer"},"[+|-]"));var _122="block";if(lbdisplaymode&&viewmode=="editing"){_122="none";}_111.push(Builder.node("div",{"id":"lblinks","class":"lbname lbscroll","style":"overflow: auto; overflow-y:hidden"},[Builder.node("nobr",{},_112)]));var _123=$A([]);var _124=30;if(tlba.length>0){if(_122=="block"){_124=130;}else{if(_122=="none"){_124=40;}}var _125="hidden";var _126=parseInt(winW/79);var _127="100%";if(_126<tlba.length){_125="scroll";_127=79*tlba.length;_127=_127+"px";}var _128=50;if(truevertHeight<340){vlim=25;}else{if(truevertHeight<450){vlim=35;}else{vlim=58;}}for(lbi=0;lbi<tlba.length;lbi++){if(tlba[lbi].id==""){continue;}lbid=tlba[lbi].id;if((lbid==1&&tlba.length<2)||lbid!=1){var _129={"className":"lblink","title":"Enlarge this image"};var _12a={"id":"dlb"+lbi+"s_lbi"};if(tlba[lbi].rfcd&&tlba[lbi].rfcd.toString().length){var pm=unescape(tlba[lbi].rfcd.toString()).match(/SwishSearch\?n\=1\&fn\=(.*)\&supst\=cd/);if(pm!=null){var _12c=pm[1];_129.href="/SwishSearch?n=1&fn="+_12c+"&supst=cd";_12a.href="/SwishSearch?n=1&fn="+_12c+"&supst=cd";}}else{_129.href="javascript: return false;";_129["onclick"]="hp(); enlarge2('"+lbid+"','"+lbi+"'); return false;";_12a.href="javascript: return false;";_12a.onclick="if (suspendpreviews==0) { hp(); enlarge2('"+lbid+"', '"+lbi+"'); } return false;";}var _12d=(lbid!=1?Builder.node("div",{"style":"padding-left: 2px; padding-right: 2px; padding-bottom:6px;"},[Builder.node("a",{"onclick":"lightbox_delete_image('"+lbid+"'); return false;",className:"lblink","title":"Remove this image from the lightbox","href":"javascript: return false;"},"x"),Builder.node("a",_129,"+")]):"");_123.push(Builder.node("div",{"id":"dlb_"+lbi,"name":"dlb_"+lbi,"style":"float:left; height:"+(_128+18)+"px; overflow:hidden","align":"center"},[Builder.node("a",_12a,[Builder.node("img",{"id":"dlb_"+lbid,"onmouseover":"prloadimg('"+lbid+"'); pmousedelta[1] = -180; sp(this, '"+lbid+"', '"+lbi+"','"+tset+"');",onmouseout:"hp(); pmousedelta[1] = -30;","src":"http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+lbid+".JPG",border:0,height:_128,className:"lbimg","hspace":2})]),Builder.node("br"),_12d]));}}}else{if(currentlbname){_123.push(Builder.node("div",{"id":"dlb_0","name":"dlb_0","style":"float:left; height:"+(_128+18)+"px; overflow:hidden;","align":"center"},[Builder.node("a",{"href":"javascript: return false;","onclick":"return false;","id":"dlb0s_lbi","onmouseover":"prloadimg('1'); sp(this, '1', '0','"+tset+"');","onmouseout":"hp();"},[Builder.node("img",{"src":"http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/1.JPG",border:0,height:_128,className:"lbimg","hspace":2})])]));}}_111.push(Builder.node("div",{"class":"lbscroll","style":"position: relative; overflow:"+_125+"; overflow-y:hidden; height:"+(_124-50)+"px;"},[Builder.node("div",{"id":"LBimgdiv","style":"position:absolute; left:0; top:0; padding: 1px 0 0 0; height:"+(_124-30)+"px; width:"+_127+"; display:"+_122+";"},[_123])]));$("LBdiv").replace("<div id=\"LBdiv\"></div>");$("LBdiv").innerHTML="";$("LBdiv").style.height=_124+"px";_111.each(function(_12e){$("LBdiv").appendChild(_12e);});if(lbdisplaymode==1&&viewmode=="editing"){$("LBimgdiv").hidden=1;}}global.lightBoxBuilt=1;lightbox_built=global.lightBoxBuilt;return;}function validateLightboxName(v){if(v.match(/[^A-Za-z0-9 \-_]/)){alert("Lightbox names may only contain letters, numbers, spaces, hyphens, and underscores.");return false;}else{return true;}}function registerLightboxRename(){var _130=$F("lightbox_new_name");if(_130.length==0||_130.length>100){alert("Lightbox names must be between 1 and 100 characters long.");_130="";}else{if(test_valid_name(_130)){simplemessage("renaming your lightbox "+_130+" <blink>.</blink>","LB");var _131=((typeof (mobject_id)!="undefined"&&mobject_id!="")?"mob="+mobject_id:"");var lbs=make_lightbox_string(gusername,currentlbname,_130);ajax_JSON("/AjaxHandlers/LightboxRename/"+lbs+".json",getpost,_131);currentlbname=_130;}}}function changeLightbox(_133){currentLbdivMode="lightbox";cartview="";document.currentLbdivMode="lightbox";var lbs="";if(typeof (_133)!="undefined"&&_133.toString().length>0){simplemessage("Changing to Lightbox: "+_133+"<blink>.</blink>","","LB");polllb();currentlbname=_133;lbs=make_lightbox_string(gusername,_133);}ajax_JSON("/AjaxHandlers/LightboxInfo/"+lbs+".json",getpost,null);}function addImageToLightbox(id){if(gsession){var _136=(typeof (document.currentlbstash)=="object"?1:0);var temp=(_136?document.currentlbstash.pluck("id").join(" "):"");if(temp.indexOf(id)>=0){alert("That image is already in your Lightbox");}else{if(!currentlbname){currentlbname="newlb";}if(!document.currentlbstash.push){document.currentlbstash=new Array();}document.currentlbstash.unshift({id:id,rfcd:""});var _138=((typeof (mobject_id)!="undefined"&&mobject_id!="")?"mob="+mobject_id:"");var lbs=make_lightbox_string(gusername,currentlbname,id);ajax_JSON("/AjaxHandlers/LightboxAddTo/"+lbs+".json",getpost,_138);if(_136){lightbox_build(document.currentlbstash);}}}else{self.location="/bin/Cklb?ref=/SwishSearch%3F"+escape(pre_q_args)+"&atlb="+id;}}function deleteLightboxFromEnlargeView(_13a,_13b){var _13c;var _13d="";var _13e=gusername;if(typeof (mobject_id)!="undefined"&&mobject_id!=""){var _13f=new Array;_13f=mobject_id.match(/^([^.]+)\.([^.]+)\.([^.]+)$/);_13c=_13f[3];_13e=_13f[2];_13d=mobject_id;}else{if(typeof (pagetype)!="undefined"&&pagetype=="lb"){_13c=dsplkys;}else{if(typeof (q_args)=="undefined"||!q_args.match(/rid=/)){return;}}}if(document.thisIsFeatureView&&typeof (feat_requestview)!="undefined"&&feat_requestview.toString().length>0){ajax_JSON("/R?del_id="+_13a+"&rid="+feat_requestview,"GET",null);}else{ajax_TEXT("/bin/CreateLightbox?delid="+_13a+"&vmo="+_13d+"&uname="+_13e+"&lbname="+_13c,"GET",null);}for(var tt=0;tt<id.length;tt++){if(id[tt]==_13a){cs.splice(tt,1);fs.splice(tt,1);o.splice(tt,1);rm.splice(tt,1);id.splice(tt,1);st.splice(tt,1);hrdl.splice(tt,1);rel.splice(tt,1);sw.splice(tt,1);pho.splice(tt,1);scp.splice(tt,1);var _141=$H({showstart:showstartnumber_trap+1,snum:showstartnumber_trap,viewmode:viewmode,buildmode:"",resized:""}).toJSON();dispatchAll(_141);}}if(_13c==currentlbname&&(typeof (_13b=="undefined")||_13b!=1)){lightbox_delete_image(_13a,1);}if($("imgtotal")){$("imgtotal").innerHTML=id.length;}if($("lastpgtotal")){$("lastpgtotal").innerHTML=id.length;}if($("nav_total_images")){$("nav_total_images").innerHTML=id.length;}results_total=id.length;}function deleteImageFromLightbox(_142,_143){var nlb=new Array();var _145="";var _146="";for(var temp=0;temp<document.currentlbstash.length;temp++){if(document.currentlbstash[temp].id==_142){var _148=temp;if(typeof (mobject_id)!="undefined"&&mobject_id!=""){var _149=new Array;_149=mobject_id.match(/^([^.]+)\.([^.]+)\.([^.]+)$/);_145=_149[3];}else{if(typeof (pagetype)!="undefined"&&pagetype=="lb"){_145=dsplkys;}}}else{nlb.push(document.currentlbstash[temp]);}}document.currentlbstash=nlb;if(_145&&_145!=""&&_145==currentlbname&&_143!=1){lightbox_delete_image_enl(_142,1);}if(typeof (document.currentlbstash)!="undefined"&&document.currentlbstash.length==0){lightbox_delete();}else{var _14a=((typeof (mobject_id)!="undefined"&&mobject_id!="")?"mob="+mobject_id:"");var lbs=make_lightbox_string(gusername,currentlbname,_142);ajax_JSON("/AjaxHandlers/LightboxDelFrom/"+lbs+".json",getpost,_14a);lightbox_build(document.currentlbstash);}}function toggleLightbox(){if($("LBimgdiv").hidden==1){$("LBimgdiv").style.display="block";$("LBdiv").style.height="130px";$("LBimgdiv").hidden=0;gsetCookie("ghidelightbox","","","/",gGetCookieDom());}else{$("LBimgdiv").style.display="none";var gh=$("Layer1").getHeight()+200;$("Layer1").style.height=gh+"px";$("LBdiv").style.height="40px";$("LBimgdiv").hidden=1;gsetCookie("ghidelightbox","1","","/",gGetCookieDom());}currentpage();}function makeLightboxString(_14d,_14e,_14f){var _150="";if(typeof (_14f)=="object"){_150=_14f.pluck("id");}else{_150=[_14f];}_150=_150.reverse();var _151=_150.join("|");if(_151&&_151.length>500){_151="";}var _152=_14d+"|||"+_14e+(_151?"||"+_151:"");return _152;}function refreshTopLightbox(){if(gsession){self.location="/SwishSearch?n=1&lb_view=1";}else{self.location="/bin/Cklb?ref=/SwishSearch?lb_view=1";}}function saveLightbox(_153,_154){var lbs=make_lightbox_string(gusername,currentlbname,(typeof (document.currentlbstash)!="undefined"?document.currentlbstash:1));var _156=((typeof (mobject_id)!="undefined"&&mobject_id!="")?"mob="+mobject_id:"");var _157=getpost;if(typeof (document.currentlbstash)=="object"&&document.currentlbstash.length>50){var _158=document.currentlbstash.pluck("id").reverse().join("|");if(_156){_156+="&";}_156+="payload="+_158;_157="POST";}ajax_JSON("/AjaxHandlers/LightboxSave/"+lbs+".json",_157,_156);}}function afMouse(){this.mouseSnap=mouseSnap;this.findMouse=findMouse;this.getMouseCoordinates=getMouseCoordinates;function mouseSnap(e){if(typeof (event)=="undefined"){document.mouseLocSnapX=Event.pointerX(e);document.mouseLocSnapY=Event.pointerY(e);}else{document.mouseLocSnapX=Event.pointerX(event);document.mouseLocSnapY=Event.pointerY(event);}}function findMouse(e,sX,sY){if($("pimid")){var _15d=pmousedelta[0];var _15e=pmousedelta[1];mouseX=(sX||0);mouseY=(sY||0);var _15f;if(typeof (event)=="undefined"){mouseX=Event.pointerX(e);mouseY=Event.pointerY(e);_15f=e.target;}else{mouseX=Event.pointerX(event);mouseY=Event.pointerY(event);_15f=event.target;}if(Math.abs(mouseX-document.mouseLocSnapX)>150||Math.abs(mouseY-document.mouseLocSnapY)>150){hp();}else{var _160=60;if(_15f&&_15f.nodeName=="IMG"){_160=Element.getDimensions(_15f)["height"];}if((mouseX+Element.getDimensions($("pimid"))["width"])>winW){_15d=(mouseX-Element.getDimensions($("pimid"))["width"]-pmousedelta[0]-45);}else{_15d+=mouseX;}if(_15d<0){_15d=pmousedelta[0];}if((mouseY-Math.min(_160,420)+pmousedelta[1]-20)<document.body.scrollTop){_15e=document.body.scrollTop-pmousedelta[1];if((_15e+40)>winH){_15e=(_15e-Math.min(_160,420)+pmousedelta[1]);if(((_15e+Math.max(_160,420)-document.body.scrollTop)-winH)>0){_15e=_15e-(typeof (event)=="undefined"?Math.min((_160+160),420):(gloCrop=="panoramic"||(gloCrop!=""&&gloCrop!="vertical")?190:380));}}}else{if((mouseY+Math.max(_160,420))>winH){_15e=(mouseY-Math.min(_160,420)+pmousedelta[1]);if(((_15e+Math.max(_160,420)-document.body.scrollTop)-winH)>0){_15e=_15e-(typeof (event)=="undefined"?Math.min((_160+160),420):(gloCrop=="panoramic"||(gloCrop!=""&&gloCrop!="vertical")?190:380));}if(_15e<document.body.scrollTop){_15e=document.body.scrollTop-pmousedelta[1];}}else{_15e+=mouseY;if((_15e+40)>winH){_15e=(_15e-Math.min(_160,420)+pmousedelta[1]);if(((_15e+Math.max(_160,420)-document.body.scrollTop)-winH)>0){_15e=_15e-(typeof (event)=="undefined"?Math.min((_160+160),420):(gloCrop=="panoramic"||(gloCrop!=""&&gloCrop!="vertical")?190:380));}}}}$("pimid").style.left=parseInt(_15d)+"px";$("pimid").style.top=parseInt(_15e)+"px";}}}function getMouseCoordinates(e){if(browser!="Explorer"){msX=e.pageX;msY=e.pageY;}else{msX=event.clientX+document.body.scrollLeft;msY=event.clientY+document.body.scrollTop;}if(msX<panelx||msY>(panely+panelheight)){document.isn.Keywords.blur();hidedisplaypanel(1);}}}function afPage(){this.checkPageResize=checkPageResize;this.currentPage=currentPage;this.nextPage=nextPage;this.preloadNextPage=preloadNextPage;this.previousPage=previousPage;this.setBackPage=setBackPage;this.setupPageSize=setupPageSize;function currentPage(){if($("cdheader")){$("cdheader").style.display="block";}setuppagesize();if(document.currentLayer1Mode=="searchresults"){var _162=$H({snum:(firstpictureonpage?firstpictureonpage:0),viewmode:viewmode,buildmode:"",resized:""});dispatchBuildimages(_162);}else{if(document.currentLayer1Mode=="cartview"){cart_display();}}createCoverLayer();$("coverlayer").style.width=winW+"px";if($("Layer1")){if(document.currentLayer1Mode!="cartview"&&document.currentLayer1Mode!="enlarge"){$("Layer1").style.overflow="hidden";}$("Layer1").style.width="100%";$("Layer1").style.height=(document.currentLayer1Mode=="cartview"||document.currentLayer1Mode=="enlarge"?truevertHeight:winH)+"px";if($("lbbuttons")){$("coverlayer").style.height=(Element.getHeight("Layer1")+Element.getHeight("row2")+Element.getHeight("cdheader"))+((covertopadjust)?covertopadjust:0)+((coverbottomadjust)?coverbottomadjust:0)+"px";}else{$("coverlayer").style.height=(winH+30)+"px";}if($("cdheader")){if(Position.cumulativeOffset($("cdheader"))[1]>0){$("coverlayer").style.height=(Element.getHeight("Layer1")+Element.getHeight("row2")+Element.getHeight("cdheader"))+((covertopadjust)?covertopadjust:0)+((coverbottomadjust)?coverbottomadjust:0)+"px";}}$("coverlayer").style.width=Element.getWidth("Layer1");var co=[];if($("row2")){co=Position.cumulativeOffset($("row2"));}if($("cdheader")&&Position.cumulativeOffset($("cdheader"))[1]>0){co=Position.cumulativeOffset($("cdheader"));}else{if($("navContainer")){co=Position.cumulativeOffset($("navContainer"));co[1]+=$("navContainer").getHeight();}}$("coverlayer").style.top=(co[1]-((covertopadjust)?covertopadjust:0))+(Position.cumulativeOffset($("cdheader"))[1]<1?((typeof (covertopadjust)!="undefined")?covertopadjust:0):0)+"px";$("coverlayer").style.left=co[0]+"px";var _164=(trueh-Element.getHeight("LBdiv")-1);}}function setupPageSize(){adminheight=0;if(typeof (hrdl)!="undefined"&&hrdl[0]&&hrdl[0]!=""){if(typeof (viewmode)!="undefined"&&viewmode=="editing"){adminheight=0;}else{if(typeof (adminheight_custom)!="undefined"){adminheight=adminheight_custom;}else{adminheight=11;}}}if(typeof (shcon)=="object"&&shcon[0]&&shcon[0]!=""){adminheight+=11;}if($("Layer1")){winW=Element.getWidth("Layer1");}else{if(self.innerWidth){winW=self.innerWidth;}else{winW=document.body.offsetWidth-0;}}if(self.innerHeight){trueh=self.innerHeight;}else{trueh=document.body.offsetHeight-0;}if(document.documentElement.clientHeight&&document.documentElement.clientHeight>trueh&&(typeof (viewmode)!="undefined"&&(viewmode!="med"||yourBrowse=="IE"))){trueh=document.documentElement.clientHeight-0;}truew=winW;safetyspace=16;menuheight=20;winH=parseInt(trueh)-($("row2")?(parseInt(Element.getHeight("row2"))+Position.cumulativeOffset($("row2"))[1]):20);if(document.currentLayer1Mode=="enlarge"){winH=winH-safetyspace;}else{winH=winH-safetyspace-menuheight;}if(typeof (tweakheight)!="undefined"&&tweakheight!=0){winH=winH-tweakheight;}if(gsession){if(document.getElementById("LBdiv")){var lbh=parseInt(Element.getHeight("LBdiv"));if(lbh<140&&!(lbdisplaymode==1&&viewmode=="editing")){winH=winH-140;}else{winH=winH-lbh;}}}if(typeof (setuppagesize_cellsizes_custom)=="function"){setuppagesize_cellsizes_custom();}else{imagerows=Math.floor(winH/(176+adminheight));imagespaceheight=imagerows*(176+adminheight);area=imagerows*Math.floor(winW/152);if(!viewmode&&imagerows==1){viewmode="med";gsetCookie("gviewmode","med","","/",gGetCookieDom());}if(viewmode){if(viewmode=="table"){imagerows=Math.floor(winH/(176+adminheight));if(imagerows==0){imagerows=1;}imagespaceheight=imagerows*(176+adminheight);area=imagerows*Math.floor(winW/152);}else{if(viewmode=="editing"){imagerows=Math.floor(winH/(160+adminheight));if(imagerows==0){imagerows=1;}imagespaceheight=imagerows*(160+adminheight);area=imagerows*Math.floor(winW/300);}else{if(viewmode=="list"){imagerows=Math.floor(winH/(172+adminheight));if(imagerows==0){imagerows=1;}imagespaceheight=imagerows*(172+adminheight);area=imagerows*Math.floor(winW/300);}else{if(viewmode=="tiny"){imagerows=Math.floor(winH/(106+adminheight));if(imagerows==0){imagerows=1;}imagespaceheight=imagerows*(106+adminheight);area=imagerows*Math.floor(winW/96);}else{if(viewmode=="med"){imagerows=Math.floor(winH/(130+adminheight));if(imagerows==0){imagerows=1;}imagespaceheight=imagerows*(130+adminheight);area=imagerows*Math.floor(winW/140);}else{if(viewmode=="huge"){imagerows=Math.floor(winH/(220+adminheight));if(imagerows==0){imagerows=1;}imagespaceheight=imagerows*(220+adminheight);area=imagerows*Math.floor(winW/330);}else{if(viewmode=="large"){imagerows=Math.floor(winH/(199+adminheight));if(imagerows==0){imagerows=1;}imagespaceheight=imagerows*(199+adminheight);area=imagerows*Math.floor(winW/187);}}}}}}}}}truevertHeight=winH;if(winH<450){smallscreen=1;}if(area>0){totalimagesthatcanfit=area;gpixperpagev=totalimagesthatcanfit;$("pixperpage").value=gpixperpagev;}else{gpixperpagev=ggetCookie("gpixperpage");if(!gpixperpagev){gpixperpagev=12;}}createCoverLayer();$("coverlayer").style.width=winW+"px";if($("lbbuttons")){$("coverlayer").style.height=(Position.cumulativeOffset($("lbbuttons"))[1]-Position.cumulativeOffset($("row2"))[1]+Element.getHeight("lbbuttons"))+"px";}else{$("coverlayer").style.height=(winH+30)+"px";}var co=[];if($("row2")){co=Position.cumulativeOffset($("row2"));}else{co=Position.cumulativeOffset($("navContainer"));co[1]+=$("navContainer").getHeight();}$("coverlayer").style.top=co[1]+"px";$("coverlayer").style.left=co[0]+"px";}function nextPage(){buildimages(lastimage,"next");}function previousPage(){backpagestart=lastimage-(2*parseInt($F("pixperpage")));if((backpagestart)<0){if((backpagestart+snum)<0){prevtogoto=0;}else{prevtogoto=Number(snum)+Number(backpagestart);gsetCookie("gwhichstartpage","0","","/",gGetCookieDom());if(prevtogoto<0){prevtogoto=0;}}var _167=$H({showstart:1,snum:0,viewmode:viewmode}).toJSON();self.location=nextlink+"snum="+prevtogoto+"#nav="+_167;}else{buildimages(backpagestart,"prev");}}function checkPageResize(e){if(self.innerWidth){newW=self.innerWidth-0;}else{if(document.body){newW=document.body.offsetWidth-0;}}if(newW!=tempW){if(self.innerWidth){tempW=self.innerWidth-0;}else{tempW=document.body.offsetWidth-0;}try{if(currentLbdivMode=="lightbox"){setTimeout("lightbox_build(document.currentlbstash);",1000);}else{if(currentLbdivMode=="cart"){setTimeout("cart_build();",1000);}}}catch(e){}setTimeout("currentpage();",1000);}}function preloadNextPage(){preloadcurrent=prestart;preloadnextimg();}function setBackPage(){}}function afPreview(){this.hp=hp;this.hpoff=hpoff;this.portSize=portSize;this.previewSet=previewSet;this.sp=sp;this.sp_act=sp_act;function previewSet(){tset=document.page.previews.options[document.page.previews.selectedIndex].value;var date=new Date();date.setTime(date.getTime()+(60*24*60*60*1000));gsetCookie("gpreviews",tset,date,"/",gGetCookieDom());}function sp(oObj,_16b,_16c,mode){if(oObj.id){currMousedOverObj=oObj.id;}if(currMousedOverObj!=id[_16c]){ajax_JSON("/AjaxHandlers/ImageInfo/"+_16b+".json",getpost,null);}sp_act(oObj.id,_16b,mode,_16c,0);}function sp_act(_16e,_16f,mode,dex,_172){if((!$("previewsSel").selectedIndex||$("previewsSel").selectedIndex!=1)&&suspendpreviews==0){if(mode=="on"){Event.observe(document,"mousemove",mouseSnap);setTimeout("Event.stopObserving(document, 'mousemove', mouseSnap)",200);Event.observe(document,"mousemove",pfindmouse);if((_16e==currMousedOverObj)&&((document.ajaxLoaded&&_16f==document.JSONobj.getImgDat("id"))||_16f==id[dex])){var temp=true;gloCrop=(_16f==id[dex]?crp[dex]:document.JSONobj.getImgDat("crop"));gloCrop=(gloCrop?gloCrop:"horizontal");var crop=gloCrop;if(smallscreen=="1"&&(crop=="panoramic"||crop=="vertical")){prloadimg(_16f,crop);}var _175=(_16f==id[dex]?fs[dex]:document.JSONobj.getImgDat("file_size"));if(_175<5){_175="";}else{if(!_175.toString().match(/[A-Za-z]/)){_175+="Mb";}}var _176=(typeof (showdimensions)!="undefined"?(_16f==id[dex]?dim[dex]:document.JSONobj.getImgDat("dimensions")):"");if(_176){var dimr=_176.match(/^(\d+)x(\d+)$/);if(dimr!=null&&dimr.length>1){_176="[&nbsp;"+dimr[1]+"px&nbsp;x&nbsp;"+dimr[2]+"px&nbsp;]";}}var _178=(_16f==id[dex]?unescape(scp[dex]):document.JSONobj.getImgDat("short_caption"));if(_178&&_178.length>130){var tsc="";for(z=0;z<170;z++){var c=_178.charAt(z);if(temp==true){if((z>130)&&(c==".")){temp=false;tsc+=c+" ...";}else{if((z>150)&&(c==" ")){temp=false;tsc+=" ...";}else{tsc+=c;}}}}_178=tsc;}var _17b="";if(typeof (o)=="object"&&typeof (o[dex])!="undefined"){_17b=(_16f==id[dex]?o[dex]:document.JSONobj.getImgDat("orig_id"));}else{_17b=_16f;}var _17c=(_16f==id[dex]?rm[dex]:document.JSONobj.getImgDat("rmrftype"));var _17d=(_16f==id[dex]?unescape(pho[dex]):document.JSONobj.getImgDat("photographer"));var _17e=(_16f==id[dex]?imr[dex]:document.JSONobj.getImgDat("image_restrictions"));_17e=(_17e?" :: <span style=\"color:#990000\"> This image has restrictions. Click to View </span>":"");var _17f={imageid:_16f,displayimageid:_17b,rmrftype:_17c,filesize:_175,shortcaption:_178,dimensions:_176,photographer:_17d,imagerestrictions:_17e};$("previewpane_metdat_"+_16f).innerHTML=Templates.sp_act__metadata.evaluate(_17f);$("pimid").style.visibility="visible";new Effect.Appear($("pimid"),{duration:0.1});}else{if(_172<10){_172++;setTimeout("sp_act('"+_16e+"', '"+_16f+"', '"+mode+"', '"+dex+"', '"+_172+"')",250);}}}}}function hpoff(){if(currMousedOverObj==""||!currMousedOverObj){if(typeof (mouseX)!="undefined"&&mouseX>parseInt(portSize()[0]/2)){$("pimid").style.left="-500px";}else{$("pimid").style.top="-750px";}}else{new Effect.Appear("pimid",{duration:0.1,from:Element.getOpacity($("pimid"))});}}function hp(){currMousedOverObj="";Event.stopObserving(document,"mousemove",pfindmouse);if(!$("pimid")){return;}new Effect.Fade("pimid",{duration:0.3,from:Element.getOpacity($("pimid"))});setTimeout("hpoff()",300);}function portSize(){var retY=parseInt(document.body.offsetHeight-20);var retX=parseInt(document.body.offsetWidth-20);var iX=window.innerWidth;var iY=window.innerHeight;retX=(iX<retX?iX:retX);retY=(iY<retY?iY:retY);return [retX,retY];}}function afRelease(){this.iconStatus=iconStatus;this.releaseSetPage=releaseSetPage;this.saveAllReleases=saveAllReleases;this.validateCheckboxes=validateCheckboxes;function saveAllReleases(){for(var cnt=showstartnumber_trap;cnt<endnumber;cnt++){sor(cnt);}return false;}function releaseSetPage(_185){if(_185==""){return;}var _186=$A();for(var cnt=showstartnumber_trap;cnt<endnumber;cnt++){if(id[cnt]){_186.push(id[cnt]);var _188=$("releasecontrol"+cnt);if(_188){$A(_188.elements).each(function(chx){var val=chx.value;if(val&&chx.type=="checkbox"){if(val==_185||(_185=="MODEL AND PROPERTY RELEASED"&&(val=="MODEL RELEASED"||val=="PROPERTY RELEASED"))){chx.checked=true;}else{chx.checked=false;}}});}if($("shortrel"+cnt)){var _18b=_185;_18b=_18b.substring(0,16)+(_185.length>16?"...":"");$("shortrel"+cnt).innerHTML="Release: "+_18b;}sor(cnt);}}return false;}function validateCheckboxes(thar){var cc=0;var grel="";$A(thar.form.elements).each(function(chx){if(chx.checked){cc++;grel=chx.value;}});if(cc>1){var _190=new Object;if(thar.form.elements["MODEL RELEASED"].checked&&thar.form.elements["PROPERTY RELEASED"].checked&&thar.name.toString().match(/(MODEL|PROPERTY) RELEASED/)){_190["MODEL RELEASED"]=1;_190["PROPERTY RELEASED"]=1;grel="MODEL AND PROPERTY RELEASED";}else{_190[thar.name]=1;grel=thar.name;}$A(thar.form.elements).each(function(chx){if(chx.checked&&_190[chx.value]!=1){chx.checked=false;}});}if($("shortrel"+thar.form.shdex.value)){var _192=grel;_192=_192.substring(0,16)+(grel.length>16?"...":"");$("shortrel"+thar.form.shdex.value).innerHTML="Release: "+_192;}}function iconStatus(){if(viewmode&&typeof (iconbackground)!="undefined"){if($("iconlist")){$("iconlist").style.background="none";}if($("iconbig")){$("iconbig").style.background="none";}if($("icontiny")){$("icontiny").style.background="none";}if($("iconmed")){$("iconmed").style.background="none";}if($("iconhuge")){$("iconhuge").style.background="none";}if($("iconlarge")){$("iconlarge").style.background="none";}if(viewmode=="table"){if($("iconbig")){$("iconbig").style.background=iconbackground;}}else{if(viewmode=="list"){if($("iconlist")){$("iconlist").style.background=iconbackground;}}else{if(viewmode=="tiny"){if($("icontiny")){$("icontiny").style.background=iconbackground;}}else{if(viewmode=="med"){if($("iconmed")){$("iconmed").style.background=iconbackground;}}else{if(viewmode=="huge"){if($("iconhuge")){$("iconhuge").style.background=iconbackground;}}else{if(viewmode=="large"){if($("iconlarge")){$("iconlarge").style.background=iconbackground;}}}}}}}}}}function afSearch(){this.checkIt=checkIt;this.expandIt=expandIt;this.narrowIt=narrowIt;this.optimizeSearch=optimizeSearch;this.popKeywords=popKeywords;this.searchType=searchType;this.standardSearch=standardSearch;this.searchPreferences=searchPreferences;this.writeSearch=writeSearch;this.writeSimilar=writeSimilar;this.writeStandardSimilar=writeStandardSimilar;this.writeStandardSearch=writeStandardSearch;function searchType(){if(typeof (g_custom)=="function"){g_custom();}else{g_standard();}}function standardSearch(){var url2=$F("Keywords");var _194;if($("Username")){_194=$F("Username");}pagetype="search";var _195="";if(typeof (q_args)!="undefined"&&q_args){_195=q_args.match(/Keywords=(.*?)(\&|$)/);if(typeof (_195)!="undefined"&&_195&&_195.length>1){_195=_195[1];}else{_195="";}_195=unescape(_195);}if(url2.length<1&&_195.length<1&&!(EAD("share_control_sphotog")||EAD("share_control_status")||EAD("share_control_view")||EAD("share_control_release"))){alert("You must first enter search criteria in the field next to the search button.");}else{if(_195.length>0&&(url2.length<1||url2=="enter keywords")){url2=_195;$("Keywords").value=url2;}if((EAD("share_control_sphotog")||EAD("share_control_status")||EAD("share_control_view")||EAD("share_control_release"))&&url2=="enter keywords"){url2="";}var _196="";if($("method")&&typeof ($("method").value)!="undefined"&&$("method").value=="within"){_196="/SwishSearch?Keywords="+q_id+"&ex_keys="+url2;}else{_196="/SwishSearch?Keywords="+url2;}if($("displaypanel")){if(typeof (suspendWithPeople)=="undefined"&&$("displaypanel").people){if($("displaypanel").people[1].checked==true){_196+="+haspeople";}if($("displaypanel").people[2].checked==true){_196+="+nobody";}if($("displaypanel").people[3]&&$("displaypanel").people[3].checked==true){_196+="+hascrowd";}}if($("displaypanel").custom){$A($("displaypanel").custom).each(function(itm){_196+="+"+itm.value;});}if($("displaypanel").outline){if($("displaypanel").outline[0].checked==true){_196+="+outlinable";}else{if($("displaypanel").outline[1].checked==true){_196+="+not+outlinable";}}}if(typeof (suspendYesNoRestrictons)=="undefined"&&$("displaypanel").restrictions){if($("displaypanel").restrictions[1].checked==true){_196+="+NOT+imagehasrestrictions";}}if($("displaypanel").xtrasql&&$("displaypanel").xtrasql[1].checked==true){_196+="&xtrasql=(releasedmodel+or+releasedproperty+or+releasednotapplicable+or+releasedmodelandproperty)";}var _198=1;$A($("displaypanel").orient).each(function(itm){if(!itm.checked){_198=0;}});if(!_198){if($("displaypanel").orient[0].checked==true){_196+="&orient=horizontal";}if($("displaypanel").orient[1].checked==true){_196+="&orient=vertical";}if($("displaypanel").orient[2].checked==true){_196+="&orient=panoramic";}if($("displaypanel").orient[3].checked==true){_196+="&orient=square";}}if($("displaypanel").rmrftype){if($("displaypanel").rmrftype[0].checked==true&&$("displaypanel").rmrftype[1].checked==false){_196+="&searchinclude=RM";}if($("displaypanel").rmrftype[1].checked==true&&$("displaypanel").rmrftype[0].checked==false){_196+="&searchinclude=RF";}}if($("displaypanel").color){if($("displaypanel").color[1].checked==true){_196+="&color=color";}if($("displaypanel").color[2].checked==true){_196+="&color=gray";}}if(typeof (showIllusPhotog)!="undefined"){if($("displaypanel").searchinclude[0].checked==true&&$("displaypanel").searchinclude[1].checked==false){_196+="&searchinclude=illustration";}if($("displaypanel").searchinclude[1].checked==true&&$("displaypanel").searchinclude[0].checked==false){_196+="&searchinclude=photography";}}}if($("spec_idx")){if($("spec_idx").selectedIndex==1){_196+="&spec_idx=ed";}if($("spec_idx").selectedIndex==2){_196+="&spec_idx=ne";}}if(EAD("share_control_sphotog")){_196+="&site="+$F("share_control_sphotog");}if(EAD("share_control_status")){_196+="&status_view="+$F("share_control_status");}if(EAD("share_control_view")){_196+="&view="+$F("share_control_view");}if(EAD("share_control_release")){_196+="&release_view="+$F("share_control_release");}if(_194&&_194!=""){_196+="&Username="+encodeURI(_194);}gsetCookie("gwhichstartpage","","","/",gGetCookieDom());if(url2!="enter keywords"){coveroff();hidedisplaypanel(1);MM_setTextOfLayer("Layer1","","<TABLE width=100% height=100%><TR width=100% height=100%><TD valign=middle align=center width=100% height=100%><B><FONT class=header>Searching for "+url2+" <blink>.</blink></font></B></TD></TR></TABLE>");self.location=_196;}else{alert("You must first type in keywords to search for.");document.isn.Keywords.focus();}}}function searchPreferences(val,mode){var _19c=ggetCookie("gsearchprefs");if(_19c){}else{_19c=new String(" ");}var _19d=new String("");if(val=="released"&&mode=="remove"){}else{if((_19c.indexOf("a")>=0)||(val=="released"&&mode=="add")){_19d+="a";}}if(val=="norestrictions"&&mode=="remove"){}else{if((_19c.indexOf("b")>=0)||(val=="norestrictions"&&mode=="add")){_19d+="b";}}if(val=="people"&&mode=="remove"){}else{if(((_19c.indexOf("c")>=0)&&(val!="withpeople")&&(val!="withcrowd"))||(val=="nobody"&&mode=="add")){_19d+="c";}else{if(((_19c.indexOf("d")>=0)&&(val!="withcrowd"))||(val=="withpeople"&&mode=="add")){_19d+="d";}else{if((_19c.indexOf("e")>=0)||(val=="withcrowd"&&mode=="add")){_19d+="e";}}}}if(document.displaypanel.orient){if(document.displaypanel.orient[0]&&document.displaypanel.orient[0].checked==true){_19d+="f";}if(document.displaypanel.orient[1]&&document.displaypanel.orient[1].checked==true){_19d+="g";}if(document.displaypanel.orient[2]&&document.displaypanel.orient[2].checked==true){_19d+="h";}if(document.displaypanel.orient[3]&&document.displaypanel.orient[3].checked==true){_19d+="i";}}if(typeof (rmonly)=="undefined"&&document.displaypanel.rmrftype){if(document.displaypanel.rmrftype[0]&&document.displaypanel.rmrftype[0].checked==true){_19d+="j";}if(document.displaypanel.rmrftype[1]&&document.displaypanel.rmrftype[1].checked==true){_19d+="k";}}if(document.displaypanel.color){if(document.displaypanel.color[0].checked==true){_19d+="m";}if(document.displaypanel.color[1].checked==true){_19d+="n";}if(document.displaypanel.color[2].checked==true){_19d+="o";}}if(typeof (showIllusPhotog)!="undefined"){if(document.displaypanel.searchinclude[0].checked==true){_19d+="0";}if(document.displaypanel.searchinclude[1].checked==true){_19d+="1";}}gsetCookie("gsearchprefs",_19d,"","/",gGetCookieDom());}function writeSearch(){if(typeof (writesearch_custom)=="function"){writesearch_custom();}else{writesearch_standard();}}function writeStandardSearch(){panelheight=340;if(typeof (showIllusPhotog)!="undefined"){panelheight+=parseInt(showIllusPhotog);}gsearchprefs=ggetCookie("gsearchprefs");var _19e=" checked";var _19f=_19e;var _1a0=_19f;var _1a1=_19f;var _1a2="";var _1a3=_19f;var _1a4=_19f;var _1a5="";var _1a6="";var _1a7="";var _1a8=_19f;var _1a9="";var _1aa=_19f;var _1ab="";var _1ac="";var rmc="checked";var rfc=rmc;var _1af=" checked";var _1b0=_1af;var _1b1=" selected";var _1b2="";if(gsearchprefs){if(gsearchprefs.indexOf("f")>=0||gsearchprefs.indexOf("g")>=0||gsearchprefs.indexOf("h")>=0||gsearchprefs.indexOf("i")>=0){if(gsearchprefs.indexOf("f")>=0){}else{_19e=" ";}if(gsearchprefs.indexOf("g")>=0){}else{_19f=" ";}if(gsearchprefs.indexOf("h")>=0){}else{_1a1=" ";}if(gsearchprefs.indexOf("i")>=0){}else{_1a0=" ";}}if(typeof (showIllusPhotog)!="undefined"){if(gsearchprefs.indexOf("1")<0&&gsearchprefs.indexOf("0")<0){}else{if(gsearchprefs.indexOf("1")<0){_1b0=" ";}if(gsearchprefs.indexOf("0")<0){_1af=" ";}}}if(typeof (showSearchWithin)!="undefined"){if($("method")&&$F("method")=="within"){_1b1="";_1b2="selected";}else{_1b1="selected";_1b2="";}}if(gsearchprefs.indexOf("j")<0||gsearchprefs.indexOf("k")<0){if(gsearchprefs.indexOf("k")<=0&&gsearchprefs.indexOf("j")<=0){}else{if(gsearchprefs.indexOf("k")<=0){rfc="";}if(gsearchprefs.indexOf("j")<=0){rmc="";}}}if(gsearchprefs.indexOf("b")>=0){_1a3="";_1a2="checked";}if(gsearchprefs.indexOf("c")>=0||gsearchprefs.indexOf("d")>=0||gsearchprefs.indexOf("e")>=0){if(gsearchprefs.indexOf("c")>=0){_1a4="";_1a5="";_1a6="checked";_1a7="";}if(gsearchprefs.indexOf("d")>=0){_1a4="";_1a5="checked";_1a6="";_1a7="";}if(gsearchprefs.indexOf("e")>=0){_1a4="";_1a5="";_1a6="";_1a7="checked";}}if(gsearchprefs.indexOf("a")>=0){_1a9="checked";_1a8="";}if(gsearchprefs.indexOf("m")>=0||gsearchprefs.indexOf("n")>=0||gsearchprefs.indexOf("o")>=0){if(gsearchprefs.indexOf("m")>=0){_1aa="checked";_1ab="";_1ac="";}if(gsearchprefs.indexOf("n")>=0){_1aa="";_1ab="checked";_1ac="";}if(gsearchprefs.indexOf("o")>=0){_1aa="";_1ab="";_1ac="checked";}}}var _1b3="<form action=\"javasc"+"ript:g(); return false;\" method=get name=displaypanel id=displaypanel>";_1b3+="<div id=\"searchpanelouter\"><table cellspacing=0 cellpadding=10 border=0 width=100% height="+panelheight+">";_1b3+="<tr><td valign=top align=left class=\"light1\"><div id=\"searchpanelcolumn1\">";_1b3+="<b>ORIENTATION:</b><br>";_1b3+="<table cellspacing=3 cellpadding=0 border=0><tr>";_1b3+="<td><nobr><input type=checkbox name=orient value=horizontal onclick=javasc"+"ript:fsearchprefs(\"f\",\"add\"); "+_19e+"> Horizontal</nobr></td></tr>";_1b3+="<tr><td><input type=checkbox name=orient value=vertical onclick=javasc"+"ript:fsearchprefs(\"g\",\"add\"); "+_19f+"> Vertical</td></tr>";_1b3+="<tr><td><input type=checkbox name=orient value=panoramic onclick=javascr"+"ipt:fsearchprefs(\"h\",\"add\"); "+_1a1+"> Panororamic</td></tr>";_1b3+="<tr><td><input type=checkbox name=orient value=square onclick=javasc"+"ript:fsearchprefs(\"i\",\"add\"); "+_1a0+"> Square</td></tr>";_1b3+="</table><br>";_1b3+="<b>COLOR:</b><br>";_1b3+="<table cellspacing=3 cellpadding=0 border=0>";_1b3+="<tr><td><nobr><input "+_1aa+" type=radio name=color value=\"\" onclick=javascr"+"ipt:fsearchprefs(\"color\",\"add\");> Any</td></tr>";_1b3+="<tr><td><nobr><input "+_1ab+" type=radio name=color value=color onclick=javascr"+"ipt:fsearchprefs(\"color\",\"add\");> Color</td></tr>";_1b3+="<tr><td><input "+_1ac+" type=radio name=color value=gray onclick=javascr"+"ipt:fsearchprefs(\"color\",\"add\");> B/W</td></tr>";_1b3+="</table></div>";if(typeof (rmonly)=="undefined"){_1b3+="<BR><b>TYPE:</b><br>";_1b3+="<table cellspacing=\"0\" cellpadding=\"3\" border=\"0\"><tr><td><nobr><input type=\"checkbox\" name=\"rmrftype\" value=\"RM\" "+rmc+" onclick=javascr"+"ipt:fsearchprefs(\"RM\",\"add\");> Rights Managed</nobr></font></td>";_1b3+="</tr><tr><td><input type=\"checkbox\" name=\"rmrftype\" value=\"RF\" "+rfc+" onclick=javascr"+"ipt:fsearchprefs(\"RF\",\"add\");> Royalty Free</font></td></tr></table>";}_1b3+="</td><td valign=top align=left class=\"light1\"><div id=\"searchpanelcolumn2\">";if(typeof (showIllusPhotog)!="undefined"){_1b3+="<b>MEDIA:</b><br>";_1b3+="<input type=\"checkbox\" name=\"searchinclude\" value=\"illustration\""+_1af+" onclick=javascr"+"ipt:fsearchprefs(\"1\",\"add\"); />Illustration<br/>";_1b3+="<input type=\"checkbox\" name=\"searchinclude\" value=\"photography\""+_1b0+" onclick=javascr"+"ipt:fsearchprefs(\"0\",\"add\"); />Photography<br/>";_1b3+="<br/>";}if(typeof (suspendYesNoRestrictons)=="undefined"){_1b3+="<b>RESTRICTIONS:</b><br>";_1b3+="<input "+_1a3+" type=radio name=restrictions value=\"\" onclick=javascr"+"ipt:fsearchprefs(\"norestrictions\",\"remove\");> Any<br>";_1b3+="<input "+_1a2+" type=radio name=restrictions value=not+imagehasrestrictions  onclick=javascr"+"ipt:fsearchprefs(\"norestrictions\",\"add\");> No Restrictions<br>";_1b3+="<br>";}if(typeof (suspendWithPeople)=="undefined"){_1b3+="<b>PEOPLE:</b><br>";_1b3+="<input "+_1a4+" type=radio name=people value=\"\" onclick=javasc"+"ript:fsearchprefs(\"people\",\"remove\");> Any<br>";_1b3+="<input "+_1a5+" type=radio name=people value=withpeople onclick=javasc"+"ript:fsearchprefs(\"withpeople\",\"add\");> With People<br>";_1b3+="<input "+_1a6+" type=radio name=people value=nobody onclick=javascr"+"ipt:fsearchprefs(\"nobody\",\"add\");> Without People<br>";_1b3+="<input "+_1a7+" type=radio name=people value=withcrowd onclick=javascr"+"ipt:fsearchprefs(\"withcrowd\",\"add\");> Crowd<br>";}_1b3+="<br><b>RELEASES:</b><br>";_1b3+="<font class=small>";_1b3+="<input "+_1a8+" type=radio name=xtrasql value=\"\" onclick=javascr"+"ipt:fsearchprefs(\"released\",\"remove\");> Any release status<br>";_1b3+="<input "+_1a9+" type=radio name=xtrasql value=released onclick=javascr"+"ipt:fsearchprefs(\"released\",\"add\");> Only show released images<br>";if(typeof (showSearchWithin)!="undefined"){_1b3+="<br/><b>METHOD:</b><br/>";_1b3+="<nobr>&nbsp;<select id=\"method\" name=\"method\" class=\"smallmenu\" style=\"height:16px;\"><option value=\"new\" "+_1b1+">as a new search</option><option value=\"within\" "+_1b2+">within current results</option></select></nobr><br/>";}_1b3+="<BR><a href=\"javascript: return false;\" onclick=\"g(); return false;\"><img src=\"/graphics/button_go.gif\" alt=\"search\" border=\"0\"></a><BR><BR><A href=\"javascript: return false;\" onclick=\"hidedisplaypanel(1); return false;\">[x] close search options panel</A>";_1b3+="</td></tr></table>";var temp=Position.cumulativeOffset($("tablerow2"));center_panel(340,panelheight,_1b3,temp[1]);Event.observe(document,"mousemove",getMouseXY);}function optimizeSearch(){var _1b5=60;var _1b6="";if(optimizemenu==1&&pagetype=="search"){if(_1b5<results_total){_1b6+="<TABLE cellspacing=0 cellpadding=1 border=0>";_1b6+="<FORM name=\"optimizer\" action=\"#\">";_1b6+="<TR><TD>";_1b6+="<SELECT NAME=\"narrow\" ONCHANGE=\"narrowit(this.form.narrow.options[this.form.narrow.selectedIndex].value);\" class=\"smallmenu\">";_1b6+="<OPTION VALUE=\"#\">Narrow your search results";_1b6+="<OPTION VALUE=\"colorgray\">Remove black and white images";_1b6+="<OPTION VALUE=\"colorrgb\">Remove color images";_1b6+="<OPTION VALUE=\"imagehasrestrictions\">Remove restricted images";_1b6+="<OPTION VALUE=\"orientationvertical\">Remove verticals";_1b6+="<OPTION VALUE=\"(orientationhorizontal+OR+orientationpanoramic)\">Remove horizontals";if(spec_idx!="ed"){_1b6+="<OPTION VALUE=\"lowres\">Remove small scans (< 30 Mb)";}_1b6+="<OPTION VALUE=\"agefiveyears\">Only show recent images (<5 yrs)";_1b6+="<OPTION VALUE=\"agetenyears\">Remove very old images (>10 yrs)";_1b6+="</SELECT></td></tr></form></table>";_1b6+="";}else{_1b6+="";_1b6+="<FORM name=\"optimizer\" action=\"#\"><SELECT NAME=\"narrow\" ONCHANGE=\"expandit(this.form.narrow.options[this.form.narrow.selectedIndex].value);\" class=\"smallmenu\">";_1b6+="<OPTION VALUE=\"#\">Expand your search results";_1b6+="<OPTION VALUE=\"deep\">Have IPN members perform a deep search";if(spec_idx!="ne"){_1b6+="<OPTION VALUE=\"expand\">Show me the broadest set of images";}_1b6+="</SELECT></form>";_1b6+="";}}return (_1b6);}function narrowIt(url){if(url=="#"){alert("please select an item from the list");}else{var url1="/SwishSearch?spec_idx="+spec_idx+"&Keywords="+ukeys+"+NOT+"+url;self.location=url1;}}function expandIt(url){if(url=="#"){alert("please select an item from the list");}else{if(url=="deep"){var url1="/deepsearch.shtml";self.location=url1;}else{var url1="/SwishSearch?synsearch=true&spec_idx=ne&Keywords="+ukeys;self.location=url1;}}}function checkIt(_1bb){place=detect.indexOf(_1bb)+1;thestring=_1bb;return place;}function writeSimilar(myid,_1bd,_1be,_1bf,_1c0,mode,_1c2,_1c3){if(typeof (writesimilar_custom)=="function"){return writesimilar_custom(myid,_1bd,_1be,_1bf,_1c0,mode,_1c2,_1c3);}else{return writesimilar_standard(myid,_1bd,_1be,_1bf,_1c0,mode,_1c2,_1c3);}}function writeStandardSimilar(myid,_1c5,_1c6,_1c7,_1c8,mode,_1ca,_1cb){_1ca=(_1ca||"");_1cb=(_1cb||"");var _1cc=st[_1c5];var _1cd=_1cc.split(" ");var _1ce=_1cd[1].split(",");if(_1ce.length>1){_1ce=_1cd[0]+" "+_1ce.join(" ");_1cd=_1ce.split(" ");}var _1cf=_1cd.length;if(mode=="normal"||mode=="huge"){if(parseInt(_1cf)<5){simindicator=_1cf;}else{simindicator=4;}}else{if(parseInt(_1cf)<4){simindicator=_1cf;}else{simindicator=3;}}var _1d0="";var _1d1=myid;var _1d2=myid;var _1d3=15;var _1d4=15;if(_1c8=="next"){var n=sw[_1c5];n++;sw[_1c5]=n;if(sw[_1c5]>=_1cf){sw[_1c5]=0;n=0;}_1d1=_1cd[n];}else{if(_1c8=="prev"){var n=sw[_1c5];n--;sw[_1c5]=n;if(sw[_1c5]<0){sw[_1c5]=_1cf-1;n=_1cf-1;}_1d1=_1cd[n];}}if(isNaN((sw[_1c5]+1))){sw[_1c5]=0;}var _1d6=172+adminheight;if(mode=="list"||mode=="editing"){_1d0+="<TABLE width=298 cellspacing=2 cellpadding=0 border0 height="+_1d6+"><TR><TD valign=top width=149 align=center>";}_1d0+="<table cellpadding=0 cellspacing=0 border=0><TR><TD colspan=2 align=right valign=bottom bgcolor=#c9c9c9 width=18 height=18>";_1d0+="<a href=\"javasc"+"ript:enlarge2('"+myid+"'"+","+"'"+_1c5+"', '"+_1d1+"');\" TITLE=\"ID:"+_1d1;if(showphotographer==1){"  \r&copy; "+_1c6;}if(showfilesize){_1d0+="  \rSIZE: "+myfilesize;}_1d0+="  \r"+"CAPTION: "+_1c7;if(mode=="huge"){_1d0+="\"><img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/420/60/"+_1d1+".JPG\" border=\"0\" alt=\"loading...\" height=\"190\"></a></TD>";}else{if(mode=="med"){_1d3=10;_1d4=14;_1d0+="\"><img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+_1d1+".JPG\" border=\"0\" vspace=\"0\" hspace=\"0\" alt=\"loading...\" height=72></a></TD>";}else{if(mode=="tiny"){_1d3=8;_1d4=12;_1d0+="\"><img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+_1d1+".JPG\" border=\"0\" vspace=\"0\" hspace=\"0\" alt=\"loading...\" height=45></a></TD>";}else{_1d3=12;_1d4=16;_1d0+="\"><img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+_1d1+".JPG\" border=\"0\" vspace=\"0\" hspace=\"0\" alt=\"loading...\"></a></TD>";}}}_1d0+="<TD background=/graphics/similars_rc"+simindicator+".gif valign=top width=9><IMG SRC=/graphics/similars_ru"+simindicator+".gif width=12 height=9></TD></TR><TR height=8>";if(mode=="normal"||mode=="huge"||mode=="large"){_1d0+="<TD background=/graphics/similars_ll"+simindicator+".gif height=8 width=12></TD><TD background=/graphics/similars_lc"+simindicator+".gif height=8><div style=\"width: 18px;height:8px;padding:0;margin:0;\"></DIV></TD>";}else{_1d0+="<TD colspan=2 background=/graphics/similars_lc"+simindicator+".gif height=8></TD>";}_1d0+="<TD width=12 height=8 background=/graphics/similars_lr"+simindicator+".gif></TD></TR></TABLE>";if(mode=="normal"||mode=="med"||mode=="tiny"||mode=="large"){_1d0+="<Table cellpadding=0 cellspacing=0 border=0><TR><TD valign=top align=center>";}if(mode!="editing"){_1d0+="<DIV class=icons><a href=\"javascript: return false;\" onclick=\"lightbox_addto('"+_1d1+"'); return false;\" class=iconlink title=\"Add to your current lightbox\">LB+</a>";_1d0+="<a href=\"javascript: return false;\" onclick=\"return price_image('"+_1d1+"','"+rm[_1d1]+"');\" class=iconlink Title=\"Price Image\">$</a>";_1d0+="<a href=\"javasc"+"ript:enlarge2('"+_1d1+"'"+","+"'"+_1c5+"');\" class=iconlink title=\"Enlarge image and more info\"><font class=eye>i</font></a>";if(mode=="huge"){}else{if(mode=="list"){_1d0+="&nbsp;&nbsp;"+(_1ca?"<a href=\""+_1ca+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a>":"")+"</DIV>";}else{_1d0+="</DIV>";}}}if(mode=="med"||mode=="tiny"){_1d0+="<font class=xsmall>"+_1d1+"</font>";_1d0+="</TD><TD valign=top align=center width=40><nobr>";}if(mode=="list"||mode=="normal"||mode=="large"||mode=="editing"){_1d0+="</TD><TD valign=\"top\">";}_1d0+="<A HREF=\"\" onclick=\"writesimilar('"+_1d2+"','"+_1c5+"','";_1d0+=_1c6+"','";_1d0+=_1c7+"','prev','"+mode+"', '"+_1ca+"','"+_1cb+"'); return false;\" TITLE=\"show similars\">";_1d0+="<IMG SRC=\"/graphics/similars_prev.gif\" border=\"0\" hspace=\"1\" height=\""+_1d3+"\" width=\""+_1d4+"\" align=\"absmiddle\"></A>";if(mode=="list"||mode=="huge"||mode=="normal"||mode=="large"||mode=="editing"){_1d0+="<font class=xsmall>"+(sw[_1c5]+1)+" of "+_1cf+"</font>";}_1d0+="<A HREF=\"\" onclick=\"writesimilar('"+_1d2+"','"+_1c5+"','";_1d0+=_1c6+"','";_1d0+=_1c7+"','next','"+mode+"', '"+_1ca+"','"+_1cb+"'); return false;\" TITLE=\"show similars\">";_1d0+="<IMG src=\"/graphics/similars_next.gif\" border=\"0\" hspace=\"1\" height=\""+_1d3+"\" width=\""+_1d4+"\" align=\"absmiddle\"></A></nobr><BR>";if(mode=="med"||mode=="tiny"){_1d0+="<font class=xsmall>"+(sw[_1c5]+1)+" of "+_1cf+"</font>";}if(mode=="list"||mode=="editing"){_1d0+="<font class=xsmall>ID:"+_1d1;if(showphotographer==1){_1d0+="  <BR>&copy; "+currentYear+" "+_1c6;}if(showfilesize){_1d0+="<nobr>"+myfilesize+"</nobr>";}_1d0+=_1cb+"<BR>CAPTION: "+_1c7+"</font><BR>";if(mode=="editing"){_1d0+="<br/><a href=\"javascript: return false;\" onclick=\"launchwin('/SwishSearch?show_all=1&similar_to="+_1d1+"', 'edit sims', 600, 800, 100, 100); return false;\" title=\"Edit Similar Images\">Edit&nbsp;Similar&nbsp;Images</a>";}}if(mode=="huge"){_1d0+="</DIV>";}_1d0+="</td></TR></TABLE>";if(_1ca){_1d0+="<a href=\""+_1ca+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a>";}if(_1c8=="start"){return _1d0;}if(_1c8=="prev"){MM_setTextOfLayer("d"+_1d2,"",_1d0);}if(_1c8=="next"){MM_setTextOfLayer("d"+_1d2,"",_1d0);}}function popKeywords(oId,oLbj,_1d9){var _1da=$(oId);if(_1da){if(_1da.style.display=="none"){_1da.style.display="block";var _1db;if($("lbbuttons")){_1db=Position.cumulativeOffset($("lbbuttons"))[1];}else{_1db=winH;}var _1dc=_1db-Position.cumulativeOffset(_1da)[1]+"px";_1da.style.maxHeight=_1dc;_1da.style.overflowY="auto";}else{_1da.style.display="none";}}if(_1d9){oLbj=$(_1d9);}if(oLbj){if(oLbj.innerHTML=="Show keywords"){oLbj.innerHTML="Hide keywords";}else{if(oLbj.innerHTML=="Hide keywords"){oLbj.innerHTML="Show keywords";}}}}}function afShare(){this.checkID=checkID;this.makeShareControlString=makeShareControlString;this.saveReleaseControl=saveReleaseControl;this.saveShares=saveShares;this.shareSetPage=shareSetPage;this.toggleShareControlCookie=toggleShareControlCookie;this.validateRadioButtons=validateRadioButtons;function makeShareControlString(id,_1de){if(typeof id==="object"&&id.length){id=id.join("|");}var _1df=id+"|||"+_1de;return _1df;}function toggleShareControlCookie(type){var _1e1=ggetCookie(gusername+"sc_on");if(!_1e1||type){viewmode="editing";_1e1=1;}else{viewmode="";_1e1="";}gsetCookie("gviewmode",viewmode,"","/",gGetCookieDom());gsetCookie(gusername+"sc_on",_1e1,"","/",gGetCookieDom());if(!type){var s=self.location.href;self.location.href=s.replace(/\&sc_boot\=1/g,"");}}function checkID(_1e3){if($(_1e3)&&$F(_1e3)&&!$F(_1e3).match(/^\-\- .* \-\-$/)){return true;}else{return false;}}function saveShares(dex,_1e5){if(!_1e5||_1e5=="share"){var _1e6=$F("sharecontrol"+dex);ajax_JSON("/AjaxHandlers/ShareSetShare/"+make_share_control_string(id[dex],_1e6)+".json",getpost,"");}if(!_1e5||_1e5=="weight"){var _1e7=$F("weightcontrol"+dex);ajax_JSON("/AjaxHandlers/ShareSetWeight/"+make_share_control_string(id[dex],_1e7)+".json",getpost,"");}if($("cellwrapper"+dex)){$("cellwrapper"+dex).style.backgroundColor="orange";}}function saveReleaseControl(dex){var _1e9=$A();var _1ea=unescape(relcon[dex]).toString().replace(/checked="?checked"?/gi,"");$A($("releasecontrol"+dex)).each(function(itm){if(itm.checked){_1e9.push(itm.value);var _1ec=new RegExp("value=\""+itm.value+"\"");_1ea=_1ea.replace(_1ec,"value=\""+itm.value+"\" checked=\"checked\"");}});relcon[dex]=escape(_1ea);_1e9=_1e9.join("|");ajax_JSON("/AjaxHandlers/ShareSetRelease/"+make_share_control_string(id[dex],_1e9)+".json",getpost,"");if($("cellwrapper"+dex)){$("cellwrapper"+dex).style.backgroundColor="orange";}}function validateRadioButtons(thar){if(!$(thar)&&!$F(thar)){return;}var nama=thar.name;nama=nama.replace(/(cocon|shcon)/,"");var pix=$F(thar);var dex=$F($(thar).form.dexer);var brd="white";var _1f2="pending";if(pix=="n"||pix=="r"||pix.match(/^(notshared|rejected)/)){if(pix=="n"||pix=="notshared"){_1f2="notshared";}else{_1f2="rejected";}brd="#DF0000";}else{if(!isNaN(pix)||pix=="a"||pix.match(/^shared/)){_1f2="shared";brd="#77BB33";}else{if(pix.match(/^hold/)){_1f2="hold";}}}if($("d"+nama)){$("d"+nama).style.background=brd;}var _1f3=unescape(shsync[dex]);_1f3=_1f3.split("|");shsync[dex]=escape(_1f2+"|"+_1f3[1]);var _1f4="";if(thar.name.match(/shcon/)){_1f4="ShareSetShare";}else{_1f4="ShareSetCombined";}ajax_JSON("/AjaxHandlers/"+_1f4+"/"+make_share_control_string(nama,pix)+".json",getpost,"");}function shareSetPage(_1f5){if(_1f5==""){return;}var _1f6=$A();var _1f7=_1f5+$F("share_control_view")+$F("share_control_home_sphotog");var _1f8="";if(typeof (cocon)=="object"&&cocon[0]){_1f8=_1f5.toString().substring(0,1);}for(var cnt=showstartnumber_trap;cnt<endnumber;cnt++){if(id[cnt]){_1f6.push(id[cnt]);if(_1f5.match(/pending|hold/)){$("d"+id[cnt]).style.background="white";}else{if(_1f5.match(/notshared|rejected/)){$("d"+id[cnt]).style.background="#DF0000";}else{if(_1f5.match(/^shared/)){$("d"+id[cnt]).style.background="#77BB33";}}}var _1fa=$("shf"+id[cnt]);if(_1fa){$A(_1fa.elements).each(function(rad){if(rad.value==_1f7){rad.checked=true;}else{if(_1f8&&(rad.value==_1f8||(_1f8=="s"&&rad.value.match(/^[a1-4]$/)))){rad.checked=true;}else{rad.checked=false;}}});}var _1fc=unescape(shsync[cnt]);_1fc=_1fc.split("|");shsync[cnt]=escape(_1f5+"|"+_1fc[1]);}}ajax_JSON("/AjaxHandlers/ShareSetShare/"+make_share_control_string(_1f6,_1f7)+".json",getpost,"");return false;}}function afSystem(){this.debug=debug;this.empty=empty;this.getVars=getVars;this.screenInfo=screenInfo;function debug(mmm,val){if(typeof (debugmode)!="undefined"&&debugmode=="yes"){alert(mmm+"="+val);}}function empty(){}function getVars(){if(!document.location.href.split("?")[1]){return;}var _1ff=document.location.href.split("?")[1].split("&");urlParams=new Object;for(var x=0;x<_1ff.length;x++){var tmp=_1ff[x].split("=");if(tmp[0]){urlParams[unescape(tmp[0])]=unescape(tmp[1]);}}}function screenInfo(){setuppagesize();alert($F("pixperpage")+" browser is "+browser+" and os is "+OS+" width="+document.body.offsetWidth+","+self.innerWidth+","+winW+" winH="+winH+", truevertHeight="+truevertHeight);}}function afURL(){this.createNextLink=createNextLink;function createNextLink(args){var _203=args["enlargeview"];var _204=args["method"];var _205=args["q_args"];var qID=args["qID"];var _207=args["ucats"];var _208=args["color"];var date=args["date"];var _20a=args["orient"];var _20b=args["preQArgs"];var _20c=args["scriptName"];var _20d=args["searchInclude"];var sort=args["sort"];var _20f=args["specIdx"];var _210=args["VCDBrowse"];var _211=String(_20c+"?"+(_208?"&color="+_208:"")+(_20a?"&orient="+_20a:"")+(_20f?"&spec_idx="+_20f:"")+(sort?"&sort="+sort:"")+(_20d?"&searchinclude="+_20d:"")+((typeof (_210)!="undefined"&&_210)?"&VCDBrowse="+_210:""));if(typeof (_205)!="undefined"){if(_205.match(/lb_view=1/)){_211+="&n=1&lb_view=1";}else{if(_205.match(/rid=/)){var rid=_205.match(/rid=([^\&]+)/);if(rid[1]){_211+="&n=1&rid="+rid[1];}}else{if(_205.match(/fn=/)){var fid=_205.match(/fn=([^\&]+)/);if(fid[1]){_211+="&n=1&fn="+fid[1];}}}}}var _214=_211+"&snum=0";if(typeof (_20b)!="undefined"){var _215=_20b.match(/vmo=([^&]+)/);if(_215&&_215[1]){_211+="&vmo="+escape(_215[1]);}}_211+="&method="+_204+"&q_id="+qID+"&"+_207;if(_203){setTimeout("enlarge2('"+_203+"', 0)",500);}return ({narrowurl:_214,nextlink:_211});}}function afWindow(){this.displayWindow=displayWindow;this.displayWindow2=displayWindow2;this.maximizeScreen=maximizeScreen;this.popUp=popUp;function popUp(url,tle,ht,wd,px,py){if(!tle){tle="newwindow";}if(!ht){ht=590;}if(!wd){wd=550;}if(!px){px=40;}if(!py){py=40;}var _21c=window.open(url,tle,"height="+ht+",width="+wd+",alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=1,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=1,scrollbars=1,status=0,toolbar=0,z-lock=0,screenX=0,screeny=0,left="+px+",top="+py);if(!_21c.opener){_21c.opener=(typeof (parent)!="undefined"?parent:self);}if(_21c.focus){_21c.focus();}}function maximizeScreen(){window.moveTo(0,0);window.resizeTo(screen.availWidth,screen.availHeight);if(self.location){self.location.href=self.location.href;}}function displayWindow(url,_21e,_21f){if(navigator.appName=="Netscape"){_21f=parseInt(_21f)+16;}var Win=window.open(url,"displayWindow","width="+_21e+",height="+_21f+",resizable=1,scrollbars=yes,menubar=no,status=no");Win.focus();}function displayWindow2(url,_222,_223){var Win2=window.open(url,"displayWindow2","width="+_222+",height="+_223+",resizable=0,scrollbars=no,menubar=no,status=no");Win2.focus();}}
