if(typeof ($)!="function"){document.write("<script src=\"/javascripts/prototype.js\" type=\"text/javascript\"></script>");}MACIE5=false;var firstpictureonpage=(typeof (firstpictureonpage)!="undefined"?firstpictureonpage:0);var snum=(snum?snum:0);var tset=(tset?tset:"on");var showstartnumber_trap=0;var currentlbname;var currentlblist;var feat_requestview;var typeoflbaction;var sphotog;var pre_q_args;var winW;var baseurl;var carnit=1;gloCrop="";var currentLbdivMode;currentLayer1Mode=(document.currentLayer1Mode?currentLayer1Mode:"searchresults");document.currentLayer1Mode=currentLayer1Mode;if(document.currentLayer1Mode=="enlarge"){document.currentLayer1Mode="searchresults";currentLayer1Mode="searchresults";}var cartview=(cartview?cartview:"");var enlargeview=(enlargeview?enlargeview:"");var viewmode=((typeof (viewmode)!="undefined")?viewmode:"");var lightbox_built=0;currMousedOverObj="";suspendpreviews=0;scr="";var d=new Date();var currentYear=d.getFullYear();document.currentlbstash="";if(typeof (dynimagesname)=="undefined"){dynimagesname="dyn_images";}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")+"&";}});}var agt=navigator.userAgent;var yourOS="PC";if(agt.indexOf("Mac")!=-1){yourOS="Mac";}var yourBrowse="IE";if(navigator.appName=="Netscape"){yourBrowse="NS";}if(navigator.appVersion.substr(22,1)>="5"){ver5="Yes";}var now=new Date();gfixDate(now);now.setTime(now.getTime()+365*24*60*60*1000);var bad;lbexpansionspace=0;var pmousedelta=[20,-30];var loadImg=new Image();loadImg.src="/graphics/loading.png";var detect=navigator.userAgent.toLowerCase();var OS,browser,version,total,thestring;if(checkIt("konqueror")){browser="Konqueror";OS="Linux";}else{if(checkIt("safari")){browser="Safari";}else{if(checkIt("omniweb")){browser="OmniWeb";}else{if(checkIt("firefox")){browser="Firefox";}else{if(checkIt("opera")){browser="Opera";}else{if(checkIt("msie")){browser="Internet Explorer";}else{if(!checkIt("compatible")){browser="Netscape Navigator";version=detect.charAt(8);}else{browser="An unknown browser";}}}}}}}if(!version){version=detect.charAt(place+thestring.length);}var getpost="POST";if(browser=="Firefox"){getpost="GET";}var pngsupport=1;if(browser=="Internet Explorer"&&parseInt(version)<7){pngsupport=0;}if(!OS){if(checkIt("linux")){OS="Linux";}else{if(checkIt("x11")){OS="Unix";}else{if(checkIt("mac")){OS="Mac";}else{if(checkIt("win")){OS="Windows";}else{OS="an unknown operating system";}}}}}document.write("<LINK rel=\"stylesheet\" href=\"/css/main2.css\" type=\"text/css\">");if(yourBrowse=="IE"||browser=="Internet Explorer"){document.write("<LINK rel=\"stylesheet\" href=\"/css/fixed4ie.css\" type=\"text/css\">");}gsession=ggetCookie("gmpsess");debugmode=ggetCookie("debugmode");gusert=ggetCookie("usert");gcartimages=ggetCookie("gcartimages");gusername=ggetCookie("username");gcurrency=ggetCookie("currency");gfirstname=ggetCookie("firstname");if(typeof (scriptname)!="undefined"){viewmode=(viewmode||ggetCookie("gviewmode"));pixperpage=12;grange="legal";winW=700;winH=460;area=12;resized=0;c=-1;fmstartnumber=0;overflowtype="hidden";if((agt.indexOf("Mac")!=-1)&&(navigator.appName.indexOf("Microsoft")!=-1)){overflowtype="hidden";MACIE5=true;}else{MACIE5=false;}optimizemenu=0;showphotographer=1;showrelease=1;showfilesize=1;showcaptionview=1;nextlink=String(scriptname+"?"+(color?"&color="+color:"")+(orient?"&orient="+orient:"")+(spec_idx?"&spec_idx="+spec_idx:"")+(sort?"&sort="+sort:"")+(date?"&date="+date:"")+(searchinclude?"&searchinclude="+searchinclude:"")+((typeof (vcdbrowse)!="undefined"&&vcdbrowse)?"&VCDBrowse="+vcdbrowse:""));if(typeof (q_args)!="undefined"&&q_args.match(/lb_view=1/)){nextlink+="&n=1&lb_view=1";}else{if(typeof (q_args)!="undefined"&&q_args.match(/rid=/)){var rid=q_args.match(/rid=([^\&]+)/);if(rid[1]){nextlink+="&n=1&rid="+rid[1];}}else{if(typeof (q_args)!="undefined"&&q_args.match(/fn=/)){var fid=q_args.match(/fn=([^\&]+)/);if(fid[1]){nextlink+="&n=1&fn="+fid[1];}}}}narrowurl=nextlink+"&snum=0";if(typeof (pre_q_args)!="undefined"){var vmo_arg=pre_q_args.match(/vmo=([^&]+)/);if(vmo_arg&&vmo_arg[1]){nextlink+="&vmo="+escape(vmo_arg[1]);}}nextlink+="&method="+method+"&q_id="+q_id+"&"+ucats;if(enlargeview){setTimeout("enlarge2('"+enlargeview+"', 0)",500);}}if(typeof (gsession)!="undefined"&&gsession){if(cartview){document.currentLbdivMode="cart";document.currentLayer1Mode="cartview";currMousedOverObj="shop_cart";}if((typeof (pagetype)!="undefined"&&pagetype=="lb")||(typeof (pre_q_args)!="undefined"&&(pre_q_args.match(/lb_view=1/)||pre_q_args.match(/fn=/)))||(typeof (q_args)!="undefined"&&(q_args.match(/vmo=/)||q_args.match(/lb_view=1/)))){pagetype="lb";gsetCookie("gwhichstartpage","","","/",gGetCookieDom());}}else{if(cartview){top.location="/bin/Cklb?ref=/SwishSearch?cartview=1";}}tempW=winW;if(feat_requestview){document.thisIsFeatureView=true;}var lbdisplaymode=ggetCookie("ghidelightbox");if(typeof (pagetype)!="undefined"){Event.observe(window,"load",currentpage);Event.observe(window,"resize",checkpageresize);Event.observe(window,"click",hp);}var nodeTree;if(typeof (Builder)!="undefined"){nodeTree=$H({cart_build_act__buttons:Builder.node("a",{href:"#",onclick:"lightbox_change(); return false;",title:"SWITCH TO YOUR LIGHTBOX"},[Builder.node("img",{src:"/graphics/cart_enabled_02.gif",border:0,width:127,height:18,hspace:0,vspace:0})]),cart_build_act__actions:Builder.node("span",{},[Builder.node("a",{href:"#",onclick:"cart_display(); return false;",className:"lblink",style:"text-decoration:none; cursor:pointer;"},"View Cart and Calculate Usage Fees")," | ",Builder.node("a",{href:"#",onclick:"cart_check(); return false;",className:"lblink",style:"text-decoration:none; cursor:pointer;"},"Checkout"),(document.thisIsFeatureView?" | ":""),(document.thisIsFeatureView?Builder.node("a",{href:"#",className:"lblink",onclick:"$(\"LBdiv\").style.visibility = \"hidden\"",style:"cursor:pointer;"},"[x] Hide Cart"):"")])});}function maxscreen(){window.moveTo(0,0);window.resizeTo(screen.availWidth,screen.availHeight);if(self.location){self.location.href=self.location.href;}}function price_image(_1,_2){if(!_1||!_1.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 _3="/AjaxHandlers/ImageInfo/"+_1+".json";ajax_JSON(_3,"POST",null);price_image_act(_1,0,0);return false;}function price_image_act(_4,_5,_6){if(document.ajaxLoaded||_6){var _7=(document.JSONobj.getImgDat("tier")||"");launchwin("/bin/Rates?ln="+_4+"&calc_only=1&supst="+_7);}else{if(_5<5){_5++;setTimeout("price_image_act('"+_4+"','"+_5+"', 0 )",500);}else{_5++;price_image_act(_4,_5,1);}}return;}function center_panel(x,y,_a,tp){if(typeof (winH)=="undefined"){setuppagesize();}var _c=(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+_c)+"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=_a;setTimeout("displaypanelshow();",320);}function lightbox_new(){center_panel(290,200,Templates.lightbox_new__body.evaluate());}function test_valid_name(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 lightbox_new_send(){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 lightbox_email_send(){var _12="/bin/Mail";var _13="ot=2&dsm=1&to_email="+$("to_email").value+"&mail_text="+escape($("mail_text").value);if($("allow_hrdl")&&$("allow_hrdl").checked==true){_13+=(typeof (emaillburladd)!="undefined"?emaillburladd:"");}if($("bill_to_customer")&&$("bill_to_customer").value.toString().length>0){_13+="&customer_id="+$("bill_to_customer").value;}if($("email_project")&&$("email_project").value.toString().length>0){_13+="&project="+$("email_project").value;}if($("email_notes")&&$("email_notes").value.toString().length>0){_13+="&notes="+$("email_notes").value;}if($("notify").checked==true){_13+="&notify=1";}if($("readonly").checked==true){_13+="&readonly=1";}ajax_TEXT(_12+"?"+_13,"GET");simplemessage("Sending your lightbox "+" <blink>.</blink>",0);}function lightbox_mod_act(_14){if(currentLbdivMode=="cart"){return false;}var _15=0;if(document.JSONobj&&document.JSONobj.getLbDat("lbname")){var _16=document.JSONobj.getLbDat("lbname");if(currentlbname==_16||!currentlbname){hidedisplaypanel(1);var _17=document.JSONobj.getLbDat("lblist");var lbl=document.JSONobj.getLbDat("lbnamelist");if(typeof (_17)!="array"&&typeof (_17)!="object"||!_17.length){_17=new Array(1);_17[0]={id:"1",rfcd:""};}document.currentlbstash=_17;currentlbname=_16;currentlblist=lbl;_15=0;lightbox_build(_17,_16,"",lbl);}else{_15=1;}}else{_15=1;}if(_15){setTimeout("lightbox_mod_act()",500);}}function simplemessage(m,_1a,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(!_1a){setTimeout("hidedisplaypanel(1);",700);}}function lightbox_email(_1c){if(_1c=="sent"){simplemessage("Lightbox Sent!"+"<blink>.</blink>");}else{if(_1c=="close"){hidedisplaypanel(1);}else{var _1d={emaillbaddhtml:(typeof (emaillbaddhtml)!="undefined"?emaillbaddhtml:" "),currentlbname:currentlbname};center_panel(390,280,Templates.lightbox_email__body.evaluate(_1d));}}}function cart_mod_act(_1e){_1e++;if(!document.JSONobj&&!document.TEXTresp&&_1e<10){setTimeout("cart_mod_act('"+_1e+"')",500);}else{hidedisplaypanel(1);cart_build();if(document.currentLayer1Mode=="cartview"){cart_display("view");}}}function cart_reprice(_1f){if(typeof (_1f)=="undefined"){_1f=$H({callback:"cart_mod_act(0)"});}else{if(_1f.callback&&_1f.callback.toString().length>1){_1f.callback+=" cart_mod_act(0);";}else{_1f.callback="cart_mod_act(0)";}}ajax_JSON("/AjaxHandlers/CartReprice/all.json","POST",_1f);}function cart_addto(id,_21){if(gsession){if(document.JSONobj.getCartDat&&typeof (_21)=="undefined"){for(var cti=0;cti<document.JSONobj.getCartDat("total");cti++){if(id==document.JSONobj.getCartDat("image_id",cti)){alert("That image is already in your Cart");return;}}}if(typeof (_21)=="undefined"){_21=$H({callback:"cart_mod_act(0)"});}else{if(_21.callback&&_21.callback.toString().length>1){_21.callback+=" cart_mod_act(0);";}else{_21.callback="cart_mod_act(0)";}}document.TEXTresp=null;simplemessage("Adding image to Shopping Cart <blink>.</blink>","","LB");if(typeof (_21)=="object"&&_21.Size_opname){Object.extend(_21,{calc_rate:1});}if(typeof (debugmode)!="undefined"){ajax_JSON("/AjaxHandlers/CartAdd/"+id+".json","GET",_21);}else{ajax_JSON("/AjaxHandlers/CartAdd/"+id+".json","POST",_21);}debug("args to json /AjaxHandlers/CartAdd/"+id,_21);}else{window.location="/bin/Cklb?ref=/SwishSearch%3FKeywords%3D"+escape(ukeys)+"%26cartview%3D1&atct="+id;}}function cart_delete_license(id,_24){if(typeof (_24)!="object"){return;}simplemessage("Removing License from Image<blink>.</blink>","","LB");var _25=$A(_24.opts).join("|");if(_25.toString().length){_24.opts=_25;}if(_24.callback&&_24.callback.toString().length>1){_24.callback+=" cart_mod_act(0);";}else{_24.callback="cart_mod_act(0)";}ajax_JSON("/AjaxHandlers/CartDelLicense/"+id+".json","POST",_24);}function cart_delete_image(id){simplemessage("Deleting image from Shopping Cart <blink>.</blink>","","LB");ajax_JSON("/AjaxHandlers/CartDel/"+id+".json","POST","callback=cart_mod_act(0)");}function lightbox_add2cart(){simplemessage("Adding lightbox images to Shopping Cart <blink>.</blink>","","LB");ajax_JSON("/AjaxHandlers/CartLbAdd/0000000000.json","POST","callback=cart_mod_act(0)");}function lightbox_delete(){simplemessage("Deleting your current lightbox "+currentlbname,"","LB");var _27=((typeof (mobject_id)!="undefined"&&mobject_id!="")?"mob="+mobject_id:"");var lbs=make_lightbox_string(gusername,currentlbname);currentlbname="";ajax_JSON("/AjaxHandlers/LightboxDelete/"+lbs+".json",getpost,_27);}function lightbox_rename(){var _29={currentlbname:currentlbname};center_panel(290,200,Templates.lightbox_rename__body.evaluate(_29));}function lightbox_rename_send(){var _2a=$F("lightbox_new_name");if(_2a.length==0||_2a.length>100){alert("Lightbox names must be between 1 and 100 characters long.");_2a="";}else{if(test_valid_name(_2a)){simplemessage("renaming your lightbox "+_2a+" <blink>.</blink>","LB");var _2b=((typeof (mobject_id)!="undefined"&&mobject_id!="")?"mob="+mobject_id:"");var lbs=make_lightbox_string(gusername,currentlbname,_2a);ajax_JSON("/AjaxHandlers/LightboxRename/"+lbs+".json",getpost,_2b);currentlbname=_2a;}}}function lightbox_change(_2d){currentLbdivMode="lightbox";cartview="";document.currentLbdivMode="lightbox";var lbs="";if(typeof (_2d)!="undefined"&&_2d.toString().length>0){simplemessage("Changing to Lightbox: "+_2d+"<blink>.</blink>","","LB");polllb();currentlbname=_2d;lbs=make_lightbox_string(gusername,_2d);}ajax_JSON("/AjaxHandlers/LightboxInfo/"+lbs+".json",getpost,null);}function lightbox_addto(id){if(gsession){var _30=(typeof (document.currentlbstash)=="object"?1:0);var _31=(_30?document.currentlbstash.pluck("id").join(" "):"");if(_31.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 _32=((typeof (mobject_id)!="undefined"&&mobject_id!="")?"mob="+mobject_id:"");var lbs=make_lightbox_string(gusername,currentlbname,id);ajax_JSON("/AjaxHandlers/LightboxAddTo/"+lbs+".json",getpost,_32);if(_30){lightbox_build(document.currentlbstash);}}}else{self.location="/bin/Cklb?ref=/SwishSearch%3F"+escape(pre_q_args)+"&atlb="+id;}}function lightbox_delete_image_enl(_34,_35){var _36;var _37="";var _38=gusername;if(typeof (mobject_id)!="undefined"&&mobject_id!=""){var _39=new Array;_39=mobject_id.match(/^([^.]+)\.([^.]+)\.([^.]+)$/);_36=_39[3];_38=_39[2];_37=mobject_id;}else{if(typeof (pagetype)!="undefined"&&pagetype=="lb"){_36=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="+_34+"&rid="+feat_requestview,"GET",null);}else{ajax_TEXT("/bin/CreateLightbox?delid="+_34+"&vmo="+_37+"&uname="+_38+"&lbname="+_36,"GET",null);}for(var tt=0;tt<id.length;tt++){if(id[tt]==_34){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 _3b=$H({showstart:showstartnumber_trap+1,snum:showstartnumber_trap,viewmode:"lb",buildmode:"",resized:""}).toJSON();dispatchAll(_3b);}}if(_36==currentlbname&&(typeof (_35=="undefined")||_35!=1)){lightbox_delete_image(_34,1);}}function lightbox_delete_image(_3c,_3d){var nlb=new Array();var _3f="";var _40="";for(var _41=0;_41<document.currentlbstash.length;_41++){if(document.currentlbstash[_41].id==_3c){var _42=_41;if(typeof (mobject_id)!="undefined"&&mobject_id!=""){var _43=new Array;_43=mobject_id.match(/^([^.]+)\.([^.]+)\.([^.]+)$/);_3f=_43[3];}else{if(typeof (pagetype)!="undefined"&&pagetype=="lb"){_3f=dsplkys;}}}else{nlb.push(document.currentlbstash[_41]);}}document.currentlbstash=nlb;if(_3f&&_3f!=""&&_3f==currentlbname&&_3d!=1){lightbox_delete_image_enl(_3c,1);}if(typeof (document.currentlbstash)!="undefined"&&document.currentlbstash.length==0){lightbox_delete();}else{var _44=((typeof (mobject_id)!="undefined"&&mobject_id!="")?"mob="+mobject_id:"");var lbs=make_lightbox_string(gusername,currentlbname,_3c);ajax_JSON("/AjaxHandlers/LightboxDelFrom/"+lbs+".json",getpost,_44);lightbox_build(document.currentlbstash);}}function lightbox_build(_46,_47,_48,lbl){if(cartview&&carnit){carnit=0;document.currentlbstash=_46;cart_build("changing");return;}hidedisplaypanel(1);if(typeof (_46)!="object"&&typeof (document.currentlbstash)=="undefined"){return;}else{if(typeof (document.currentlbstash)=="object"&&typeof (_46)!="object"){_46=document.currentlbstash;}}currentLbdivMode="lightbox";if(_47){currentlbname=_47;}if(lbl){currentlblist=lbl.split("|");}if(_48){scr=_48;}var _4a=Position.cumulativeOffset($("LBdiv"));var _4b=winH-_4a[1]-18;document.currentlbstash=_46;if($("LBdiv")){var _4c=$A([]);_4c.push(Builder.node("div",{id:"lbbuttons",style:"padding: 0px; margin: 0px; height:16px; width: 127px; overflow:hidden;"},[Builder.node("a",{href:"",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 _4d=$A([]);if(currentlblist&&currentlblist.length>0){var _4e=0;$A(_46).each(function(_4f){if(_4f.id==1){_4e=1;}});var _50=(_4e?(_46.length-1):_46.length);_4d.push(Builder.node("b",{},currentlbname+" Lightbox"),"  ("+_50+")  ",Builder.node("b",{},"Change to  "));var _51=document.createElement("select");_51.setAttribute("name","n");_51.setAttribute("id","lightbox_menu");_51.setAttribute("class","smallmenu");_51.onchange=function(){lightbox_change(this.options[this.selectedIndex].value);};for(var i=0;i<currentlblist.length;i++){if(currentlblist[i]!=""){var _53;_53=document.createElement("option");_53.setAttribute("value",currentlblist[i]);_53.appendChild(document.createTextNode(currentlblist[i].substring(0,25)+(currentlblist[i].length>25?"...":"")));if(currentlblist[i]==currentlbname){_53.setAttribute("selected","selected");}_51.appendChild(_53);}}_4d.push(_51);}var _54="";var _55="";var _56="";var _57="";var _58="";var _59="";var _5a="";var _5b="";var _5c="";if(winW>832){_54="New Lightbox";_55="View Expanded Lightbox";_56="Email Lightbox";_57="Add Lightbox to Cart";_58="Delete Lightbox";_59="Rename Lightbox";_5a="Make LB a Feature";_5b="Copy LB to User";_5c="Resort LB";}else{_54="New LB";_55="View LB";_56="Email LB";_57="Add LB to Cart";_58="Delete LB";_59="Rename LB";_5a="Make Feature";_5b="Copy LB";_5c="Sort";}_4d.push(Builder.node("a",{"href":"","class":"lblink","onclick":"lightbox_new(); return false;"},_54)," | ",Builder.node("a",{"href":"","onclick":"var d = new Date(); d.setMinutes(d.getMinutes()+5); gsetCookie('gprewhichstartpage', showstartnumber_trap, d, '/', gGetCookieDom()); toplightboxrefresh(); return false;","class":"lblink"},_55)," | ",Builder.node("a",{"href":"","class":"lblink","onclick":"lightbox_email(); return false;"},_56)," | ",Builder.node("a",{"href":"","class":"lblink","onclick":"lightbox_add2cart(); return false;"},_57)," | ",Builder.node("a",{"href":"","class":"lblink","onclick":"lightbox_delete(); return false;"},_58)," | ",Builder.node("a",{"href":"","class":"lblink","onclick":"lightbox_rename(); return false;"},_59));if(typeof (makelightboxfeature)!="undefined"){_4d.push(" | ",Builder.node("a",{"href":"","class":"lblink","onclick":"launchwin('"+makelightboxfeature+currentlbname+"', 'make feature', 500, 400, 100, 100); return false;"},_5a));}if(typeof (copylightboxtouser)!="undefined"){_4d.push(" | ",Builder.node("a",{href:"","class":"lblink","onclick":"launchwin('"+copylightboxtouser+"', 'copy_lightbox', 300, 300, 300, 400); return false;"},_5b));}if(typeof (enlargedlbsort)!="undefined"){_4d.push(" | ",Builder.node("a",{href:"","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;"},_5c));}_4d.push(" | ",Builder.node("a",{"href":"","class":"lblink","onclick":"showhideLB(); return false;",style:"cursor:pointer"},"[+|-]"));var _5d="block";if(lbdisplaymode&&viewmode=="editing"){_5d="none";}_4c.push(Builder.node("div",{"id":"lblinks","class":"lbname lbscroll","style":"overflow: auto; overflow-y:hidden"},[Builder.node("nobr",{},_4d)]));var _5e=$A([]);var _5f=30;if(_46.length>0){if(_5d=="block"){_5f=130;}else{if(_5d=="none"){_5f=40;}}var _60="hidden";var _61=parseInt(winW/79);var _62="100%";if(_61<_46.length){_60="scroll";_62=79*_46.length;_62=_62+"px";}var _63=50;if(truevertHeight<340){vlim=25;}else{if(truevertHeight<450){vlim=35;}else{vlim=58;}}for(lbi=0;lbi<_46.length;lbi++){if(_46[lbi].id==""){continue;}lbid=_46[lbi].id;if((lbid==1&&_46.length<2)||lbid!=1){var _64={"className":"lblink","title":"Enlarge this image"};var _65={"id":"dlb"+lbi+"s_lbi"};if(_46[lbi].rfcd&&_46[lbi].rfcd.toString().length){var pm=unescape(_46[lbi].rfcd.toString()).match(/SwishSearch\?n\=1\&fn\=(.*)\&supst\=cd/);if(pm!=null){var _67=pm[1];_64.href="/SwishSearch?n=1&fn="+_67+"&supst=cd";_65.href="/SwishSearch?n=1&fn="+_67+"&supst=cd";}}else{_64.href="";_64["onclick"]="hp(); enlarge2('"+lbid+"','"+lbi+"'); return false;";_65.href="";_65.onclick="if (suspendpreviews==0) { hp(); enlarge2('"+lbid+"', '"+lbi+"'); } return false;";}var _68=(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"},"X"),Builder.node("a",_64,"+")]):"");_5e.push(Builder.node("div",{"id":"dlb_"+lbi,"name":"dlb_"+lbi,"style":"float:left; height:"+(_63+18)+"px; overflow:hidden","align":"center"},[Builder.node("a",_65,[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:_63,className:"lbimg","hspace":2})]),Builder.node("br"),_68]));}}}else{if(currentlbname){_5e.push(Builder.node("div",{"id":"dlb_0","name":"dlb_0","style":"float:left; height:"+(_63+18)+"px; overflow:hidden;","align":"center"},[Builder.node("a",{"href":"","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:_63,className:"lbimg","hspace":2})])]));}}_4c.push(Builder.node("div",{"class":"lbscroll","style":"position: relative; overflow:"+_60+"; overflow-y:hidden; height:"+(_5f-50)+"px;"},[Builder.node("div",{"id":"LBimgdiv","style":"position:absolute; left:0; top:0; padding: 1px 0 0 0; height:"+(_5f-30)+"px; width:"+_62+"; display:"+_5d+";"},[_5e])]));$("LBdiv").replace("<div id=\"LBdiv\"></div>");$("LBdiv").innerHTML="";$("LBdiv").style.height=_5f+"px";_4c.each(function(_69){$("LBdiv").appendChild(_69);});if(lbdisplaymode==1&&viewmode=="editing"){$("LBimgdiv").hidden=1;}}lightbox_built=1;return;}function showhideLB(){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 polllb(_6b,_6c){var lbs=make_lightbox_string(gusername,currentlbname,(typeof (document.currentlbstash)!="undefined"?document.currentlbstash:1));var _6e=((typeof (mobject_id)!="undefined"&&mobject_id!="")?"mob="+mobject_id:"");var _6f=getpost;if(typeof (document.currentlbstash)=="object"&&document.currentlbstash.length>50){var _70=document.currentlbstash.pluck("id").reverse().join("|");if(_6e){_6e+="&";}_6e+="payload="+_70;_6f="POST";}ajax_JSON("/AjaxHandlers/LightboxSave/"+lbs+".json",_6f,_6e);}function make_lightbox_string(_71,_72,_73){var _74="";if(typeof (_73)=="object"){_74=_73.pluck("id");}else{_74=[_73];}_74=_74.reverse();var _75=_74.join("|");if(_75&&_75.length>500){_75="";}var _76=_71+"|||"+_72+(_75?"||"+_75:"");return _76;}function make_share_control_string(id,_78){if(typeof id==="object"&&id.length){id=id.join("|");}var _79=id+"|||"+_78;return _79;}function cart_away(){top.location="/bin/Cart?op=ckout";}function cart_check(){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 _7a=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)){_7a=0;}}else{_7a=0;}}}else{_7a=0;}if(_7a==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 cart_display(_7b){if(document.cart_display_lock){return;}var _7c=$H({showstart:"cartview",snum:firstpictureonpage,viewmode:"cartview",flp:_7b}).toJSON();if(_7b){dispatchAll(_7c);}else{try{YAHOO.util.History.navigate("nav",_7c);}catch(e){dispatchAll(_7c);}}}function dispatchCart_display(_7d){if(typeof (_7d)!="object"){return;}var _7e=_7d["flp"];document.cart_display_lock=1;document.currentLayer1Mode="cartview";if($("cdheader")){$("cdheader").style.display="none";}if(!_7e){_7e="view";}ajax_HTML("Layer1","/bin/Cart?op="+_7e,"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 cart_build(_7f){currentLbdivMode="cart";$("LBdiv").style.height="130px";if(_7f=="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 _80=$A([]);var _81=document.JSONobj.getCartDat("total");_80.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  "+(_81?_81:0)+" images "),nodeTree.cart_build_act__actions,]));if(document.JSONobj.getCartDat("total")>0){var _82=parseInt((winW*0.65)/document.JSONobj.getCartDat("total"));if(winH<340){vlim=25;}else{if(winH<450){vlim=35;}else{vlim=58;}}if(_82>vlim){_82=vlim;}else{if(_82<18){_82=18;}}var _83=$A([]);for(cti=0;cti<document.JSONobj.getCartDat("total");cti++){ctimid=document.JSONobj.getImgDat("id",cti);ctid=document.JSONobj.getCartDat("id",cti);_83.push(Builder.node("div",{align:"center",id:"dct"+cti+"s",name:"dct"+cti+"s",valign:"bottom",style:"float:left; height:"+(_82+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:_82,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")])]));}_80.push(Builder.node("div",{id:"LBimgdiv",style:"padding:6px 0 0 3px; height: 100%"},[_83,Builder.node("br",{style:"clear:both"})]));var _84=new Date();_84.setTime(_84.getTime()+(60*24*60*60*1000));gsetCookie("gcartimages",cti,_84,"/",gGetCookieDom());}$("LBdiv").replace("<DIV id=\"LBdiv\"></DIV>");_80.each(function(_85){$("LBdiv").appendChild(_85);});}}function gfixDate(_86){var _87=new Date(0);var _88=_87.getTime();if(_88>0){_86.setTime(_86.getTime()-_88);}}function g(){if(typeof (g_custom)=="function"){g_custom();}else{g_standard();}}function g_standard(){var _89=$F("Keywords");var _8a;if($("Username")){_8a=$F("Username");}pagetype="search";var _8b="";if(typeof (q_args)!="undefined"&&q_args){_8b=q_args.match(/Keywords=(.*?)(\&|$)/);if(typeof (_8b)!="undefined"&&_8b&&_8b.length>1){_8b=_8b[1];}else{_8b="";}_8b=unescape(_8b);}if(_89.length<1&&_8b.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(_8b.length>0&&(_89.length<1||_89=="enter keywords")){_89=_8b;$("Keywords").value=_89;}if((EAD("share_control_sphotog")||EAD("share_control_status")||EAD("share_control_view")||EAD("share_control_release"))&&_89=="enter keywords"){_89="";}var _8c="";if($("method")&&typeof ($("method").value)!="undefined"&&$("method").value=="within"){_8c="/SwishSearch?Keywords="+q_id+"&ex_keys="+_89;}else{_8c="/SwishSearch?Keywords="+_89;}if($("displaypanel")){if(typeof (suspendWithPeople)=="undefined"&&$("displaypanel").people){if($("displaypanel").people[1].checked==true){_8c+="+haspeople";}if($("displaypanel").people[2].checked==true){_8c+="+nobody";}if($("displaypanel").people[3]&&$("displaypanel").people[3].checked==true){_8c+="+hascrowd";}}if($("displaypanel").custom){$A($("displaypanel").custom).each(function(itm){_8c+="+"+itm.value;});}if($("displaypanel").outline){if($("displaypanel").outline[0].checked==true){_8c+="+outlinable";}else{if($("displaypanel").outline[1].checked==true){_8c+="+not+outlinable";}}}if(typeof (suspendYesNoRestrictons)=="undefined"&&$("displaypanel").restrictions){if($("displaypanel").restrictions[1].checked==true){_8c+="+NOT+imagehasrestrictions";}}if($("displaypanel").xtrasql&&$("displaypanel").xtrasql[1].checked==true){_8c+="&xtrasql=(releasedmodel+or+releasedproperty+or+releasednotapplicable+or+releasedmodelandproperty)";}var _8e=1;$A($("displaypanel").orient).each(function(itm){if(!itm.checked){_8e=0;}});if(!_8e){if($("displaypanel").orient[0].checked==true){_8c+="&orient=horizontal";}if($("displaypanel").orient[1].checked==true){_8c+="&orient=vertical";}if($("displaypanel").orient[2].checked==true){_8c+="&orient=panoramic";}if($("displaypanel").orient[3].checked==true){_8c+="&orient=square";}}if($("displaypanel").rmrftype){if($("displaypanel").rmrftype[0].checked==true&&$("displaypanel").rmrftype[1].checked==false){_8c+="&searchinclude=RM";}if($("displaypanel").rmrftype[1].checked==true&&$("displaypanel").rmrftype[0].checked==false){_8c+="&searchinclude=RF";}}if($("displaypanel").color){if($("displaypanel").color[1].checked==true){_8c+="&color=color";}if($("displaypanel").color[2].checked==true){_8c+="&color=gray";}}if(typeof (showIllusPhotog)!="undefined"){if($("displaypanel").searchinclude[0].checked==true&&$("displaypanel").searchinclude[1].checked==false){_8c+="&searchinclude=illustration";}if($("displaypanel").searchinclude[1].checked==true&&$("displaypanel").searchinclude[0].checked==false){_8c+="&searchinclude=photography";}}}if($("spec_idx")){if($("spec_idx").selectedIndex==1){_8c+="&spec_idx=ed";}if($("spec_idx").selectedIndex==2){_8c+="&spec_idx=ne";}}if(EAD("share_control_sphotog")){_8c+="&site="+$F("share_control_sphotog");}if(EAD("share_control_status")){_8c+="&status_view="+$F("share_control_status");}if(EAD("share_control_view")){_8c+="&view="+$F("share_control_view");}if(EAD("share_control_release")){_8c+="&release_view="+$F("share_control_release");}if(_8a&&_8a!=""){_8c+="&Username="+encodeURI(_8a);}gsetCookie("gwhichstartpage","","","/",gGetCookieDom());if(_89!="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 "+_89+" <blink>.</blink></font></B></TD></TR></TABLE>");self.location=_8c;}else{alert("You must first type in keywords to search for.");document.isn.Keywords.focus();}}}function gwhichindex(_90){gsetCookie("gwhichindex",_90,"","/",gGetCookieDom());}function fsearchprefs(val,_92){var _93=ggetCookie("gsearchprefs");if(_93){}else{_93=new String(" ");}var _94=new String("");if(val=="released"&&_92=="remove"){}else{if((_93.indexOf("a")>=0)||(val=="released"&&_92=="add")){_94+="a";}}if(val=="norestrictions"&&_92=="remove"){}else{if((_93.indexOf("b")>=0)||(val=="norestrictions"&&_92=="add")){_94+="b";}}if(val=="people"&&_92=="remove"){}else{if(((_93.indexOf("c")>=0)&&(val!="withpeople")&&(val!="withcrowd"))||(val=="nobody"&&_92=="add")){_94+="c";}else{if(((_93.indexOf("d")>=0)&&(val!="withcrowd"))||(val=="withpeople"&&_92=="add")){_94+="d";}else{if((_93.indexOf("e")>=0)||(val=="withcrowd"&&_92=="add")){_94+="e";}}}}if(document.displaypanel.orient){if(document.displaypanel.orient[0]&&document.displaypanel.orient[0].checked==true){_94+="f";}if(document.displaypanel.orient[1]&&document.displaypanel.orient[1].checked==true){_94+="g";}if(document.displaypanel.orient[2]&&document.displaypanel.orient[2].checked==true){_94+="h";}if(document.displaypanel.orient[3]&&document.displaypanel.orient[3].checked==true){_94+="i";}}if(typeof (rmonly)=="undefined"&&document.displaypanel.rmrftype){if(document.displaypanel.rmrftype[0]&&document.displaypanel.rmrftype[0].checked==true){_94+="j";}if(document.displaypanel.rmrftype[1]&&document.displaypanel.rmrftype[1].checked==true){_94+="k";}}if(document.displaypanel.color){if(document.displaypanel.color[0].checked==true){_94+="m";}if(document.displaypanel.color[1].checked==true){_94+="n";}if(document.displaypanel.color[2].checked==true){_94+="o";}}if(typeof (showIllusPhotog)!="undefined"){if(document.displaypanel.searchinclude[0].checked==true){_94+="0";}if(document.displaypanel.searchinclude[1].checked==true){_94+="1";}}gsetCookie("gsearchprefs",_94,"","/",gGetCookieDom());}function greleasedselect(_95){gsetCookie("greleasestatus",_95,"","/",gGetCookieDom());}function htmlit(_96){var _97="";switchpage=false;if(id[_96]){var _98=rm[_96];myid=id[_96];if(typeof (suspendsimilars)=="undefined"){mysimilarto=st[_96];}else{mysimilarto="";}if(typeof (scp)!="undefined"&&(viewmode=="list"||viewmode=="editing")){myshortcaption=unescape(scp[_96]);}else{myshortcaption="n/a";}var _99=true;var _9a="";var _9b="";if(!relcon[_96]){_9b=rel[_96];}if(typeof (relcon)!="undefined"&&relcon[_96]&&mysimilarto.length<13){var _9c=_9b;_9c=_9c.substring(0,16)+(_9b.length>16?"...":"");_9b="<div id=\"shortrel"+_96+"\">Release: "+_9c+"</div> <div>  <form id=\"releasecontrol"+_96+"\" > "+relcon[_96]+" <input type=\"hidden\" name=\"shdex\" value=\""+_96+"\"/></form> <a href=\"\" onclick=\"sor("+_96+"); return false;\" >Save Release</a></div>";}else{if(showrelease){if(!(_9b=="MODEL RELEASED"||_9b=="MODEL AND PROPERTY RELEASED"||_9b=="PROPERTY RELEASED")){_9b="Release: "+_9b;}if(typeof (relcon)!="undefined"&&relcon[_96]&&mysimilarto.length<13){_9b="<br/>"+_9b;}}else{_9b="";}}if(myshortcaption.length>90){for(z=0;z<130;z++){var c=myshortcaption.charAt(z);if(_99==true){if((z>90)&&(c==".")){_99=false;_9a+=c+" ...";}else{if((z>110)&&(c==" ")){_99=false;_9a+=" ...";}else{_9a+=c;}}}}myshortcaption=_9a;}var _9e="yes";myphotographer=pho[_96];myrglobaldynf=rm[_96];myfilesize=fs[_96];var _9f=hrdl[_96];var _a0=html_share_con_opts(_96);var _a1=html_weight_con_opts(_96);var _a2=html_combined_con_opts(_96);var _a3="";if(rfcd[_96].match(myid)){var pm=unescape(rfcd[_96]).match(/SwishSearch\?n\=1\&fn\=(.*)\&supst\=cd/);if(pm!=null){_a3=pm[1];}}adminheight=0;if(_9f){if(viewmode!="editing"){adminheight=11;}}if(myfilesize<5){myfilesize="Scan on Demand";}if(myid.length>9){if(o[_96]){displayid=o[_96];}else{displayid=myid;}if(viewmode=="editing"){var _a5=160+adminheight;var _a6=unescape(shsync[_96]);_a6=_a6.split("|");var _a7="white";if(_a6[0]=="shared"){_a7="#77BB33";}else{if(_a6[0].toString().match(/notshared|rejected/)){_a7="#DF0000";}}var _a8="white";if(parseInt(_a6[1])){_a8="orange";}if(mysimilarto.length<13){_97+="<span id=\"cellwrapper"+myid+"\" valign=bottom style=\"float:left;background-color:"+_a8+"; padding:0 6px; 0 6px\">";_97+="<div id=\"d"+myid+"\" align=center valign=bottom style=\" background-color:"+_a7+"; width:288px; height:"+_a5+"px;\">";_97+="<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+"'"+","+"'"+_96+"');\"><img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+myid+".JPG\" border=0 class=pimg vspace=2 hspace=3";_97+=" onmouseover=\"prloadimg('"+myid+"'); sp(this, '"+myid+"','"+_96+"','"+tset+"');";_97+="\" onmouseout=\"hp();\" id="+myid+">";_97+="</a>";_97+=_a2+_a0;_97+="</div></TD><TD valign=\"top\"><font class=xsmall>ID:"+myid;if(typeof (suppressrmrftype)=="undefined"){_97+="  <font class=rmrfindicator>"+rm[_96]+"</font>";}_97+="<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=/)))){_97+="<A href=\"javascript:lightbox_delete_image_enl('"+myid+"');\" class=\"lblink\" TITLE=\"Remove this image from the lightbox\">X</A>";}_97+="</DIV>";myphotographer=unescape(myphotographer);if(myphotographer.length>18){myphotographer=myphotographer.substring(0,18)+"...";}if(showphotographer==1){_97+="&copy; "+currentYear+" "+myphotographer;}_97+="  <nobr>";if(showfilesize){_97+=myfilesize;}_97+="</nobr><br/>CAPTION: "+myshortcaption+"<div>"+_9b+"</div></font>";_97+=_a1;if(_9f){_97+="<br/><NOBR><a href=\""+_9f+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a></NOBR>";}_97+="<br/><a href=\"\" ONCLICK=\"lightbox_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add to your current lightbox\">LB+</a>";_97+="</TD></TR></TABLE></DIV></span></SPAN>";}else{_97+="<span id=\"cellwrapper"+myid+"\" valign=bottom style=\"float:left;background-color:"+_a8+"; padding:0 6px; 0 6px;\">";_97+="<div id=\"d"+myid+"\" align=center valign=bottom style=\" background-color:"+_a7+"; width:288px; height:"+_a5+"px;\">";_97+=writesimilar(myid,_96,myphotographer,myshortcaption,"start","editing",_9f,_9b);_97+="</DIV></span></SPAN>";}}else{if(viewmode=="list"){var _a5=172+adminheight;if(mysimilarto.length<13){_97+="<span id=\"cellwrapper"+_96+"\" valign=bottom style=\"float:left;\">";_97+="<div align=center valign=bottom style=\"width:305px; height:"+_a5+"px;\">";_97+="<TABLE width=298 cellspacing=2 cellpadding=0 border0><TR><TD valign=top>";if(_a3){_97+="<a href=\"/SwishSearch?n=1&fn="+_a3+"&supst=cd\" >";}else{_97+="<a href=\"\" onclick=\"hp(); enlarge2('"+myid+"'"+","+"'"+_96+"'); return false;\">";}_97+="<img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+myid+".JPG\" border=0 class=pimg vspace=2 hspace=3";_97+=" onmouseover=\"prloadimg('"+myid+"'); sp(this, '"+myid+"','"+_96+"','"+tset+"');";_97+="\" onmouseout=\"hp();\" id="+myid+">";_97+="</a><BR>";if(_9f){_97+="<center><a href=\""+_9f+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a></center>";}_97+="</TD><TD valign=\"top\"><font class=xsmall>ID:"+displayid;if(typeof (suppressrmrftype)=="undefined"){_97+="  <font class=rmrfindicator>"+rm[_96]+"</font>";}_97+="<DIV class=icons>";if(!_a3&&((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=/))))){_97+="<A href=\"\" onclick=\"lightbox_delete_image_enl('"+myid+"'); return false;\" class=\"lblink\" TITLE=\"Remove this image from the lightbox\">X</A>";}_97+="<a href=\"\" ONCLICK=\"lightbox_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add to your current lightbox\">LB+</a>";if(gsession){_97+="<a href=\"\" ONCLICK=\"cart_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add this image to your shopping cart\">CART+</a>";}_97+="<a href=\"\" ONCLICK=\"return price_image('"+myid+"','"+_98+"');\" class=\"iconlink\" Title=\"Price Image\">$</a>";if(!_a3){_97+="<a href=\"\" ONCLICK=\"enlarge2('"+myid+"'"+","+"'"+_96+"'); return false;\" class=iconlink title=\"Enlarge image and more info\"><font class=eye>i</font></a>";}_97+="</DIV>";if(showphotographer==1){_97+="<BR>&copy; "+currentYear+" "+myphotographer;}_97+="  <nobr>";if(showfilesize){_97+=myfilesize;}_97+="</nobr><br/>CAPTION: "+myshortcaption+"<div>"+_9b+"</div></font>";_97+="</TD></TR></TABLE></DIV></SPAN>";}else{_97+="<span valign=bottom style=\"float:left;\">";_97+="<div id=\"d"+myid+"\" align=center valign=bottom style=\"width:305px; height:"+_a5+"px;\">";_97+=writesimilar(myid,_96,myphotographer,myshortcaption,"start","list",_9f,_9b);_97+="</DIV></SPAN>";}}else{if(viewmode=="tiny"){var _a5=100+adminheight;if(mysimilarto.length<13){_97+="<span valign=bottom style=\"float:left;\">";_97+="<div align=center valign=bottom style=\"width:95px; height:"+_a5+"px; overflow: hidden;\">";if(_a3){_97+="<a href=\"/SwishSearch?n=1&fn="+_a3+"&supst=cd\" ";}else{_97+="<a href=\"\" onclick=\"hp(); enlarge2('"+myid+"'"+","+"'"+_96+"'); return false;\"";}if(document.page.previews.selectedIndex==1){_97+=" TITLE=\"ID:"+displayid;if(showphotographer==1){_97+="\r&copy; "+myphotographer;}if(showfilesize){_97+="\rSIZE: "+myfilesize;}_97+=" \r"+"CAPTION: "+myshortcaption+"\"";}_97+="><img src=http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+myid+".JPG border=0 class=pimg vspace=1 hspace=1 height=55";_97+=" onmouseover=\"prloadimg('"+myid+"'); sp(this, '"+myid+"', '"+_96+"','"+tset+"');";_97+="\" onmouseout=\"hp();\" id="+myid+">";_97+="</a><BR>";_97+="<DIV class=icons>";if(!_a3&&((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=/))))){_97+="<A href=\"\" onclick=\"lightbox_delete_image_enl('"+myid+"'); return false;\" class=\"iconlinktiny\" TITLE=\"Remove this image from the lightbox\">X</A>";}_97+="<a href=\"\" ONCLICK=\"lightbox_addto('"+myid+"'); return false;\" class=\"iconlinktiny\" title=\"Add to your current lightbox\">LB+</a>";if(gsession){_97+="<a href=\"\" ONCLICK=\"cart_addto('"+myid+"'); return false;\" class=\"iconlinktiny\" title=\"Add this image to your shopping cart\">CART+</a>";}_97+="<a href=\"\" ONCLICK=\"return price_image('"+myid+"','"+_98+"');\" class=\"iconlinktiny\" Title=\"Price Image\">$</a>";if(!_a3){_97+="<a href=\"\" ONCLICK=\"enlarge2('"+myid+"'"+","+"'"+_96+"'); return false;\" class=\"iconlinktiny\" title=\"Enlarge image and more info\"><font class=eye>i</font></a>";}_97+="</DIV>";_97+="<DIV class=imidxxsmall>"+displayid;if(typeof (suppressrmrftype)=="undefined"){_97+="  <font class=rmrfindicator>"+rm[_96]+"</font>";}_97+="</DIV>";if(_9f){_97+="<a href=\""+_9f+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a>";}_97+="</DIV></SPAN>";}else{_97+="<span valign=bottom style=\"float:left;\">";_97+="<div id=\"d"+myid+"\" align=center valign=bottom style=\"width:95px; height:"+_a5+"px; overflow:hidden;\">";_97+=writesimilar(myid,_96,myphotographer,myshortcaption,"start","tiny",_9f,_9b);_97+="</DIV></SPAN>";}}else{if(viewmode=="med"){var _a5=130+adminheight;if(mysimilarto.length<13){_97+="<span valign=bottom style=\"float:left;\">";_97+="<div align=center valign=bottom style=\"width:140px; height:"+_a5+"px; overflow: hidden;\">";if(_a3){_97+="<a href=\"/SwishSearch?n=1&fn="+_a3+"&supst=cd\" ";}else{_97+="<a href=\"\" onclick=\"hp(); enlarge2('"+myid+"'"+","+"'"+_96+"'); return false;\"";}if(document.page.previews.selectedIndex==1){_97+=" TITLE=\"ID:"+displayid;if(showphotographer==1){_97+="  \r&copy; "+myphotographer;}if(showfilesize){_97+="\rSIZE: "+myfilesize;}_97+=" \r"+"CAPTION: "+myshortcaption+"\"";}_97+="><img src=http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+myid+".JPG border=0 vspace=1 class=pimg hspace=1 height=80";_97+=" onmouseover=\"prloadimg('"+myid+"'); sp(this, '"+myid+"', '"+_96+"','"+tset+"');";_97+="\" onmouseout=\"hp();\" id="+myid+">";_97+="</a><BR>";_97+="<DIV class=icons>";if(!_a3&&((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=/))))){_97+="<A href=\"\" onclick=\"lightbox_delete_image_enl('"+myid+"'); return false;\" class=\"lblink\" TITLE=\"Remove this image from the lightbox\">X</A>";}_97+="<a href=\"\" ONCLICK=\"lightbox_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add to your current lightbox\">LB+</a>";if(gsession){_97+="<a href=\"\" ONCLICK=\"cart_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add this image to your shopping cart\">CART+</a>";}_97+="<a href=\"\" ONCLICK=\"return price_image('"+myid+"','"+_98+"');\" class=\"iconlink\" Title=\"Price Image\">$</a>";if(!_a3){_97+="<a href=\"\" ONCLICK=\"enlarge2('"+myid+"'"+","+"'"+_96+"'); return false;\" class=\"iconlink\" title=\"Enlarge image and more info\"><font class=eye>i</font></a>";}if(typeof (gusert)!="undefined"&&gusert=="IPN"){_97+="<A href=\"\" 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=\"\" 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>";}_97+="</DIV>";_97+="<DIV class=imidxxsmall>"+displayid;if(typeof (suppressrmrftype)=="undefined"){_97+="  <font class=rmrfindicator>"+rm[_96]+"</font>";}_97+="</DIV>";if(_9f){_97+="<a href=\""+_9f+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a>";}_97+="</DIV></SPAN>";}else{_97+="<span valign=bottom style=\"float:left;\">";_97+="<div id=\"d"+myid+"\" align=center valign=bottom style=\"width:140px; height:"+_a5+"px;\">";_97+=writesimilar(myid,_96,myphotographer,myshortcaption,"start","med",_9f,_9b);_97+="</DIV></SPAN>";}}else{if(viewmode=="ss"){_97="  ";}else{if(viewmode=="huge"){var _a5=220+adminheight;if(mysimilarto.length<13){_97+="<span valign=bottom style=\"float:left;\">";_97+="<div align=center valign=bottom style=\"width:330px; height:"+_a5+"px; overflow: hidden;\">";if(_a3){_97+="<a href=\"/SwishSearch?n=1&fn="+_a3+"&supst=cd\" ";}else{_97+="<a href=\"\" onclick=\"hp(); enlarge2('"+myid+"'"+","+"'"+_96+"'); return false;\" TITLE=\"ID:"+displayid;}if(showphotographer==1){_97+="\r&copy; "+myphotographer;}if(showfilesize){_97+="\rSIZE: "+myfilesize;}_97+=" \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>";_97+="<DIV class=icons>";if(!_a3&&((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=/))))){_97+="<A href=\"\" onclick=\"lightbox_delete_image_enl('"+myid+"'); return false;\" class=\"lblink\" TITLE=\"Remove this image from the lightbox\">X</A>";}_97+="<a href=\"\" ONCLICK=\"lightbox_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add to your current lightbox\">LIGHTBOX+</a>";if(gsession){_97+="<a href=\"\" ONCLICK=\"cart_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add this image to your shopping cart\">CART+</a>";}_97+="<a href=\"\" ONCLICK=\"return price_image('"+myid+"','"+_98+"');\" class=\"iconlink\" Title=\"Price Image\">$</a>";if(!_a3){_97+="<a href=\"\" ONCLICK=\"enlarge2('"+myid+"'"+","+"'"+_96+"'); return false;\" class=\"iconlink\" title=\"Enlarge image and more info\"><font class=eye>i</font> ENLARGE</a> ";}if(typeof (gusert)!="undefined"&&gusert=="IPN"){_97+="<A href=\"\" 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=\"\" 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>";}_97+=displayid;if(typeof (suppressrmrftype)=="undefined"){_97+="  <font class=rmrfindicator>"+rm[_96]+"</font> ";}_97+="</DIV>  ";if(_9f){_97+="<a href=\""+_9f+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a>";}_97+="</DIV></SPAN>";}else{_97+="<span valign=bottom style=\"float:left;\">";_97+="<div id=\"d"+myid+"\" align=center valign=bottom style=\"width:330px; height:"+_a5+"px; overflow: hidden;\">";_97+=writesimilar(myid,_96,myphotographer,myshortcaption,"start","huge",_9f,_9b);_97+="</DIV></SPAN>";}}else{if(viewmode=="large"){var _a5=199+adminheight;if(mysimilarto.length<13){_97+="<span valign=bottom style=\"float:left;\">";_97+="<div align=center valign=bottom style=\"width:187px; height:"+_a5+"px; overflow:hidden;\">";if(_a3){_97+="<a href=\"/SwishSearch?n=1&fn="+_a3+"&supst=cd\" ";}else{_97+="<a href=\"\" onclick=\"hp(); enlarge2('"+myid+"'"+","+"'"+_96+"'); return false;\"";}if(document.page.previews.selectedIndex==1){_97+=" TITLE=\"ID:"+displayid;if(showphotographer==1){_97+="\r&copy; "+myphotographer;}if(showfilesize){_97+="\rSIZE: "+myfilesize;}_97+=" \r"+"CAPTION: "+myshortcaption+"\"";}_97+="><img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/170/85/"+myid+".JPG\" class=pimg border=\"0\" vspace=\"0\" hspace=\"3\"";_97+=" onmouseover=\"prloadimg('"+myid+"'); sp(this, '"+myid+"','"+_96+"','"+tset+"');";_97+="\" onmouseout=\"hp();\" id="+myid+">";_97+="</a><BR>";_97+="<DIV class=icons>";if(!_a3&&((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=/))))){_97+="<A href=\"\" onclick=\"lightbox_delete_image_enl('"+myid+"'); return false;\" class=\"iconlink\" TITLE=\"Remove this image from the lightbox\">X</A>";}_97+="<a href=\"\" ONCLICK=\"lightbox_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add to your current lightbox\">LB+</a>";if(gsession){_97+="<a href=\"\" ONCLICK=\"cart_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add this image to your shopping cart\">CART+</a>";}_97+="<a href=\"\" ONCLICK=\"return price_image('"+myid+"','"+_98+"');\" class=\"iconlink\" Title=\"Price Image\">$</a>";if(!_a3){_97+="<a href=\"\" ONCLICK=\"enlarge2('"+myid+"'"+","+"'"+_96+"'); return false;\" class=\"iconlink\" title=\"Enlarge image and more info\"><font class=eye>i</font></a>&nbsp;";}if(typeof (gusert)!="undefined"&&gusert=="IPN"){_97+="<A href=\"\" 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=\"\" 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>";}_97+="</div><div><font class=imid>"+displayid+"</font>";if(typeof (suppressrmrftype)=="undefined"){_97+="  <font class=rmrfindicator>"+rm[_96]+"</font>";}_97+="</DIV>";if(_9f){_97+="<a href=\""+_9f+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a>";}_97+="</DIV></SPAN>";}else{_97+="<span valign=bottom style=\"float:left;\">";_97+="<div id=\"d"+myid+"\" align=center valign=bottom style=\"width:187px; height:"+_a5+"px; overflow: hidden;\">";_97+=writesimilar(myid,_96,myphotographer,myshortcaption,"start","large",_9f,_9b);_97+="</DIV></SPAN>";}}else{var _a5=176+adminheight;if(mysimilarto.length<13){_97+="<span valign=bottom style=\"float:left;\">";_97+="<div align=center valign=bottom style=\"width:152px; height:"+_a5+"px; overflow:hidden;\">";if(_a3){_97+="<a href=\"/SwishSearch?n=1&fn="+_a3+"&supst=cd\" ";}else{_97+="<a href=\"\" onclick=\"hp(); enlarge2('"+myid+"'"+","+"'"+_96+"'); return false;\"";}if(document.page.previews.selectedIndex==1){_97+=" TITLE=\"ID:"+displayid;if(showphotographer==1){_97+="\r&copy; "+myphotographer;}if(showfilesize){_97+="\rSIZE: "+myfilesize;}_97+=" \r"+"CAPTION: "+myshortcaption+"\"";}_97+="><img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+myid+".JPG\" class=pimg border=\"0\" vspace=\"0\" hspace=\"3\"";_97+=" onmouseover=\"prloadimg('"+myid+"'); sp(this, '"+myid+"','"+_96+"','"+tset+"');";_97+="\" onmouseout=\"hp();\" id="+myid+">";_97+="</a><BR>";_97+="<DIV class=icons>";if(!_a3&&((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=/))))){_97+="<A href=\"\" onclick=\"lightbox_delete_image_enl('"+myid+"'); return false;\" class=\"iconlink\" TITLE=\"Remove this image from the lightbox\">X</A>";}_97+="<a href=\"\" ONCLICK=\"lightbox_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add to your current lightbox\">LB+</a>";if(gsession){_97+="<a href=\"\" ONCLICK=\"cart_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add this image to your shopping cart\">CART+</a>";}_97+="<a href=\"\" ONCLICK=\"return price_image('"+myid+"','"+_98+"');\" class=\"iconlink\" Title=\"Price Image\">$</a>";if(!_a3){_97+="<a href=\"\" ONCLICK=\"enlarge2('"+myid+"'"+","+"'"+_96+"'); return false;\" class=\"iconlink\" title=\"Enlarge image and more info\"><font class=eye>i</font></a>&nbsp;";}if(typeof (gusert)!="undefined"&&gusert=="IPN"){_97+="<A href=\"\" 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=\"\" 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>";}_97+="</div><div><font class=imid>"+displayid+"</font>";if(typeof (suppressrmrftype)=="undefined"){_97+="  <font class=rmrfindicator>"+rm[_96]+"</font>";}_97+="</DIV>";if(_9f){_97+="<a href=\""+_9f+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a>";}_97+="</DIV></SPAN>";}else{_97+="<span valign=bottom style=\"float:left;\">";_97+="<div id=\"d"+myid+"\" align=center valign=bottom style=\"width:152px; height:"+_a5+"px; overflow: hidden;\">";_97+=writesimilar(myid,_96,myphotographer,myshortcaption,"start","normal",_9f,_9b);_97+="</DIV></SPAN>";}}}}}}}}}}return _97;}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 switch_share_control(_ac){var _ad=ggetCookie(gusername+"sc_on");if(!_ad||_ac){viewmode="editing";_ad=1;}else{viewmode="";_ad="";}gsetCookie("gviewmode",viewmode,"","/",gGetCookieDom());gsetCookie(gusername+"sc_on",_ad,"","/",gGetCookieDom());if(!_ac){var s=self.location.href;self.location.href=s.replace(/\&sc_boot\=1/g,"");}}function EAD(_af){if($(_af)&&$F(_af)&&!$F(_af).match(/^\-\- .* \-\-$/)){return true;}else{return false;}}function sos(dex,_b1){if(!_b1||_b1=="share"){var _b2=$F("sharecontrol"+dex);ajax_JSON("/AjaxHandlers/ShareSetShare/"+make_share_control_string(id[dex],_b2)+".json",getpost,"");}if(!_b1||_b1=="weight"){var _b3=$F("weightcontrol"+dex);ajax_JSON("/AjaxHandlers/ShareSetWeight/"+make_share_control_string(id[dex],_b3)+".json",getpost,"");}if($("cellwrapper"+dex)){$("cellwrapper"+dex).style.backgroundColor="orange";}}function sor(dex){var _b5=$A();var _b6=unescape(relcon[dex]).toString().replace(/checked="?checked"?/gi,"");$A($("releasecontrol"+dex)).each(function(itm){if(itm.checked){_b5.push(itm.value);var _b8=new RegExp("value=\""+itm.value+"\"");_b6=_b6.replace(_b8,"value=\""+itm.value+"\" checked=\"checked\"");}});relcon[dex]=escape(_b6);_b5=_b5.join("|");ajax_JSON("/AjaxHandlers/ShareSetRelease/"+make_share_control_string(id[dex],_b5)+".json",getpost,"");if($("cellwrapper"+dex)){$("cellwrapper"+dex).style.backgroundColor="orange";}}function validaterad(_b9){if(!$(_b9)&&!$F(_b9)){return;}var _ba=_b9.name;_ba=_ba.replace(/(cocon|shcon)/,"");var pix=$F(_b9);var dex=$F($(_b9).form.dexer);var brd="white";var _be="pending";if(pix=="n"||pix=="r"||pix.match(/^(notshared|rejected)/)){if(pix=="n"||pix=="notshared"){_be="notshared";}else{_be="rejected";}brd="#DF0000";}else{if(!isNaN(pix)||pix=="a"||pix.match(/^shared/)){_be="shared";brd="#77BB33";}else{if(pix.match(/^hold/)){_be="hold";}}}if($("d"+_ba)){$("d"+_ba).style.background=brd;}var _bf=unescape(shsync[dex]);_bf=_bf.split("|");shsync[dex]=escape(_be+"|"+_bf[1]);var _c0="";if(_b9.name.match(/shcon/)){_c0="ShareSetShare";}else{_c0="ShareSetCombined";}ajax_JSON("/AjaxHandlers/"+_c0+"/"+make_share_control_string(_ba,pix)+".json",getpost,"");}function init_share_radios(){for(var cnt=showstartnumber_trap;cnt<endnumber;cnt++){var _c2=unescape(shsync[cnt]);_c2=_c2.split("|");var _c3=_c2[0]+$F("share_control_view")+$F("share_control_home_sphotog");var _c4,_c5;if(typeof (cocon)=="object"&&cocon[0]){_c5=_c2[2];_c4=_c2[0].toString().substring(0,1);}var _c6=$("shf"+id[cnt]);if(_c6){$A(_c6.elements).each(function(rad){if(rad.value==_c3){rad.checked=true;}else{if(_c4&&(rad.value==_c4||(_c4=="s"&&rad.value==_c5))){rad.checked=true;}else{rad.checked=false;}}});}}}function share_set_page(_c8){if(_c8==""){return;}var _c9=$A();var _ca=_c8+$F("share_control_view")+$F("share_control_home_sphotog");var _cb="";if(typeof (cocon)=="object"&&cocon[0]){_cb=_c8.toString().substring(0,1);}for(var cnt=showstartnumber_trap;cnt<endnumber;cnt++){if(id[cnt]){_c9.push(id[cnt]);if(_c8.match(/pending|hold/)){$("d"+id[cnt]).style.background="white";}else{if(_c8.match(/notshared|rejected/)){$("d"+id[cnt]).style.background="#DF0000";}else{if(_c8.match(/^shared/)){$("d"+id[cnt]).style.background="#77BB33";}}}var _cd=$("shf"+id[cnt]);if(_cd){$A(_cd.elements).each(function(rad){if(rad.value==_ca){rad.checked=true;}else{if(_cb&&(rad.value==_cb||(_cb=="s"&&rad.value.match(/^[a1-4]$/)))){rad.checked=true;}else{rad.checked=false;}}});}var _cf=unescape(shsync[cnt]);_cf=_cf.split("|");shsync[cnt]=escape(_c8+"|"+_cf[1]);}}ajax_JSON("/AjaxHandlers/ShareSetShare/"+make_share_control_string(_c9,_ca)+".json",getpost,"");return false;}function save_all_releases(){for(var cnt=showstartnumber_trap;cnt<endnumber;cnt++){sor(cnt);}return false;}function release_set_page(_d1){if(_d1==""){return;}var _d2=$A();for(var cnt=showstartnumber_trap;cnt<endnumber;cnt++){if(id[cnt]){_d2.push(id[cnt]);var _d4=$("releasecontrol"+cnt);if(_d4){$A(_d4.elements).each(function(chx){var val=chx.value;if(val&&chx.type=="checkbox"){if(val==_d1||(_d1=="MODEL AND PROPERTY RELEASED"&&(val=="MODEL RELEASED"||val=="PROPERTY RELEASED"))){chx.checked=true;}else{chx.checked=false;}}});}if($("shortrel"+cnt)){var _d7=_d1;_d7=_d7.substring(0,16)+(_d1.length>16?"...":"");$("shortrel"+cnt).innerHTML="Release: "+_d7;}sor(cnt);}}return false;}function validatechx(_d8){var cc=0;var _da="";$A(_d8.form.elements).each(function(chx){if(chx.checked){cc++;_da=chx.value;}});if(cc>1){var _dc=new Object;if(_d8.form.elements["MODEL RELEASED"].checked&&_d8.form.elements["PROPERTY RELEASED"].checked&&_d8.name.toString().match(/(MODEL|PROPERTY) RELEASED/)){_dc["MODEL RELEASED"]=1;_dc["PROPERTY RELEASED"]=1;_da="MODEL AND PROPERTY RELEASED";}else{_dc[_d8.name]=1;_da=_d8.name;}$A(_d8.form.elements).each(function(chx){if(chx.checked&&_dc[chx.value]!=1){chx.checked=false;}});}if($("shortrel"+_d8.form.shdex.value)){var _de=_da;_de=_de.substring(0,16)+(_da.length>16?"...":"");$("shortrel"+_d8.form.shdex.value).innerHTML="Release: "+_de;}}function enlarge2(_df,_e0,_e1,_e2){var _e3=$H({ssid:_df,ssdex:_e0,fimg:_e1,nc:_e2,showstart:"ss",snum:firstpictureonpage,viewmode:"ss"}).toJSON();try{YAHOO.util.History.navigate("nav",_e3);}catch(e){dispatchAll(_e3);}}function dispatchEnlarge2(_e4){if(typeof (_e4)!="object"){return;}var _e5=_e4["ssid"];var _e6=_e4["ssdex"];var _e7=_e4["fimg"];var _e8=_e4["nc"];var _e9=document.currentLayer1Mode;document.currentLayer1Mode="enlarge";var url="/AjaxHandlers/ImageInfo/"+(_e7?_e7:_e5)+".json";var drk="";if(_e8){drk="&drk="+Math.random(10);}ajax_JSON(url,getpost,"callback=enlarge2_act('"+_e5+"','"+_e6+"','"+(_e7?_e7:"")+"','"+_e9+"')"+drk);setuppagesize();$("Layer1").style.height=truevertHeight+"px";var _ec=0;if($("cdheader")&&$("cdheader").style.display=="block"){_ec=146;}$("Layer1").style.height=truevertHeight+_ec+"px";}function enlarge2_act__generateTierRows(_ed,_ee,_ef,_f0){var _f1="";if(_ee=="RF"){var _f2="";$A(_ed.tierinfo).each(function(_f3){Object.extend(_f3,{enlargetid:_ed.image_id,usage:_f3.subof,img_id:_ef,encount:(_f0?_f0:"''")});_f2+=Templates.tieredimgpricing__rfslug_row.evaluate(_f3);});_f1=Templates.tieredimgpricing__rfslug.evaluate({"rows":_f2});}else{if(_ee=="RR"){var _f4="";$A(_ed.tierinfo).each(function(_f5){Object.extend(_f5,{enlargetid:_ed.image_id,usage:_f5.subof,img_id:_ef,encount:(_f0?_f0:"''")});if(_f5.opt_selected==1){_f5.removebutton=Templates.tieredimgpricing__rrslug_row_removebutton.evaluate(_f5);}_f4+=Templates.tieredimgpricing__rrslug_row.evaluate(_f5);});_f1=Templates.tieredimgpricing__rrslug.evaluate({"rows":_f4});}}return _f1;}function enlarge2_act(_f6,_f7,_f8,_f9){_f8=(_f8=="undefined"?"":_f8);debug("featuredimage",_f8);hp();var _fa=0;if(id[_f7]==document.JSONobj.getImgDat("id")||_f8.length==10){_fa=1;}debug("useInPage",_fa);if(_fa||(document.ajaxLoaded&&(_f6.match(document.JSONobj.getImgDat("id"))))){if(typeof (viewmode)!="undefined"&&viewmode=="ss"){gsetCookie("gcurrentview","","","/",gGetCookieDom());}if($("cdheader")){$("cdheader").style.display="none";}if((!document.thisIsFeatureView&&_fa&&st[_f7]&&st[_f7].length>13)||overflowtype=="hidden"){suspendtrap=1;}if(firstpictureonpage){gsetCookie("gwhichstartpage",firstpictureonpage,"","/",gGetCookieDom());}var _fb;var _fc=document.JSONobj.getImgDat("short_caption");_fc=(_fc?_fc:"n/a");var _fd=document.JSONobj.getImgDat("long_caption");_fd=(_fd?_fd:"n/a");if(typeof (uselongcaption)!="undefined"&&_fd!="n/a"){if(uselongcaption=="useboth"){if(_fc=="n/a"){_fb=_fc;}else{_fb="<span id=\"enlarge_short_caption\">"+_fc+" <a href=\"\" 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\">"+_fd+"  <a href=\"\" onclick=\"$('enlarge_long_caption').style.display='none'; $('enlarge_short_caption').style.display='inline'; return false;\">&lt;&lt;&nbsp;less</a></span>";}}else{_fb=_fd;}}else{_fb=_fc;}var _fe=document.JSONobj.getImgDat("rmrftype");var _ff=document.JSONobj.getImgDat("tieredimgpricing");var _100=enlarge2_act__generateTierRows(_ff,_fe,_f6,_f7);var _101=document.JSONobj.getImgDat("photographer")+((document.JSONobj.getImgDat("agent_name")&&document.JSONobj.getImgDat("agent_name")!="")?"&nbsp;/&nbsp;"+document.JSONobj.getImgDat("agent_name"):"");var _102=(document.JSONobj.getImgDat("file_size")<5?"Scan on Demand":document.JSONobj.getImgDat("file_size")+" Mb");var _103=document.JSONobj.getImgDat("released");var _104=document.JSONobj.getImgDat("image_restrictions");var _105=document.JSONobj.getImgDat("comp_allow");var _106=(typeof (showdimensions)!="undefined"?document.JSONobj.getImgDat("dimensions"):"");if(_106){var dimr=_106.match(/^(\d+)x(\d+)$/);if(typeof (dimr)=="object"){_106="<br/><b>Original Dimensions:</b>&nbsp;"+dimr[1]+"px&nbsp;x&nbsp;"+dimr[2]+"px";}}var _108=parseInt(_f7)+1;var _109=id[_108];var _10a=parseInt(_f7)-1;var _10b=id[_10a];var _10c="";if((!document.thisIsFeatureView)&&_fa&&v[_f7]&&(v[_f7]=="H")){var _10d=+_f6.substring(0,2)+"/"+_f6.substring(0,5)+"/"+_f6;_10c+="<EMBED SRC=\"http://tools.cgibackgrounds.com/qtvideo/"+_10d+".MOV\" WIDTH=420 HEIGHT=280></EMBED>";}else{var _10e="0000000000";if(_f8){_10e=_f8;}else{_10e=_f6;}debug("tarid",_10e);_10c+="<A HREF=\"\" onclick=\"currentpage(); return false;\">"+"<img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/"+((typeof (localwatermark)!="undefined"&&!pngsupport)?"wm":"420")+"/60/"+_10e+".JPG\" border=1 style=\"display:inline; clear:none;\" id=\""+_10e+"\">"+((typeof (localwatermark)!="undefined"&&pngsupport)?"<img style=\"z-index: 300; position:absolute; left:0px; bottom:0px;\" src=\""+localwatermark+"\" border=\"0\" onload=\"fitMeTo('"+_10e+"', this)\"/>":"");_10c+="</A>";}var _10f="";if(!document.thisIsFeatureView&&_fa&&st[_f7]&&st[_f7].length>13){var _110=st[_f7];var _111=_110.split(" ");var _112=_111[1].split(",");if(_112.length>1){_112=_111[0]+" "+_112.join(" ");_111=_112.split(" ");}var _113=_111.length;if(_113>40){simheight=(70-_113/2);}else{simheight=70-_113;}var _114="";for(var i=0;i<_113;i++){_114+="<span valign=bottom style=\"float:left;\">"+"<a href=\"javasc"+"ript:enlarge2('"+_f6+"'"+","+"'"+_f7+"','"+_111[i]+"');\" TITLE=\"ID:"+_111[i];if(showphotographer==1){_114+="  \r&copy; "+_101;}_114+=" click image to view similar\"><img src=http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+_111[i]+".JPG border=0 vspace=2 hspace=2 height="+simheight+" align=left></a></span>";}_10f=Templates.enlarge2_act__similars.evaluate({simcolinfo:_114});}var _116="";var _117="";if(_f9=="cartview"){_117="<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){_117="<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{_117="<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(_fa){if(_f9!="cartview"){if((snum+_f7)>0){_116+="                                  <A HREF=\"\" onclick=\"enlarge2('"+_10b+"','"+_10a+"'); 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(_f7)+1)<Number(total)){_116+="                                  <A HREF=\"\" onclick=\"enlarge2('"+_109+"','"+_108+"'); return false;\" TITLE=\"GO TO THE NEXT IMAGE\">NEXT IMAGE <FONT style=\"font-size:9pt; font-family: Arial;\">&#8594;</FONT></A><BR>";}}}var _118="";if(_f8){_118=_f8;}else{_118=_f6;}var _119="";if(_f9!="cartview"){if(gsession&&gusername&&_105=="Y"){_119="<a href=\"Javascr"+"ipt:displayWindow('/comp_view.shtml?"+gusername+"/"+cs[_f7]+"/"+_118+".JPG','600','640');\"><img src=\"/graphics/icon_comp.gif\" width=21 height=15 alt=\"\" border=\"0\"> DOWNLOAD COMP</a><BR><BR>";}else{if(gsession){_119="<a href=\"Javascr"+"ipt:displayWindow('/comp_view.shtml?guest/"+cs[_f7]+"/"+_118+".JPG','600','640');\"><img src=\"/graphics/icon_comp.gif\" width=21 height=15 alt=\"\" border=\"0\"> DOWNLOAD COMP</a><BR><BR>";}}}var _11a=(_100?"<BR/><div class=\"enlargeratetiers\">"+_100+"</div>":"");var _11b=(showrelease?"<b>Release:</b> "+_103+"<br>":"");var _11c=_101;if(_101.indexOf("/")>0){_11c=_11c.substring(0,_11c.indexOf("/"));}var _11d=((_101&&showphotographer)?"<b>Photographer:</b> <A href=\"/SwishSearch?Keywords="+_11c+"&spec_idx=ne&method=photographer\">"+_101+"</a><br>":"");var _11e=((!_f8&&showfilesize)?"<b>File Size:</b> "+_102:"");var _11f=(_104?"<BR/><span style=\"color:#990000\">"+_104+"</span>":"");var _120="";document.JSONobj.getKeywords().each(function(kwd){var _122=q_args;if(_122.match(/Keywords=[^\+\&]+\+/)){_122=_122.replace(/Keywords=[^\+]+\+/,"Keywords="+kwd+"+");}else{if(_122.match(/Keywords=[^\+\&]+\&/)){_122=_122.replace(/Keywords=[^\+\&]+\&/,"Keywords="+kwd+"&");}else{if(_122.match(/Keywords=[^\+\&]+$/)){_122=_122.replace(/Keywords=[^\+\&]+$/,"Keywords="+kwd);}else{_122=_122.replace(/((rid|\&rid)|(vmo|\&vmo)|(lb_view|\&lb_view)|(cartview|\&cartview))=[^\&]+/,"");_122="Keywords="+kwd+"&"+_122;_122=_122.replace(/\&+/,"&");}}}_122=_122.replace("&spec_idx=ne","");_120+="<a href=\"/SwishSearch?"+_122+"&spec_idx=ne\">"+kwd+"</a>, ";});var _123;if(o[_f7]){_123=o[_f7];}else{_123=_118;}var _124=document.JSONobj.getImgDat("date_shot");var _125=document.JSONobj.getImgDat("rfcdlink");var _126=$H({enlargetid:_118,rfcdlinkslug:_125,dateshot:_124,keywordinfo:_120,displayenlargetid:_123,restrictionsinfo:_11f,filesizeinfo:_11e,photographerinfo:_11d,releaseinfo:_11b,ratetierinfo:_11a,downloadcomplink:_119,navenlargedlinks:_116,navbacklinks:_117,similarscolumn:_10f,themediainsert:_10c,rmrftype:_fe,myshortcaption:_fb,dimensions:_106});$("Layer1").style.overflow="auto";MM_setTextOfLayer("Layer1","",Templates.enlarge2_act__body.evaluate(_126));MM_preloadImages("http://gdynx.ipnstock.com/"+dynimagesname+"/420/60/"+_109+".JPG");}else{gsetCookie("gviewmode","ss","","/",gGetCookieDom());self.location=nextlink+"snum="+(Number(firstpictureonpage)+Number(snum));}}function fitMeTo(_127,thar){if(!_127||!thar||!$(_127)){return;}var dems=Element.getDimensions(_127);if(thar.style){thar.style.width=(dems["width"]+8)+"px";thar.style.height=(dems["height"]+8)+"px";}return 1;}function writesearch(){if(typeof (writesearch_custom)=="function"){writesearch_custom();}else{writesearch_standard();}}function writesearch_standard(){panelheight=340;if(typeof (showIllusPhotog)!="undefined"){panelheight+=parseInt(showIllusPhotog);}gsearchprefs=ggetCookie("gsearchprefs");var _12a=" checked";var _12b=_12a;var _12c=_12b;var _12d=_12b;var _12e="";var _12f=_12b;var _130=_12b;var _131="";var _132="";var _133="";var _134=_12b;var _135="";var _136=_12b;var _137="";var _138="";var rmc="checked";var rfc=rmc;var _13b=" checked";var _13c=_13b;var _13d=" selected";var _13e="";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{_12a=" ";}if(gsearchprefs.indexOf("g")>=0){}else{_12b=" ";}if(gsearchprefs.indexOf("h")>=0){}else{_12d=" ";}if(gsearchprefs.indexOf("i")>=0){}else{_12c=" ";}}if(typeof (showIllusPhotog)!="undefined"){if(gsearchprefs.indexOf("1")<0&&gsearchprefs.indexOf("0")<0){}else{if(gsearchprefs.indexOf("1")<0){_13c=" ";}if(gsearchprefs.indexOf("0")<0){_13b=" ";}}}if(typeof (showSearchWithin)!="undefined"){if($("method")&&$F("method")=="within"){_13d="";_13e="selected";}else{_13d="selected";_13e="";}}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){_12f="";_12e="checked";}if(gsearchprefs.indexOf("c")>=0||gsearchprefs.indexOf("d")>=0||gsearchprefs.indexOf("e")>=0){if(gsearchprefs.indexOf("c")>=0){_130="";_131="";_132="checked";_133="";}if(gsearchprefs.indexOf("d")>=0){_130="";_131="checked";_132="";_133="";}if(gsearchprefs.indexOf("e")>=0){_130="";_131="";_132="";_133="checked";}}if(gsearchprefs.indexOf("a")>=0){_135="checked";_134="";}if(gsearchprefs.indexOf("m")>=0||gsearchprefs.indexOf("n")>=0||gsearchprefs.indexOf("o")>=0){if(gsearchprefs.indexOf("m")>=0){_136="checked";_137="";_138="";}if(gsearchprefs.indexOf("n")>=0){_136="";_137="checked";_138="";}if(gsearchprefs.indexOf("o")>=0){_136="";_137="";_138="checked";}}}var _13f="<form action=\"javasc"+"ript:g(); return false;\" method=get name=displaypanel id=displaypanel>";_13f+="<table cellspacing=0 cellpadding=10 border=0 width=100% height="+panelheight+">";_13f+="<tr><td valign=top align=left class=\"light1\">";_13f+="<b>ORIENTATION:</b><br>";_13f+="<table cellspacing=3 cellpadding=0 border=0><tr>";_13f+="<td><nobr><input type=checkbox name=orient value=horizontal onclick=javasc"+"ript:fsearchprefs(\"f\",\"add\"); "+_12a+"> Horizontal</nobr></td></tr>";_13f+="<tr><td><input type=checkbox name=orient value=vertical onclick=javasc"+"ript:fsearchprefs(\"g\",\"add\"); "+_12b+"> Vertical</td></tr>";_13f+="<tr><td><input type=checkbox name=orient value=panoramic onclick=javascr"+"ipt:fsearchprefs(\"h\",\"add\"); "+_12d+"> Panororamic</td></tr>";_13f+="<tr><td><input type=checkbox name=orient value=square onclick=javasc"+"ript:fsearchprefs(\"i\",\"add\"); "+_12c+"> Square</td></tr>";_13f+="</table><br>";_13f+="<b>COLOR:</b><br>";_13f+="<table cellspacing=3 cellpadding=0 border=0>";_13f+="<tr><td><nobr><input "+_136+" type=radio name=color value=\"\" onclick=javascr"+"ipt:fsearchprefs(\"color\",\"add\");> ANY</td></tr>";_13f+="<tr><td><nobr><input "+_137+" type=radio name=color value=color onclick=javascr"+"ipt:fsearchprefs(\"color\",\"add\");> COLOR</td></tr>";_13f+="<tr><td><input "+_138+" type=radio name=color value=gray onclick=javascr"+"ipt:fsearchprefs(\"color\",\"add\");> B/W</td></tr>";_13f+="</table>";if(typeof (rmonly)=="undefined"){_13f+="<BR><b>TYPE:</b><br>";_13f+="<table cellspacing=\"0\" cellpadding=\"3\" border=\"0\"><tr><td><font class=\"black2\"><nobr><input type=\"checkbox\" name=\"rmrftype\" value=\"RM\" "+rmc+" onclick=javascr"+"ipt:fsearchprefs(\"RM\",\"add\");> Rights Managed</nobr></font></td>";_13f+="</tr><tr><td><font class=\"black2\"><input type=\"checkbox\" name=\"rmrftype\" value=\"RF\" "+rfc+" onclick=javascr"+"ipt:fsearchprefs(\"RF\",\"add\");> Royalty Free</font></td></tr></table>";}_13f+="</td><td valign=top align=left class=\"light1\">";if(typeof (showIllusPhotog)!="undefined"){_13f+="<b>MEDIA:</b><br>";_13f+="<input type=\"checkbox\" name=\"searchinclude\" value=\"illustration\""+_13b+" onclick=javascr"+"ipt:fsearchprefs(\"1\",\"add\"); />Illustration<br/>";_13f+="<input type=\"checkbox\" name=\"searchinclude\" value=\"photography\""+_13c+" onclick=javascr"+"ipt:fsearchprefs(\"0\",\"add\"); />Photography<br/>";_13f+="<br/>";}if(typeof (suspendYesNoRestrictons)=="undefined"){_13f+="<b>RESTRICTIONS:</b><br>";_13f+="<input "+_12f+" type=radio name=restrictions value=\"\" onclick=javascr"+"ipt:fsearchprefs(\"norestrictions\",\"remove\");> ANY<br>";_13f+="<input "+_12e+" type=radio name=restrictions value=not+imagehasrestrictions  onclick=javascr"+"ipt:fsearchprefs(\"norestrictions\",\"add\");> NO RESTRICTIONS<br>";_13f+="<br>";}if(typeof (suspendWithPeople)=="undefined"){_13f+="<b>PEOPLE:</b><br>";_13f+="<input "+_130+" type=radio name=people value=\"\" onclick=javasc"+"ript:fsearchprefs(\"people\",\"remove\");> ANY<br>";_13f+="<input "+_131+" type=radio name=people value=withpeople onclick=javasc"+"ript:fsearchprefs(\"withpeople\",\"add\");> WITH PEOPLE<br>";_13f+="<input "+_132+" type=radio name=people value=nobody onclick=javascr"+"ipt:fsearchprefs(\"nobody\",\"add\");> WITHOUT PEOPLE<br>";_13f+="<input "+_133+" type=radio name=people value=withcrowd onclick=javascr"+"ipt:fsearchprefs(\"withcrowd\",\"add\");> CROWD<br>";}_13f+="<br><b>RELEASES:</b><br>";_13f+="<font class=small>";_13f+="<input "+_134+" type=radio name=xtrasql value=\"\" onclick=javascr"+"ipt:fsearchprefs(\"released\",\"remove\");> Any release status<br>";_13f+="<input "+_135+" type=radio name=xtrasql value=released onclick=javascr"+"ipt:fsearchprefs(\"released\",\"add\");> Only show released images<br>";if(typeof (showSearchWithin)!="undefined"){_13f+="<br/><b>METHOD:</b><br/>";_13f+="<nobr>&nbsp;<select id=\"method\" name=\"method\" class=\"smallmenu\" style=\"height:16px;\"><option value=\"new\" "+_13d+">as a new search</option><option value=\"within\" "+_13e+">within current results</option></select></nobr><br/>";}_13f+="<BR><a href=\"\" onclick=\"g(); return false;\"><img src=\"/graphics/button_go.gif\" alt=\"search\" border=\"0\"></a><BR><BR><A href=\"\" onclick=\"hidedisplaypanel(1); return false;\">[x] close search options panel</A>";_13f+="</td></tr></table>";var temp=Position.cumulativeOffset($("tablerow2"));center_panel(340,panelheight,_13f,temp[1]);Event.observe(document,"mousemove",getMouseXY);}function getMouseXY(e){if(browser!="Internet 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 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 displaypanelshow(){createDisplayPanel();$("displaypanellayer").style.zIndex="9991001";$("displaypanellayer").style.visibility="visible";new Effect.Appear("displaypanellayer",{duration:0.5});setTimeout("divshim(1);",200);}function divshim(twid){if(typeof ($)=="function"&&$("DivShim")){if(twid){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(mode){createCoverLayer();divshim(0);createDisplayPanel();if($("displaypanellayer").style&&$("displaypanellayer").style.visibility=="visible"){if(mode==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 coveroff(){createCoverLayer();$("coverlayer").style.visibility="hidden";}function buildpages(_146,_147,snum){suspendtrap=1;var _149="<table width=\"100%\"><tr><td valign=\"top\">";_149+="<NOBR><FONT class=page>";var _14a=parseInt(_146)+parseInt(snum)+1;var _14b=parseInt(_147)+parseInt(snum);if(Number(currentpagenum)>0){_149+="<A href=\"\" onclick=\"document.currentLayer1Mode='searchresults';prevpage(); return false;\"><FONT style=\"font-size:9pt;font-family: Arial;\">&#8592;</FONT> PREV PAGE</A>&nbsp;";}else{if(_14a<=total){_149+="<FONT style=\"font-family: Arial;color:#AAAAAA;\"><FONT style=\"9pt;\">&#8592;</FONT> PREV PAGE</FONT>&nbsp;";}}if(_14a<=total){_149+="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((snum)/(parseInt($F("pixperpage"))))+Math.ceil((total-snum)/(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){_149+="<OPTION VALUE=\""+nextlink+"snum="+((psn-2)*(parseInt(gpixperpagev)))+"\">&lt; "+(Number(psn)-1)+"</option>";}for(i=psn;i<=pen;i++){if(i==(Number(currentpagenum)+1)){_149+="<OPTION VALUE=\""+nextlink+"snum="+((i-1)*(parseInt(gpixperpagev)))+"\" SELECTED>"+i+"</option>";}else{_149+="<OPTION VALUE=\""+nextlink+"snum="+((i-1)*(parseInt(gpixperpagev)))+"\">"+i+"</option>";}}if(pen!=totalpages){_149+="<OPTION VALUE=\""+nextlink+"snum="+((Number(pen))*(parseInt(gpixperpagev)))+"\">&gt; "+(Number(pen)+1)+"</option>";}_149+="</select>";if(grange!="outofrange"){_149+="&nbsp;<A HREF=\"\" onclick=\"document.currentLayer1Mode='searchresults';nextpage(); return false;\">NEXT PAGE&nbsp;<FONT style=\"font-size:9pt;font-family: Arial;\">&#8594;</FONT></A></font>";}_149+="&nbsp;&nbsp;["+_14a+"-";if(_14b>parseInt(total)){_149+=total+"]&nbsp;of&nbsp;"+total;}else{_149+=_14b+"]&nbsp;of&nbsp;"+total;}_149+="</NOBR>";_149+="</td><td align=\"right\">";if(document.thisIsFeatureView){_149+="<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 _14c="<a onclick=\"return save_all_releases();\" href=\"\">Save All Releases</a> &nbsp;&nbsp; [ Set All: <a href=\"\" onclick=\"return share_set_page('shared'); \">Accepted</a> | <a href=\"\" onclick=\"return share_set_page('rejected'); \">Rejected</a> | <a href=\"\" onclick=\"return share_set_page('pending'); \">Pending</a>  &nbsp;|&nbsp;  <a onclick=\"return release_set_page('NOT RELEASED');\" href=\"\" title=\"NOT RELEASED\">NR</a> | <a onclick=\"return release_set_page('NOT APPLICABLE');\" href=\"\" title=\"NOT APPLICABLE\">NA</a> | <a onclick=\"return release_set_page('NOT RECOGNIZABLE');\" href=\"\" title=\"NOT RECOGNIZABLE\">NR</a> | <a onclick=\"return release_set_page('MODEL AND PROPERTY RELEASED');\" href=\"\" title=\"MODEL AND PROPERTY RELEASED\">MaPR</a> ]";$("Layerpreviews").innerHTML=_14c;}}_149+="</td></tr></table>";$("Layerpages").style.overflow="visible";MM_setTextOfLayer("Layerpages","",_149);}function buildimages(_14d,mode,_14f){if(typeof (cartview)!="undefined"&&cartview){return;}if(typeof (id)=="undefined"){return;}var _150=parseInt(_14d)+parseInt(snum)+1;var _151=$H({showstart:_150,snum:_14d,viewmode:viewmode,buildmode:mode,resized:_14f}).toJSON();try{YAHOO.util.History.navigate("nav",_151);}catch(e){dispatchAll(_151);}}function dispatchBuildimages(args){var _153=args["snum"];var mode=args["buildmode"];var _155=args["resized"];viewmode=args["viewmode"];$("Layer1").style.height=winH+"px";$("Layer1").style.overflow="hidden";if($("nav_total_images")){$("nav_total_images").innerHTML=id.length;}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(!MACIE5){var _156=Element.getOpacity("coverlayer");}if(_156>0.2){hidedisplaypanel();}suspendcheck=1;if(_153>1||_155==1){setuppagesize();}showstartnumber_trap=parseInt(_153);var _157=optimize();grange="legal";MM_setTextOfLayer("Layer1","","<CENTER> <BR><BR><BR><BR><BR><BR><BR><BR>loading ...</CENTER>");var cnt=_153;firstpictureonpage=_153;endnumber=parseInt(gpixperpagev)+parseInt(_153);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=/)))){_157+="&nbsp;&nbsp;<A href=\"\" 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"){_157+=htmlit_custom(cnt);}else{_157+=htmlit(cnt);}}else{if((snum+cnt)>=total){if(grange!="outofrange"){_157+="<span valign=bottom style=\"float:left;\"><div align=center valign=bottom style=\"width:130; height:50px; overflow: hidden;\">";if(pagetype=="lb"){_157+="<BR><nobr>&nbsp;[ end of lightbox images ]&nbsp;</nobr></DIV></SPAN> ";}else{_157+="<BR><nobr>&nbsp;[ end of search results ]&nbsp;</nobr></DIV></SPAN> ";}}grange="outofrange";}else{grange="illegalpage";}}cnt++;}if(snum+cnt==total){grange="outofrange";}if(grange=="illegalpage"){if(mode=="next"){var _159=(Number(snum)+Number(_153));var _15a=$H({showstart:1,snum:0,viewmode:viewmode,resized:_155}).toJSON();self.location=nextlink+"snum="+_159+"#nav="+_15a;MM_setTextOfLayer("Layer1","","<CENTER> <BR><BR><BR><BR><BR><BR><BR><BR>loading next set of images...</CENTER>");}else{prevtogoto=Number(snum)+Number(_153)-parseInt($F("pixperpage"));if(prevtogoto<0){prevtogoto=0;}var _15a=$H({showstart:1,snum:0,viewmode:viewmode,resized:_155}).toJSON();self.location=nextlink+"snum="+prevtogoto+"#nav="+_15a;}}else{MM_setTextOfLayer("Layer1","",_157);if(shsync[0]){setTimeout("init_share_radios()",1);}var _15b="<table style=\"position:absolute; z-index:999; top:-16px; right:4px; \" width=98% height=17 cellpadding=0 cellspacing=0 border=0><TR><TD align=left width=40%>";if((typeof (snum)!="undefined"&&Number(snum)>1)||(typeof (_153)!="undefined"&&Number(_153)>1)){_15b+="<nobr>&nbsp;&nbsp;<A HREF=javasc"+"ript:prevpage();><FONT style=\"font-size:9pt;font-family: Arial;\">&#8592;</FONT> PREV PAGE</A></nobr>";}else{_15b+="&nbsp;";}_15b+="</TD><TD align=\"middle\"  width=10%><center><nobr>"+footer()+"</nobr></center></TD><TD width=40% align=right>";if(grange!="outofrange"){_15b+="<nobr><A HREF='' onclick='nextpage(); return false;' name=bottomnext>NEXT PAGE <FONT style=\"font-size:9pt;font-family: Arial;\">&#8594;</FONT></A>&nbsp;&nbsp;</nobr></DIV>";}_15b+="</TD></TR></table>";$("pagingrow").innerHTML=_15b;lastimage=cnt;if($("pixperpage")){prestart=endnumber-1;preend=(lastimage+parseInt($F("pixperpage")));if(_153==0){var _15c=6000+parseInt($F("pixperpage")*30);self.setTimeout("preloadnextpage()",_15c);}else{var _15c=1000;self.setTimeout("preloadnextpage()",_15c);}}}}else{enlarge2(id[0],0);}currentpagenum=Math.ceil((Number(snum)+Number(_153))/parseInt($F("pixperpage")));buildpages(_153,endnumber,snum);iconstatus();}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 writesimilar(myid,_15e,_15f,_160,_161,mode,_163,_164){if(typeof (writesimilar_custom)=="function"){return writesimilar_custom(myid,_15e,_15f,_160,_161,mode,_163,_164);}else{return writesimilar_standard(myid,_15e,_15f,_160,_161,mode,_163,_164);}}function writesimilar_standard(myid,_166,_167,_168,_169,mode,_16b,_16c){_16b=(_16b||"");_16c=(_16c||"");var _16d=st[_166];var _16e=_16d.split(" ");var _16f=_16e[1].split(",");if(_16f.length>1){_16f=_16e[0]+" "+_16f.join(" ");_16e=_16f.split(" ");}var _170=_16e.length;if(mode=="normal"||mode=="huge"){if(parseInt(_170)<5){simindicator=_170;}else{simindicator=4;}}else{if(parseInt(_170)<4){simindicator=_170;}else{simindicator=3;}}var _171="";var _172=myid;var _173=myid;var _174=15;var _175=15;if(_169=="next"){var n=sw[_166];n++;sw[_166]=n;if(sw[_166]>=_170){sw[_166]=0;n=0;}_172=_16e[n];}else{if(_169=="prev"){var n=sw[_166];n--;sw[_166]=n;if(sw[_166]<0){sw[_166]=_170-1;n=_170-1;}_172=_16e[n];}}if(isNaN((sw[_166]+1))){sw[_166]=0;}var _177=172+adminheight;if(mode=="list"||mode=="editing"){_171+="<TABLE width=298 cellspacing=2 cellpadding=0 border0 height="+_177+"><TR><TD valign=top width=149 align=center>";}_171+="<table cellpadding=0 cellspacing=0 border=0><TR><TD colspan=2 align=right valign=bottom bgcolor=#c9c9c9 width=18 height=18>";_171+="<a href=\"javasc"+"ript:enlarge2('"+myid+"'"+","+"'"+_166+"', '"+_172+"');\" TITLE=\"ID:"+_172;if(showphotographer==1){"  \r&copy; "+_167;}if(showfilesize){_171+="  \rSIZE: "+myfilesize;}_171+="  \r"+"CAPTION: "+_168;if(mode=="huge"){_171+="\"><img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/420/60/"+_172+".JPG\" border=\"0\" alt=\"loading...\" height=\"190\"></a></TD>";}else{if(mode=="med"){_174=10;_175=14;_171+="\"><img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+_172+".JPG\" border=\"0\" vspace=\"0\" hspace=\"0\" alt=\"loading...\" height=72></a></TD>";}else{if(mode=="tiny"){_174=8;_175=12;_171+="\"><img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+_172+".JPG\" border=\"0\" vspace=\"0\" hspace=\"0\" alt=\"loading...\" height=45></a></TD>";}else{_174=12;_175=16;_171+="\"><img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+_172+".JPG\" border=\"0\" vspace=\"0\" hspace=\"0\" alt=\"loading...\"></a></TD>";}}}_171+="<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"){_171+="<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{_171+="<TD colspan=2 background=/graphics/similars_lc"+simindicator+".gif height=8></TD>";}_171+="<TD width=12 height=8 background=/graphics/similars_lr"+simindicator+".gif></TD></TR></TABLE>";if(mode=="normal"||mode=="med"||mode=="tiny"||mode=="large"){_171+="<Table cellpadding=0 cellspacing=0 border=0><TR><TD valign=top align=center>";}if(mode!="editing"){_171+="<DIV class=icons><a href=\"\" onclick=\"lightbox_addto('"+_172+"'); return false;\" class=iconlink title=\"Add to your current lightbox\">LB+</a>";_171+="<a href=\"\" onclick=\"return price_image('"+_172+"','"+rm[_172]+"');\" class=iconlink Title=\"Price Image\">$</a>";_171+="<a href=\"javasc"+"ript:enlarge2('"+_172+"'"+","+"'"+_166+"');\" class=iconlink title=\"Enlarge image and more info\"><font class=eye>i</font></a>";if(mode=="huge"){}else{if(mode=="list"){_171+="&nbsp;&nbsp;"+(_16b?"<a href=\""+_16b+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a>":"")+"</DIV>";}else{_171+="</DIV>";}}}if(mode=="med"||mode=="tiny"){_171+="<font class=xsmall>"+_172+"</font>";_171+="</TD><TD valign=top align=center width=40><nobr>";}if(mode=="list"||mode=="normal"||mode=="large"||mode=="editing"){_171+="</TD><TD valign=\"top\">";}_171+="<A HREF=\"\" onclick=\"writesimilar('"+_173+"','"+_166+"','";_171+=_167+"','";_171+=_168+"','prev','"+mode+"', '"+_16b+"','"+_16c+"'); return false;\" TITLE=\"show similars\">";_171+="<IMG SRC=\"/graphics/similars_prev.gif\" border=\"0\" hspace=\"1\" height=\""+_174+"\" width=\""+_175+"\" align=\"absmiddle\"></A>";if(mode=="list"||mode=="huge"||mode=="normal"||mode=="large"||mode=="editing"){_171+="<font class=xsmall>"+(sw[_166]+1)+" of "+_170+"</font>";}_171+="<A HREF=\"\" onclick=\"writesimilar('"+_173+"','"+_166+"','";_171+=_167+"','";_171+=_168+"','next','"+mode+"', '"+_16b+"','"+_16c+"'); return false;\" TITLE=\"show similars\">";_171+="<IMG src=\"/graphics/similars_next.gif\" border=\"0\" hspace=\"1\" height=\""+_174+"\" width=\""+_175+"\" align=\"absmiddle\"></A></nobr><BR>";if(mode=="med"||mode=="tiny"){_171+="<font class=xsmall>"+(sw[_166]+1)+" of "+_170+"</font>";}if(mode=="list"||mode=="editing"){_171+="<font class=xsmall>ID:"+_172;if(showphotographer==1){_171+="  <BR>&copy; "+currentYear+" "+_167;}if(showfilesize){_171+="<nobr>"+myfilesize+"</nobr>";}_171+=_16c+"<BR>CAPTION: "+_168+"</font><BR>";if(mode=="editing"){_171+="<br/><a href=\"\" onclick=\"launchwin('/SwishSearch?show_all=1&similar_to="+_172+"', 'edit sims', 600, 800, 100, 100); return false;\" title=\"Edit Similar Images\">Edit&nbsp;Similar&nbsp;Images</a>";}}if(mode=="huge"){_171+="</DIV>";}_171+="</td></TR></TABLE>";if(_16b){_171+="<a href=\""+_16b+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a>";}if(_169=="start"){return _171;}if(_169=="prev"){MM_setTextOfLayer("d"+_173,"",_171);}if(_169=="next"){MM_setTextOfLayer("d"+_173,"",_171);}}function currentpage(){if($("cdheader")){$("cdheader").style.display="block";}setuppagesize();if(document.currentLayer1Mode=="searchresults"){var _178=$H({snum:(firstpictureonpage?firstpictureonpage:0),viewmode:viewmode,buildmode:"",resized:""});dispatchBuildimages(_178);}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 _17a=(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 preloadnextpage(){preloadcurrent=prestart;preloadnextimg();}function preloadnextimg(){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 nextpage(){buildimages(lastimage,"next");}function prevpage(){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 _17d=$H({showstart:1,snum:0,viewmode:viewmode}).toJSON();self.location=nextlink+"snum="+prevtogoto+"#nav="+_17d;}else{buildimages(backpagestart,"prev");}}function footer(){if(typeof (customfooter)!="undefined"){return customfooter;}else{return Templates.footer__body.evaluate({currentyear:currentYear});}}function tellme(){setuppagesize();alert($F("pixperpage")+" browser is "+browser+" and os is "+OS+" width="+document.body.offsetWidth+","+self.innerWidth+","+winW+" winH="+winH+", truevertHeight="+truevertHeight);}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 prloadimg(prid,crop){if(!$("pimid")){document.body.appendChild(Builder.node("div",{id:"pimid",style:"position:absolute; top:-500px"}));}var _181=$H({id:"previewimg_"+prid,src:"/graphics/loading.png",border:0,alt:"Loading...",lowsrc:"/graphics/spacer.gif"});if(winH<450){smallscreen=1;if(typeof (crop)!="undefined"){if(crop=="panoramic"){_181["width"]=420;}else{if(crop=="vertical"){_181["height"]=((winH-100)<180)?180:(winH-100);}else{_181["height"]=((winH-142)<160)?160:(winH-142);}}}else{_181["height"]=135;}}else{smallscreen=0;}$("pimid").innerHTML="";$("pimid").style.visibility="hidden";var _182=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",_181)]),Builder.node("div",{id:"previewpane_metdat_"+prid},"")]),Builder.node("img",{src:"http://globaldyn.ipnstock.com/"+dynimagesname+"/420/60/"+prid+".JPG",style:"display:none",onload:"if($('previewimg_"+prid+"')) $('previewimg_"+prid+"').src = this.src"})])]);$("pimid").appendChild(_182);}function sp(oObj,_184,_185,mode){if(oObj.id){currMousedOverObj=oObj.id;}if(currMousedOverObj!=id[_185]){ajax_JSON("/AjaxHandlers/ImageInfo/"+_184+".json",getpost,null);}sp_act(oObj.id,_184,mode,_185,0);}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 sp_act(_188,_189,mode,dex,_18c){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((_188==currMousedOverObj)&&((document.ajaxLoaded&&_189==document.JSONobj.getImgDat("id"))||_189==id[dex])){var temp=true;gloCrop=(_189==id[dex]?crp[dex]:document.JSONobj.getImgDat("crop"));gloCrop=(gloCrop?gloCrop:"horizontal");var crop=gloCrop;if(smallscreen=="1"&&(crop=="panoramic"||crop=="vertical")){prloadimg(_189,crop);}var _18f=(_189==id[dex]?fs[dex]:document.JSONobj.getImgDat("file_size"));if(_18f<5){_18f="";}else{if(!_18f.toString().match(/[A-Za-z]/)){_18f+="Mb";}}var _190=(typeof (showdimensions)!="undefined"?(_189==id[dex]?dim[dex]:document.JSONobj.getImgDat("dimensions")):"");if(_190){var dimr=_190.match(/^(\d+)x(\d+)$/);if(dimr!=null&&dimr.length>1){_190="[&nbsp;"+dimr[1]+"px&nbsp;x&nbsp;"+dimr[2]+"px&nbsp;]";}}var _192=(_189==id[dex]?unescape(scp[dex]):document.JSONobj.getImgDat("short_caption"));if(_192&&_192.length>130){var tsc="";for(z=0;z<170;z++){var c=_192.charAt(z);if(temp==true){if((z>130)&&(c==".")){temp=false;tsc+=c+" ...";}else{if((z>150)&&(c==" ")){temp=false;tsc+=" ...";}else{tsc+=c;}}}}_192=tsc;}var _195="";if(typeof (o)=="object"&&typeof (o[dex])!="undefined"){_195=(_189==id[dex]?o[dex]:document.JSONobj.getImgDat("orig_id"));}else{_195=_189;}var _196=(_189==id[dex]?rm[dex]:document.JSONobj.getImgDat("rmrftype"));var _197=(_189==id[dex]?unescape(pho[dex]):document.JSONobj.getImgDat("photographer"));var _198=(_189==id[dex]?imr[dex]:document.JSONobj.getImgDat("image_restrictions"));_198=(_198?" :: <span style=\"color:#990000\"> This image has restrictions. Click to View </span>":"");var _199={imageid:_189,displayimageid:_195,rmrftype:_196,filesize:_18f,shortcaption:_192,dimensions:_190,photographer:_197,imagerestrictions:_198};$("previewpane_metdat_"+_189).innerHTML=Templates.sp_act__metadata.evaluate(_199);$("pimid").style.visibility="visible";new Effect.Appear($("pimid"),{duration:0.1});}else{if(_18c<10){_18c++;setTimeout("sp_act('"+_188+"', '"+_189+"', '"+mode+"', '"+dex+"', '"+_18c+"')",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 pfindmouse(e,sX,sY){if($("pimid")){var _1a1=pmousedelta[0];var _1a2=pmousedelta[1];mouseX=(sX||0);mouseY=(sY||0);var _1a3;if(typeof (event)=="undefined"){mouseX=Event.pointerX(e);mouseY=Event.pointerY(e);_1a3=e.target;}else{mouseX=Event.pointerX(event);mouseY=Event.pointerY(event);_1a3=event.target;}if(Math.abs(mouseX-document.mouseLocSnapX)>150||Math.abs(mouseY-document.mouseLocSnapY)>150){hp();}else{var _1a4=60;if(_1a3&&_1a3.nodeName=="IMG"){_1a4=Element.getDimensions(_1a3)["height"];}if((mouseX+Element.getDimensions($("pimid"))["width"])>winW){_1a1=(mouseX-Element.getDimensions($("pimid"))["width"]-pmousedelta[0]-45);}else{_1a1+=mouseX;}if(_1a1<0){_1a1=pmousedelta[0];}if((mouseY-Math.min(_1a4,420)+pmousedelta[1]-20)<document.body.scrollTop){_1a2=document.body.scrollTop-pmousedelta[1];if((_1a2+40)>winH){_1a2=(_1a2-Math.min(_1a4,420)+pmousedelta[1]);if(((_1a2+Math.max(_1a4,420)-document.body.scrollTop)-winH)>0){_1a2=_1a2-(typeof (event)=="undefined"?Math.min((_1a4+160),420):(gloCrop=="panoramic"||(gloCrop!=""&&gloCrop!="vertical")?190:380));}}}else{if((mouseY+Math.max(_1a4,420))>winH){_1a2=(mouseY-Math.min(_1a4,420)+pmousedelta[1]);if(((_1a2+Math.max(_1a4,420)-document.body.scrollTop)-winH)>0){_1a2=_1a2-(typeof (event)=="undefined"?Math.min((_1a4+160),420):(gloCrop=="panoramic"||(gloCrop!=""&&gloCrop!="vertical")?190:380));}if(_1a2<document.body.scrollTop){_1a2=document.body.scrollTop-pmousedelta[1];}}else{_1a2+=mouseY;if((_1a2+40)>winH){_1a2=(_1a2-Math.min(_1a4,420)+pmousedelta[1]);if(((_1a2+Math.max(_1a4,420)-document.body.scrollTop)-winH)>0){_1a2=_1a2-(typeof (event)=="undefined"?Math.min((_1a4+160),420):(gloCrop=="panoramic"||(gloCrop!=""&&gloCrop!="vertical")?190:380));}}}}$("pimid").style.left=parseInt(_1a1)+"px";$("pimid").style.top=parseInt(_1a2)+"px";}}}function dispatchAll(_1a5,init){var oC=(typeof (_1a5)=="object"?_1a5:_1a5.evalJSON());var fpop=(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<fpop){document.currentLayer1Mode=oC.viewmode;viewmode=oC.viewmode;oC["buildmode"]=oC["buildmode"]||"prev";dispatchBuildimages(oC);}else{if(oC.snum>fpop){document.currentLayer1Mode=oC.viewmode;viewmode=oC.viewmode;oC["buildmode"]=oC["buildmode"]||"next";dispatchBuildimages(oC);}else{if(oC.snum==fpop){document.currentLayer1Mode=oC.viewmode;viewmode=oC.viewmode;oC["buildmode"]=oC["buildmode"]||"current";dispatchBuildimages(oC);}}}}}}function reDispatch(){dispatchAll(YAHOO.util.History.getCurrentState());}function MM_setTextOfLayer(_1a9,x,_1ab){var obj=$(_1a9);if(obj!=null){if($("pagingrow")&&document.currentLayer1Mode!="searchresults"){$("pagingrow").innerHTML="";}if(document.layers){document.write(unescape(_1ab));document.close();}else{obj.innerHTML=unescape(_1ab);}}}function MM_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 toplightboxrefresh(){if(gsession){self.location="/SwishSearch?n=1&lb_view=1";}else{self.location="/bin/Cklb?ref=/SwishSearch?lb_view=1";}}function topcartrefresh(){if(gsession){self.location==(typeof (baseurl)!="undefined"?baseurl:"")+"/SwishSearch?n=1&cartview=1";}else{self.location=(typeof (baseurl)!="undefined"?baseurl:"")+"/bin/Cklb?ref=/SwishSearch?cartview=1";}}function displayWindow(url,_1b2,_1b3){if(navigator.appName=="Netscape"){_1b3=parseInt(_1b3)+16;}var Win=window.open(url,"displayWindow","width="+_1b2+",height="+_1b3+",resizable=1,scrollbars=yes,menubar=no,status=no");Win.focus();}function displayWindow2(url,_1b6,_1b7){var Win2=window.open(url,"displayWindow2","width="+_1b6+",height="+_1b7+",resizable=0,scrollbars=yes,menubar=no,status=no");Win2.focus();}function optimize(){var _1b9=60;var _1ba="";if(optimizemenu==1&&pagetype=="search"){if(_1b9<total){_1ba+="<TABLE cellspacing=0 cellpadding=1 border=0>";_1ba+="<FORM name=\"optimizer\" action=\"#\">";_1ba+="<TR><TD>";_1ba+="<SELECT NAME=\"narrow\" ONCHANGE=\"narrowit(this.form.narrow.options[this.form.narrow.selectedIndex].value);\" class=\"smallmenu\">";_1ba+="<OPTION VALUE=\"#\">Narrow your search results";_1ba+="<OPTION VALUE=\"colorgray\">Remove black and white images";_1ba+="<OPTION VALUE=\"colorrgb\">Remove color images";_1ba+="<OPTION VALUE=\"imagehasrestrictions\">Remove restricted images";_1ba+="<OPTION VALUE=\"orientationvertical\">Remove verticals";_1ba+="<OPTION VALUE=\"(orientationhorizontal+OR+orientationpanoramic)\">Remove horizontals";if(spec_idx!="ed"){_1ba+="<OPTION VALUE=\"lowres\">Remove small scans (< 30 Mb)";}_1ba+="<OPTION VALUE=\"agefiveyears\">Only show recent images (<5 yrs)";_1ba+="<OPTION VALUE=\"agetenyears\">Remove very old images (>10 yrs)";_1ba+="</SELECT></td></tr></form></table>";_1ba+="";}else{_1ba+="";_1ba+="<FORM name=\"optimizer\" action=\"#\"><SELECT NAME=\"narrow\" ONCHANGE=\"expandit(this.form.narrow.options[this.form.narrow.selectedIndex].value);\" class=\"smallmenu\">";_1ba+="<OPTION VALUE=\"#\">Expand your search results";_1ba+="<OPTION VALUE=\"deep\">Have IPN members perform a deep search";if(spec_idx!="ne"){_1ba+="<OPTION VALUE=\"expand\">Show me the broadest set of images";}_1ba+="</SELECT></form>";_1ba+="";}}return (_1ba);}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(_1bf){place=detect.indexOf(_1bf)+1;thestring=_1bf;return place;}function popkeys2(oId,oLbj){var _1c2=$(oId);if(_1c2){if(_1c2.style.display=="none"){_1c2.style.display="block";var _1c3;if($("lbbuttons")){_1c3=Position.cumulativeOffset($("lbbuttons"))[1];}else{_1c3=winH;}var _1c4=_1c3-Position.cumulativeOffset(_1c2)[1]+"px";_1c2.style.maxHeight=_1c4;_1c2.style.overflowY="auto";}else{_1c2.style.display="none";}}if(oLbj){if(oLbj.innerHTML=="Show keywords"){oLbj.innerHTML="Hide keywords";}else{if(oLbj.innerHTML=="Hide keywords"){oLbj.innerHTML="Show keywords";}}}}function gsetCookie(name,_1c6,_1c7,path,_1c9,_1ca){var _1cb=name+"="+escape(_1c6)+((_1c7)?"; expires="+_1c7.toGMTString():"")+((path)?"; path="+path:"")+((_1c9)?"; domain="+_1c9:"")+((_1ca)?"; secure":"");document.cookie=_1cb;}function ggetCookie(name){var dc=document.cookie;var _1ce=name+"=";var _1cf=dc.indexOf("; "+_1ce);if(_1cf==-1){_1cf=dc.indexOf(_1ce);if(_1cf!=0){return null;}}else{_1cf+=2;}var end=document.cookie.indexOf(";",_1cf);if(end==-1){end=dc.length;}return unescape(dc.substring(_1cf+_1ce.length,end));}function gdeleteCookie(name,path,_1d3){if(ggetCookie(name)){document.cookie=name+"="+((path)?"; path="+path:"")+((_1d3)?"; domain="+_1d3:"")+"; expires=Thu, 01-Jan-70 00:00:01 GMT";}}function gsetCookie2(_1d4,_1d5){gsetCookie(_1d4,_1d5,"","/",gGetCookieDom());}function gGetCookieDom(){var _1d6=document.domain;var _1d7=_1d6.split(".");var end=_1d7.length-1;var _1d9=_1d7.length-2;var _1da=_1d7[end];var _1db=_1d7[_1d9];var _1dc="."+_1db+"."+_1da;return _1dc;}function gSetBackpage(){}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 nada(){}function launchwin(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 _1e4=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(!_1e4.opener){_1e4.opener=(typeof (parent)!="undefined"?parent:self);}if(_1e4.focus){_1e4.focus();}}function hovercopyright(){if($("copyright")){if(typeof (customhovermessage)!="undefined"&&customhovermessage!=""){$("copyright").innerHTML=customhovermessage;}else{$("copyright").innerHTML=Templates.hovercopyright__text.evaluate({currentyear:currentYear,baseurl:baseurl});}}}function license(id){launchwin("/bin/Rates?calc_only=1&usage=1&ln="+id);}function twidle_price_img(_1e6,type,_1e8){setTimeout("twidle_price_img_delay("+_1e6+", '"+type+"', '"+_1e8+"')",10);return false;}function getVars(){if(!document.location.href.split("?")[1]){return;}var _1e9=document.location.href.split("?")[1].split("&");urlParams=new Object;for(var x=0;x<_1e9.length;x++){var tmp=_1e9[x].split("=");if(tmp[0]){urlParams[unescape(tmp[0])]=unescape(tmp[1]);}}}function twidle_price_img_delay(_1ec,type,_1ee){var _1ef="lic"+_1ec;if(document[_1ef].loaded=="true"){return;}if(type=="RF"){var _1f0=new Image();_1f0.src="/graphics/specify_filesize.gif";document[_1ef].src=_1f0.src;}if(_1ee=="$ 0.00"){}else{var _1f0=new Image();_1f0.src="/graphics/ready_to_license.gif";document[_1ef].src=_1f0.src;}document[_1ef].loaded="true";return true;}function debug(mmm,val){if(typeof (debugmode)!="undefined"&&debugmode=="yes"){alert(mmm+"="+val);}}