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";}}}}}if((yourOS=="Mac"&&yourBrowse=="NS")||(yourOS=="Mac"&&yourBrowse=="IE"&&ver5!="Yes")){document.write("<LINK rel=\"stylesheet\" href=\"/css/main2.css\" type=\"text/css\">");}else{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");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();}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+"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 _f="";if($("lightbox_new_name")){_f=$F("lightbox_new_name");}if(_f.length==0||_f.length>100){alert("Lightbox names must be between 1 and 100 characters long.");if(_f){_f="";}}else{if(test_valid_name(_f)){polllb();var lbs=make_lightbox_string(gusername,_f,[{id:1}]);currentlbname=_f;simplemessage("creating your lightbox "+_f+" <blink>.</blink>","","LB");ajax_JSON("/AjaxHandlers/LightboxNew/"+lbs+".json",getpost,null);}}}function lightbox_email_send(){var _11="/bin/Mail";var _12="ot=2&dsm=1&to_email="+$("to_email").value+"&mail_text="+escape($("mail_text").value);if($("allow_hrdl")&&$("allow_hrdl").checked==true){_12+=(typeof (emaillburladd)!="undefined"?emaillburladd:"");}if($("bill_to_customer")&&$("bill_to_customer").value.toString().length>0){_12+="&customer_id="+$("bill_to_customer").value;}if($("email_project")&&$("email_project").value.toString().length>0){_12+="&project="+$("email_project").value;}if($("email_notes")&&$("email_notes").value.toString().length>0){_12+="&notes="+$("email_notes").value;}if($("notify").checked==true){_12+="&notify=1";}if($("readonly").checked==true){_12+="&readonly=1";}ajax_TEXT(_11+"?"+_12,"GET");simplemessage("Sending your lightbox "+" <blink>.</blink>",0);}function lightbox_mod_act(_13){if(currentLbdivMode=="cart"){return false;}var _14=0;if(document.JSONobj&&document.JSONobj.getLbDat("lbname")){var _15=document.JSONobj.getLbDat("lbname");if(currentlbname==_15||!currentlbname){hidedisplaypanel(1);var _16=document.JSONobj.getLbDat("lblist");var lbl=document.JSONobj.getLbDat("lbnamelist");if(typeof (_16)!="array"&&typeof (_16)!="object"||!_16.length){_16=new Array(1);_16[0]={id:"1",rfcd:""};}document.currentlbstash=_16;currentlbname=_15;currentlblist=lbl;_14=0;lightbox_build(_16,_15,"",lbl);}else{_14=1;}}else{_14=1;}if(_14){setTimeout("lightbox_mod_act()",500);}}function simplemessage(m,_19,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(!_19){setTimeout("hidedisplaypanel(1);",700);}}function lightbox_email(_1b){if(_1b=="sent"){simplemessage("Lightbox Sent!"+"<blink>.</blink>");}else{if(_1b=="close"){hidedisplaypanel(1);}else{var _1c={emaillbaddhtml:(typeof (emaillbaddhtml)!="undefined"?emaillbaddhtml:" "),currentlbname:currentlbname};center_panel(390,280,Templates.lightbox_email__body.evaluate(_1c));}}}function cart_mod_act(_1d){_1d++;if(!document.JSONobj&&!document.TEXTresp&&_1d<10){setTimeout("cart_mod_act('"+_1d+"')",500);}else{hidedisplaypanel(1);cart_build();if(document.currentLayer1Mode=="cartview"){cart_display("view");}}}function cart_reprice(_1e){if(typeof (_1e)=="undefined"){_1e=$H({callback:"cart_mod_act(0)"});}else{if(_1e.callback&&_1e.callback.toString().length>1){_1e.callback+=" cart_mod_act(0);";}else{_1e.callback="cart_mod_act(0)";}}ajax_JSON("/AjaxHandlers/CartReprice/all.json","POST",_1e);}function cart_addto(id,_20){if(gsession){if(document.JSONobj.getCartDat&&typeof (_20)=="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 (_20)=="undefined"){_20=$H({callback:"cart_mod_act(0)"});}else{if(_20.callback&&_20.callback.toString().length>1){_20.callback+=" cart_mod_act(0);";}else{_20.callback="cart_mod_act(0)";}}document.TEXTresp=null;simplemessage("Adding image to Shopping Cart <blink>.</blink>","","LB");if(typeof (_20)=="object"&&_20.Size_opname){Object.extend(_20,{calc_rate:1});}ajax_JSON("/AjaxHandlers/CartAdd/"+id+".json","POST",_20);}else{window.location="/bin/Cklb?ref=/SwishSearch%3FKeywords%3D"+escape(ukeys)+"%26cartview%3D1&atct="+id;}}function cart_delete_license(id,_23){if(typeof (_23)!="object"){return;}simplemessage("Removing License from Image<blink>.</blink>","","LB");var _24=$A(_23.opts).join("|");if(_24.toString().length){_23.opts=_24;}if(_23.callback&&_23.callback.toString().length>1){_23.callback+=" cart_mod_act(0);";}else{_23.callback="cart_mod_act(0)";}ajax_JSON("/AjaxHandlers/CartDelLicense/"+id+".json","POST",_23);}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 _26=((typeof (mobject_id)!="undefined"&&mobject_id!="")?"mob="+mobject_id:"");var lbs=make_lightbox_string(gusername,currentlbname);currentlbname="";ajax_JSON("/AjaxHandlers/LightboxDelete/"+lbs+".json",getpost,_26);}function lightbox_rename(){var _28={currentlbname:currentlbname};center_panel(290,200,Templates.lightbox_rename__body.evaluate(_28));}function lightbox_rename_send(){var _29=$F("lightbox_new_name");if(_29.length==0||_29.length>100){alert("Lightbox names must be between 1 and 100 characters long.");_29="";}else{if(test_valid_name(_29)){simplemessage("renaming your lightbox "+_29+" <blink>.</blink>","LB");var _2a=((typeof (mobject_id)!="undefined"&&mobject_id!="")?"mob="+mobject_id:"");var lbs=make_lightbox_string(gusername,currentlbname,_29);ajax_JSON("/AjaxHandlers/LightboxRename/"+lbs+".json",getpost,_2a);currentlbname=_29;}}}function lightbox_change(_2c){currentLbdivMode="lightbox";cartview="";document.currentLbdivMode="lightbox";var lbs="";if(typeof (_2c)!="undefined"&&_2c.toString().length>0){simplemessage("Changing to Lightbox: "+_2c+"<blink>.</blink>","","LB");polllb();currentlbname=_2c;lbs=make_lightbox_string(gusername,_2c);}ajax_JSON("/AjaxHandlers/LightboxInfo/"+lbs+".json",getpost,null);}function lightbox_addto(id){if(gsession){var _2f=(typeof (document.currentlbstash)=="object"?1:0);var _30=(_2f?document.currentlbstash.pluck("id").join(" "):"");if(_30.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 _31=((typeof (mobject_id)!="undefined"&&mobject_id!="")?"mob="+mobject_id:"");var lbs=make_lightbox_string(gusername,currentlbname,id);ajax_JSON("/AjaxHandlers/LightboxAddTo/"+lbs+".json",getpost,_31);if(_2f){lightbox_build(document.currentlbstash);}}}else{self.location="/bin/Cklb?ref=/SwishSearch%3F"+escape(pre_q_args)+"&atlb="+id;}}function lightbox_delete_image_enl(_33,_34){var _35;var _36="";var _37=gusername;if(typeof (mobject_id)!="undefined"&&mobject_id!=""){var _38=new Array;_38=mobject_id.match(/^([^.]+)\.([^.]+)\.([^.]+)$/);_35=_38[3];_37=_38[2];_36=mobject_id;}else{if(typeof (pagetype)!="undefined"&&pagetype=="lb"){_35=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="+_33+"&rid="+feat_requestview,"GET",null);}else{ajax_TEXT("/bin/CreateLightbox?delid="+_33+"&vmo="+_36+"&uname="+_37+"&lbname="+_35,"GET",null);}for(var tt=0;tt<id.length;tt++){if(id[tt]==_33){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 _3a=$H({showstart:showstartnumber_trap+1,snum:showstartnumber_trap,viewmode:"lb",buildmode:"",resized:""}).toJSON();dispatchAll(_3a);}}if(_35==currentlbname&&(typeof (_34=="undefined")||_34!=1)){lightbox_delete_image(_33,1);}}function lightbox_delete_image(_3b,_3c){var nlb=new Array();var _3e="";var _3f="";for(var _40=0;_40<document.currentlbstash.length;_40++){if(document.currentlbstash[_40].id==_3b){var _41=_40;if(typeof (mobject_id)!="undefined"&&mobject_id!=""){var _42=new Array;_42=mobject_id.match(/^([^.]+)\.([^.]+)\.([^.]+)$/);_3e=_42[3];}else{if(typeof (pagetype)!="undefined"&&pagetype=="lb"){_3e=dsplkys;}}}else{nlb.push(document.currentlbstash[_40]);}}document.currentlbstash=nlb;if(_3e&&_3e!=""&&_3e==currentlbname&&_3c!=1){lightbox_delete_image_enl(_3b,1);}if(typeof (document.currentlbstash)!="undefined"&&document.currentlbstash.length==0){lightbox_delete();}else{var _43=((typeof (mobject_id)!="undefined"&&mobject_id!="")?"mob="+mobject_id:"");var lbs=make_lightbox_string(gusername,currentlbname,_3b);ajax_JSON("/AjaxHandlers/LightboxDelFrom/"+lbs+".json",getpost,_43);lightbox_build(document.currentlbstash);}}function lightbox_build(_45,_46,_47,lbl){if(cartview&&carnit){carnit=0;document.currentlbstash=_45;cart_build("changing");return;}hidedisplaypanel(1);if(typeof (_45)!="object"&&typeof (document.currentlbstash)=="undefined"){return;}else{if(typeof (document.currentlbstash)=="object"&&typeof (_45)!="object"){_45=document.currentlbstash;}}currentLbdivMode="lightbox";if(_46){currentlbname=_46;}if(lbl){currentlblist=lbl.split("|");}if(_47){scr=_47;}var _49=Position.cumulativeOffset($("LBdiv"));var _4a=winH-_49[1]-18;document.currentlbstash=_45;if($("LBdiv")){var _4b=$A([]);_4b.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 _4c=$A([]);if(currentlblist&&currentlblist.length>0){var _4d=0;$A(_45).each(function(_4e){if(_4e.id==1){_4d=1;}});var _4f=(_4d?(_45.length-1):_45.length);_4c.push(Builder.node("b",{},currentlbname+" Lightbox"),"  ("+_4f+")  ",Builder.node("b",{},"Change to  "));var _50=document.createElement("select");_50.setAttribute("name","n");_50.setAttribute("id","lightbox_menu");_50.setAttribute("class","smallmenu");_50.onchange=function(){lightbox_change(this.options[this.selectedIndex].value);};for(var i=0;i<currentlblist.length;i++){if(currentlblist[i]!=""){var _52;_52=document.createElement("option");_52.setAttribute("value",currentlblist[i]);_52.appendChild(document.createTextNode(currentlblist[i].substring(0,25)+(currentlblist[i].length>25?"...":"")));if(currentlblist[i]==currentlbname){_52.setAttribute("selected","selected");}_50.appendChild(_52);}}_4c.push(_50);}var _53="";var _54="";var _55="";var _56="";var _57="";var _58="";var _59="";var _5a="";var _5b="";if(winW>832){_53="New Lightbox";_54="View Expanded Lightbox";_55="Email Lightbox";_56="Add Lightbox to Cart";_57="Delete Lightbox";_58="Rename Lightbox";_59="Make LB a Feature";_5a="Copy LB to User";_5b="Resort LB";}else{_53="New LB";_54="View LB";_55="Email LB";_56="Add LB to Cart";_57="Delete LB";_58="Rename LB";_59="Make Feature";_5a="Copy LB";_5b="Sort";}_4c.push(Builder.node("a",{"href":"","class":"lblink","onclick":"lightbox_new(); return false;"},_53)," | ",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"},_54)," | ",Builder.node("a",{"href":"","class":"lblink","onclick":"lightbox_email(); return false;"},_55)," | ",Builder.node("a",{"href":"","class":"lblink","onclick":"lightbox_add2cart(); return false;"},_56)," | ",Builder.node("a",{"href":"","class":"lblink","onclick":"lightbox_delete(); return false;"},_57)," | ",Builder.node("a",{"href":"","class":"lblink","onclick":"lightbox_rename(); return false;"},_58));if(typeof (makelightboxfeature)!="undefined"){_4c.push(" | ",Builder.node("a",{"href":"","class":"lblink","onclick":"launchwin('"+makelightboxfeature+currentlbname+"', 'make feature', 500, 400, 100, 100); return false;"},_59));}if(typeof (copylightboxtouser)!="undefined"){_4c.push(" | ",Builder.node("a",{href:"","class":"lblink","onclick":"launchwin('"+copylightboxtouser+"', 'copy_lightbox', 300, 300, 300, 400); return false;"},_5a));}if(typeof (enlargedlbsort)!="undefined"){_4c.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;"},_5b));}if(viewmode=="editing"){_4c.push(" | ",Builder.node("a",{"href":"","class":"lblink","onclick":"showhideLB(); return false;",style:"cursor:pointer"},"[+|-]"));}var _5c="block";if(lbdisplaymode&&viewmode=="editing"){_5c="none";}_4b.push(Builder.node("div",{"id":"lblinks","class":"lbname lbscroll","style":"overflow: auto; overflow-y:hidden"},[Builder.node("nobr",{},_4c)]));var _5d=$A([]);var _5e=30;if(_45.length>0){if(_5c=="block"){_5e=130;}else{if(_5c=="none"){_5e=40;}}var _5f="hidden";var _60=parseInt(winW/79);var _61="100%";if(_60<_45.length){_5f="scroll";_61=79*_45.length;_61=_61+"px";}var _62=50;if(truevertHeight<340){vlim=25;}else{if(truevertHeight<450){vlim=35;}else{vlim=58;}}for(lbi=0;lbi<_45.length;lbi++){if(_45[lbi].id==""){continue;}lbid=_45[lbi].id;if((lbid==1&&_45.length<2)||lbid!=1){var _63={"className":"lblink","title":"Enlarge this image"};var _64={"id":"dlb"+lbi+"s_lbi"};if(_45[lbi].rfcd&&_45[lbi].rfcd.toString().length){var pm=unescape(_45[lbi].rfcd.toString()).match(/SwishSearch\?n\=1\&fn\=(.*)\&supst\=cd/);if(pm!=null){var _66=pm[1];_63.href="/SwishSearch?n=1&fn="+_66+"&supst=cd";_64.href="/SwishSearch?n=1&fn="+_66+"&supst=cd";}}else{_63.href="";_63["onclick"]="hp(); enlarge2('"+lbid+"','"+lbi+"'); return false;";_64.href="";_64.onclick="if (suspendpreviews==0) { hp(); enlarge2('"+lbid+"', '"+lbi+"'); } return false;";}var _67=(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",_63,"+")]):"");_5d.push(Builder.node("div",{"id":"dlb_"+lbi,"name":"dlb_"+lbi,"style":"float:left; height:"+(_62+18)+"px; overflow:hidden","align":"center"},[Builder.node("a",_64,[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:_62,className:"lbimg","hspace":2})]),Builder.node("br"),_67]));}}}else{if(currentlbname){_5d.push(Builder.node("div",{"id":"dlb_0","name":"dlb_0","style":"float:left; height:"+(_62+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:_62,className:"lbimg","hspace":2})])]));}}_4b.push(Builder.node("div",{"class":"lbscroll","style":"position: relative; overflow:"+_5f+"; overflow-y:hidden; height:"+(_5e-50)+"px;"},[Builder.node("div",{"id":"LBimgdiv","style":"position:absolute; left:0; top:0; padding: 1px 0 0 0; height:"+(_5e-30)+"px; width:"+_61+"; display:"+_5c+";"},[_5d])]));$("LBdiv").replace("<div id=\"LBdiv\"></div>");$("LBdiv").innerHTML="";$("LBdiv").style.height=_5e+"px";_4b.each(function(_68){$("LBdiv").appendChild(_68);});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";$("LBdiv").style.height="40px";$("LBimgdiv").hidden=1;gsetCookie("ghidelightbox","1","","/",gGetCookieDom());}currentpage();}function polllb(_69,_6a){var lbs=make_lightbox_string(gusername,currentlbname,(typeof (document.currentlbstash)!="undefined"?document.currentlbstash:1));var _6c=((typeof (mobject_id)!="undefined"&&mobject_id!="")?"mob="+mobject_id:"");var _6d=getpost;if(typeof (document.currentlbstash)=="object"&&document.currentlbstash.length>50){var _6e=document.currentlbstash.pluck("id").reverse().join("|");if(_6c){_6c+="&";}_6c+="payload="+_6e;_6d="POST";}ajax_JSON("/AjaxHandlers/LightboxSave/"+lbs+".json",_6d,_6c);}function make_lightbox_string(_6f,_70,_71){var _72="";if(typeof (_71)=="object"){_72=_71.pluck("id");}else{_72=[_71];}_72=_72.reverse();var _73=_72.join("|");if(_73&&_73.length>500){_73="";}var _74=_6f+"|||"+_70+(_73?"||"+_73:"");return _74;}function make_share_control_string(id,_76){if(typeof id==="object"&&id.length){id=id.join("|");}var _77=id+"|||"+_76;return _77;}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 _78=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)){_78=0;}}else{_78=0;}}}else{_78=0;}if(_78==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(_79){if(document.cart_display_lock){return;}var _7a=$H({showstart:"cartview",snum:firstpictureonpage,viewmode:"cartview",flp:_79}).toJSON();if(_79){dispatchAll(_7a);}else{try{YAHOO.util.History.navigate("nav",_7a);}catch(e){dispatchAll(_7a);}}}function dispatchCart_display(_7b){if(typeof (_7b)!="object"){return;}var _7c=_7b["flp"];document.cart_display_lock=1;document.currentLayer1Mode="cartview";if($("cdheader")){$("cdheader").style.display="none";}if(!_7c){_7c="view";}ajax_HTML("Layer1","/bin/Cart?op="+_7c,"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(_7d){currentLbdivMode="cart";$("LBdiv").style.height="130px";if(_7d=="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 _7e=$A([]);var _7f=document.JSONobj.getCartDat("total");_7e.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  "+(_7f?_7f:0)+" images "),nodeTree.cart_build_act__actions,]));if(document.JSONobj.getCartDat("total")>0){var _80=parseInt((winW*0.65)/document.JSONobj.getCartDat("total"));if(winH<340){vlim=25;}else{if(winH<450){vlim=35;}else{vlim=58;}}if(_80>vlim){_80=vlim;}else{if(_80<18){_80=18;}}var _81=$A([]);for(cti=0;cti<document.JSONobj.getCartDat("total");cti++){ctimid=document.JSONobj.getImgDat("id",cti);ctid=document.JSONobj.getCartDat("id",cti);_81.push(Builder.node("div",{align:"center",id:"dct"+cti+"s",name:"dct"+cti+"s",valign:"bottom",style:"float:left; height:"+(_80+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:_80,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")])]));}_7e.push(Builder.node("div",{id:"LBimgdiv",style:"padding:6px 0 0 3px; height: 100%"},[_81,Builder.node("br",{style:"clear:both"})]));var _82=new Date();_82.setTime(_82.getTime()+(60*24*60*60*1000));gsetCookie("gcartimages",cti,_82,"/",gGetCookieDom());}$("LBdiv").replace("<DIV id=\"LBdiv\"></DIV>");_7e.each(function(_83){$("LBdiv").appendChild(_83);});}}function gfixDate(_84){var _85=new Date(0);var _86=_85.getTime();if(_86>0){_84.setTime(_84.getTime()-_86);}}function g(){if(typeof (g_custom)=="function"){g_custom();}else{g_standard();}}function g_standard(){var _87=$F("Keywords");var _88;if($("Username")){_88=$F("Username");}pagetype="search";var _89="";if(typeof (q_args)!="undefined"&&q_args){_89=q_args.match(/Keywords=(.*?)(\&|$)/);if(typeof (_89)!="undefined"&&_89&&_89.length>1){_89=_89[1];}else{_89="";}_89=unescape(_89);}if(_87.length<1&&_89.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(_89.length>0&&(_87.length<1||_87=="enter keywords")){_87=_89;$("Keywords").value=_87;}if((EAD("share_control_sphotog")||EAD("share_control_status")||EAD("share_control_view")||EAD("share_control_release"))&&_87=="enter keywords"){_87="";}var _8a="";if($("method")&&typeof ($("method").value)!="undefined"&&$("method").value=="within"){_8a="/SwishSearch?Keywords="+q_id+"&ex_keys="+_87;}else{_8a="/SwishSearch?Keywords="+_87;}if($("displaypanel")){if(typeof (suspendWithPeople)=="undefined"&&$("displaypanel").people){if($("displaypanel").people[1].checked==true){_8a+="+haspeople";}if($("displaypanel").people[2].checked==true){_8a+="+nobody";}if($("displaypanel").people[3]&&$("displaypanel").people[3].checked==true){_8a+="+hascrowd";}}if($("displaypanel").custom){$A($("displaypanel").custom).each(function(itm){_8a+="+"+itm.value;});}if($("displaypanel").outline){if($("displaypanel").outline[0].checked==true){_8a+="+outlinable";}else{if($("displaypanel").outline[1].checked==true){_8a+="+not+outlinable";}}}if(typeof (suspendYesNoRestrictons)=="undefined"&&$("displaypanel").restrictions){if($("displaypanel").restrictions[1].checked==true){_8a+="+NOT+imagehasrestrictions";}}if($("displaypanel").xtrasql&&$("displaypanel").xtrasql[1].checked==true){_8a+="&xtrasql=(releasedmodel+or+releasedproperty+or+releasednotapplicable+or+releasedmodelandproperty)";}var _8c=1;$A($("displaypanel").orient).each(function(itm){if(!itm.checked){_8c=0;}});if(!_8c){if($("displaypanel").orient[0].checked==true){_8a+="&orient=horizontal";}if($("displaypanel").orient[1].checked==true){_8a+="&orient=vertical";}if($("displaypanel").orient[2].checked==true){_8a+="&orient=panoramic";}if($("displaypanel").orient[3].checked==true){_8a+="&orient=square";}}if($("displaypanel").rmrftype){if($("displaypanel").rmrftype[0].checked==true&&$("displaypanel").rmrftype[1].checked==false){_8a+="&searchinclude=RM";}if($("displaypanel").rmrftype[1].checked==true&&$("displaypanel").rmrftype[0].checked==false){_8a+="&searchinclude=RF";}}if($("displaypanel").color){if($("displaypanel").color[1].checked==true){_8a+="&color=color";}if($("displaypanel").color[2].checked==true){_8a+="&color=gray";}}if(typeof (showIllusPhotog)!="undefined"){if($("displaypanel").searchinclude[0].checked==true&&$("displaypanel").searchinclude[1].checked==false){_8a+="&searchinclude=illustration";}if($("displaypanel").searchinclude[1].checked==true&&$("displaypanel").searchinclude[0].checked==false){_8a+="&searchinclude=photography";}}}if($("spec_idx")){if($("spec_idx").selectedIndex==1){_8a+="&spec_idx=ed";}if($("spec_idx").selectedIndex==2){_8a+="&spec_idx=ne";}}if(EAD("share_control_sphotog")){_8a+="&site="+$F("share_control_sphotog");}if(EAD("share_control_status")){_8a+="&status_view="+$F("share_control_status");}if(EAD("share_control_view")){_8a+="&view="+$F("share_control_view");}if(EAD("share_control_release")){_8a+="&release_view="+$F("share_control_release");}if(_88&&_88!=""){_8a+="&Username="+encodeURI(_88);}gsetCookie("gwhichstartpage","","","/",gGetCookieDom());if(_87!="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 "+_87+" <blink>.</blink></font></B></TD></TR></TABLE>");self.location=_8a;}else{alert("You must first type in keywords to search for.");document.isn.Keywords.focus();}}}function gwhichindex(_8e){gsetCookie("gwhichindex",_8e,"","/",gGetCookieDom());}function fsearchprefs(val,_90){var _91=ggetCookie("gsearchprefs");if(_91){}else{_91=new String(" ");}var _92=new String("");if(val=="released"&&_90=="remove"){}else{if((_91.indexOf("a")>=0)||(val=="released"&&_90=="add")){_92+="a";}}if(val=="norestrictions"&&_90=="remove"){}else{if((_91.indexOf("b")>=0)||(val=="norestrictions"&&_90=="add")){_92+="b";}}if(val=="people"&&_90=="remove"){}else{if(((_91.indexOf("c")>=0)&&(val!="withpeople")&&(val!="withcrowd"))||(val=="nobody"&&_90=="add")){_92+="c";}else{if(((_91.indexOf("d")>=0)&&(val!="withcrowd"))||(val=="withpeople"&&_90=="add")){_92+="d";}else{if((_91.indexOf("e")>=0)||(val=="withcrowd"&&_90=="add")){_92+="e";}}}}if(document.displaypanel.orient){if(document.displaypanel.orient[0]&&document.displaypanel.orient[0].checked==true){_92+="f";}if(document.displaypanel.orient[1]&&document.displaypanel.orient[1].checked==true){_92+="g";}if(document.displaypanel.orient[2]&&document.displaypanel.orient[2].checked==true){_92+="h";}if(document.displaypanel.orient[3]&&document.displaypanel.orient[3].checked==true){_92+="i";}}if(typeof (rmonly)=="undefined"&&document.displaypanel.rmrftype){if(document.displaypanel.rmrftype[0]&&document.displaypanel.rmrftype[0].checked==true){_92+="j";}if(document.displaypanel.rmrftype[1]&&document.displaypanel.rmrftype[1].checked==true){_92+="k";}}if(document.displaypanel.color){if(document.displaypanel.color[0].checked==true){_92+="m";}if(document.displaypanel.color[1].checked==true){_92+="n";}if(document.displaypanel.color[2].checked==true){_92+="o";}}if(typeof (showIllusPhotog)!="undefined"){if(document.displaypanel.searchinclude[0].checked==true){_92+="0";}if(document.displaypanel.searchinclude[1].checked==true){_92+="1";}}gsetCookie("gsearchprefs",_92,"","/",gGetCookieDom());}function greleasedselect(_93){gsetCookie("greleasestatus",_93,"","/",gGetCookieDom());}function htmlit(_94){var _95="";switchpage=false;if(id[_94]){var _96=rm[_94];myid=id[_94];mysimilarto=st[_94];if(typeof (scp)!="undefined"&&(viewmode=="list"||viewmode=="editing")){myshortcaption=unescape(scp[_94]);}else{myshortcaption="n/a";}var _97=true;var _98="";var _99="";if(!relcon[_94]){_99=rel[_94];}if(typeof (relcon)!="undefined"&&relcon[_94]&&mysimilarto.length<13){var _9a=_99;_9a=_9a.substring(0,16)+(_99.length>16?"...":"");_99="<div id=\"shortrel"+_94+"\">Release: "+_9a+"</div> <div>  <form id=\"releasecontrol"+_94+"\" > "+relcon[_94]+" <input type=\"hidden\" name=\"shdex\" value=\""+_94+"\"/></form> <a href=\"\" onclick=\"sor("+_94+"); return false;\" >Save Release</a></div>";}else{if(showrelease){if(!(_99=="MODEL RELEASED"||_99=="MODEL AND PROPERTY RELEASED"||_99=="PROPERTY RELEASED")){_99="Release: "+_99;}if(typeof (relcon)!="undefined"&&relcon[_94]&&mysimilarto.length<13){_99="<br/>"+_99;}}else{_99="";}}if(myshortcaption.length>90){for(z=0;z<130;z++){var c=myshortcaption.charAt(z);if(_97==true){if((z>90)&&(c==".")){_97=false;_98+=c+" ...";}else{if((z>110)&&(c==" ")){_97=false;_98+=" ...";}else{_98+=c;}}}}myshortcaption=_98;}var _9c="yes";myphotographer=pho[_94];myrglobaldynf=rm[_94];myfilesize=fs[_94];var _9d=hrdl[_94];var _9e=html_share_con_opts(_94);var _9f=html_weight_con_opts(_94);var _a0=html_combined_con_opts(_94);var _a1="";if(rfcd[_94].match(myid)){var pm=unescape(rfcd[_94]).match(/SwishSearch\?n\=1\&fn\=(.*)\&supst\=cd/);if(pm!=null){_a1=pm[1];}}adminheight=0;if(_9d){if(viewmode!="editing"){adminheight=11;}}if(myfilesize<5){myfilesize="Scan on Demand";}if(myid.length>9){if(o[_94]){displayid=o[_94];}else{displayid=myid;}if(viewmode=="editing"){var _a3=160+adminheight;var _a4=unescape(shsync[_94]);_a4=_a4.split("|");var _a5="white";if(_a4[0]=="shared"){_a5="#77BB33";}else{if(_a4[0].toString().match(/notshared|rejected/)){_a5="#DF0000";}}var _a6="white";if(parseInt(_a4[1])){_a6="orange";}if(mysimilarto.length<13){_95+="<span id=\"cellwrapper"+myid+"\" valign=bottom style=\"float:left;background-color:"+_a6+"; padding:0 6px; 0 6px\">";_95+="<div id=\"d"+myid+"\" align=center valign=bottom style=\" background-color:"+_a5+"; width:288px; height:"+_a3+"px;\">";_95+="<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+"'"+","+"'"+_94+"');\"><img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+myid+".JPG\" border=0 class=pimg vspace=2 hspace=3";_95+=" onmouseover=\"prloadimg('"+myid+"'); sp(this, '"+myid+"','"+_94+"','"+tset+"');";_95+="\" onmouseout=\"hp();\" id="+myid+">";_95+="</a>";_95+=_a0+_9e;_95+="</div></TD><TD valign=\"top\"><font class=xsmall>ID:"+myid;if(typeof (suppressrmrftype)=="undefined"){_95+="  <font class=rmrfindicator>"+rm[_94]+"</font>";}_95+="<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=/)))){_95+="<A href=\"javascript:lightbox_delete_image_enl('"+myid+"');\" class=\"lblink\" TITLE=\"Remove this image from the lightbox\">X</A>";}_95+="</DIV>";myphotographer=unescape(myphotographer);if(myphotographer.length>18){myphotographer=myphotographer.substring(0,18)+"...";}if(showphotographer==1){_95+="&copy; "+currentYear+" "+myphotographer;}_95+="  <nobr>";if(showfilesize){_95+=myfilesize;}_95+="</nobr><br/>CAPTION: "+myshortcaption+"<div>"+_99+"</div></font>";_95+=_9f;if(_9d){_95+="<br/><NOBR><a href=\""+_9d+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a></NOBR>";}_95+="<br/><a href=\"\" ONCLICK=\"lightbox_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add to your current lightbox\">LB+</a>";_95+="</TD></TR></TABLE></DIV></span></SPAN>";}else{_95+="<span id=\"cellwrapper"+myid+"\" valign=bottom style=\"float:left;background-color:"+_a6+"; padding:0 6px; 0 6px;\">";_95+="<div id=\"d"+myid+"\" align=center valign=bottom style=\" background-color:"+_a5+"; width:288px; height:"+_a3+"px;\">";_95+=writesimilar(myid,_94,myphotographer,myshortcaption,"start","editing",_9d,_99);_95+="</DIV></span></SPAN>";}}else{if(viewmode=="list"){var _a3=172+adminheight;if(mysimilarto.length<13){_95+="<span id=\"cellwrapper"+_94+"\" valign=bottom style=\"float:left;\">";_95+="<div align=center valign=bottom style=\"width:305px; height:"+_a3+"px;\">";_95+="<TABLE width=298 cellspacing=2 cellpadding=0 border0><TR><TD valign=top>";if(_a1){_95+="<a href=\"/SwishSearch?n=1&fn="+_a1+"&supst=cd\" >";}else{_95+="<a href=\"\" onclick=\"hp(); enlarge2('"+myid+"'"+","+"'"+_94+"'); return false;\">";}_95+="<img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+myid+".JPG\" border=0 class=pimg vspace=2 hspace=3";_95+=" onmouseover=\"prloadimg('"+myid+"'); sp(this, '"+myid+"','"+_94+"','"+tset+"');";_95+="\" onmouseout=\"hp();\" id="+myid+">";_95+="</a><BR>";if(_9d){_95+="<center><a href=\""+_9d+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a></center>";}_95+="</TD><TD valign=\"top\"><font class=xsmall>ID:"+displayid;if(typeof (suppressrmrftype)=="undefined"){_95+="  <font class=rmrfindicator>"+rm[_94]+"</font>";}_95+="<DIV class=icons>";if(!_a1&&((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=/))))){_95+="<A href=\"\" onclick=\"lightbox_delete_image_enl('"+myid+"'); return false;\" class=\"lblink\" TITLE=\"Remove this image from the lightbox\">X</A>";}_95+="<a href=\"\" ONCLICK=\"lightbox_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add to your current lightbox\">LB+</a>";if(gsession){_95+="<a href=\"\" ONCLICK=\"cart_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add this image to your shopping cart\">CART+</a>";}_95+="<a href=\"\" ONCLICK=\"return price_image('"+myid+"','"+_96+"');\" class=\"iconlink\" Title=\"Price Image\">$</a>";if(!_a1){_95+="<a href=\"\" ONCLICK=\"enlarge2('"+myid+"'"+","+"'"+_94+"'); return false;\" class=iconlink title=\"Enlarge image and more info\"><font class=eye>i</font></a>";}_95+="</DIV>";if(showphotographer==1){_95+="<BR>&copy; "+currentYear+" "+myphotographer;}_95+="  <nobr>";if(showfilesize){_95+=myfilesize;}_95+="</nobr><br/>CAPTION: "+myshortcaption+"<div>"+_99+"</div></font>";_95+="</TD></TR></TABLE></DIV></SPAN>";}else{_95+="<span valign=bottom style=\"float:left;\">";_95+="<div id=\"d"+myid+"\" align=center valign=bottom style=\"width:305px; height:"+_a3+"px;\">";_95+=writesimilar(myid,_94,myphotographer,myshortcaption,"start","list",_9d,_99);_95+="</DIV></SPAN>";}}else{if(viewmode=="tiny"){var _a3=100+adminheight;if(mysimilarto.length<13){_95+="<span valign=bottom style=\"float:left;\">";_95+="<div align=center valign=bottom style=\"width:95px; height:"+_a3+"px; overflow: hidden;\">";if(_a1){_95+="<a href=\"/SwishSearch?n=1&fn="+_a1+"&supst=cd\" ";}else{_95+="<a href=\"\" onclick=\"hp(); enlarge2('"+myid+"'"+","+"'"+_94+"'); return false;\"";}if(document.page.previews.selectedIndex==1){_95+=" TITLE=\"ID:"+displayid;if(showphotographer==1){_95+="\r&copy; "+myphotographer;}if(showfilesize){_95+="\rSIZE: "+myfilesize;}_95+=" \r"+"CAPTION: "+myshortcaption+"\"";}_95+="><img src=http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+myid+".JPG border=0 class=pimg vspace=1 hspace=1 height=55";_95+=" onmouseover=\"prloadimg('"+myid+"'); sp(this, '"+myid+"', '"+_94+"','"+tset+"');";_95+="\" onmouseout=\"hp();\" id="+myid+">";_95+="</a><BR>";_95+="<DIV class=icons>";if(!_a1&&((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=/))))){_95+="<A href=\"\" onclick=\"lightbox_delete_image_enl('"+myid+"'); return false;\" class=\"iconlinktiny\" TITLE=\"Remove this image from the lightbox\">X</A>";}_95+="<a href=\"\" ONCLICK=\"lightbox_addto('"+myid+"'); return false;\" class=\"iconlinktiny\" title=\"Add to your current lightbox\">LB+</a>";if(gsession){_95+="<a href=\"\" ONCLICK=\"cart_addto('"+myid+"'); return false;\" class=\"iconlinktiny\" title=\"Add this image to your shopping cart\">CART+</a>";}_95+="<a href=\"\" ONCLICK=\"return price_image('"+myid+"','"+_96+"');\" class=\"iconlinktiny\" Title=\"Price Image\">$</a>";if(!_a1){_95+="<a href=\"\" ONCLICK=\"enlarge2('"+myid+"'"+","+"'"+_94+"'); return false;\" class=\"iconlinktiny\" title=\"Enlarge image and more info\"><font class=eye>i</font></a>";}_95+="</DIV>";_95+="<DIV class=imidxxsmall>"+displayid;if(typeof (suppressrmrftype)=="undefined"){_95+="  <font class=rmrfindicator>"+rm[_94]+"</font>";}_95+="</DIV>";if(_9d){_95+="<a href=\""+_9d+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a>";}_95+="</DIV></SPAN>";}else{_95+="<span valign=bottom style=\"float:left;\">";_95+="<div id=\"d"+myid+"\" align=center valign=bottom style=\"width:95px; height:"+_a3+"px; overflow:hidden;\">";_95+=writesimilar(myid,_94,myphotographer,myshortcaption,"start","tiny",_9d,_99);_95+="</DIV></SPAN>";}}else{if(viewmode=="med"){var _a3=130+adminheight;if(mysimilarto.length<13){_95+="<span valign=bottom style=\"float:left;\">";_95+="<div align=center valign=bottom style=\"width:140px; height:"+_a3+"px; overflow: hidden;\">";if(_a1){_95+="<a href=\"/SwishSearch?n=1&fn="+_a1+"&supst=cd\" ";}else{_95+="<a href=\"\" onclick=\"hp(); enlarge2('"+myid+"'"+","+"'"+_94+"'); return false;\"";}if(document.page.previews.selectedIndex==1){_95+=" TITLE=\"ID:"+displayid;if(showphotographer==1){_95+="  \r&copy; "+myphotographer;}if(showfilesize){_95+="\rSIZE: "+myfilesize;}_95+=" \r"+"CAPTION: "+myshortcaption+"\"";}_95+="><img src=http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+myid+".JPG border=0 vspace=1 class=pimg hspace=1 height=80";_95+=" onmouseover=\"prloadimg('"+myid+"'); sp(this, '"+myid+"', '"+_94+"','"+tset+"');";_95+="\" onmouseout=\"hp();\" id="+myid+">";_95+="</a><BR>";_95+="<DIV class=icons>";if(!_a1&&((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=/))))){_95+="<A href=\"\" onclick=\"lightbox_delete_image_enl('"+myid+"'); return false;\" class=\"lblink\" TITLE=\"Remove this image from the lightbox\">X</A>";}_95+="<a href=\"\" ONCLICK=\"lightbox_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add to your current lightbox\">LB+</a>";if(gsession){_95+="<a href=\"\" ONCLICK=\"cart_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add this image to your shopping cart\">CART+</a>";}_95+="<a href=\"\" ONCLICK=\"return price_image('"+myid+"','"+_96+"');\" class=\"iconlink\" Title=\"Price Image\">$</a>";if(!_a1){_95+="<a href=\"\" ONCLICK=\"enlarge2('"+myid+"'"+","+"'"+_94+"'); return false;\" class=\"iconlink\" title=\"Enlarge image and more info\"><font class=eye>i</font></a>";}if(typeof (gusert)!="undefined"&&gusert=="IPN"){_95+="<A href=\"\" onclick=\"ajax_TEXT('/bin/KeywordAdjust?good=1&id="+myid+"&q="+dsplkys+"'); 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+"'); return false;\"><IMG src=/graphics/rating_discourage.gif width=18 border=0 height=12 style=\"margin-bottom: -3px;\"></a>";}_95+="</DIV>";_95+="<DIV class=imidxxsmall>"+displayid;if(typeof (suppressrmrftype)=="undefined"){_95+="  <font class=rmrfindicator>"+rm[_94]+"</font>";}_95+="</DIV>";if(_9d){_95+="<a href=\""+_9d+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a>";}_95+="</DIV></SPAN>";}else{_95+="<span valign=bottom style=\"float:left;\">";_95+="<div id=\"d"+myid+"\" align=center valign=bottom style=\"width:140px; height:"+_a3+"px;\">";_95+=writesimilar(myid,_94,myphotographer,myshortcaption,"start","med",_9d,_99);_95+="</DIV></SPAN>";}}else{if(viewmode=="ss"){_95="  ";}else{if(viewmode=="huge"){var _a3=220+adminheight;if(mysimilarto.length<13){_95+="<span valign=bottom style=\"float:left;\">";_95+="<div align=center valign=bottom style=\"width:330px; height:"+_a3+"px; overflow: hidden;\">";if(_a1){_95+="<a href=\"/SwishSearch?n=1&fn="+_a1+"&supst=cd\" ";}else{_95+="<a href=\"\" onclick=\"hp(); enlarge2('"+myid+"'"+","+"'"+_94+"'); return false;\" TITLE=\"ID:"+displayid;}if(showphotographer==1){_95+="\r&copy; "+myphotographer;}if(showfilesize){_95+="\rSIZE: "+myfilesize;}_95+=" \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>";_95+="<DIV class=icons>";if(!_a1&&((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=/))))){_95+="<A href=\"\" onclick=\"lightbox_delete_image_enl('"+myid+"'); return false;\" class=\"lblink\" TITLE=\"Remove this image from the lightbox\">X</A>";}_95+="<a href=\"\" ONCLICK=\"lightbox_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add to your current lightbox\">LIGHTBOX+</a>";if(gsession){_95+="<a href=\"\" ONCLICK=\"cart_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add this image to your shopping cart\">CART+</a>";}_95+="<a href=\"\" ONCLICK=\"return price_image('"+myid+"','"+_96+"');\" class=\"iconlink\" Title=\"Price Image\">$</a>";if(!_a1){_95+="<a href=\"\" ONCLICK=\"enlarge2('"+myid+"'"+","+"'"+_94+"'); return false;\" class=\"iconlink\" title=\"Enlarge image and more info\"><font class=eye>i</font> ENLARGE</a> ";}if(typeof (gusert)!="undefined"&&gusert=="IPN"){_95+="<A href=\"\" onclick=\"ajax_TEXT('/bin/KeywordAdjust?good=1&id="+myid+"&q="+dsplkys+"'); 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+"'); return false;\"><IMG src=/graphics/rating_discourage.gif width=18 border=0 height=12 style=\"margin-bottom: -3px;\"></a>";}_95+=displayid;if(typeof (suppressrmrftype)=="undefined"){_95+="  <font class=rmrfindicator>"+rm[_94]+"</font> ";}_95+="</DIV>  ";if(_9d){_95+="<a href=\""+_9d+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a>";}_95+="</DIV></SPAN>";}else{_95+="<span valign=bottom style=\"float:left;\">";_95+="<div id=\"d"+myid+"\" align=center valign=bottom style=\"width:330px; height:"+_a3+"px; overflow: hidden;\">";_95+=writesimilar(myid,_94,myphotographer,myshortcaption,"start","huge",_9d,_99);_95+="</DIV></SPAN>";}}else{if(viewmode=="large"){var _a3=199+adminheight;if(mysimilarto.length<13){_95+="<span valign=bottom style=\"float:left;\">";_95+="<div align=center valign=bottom style=\"width:187px; height:"+_a3+"px; overflow:hidden;\">";if(_a1){_95+="<a href=\"/SwishSearch?n=1&fn="+_a1+"&supst=cd\" ";}else{_95+="<a href=\"\" onclick=\"hp(); enlarge2('"+myid+"'"+","+"'"+_94+"'); return false;\"";}if(document.page.previews.selectedIndex==1){_95+=" TITLE=\"ID:"+displayid;if(showphotographer==1){_95+="\r&copy; "+myphotographer;}if(showfilesize){_95+="\rSIZE: "+myfilesize;}_95+=" \r"+"CAPTION: "+myshortcaption+"\"";}_95+="><img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/170/85/"+myid+".JPG\" class=pimg border=\"0\" vspace=\"0\" hspace=\"3\"";_95+=" onmouseover=\"prloadimg('"+myid+"'); sp(this, '"+myid+"','"+_94+"','"+tset+"');";_95+="\" onmouseout=\"hp();\" id="+myid+">";_95+="</a><BR>";_95+="<DIV class=icons>";if(!_a1&&((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=/))))){_95+="<A href=\"\" onclick=\"lightbox_delete_image_enl('"+myid+"'); return false;\" class=\"iconlink\" TITLE=\"Remove this image from the lightbox\">X</A>";}_95+="<a href=\"\" ONCLICK=\"lightbox_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add to your current lightbox\">LB+</a>";if(gsession){_95+="<a href=\"\" ONCLICK=\"cart_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add this image to your shopping cart\">CART+</a>";}_95+="<a href=\"\" ONCLICK=\"return price_image('"+myid+"','"+_96+"');\" class=\"iconlink\" Title=\"Price Image\">$</a>";if(!_a1){_95+="<a href=\"\" ONCLICK=\"enlarge2('"+myid+"'"+","+"'"+_94+"'); return false;\" class=\"iconlink\" title=\"Enlarge image and more info\"><font class=eye>i</font></a>&nbsp;";}if(typeof (gusert)!="undefined"&&gusert=="IPN"){_95+="<A href=\"\" onclick=\"ajax_TEXT('/bin/KeywordAdjust?good=1&id="+myid+"&q="+dsplkys+"'); 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+"'); return false;\"><IMG src=/graphics/rating_discourage.gif width=18 border=0 height=12 style=\"margin-bottom: -3px;\"></a>";}_95+="</div><div><font class=imid>"+displayid+"</font>";if(typeof (suppressrmrftype)=="undefined"){_95+="  <font class=rmrfindicator>"+rm[_94]+"</font>";}_95+="</DIV>";if(_9d){_95+="<a href=\""+_9d+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a>";}_95+="</DIV></SPAN>";}else{_95+="<span valign=bottom style=\"float:left;\">";_95+="<div id=\"d"+myid+"\" align=center valign=bottom style=\"width:187px; height:"+_a3+"px; overflow: hidden;\">";_95+=writesimilar(myid,_94,myphotographer,myshortcaption,"start","large",_9d,_99);_95+="</DIV></SPAN>";}}else{var _a3=176+adminheight;if(mysimilarto.length<13){_95+="<span valign=bottom style=\"float:left;\">";_95+="<div align=center valign=bottom style=\"width:152px; height:"+_a3+"px; overflow:hidden;\">";if(_a1){_95+="<a href=\"/SwishSearch?n=1&fn="+_a1+"&supst=cd\" ";}else{_95+="<a href=\"\" onclick=\"hp(); enlarge2('"+myid+"'"+","+"'"+_94+"'); return false;\"";}if(document.page.previews.selectedIndex==1){_95+=" TITLE=\"ID:"+displayid;if(showphotographer==1){_95+="\r&copy; "+myphotographer;}if(showfilesize){_95+="\rSIZE: "+myfilesize;}_95+=" \r"+"CAPTION: "+myshortcaption+"\"";}_95+="><img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+myid+".JPG\" class=pimg border=\"0\" vspace=\"0\" hspace=\"3\"";_95+=" onmouseover=\"prloadimg('"+myid+"'); sp(this, '"+myid+"','"+_94+"','"+tset+"');";_95+="\" onmouseout=\"hp();\" id="+myid+">";_95+="</a><BR>";_95+="<DIV class=icons>";if(!_a1&&((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=/))))){_95+="<A href=\"\" onclick=\"lightbox_delete_image_enl('"+myid+"'); return false;\" class=\"iconlink\" TITLE=\"Remove this image from the lightbox\">X</A>";}_95+="<a href=\"\" ONCLICK=\"lightbox_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add to your current lightbox\">LB+</a>";if(gsession){_95+="<a href=\"\" ONCLICK=\"cart_addto('"+myid+"'); return false;\" class=\"iconlink\" title=\"Add this image to your shopping cart\">CART+</a>";}_95+="<a href=\"\" ONCLICK=\"return price_image('"+myid+"','"+_96+"');\" class=\"iconlink\" Title=\"Price Image\">$</a>";if(!_a1){_95+="<a href=\"\" ONCLICK=\"enlarge2('"+myid+"'"+","+"'"+_94+"'); return false;\" class=\"iconlink\" title=\"Enlarge image and more info\"><font class=eye>i</font></a>&nbsp;";}if(typeof (gusert)!="undefined"&&gusert=="IPN"){_95+="<A href=\"\" onclick=\"ajax_TEXT('/bin/KeywordAdjust?good=1&id="+myid+"&q="+dsplkys+"'); 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+"'); return false;\"><IMG src=/graphics/rating_discourage.gif width=18 border=0 height=12 style=\"margin-bottom: -3px;\"></a>";}_95+="</div><div><font class=imid>"+displayid+"</font>";if(typeof (suppressrmrftype)=="undefined"){_95+="  <font class=rmrfindicator>"+rm[_94]+"</font>";}_95+="</DIV>";if(_9d){_95+="<a href=\""+_9d+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a>";}_95+="</DIV></SPAN>";}else{_95+="<span valign=bottom style=\"float:left;\">";_95+="<div id=\"d"+myid+"\" align=center valign=bottom style=\"width:152px; height:"+_a3+"px; overflow: hidden;\">";_95+=writesimilar(myid,_94,myphotographer,myshortcaption,"start","normal",_9d,_99);_95+="</DIV></SPAN>";}}}}}}}}}}return _95;}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(_aa){var _ab=ggetCookie(gusername+"sc_on");if(!_ab||_aa){viewmode="editing";_ab=1;}else{viewmode="";_ab="";}gsetCookie("gviewmode",viewmode,"","/",gGetCookieDom());gsetCookie(gusername+"sc_on",_ab,"","/",gGetCookieDom());if(!_aa){var s=self.location.href;self.location.href=s.replace(/\&sc_boot\=1/g,"");}}function EAD(_ad){if($(_ad)&&$F(_ad)&&!$F(_ad).match(/^\-\- .* \-\-$/)){return true;}else{return false;}}function sos(dex,_af){if(!_af||_af=="share"){var _b0=$F("sharecontrol"+dex);ajax_JSON("/AjaxHandlers/ShareSetShare/"+make_share_control_string(id[dex],_b0)+".json",getpost,"");}if(!_af||_af=="weight"){var _b1=$F("weightcontrol"+dex);ajax_JSON("/AjaxHandlers/ShareSetWeight/"+make_share_control_string(id[dex],_b1)+".json",getpost,"");}if($("cellwrapper"+dex)){$("cellwrapper"+dex).style.backgroundColor="orange";}}function sor(dex){var _b3=$A();var _b4=unescape(relcon[dex]).toString().replace(/checked="?checked"?/gi,"");$A($("releasecontrol"+dex)).each(function(itm){if(itm.checked){_b3.push(itm.value);var _b6=new RegExp("value=\""+itm.value+"\"");_b4=_b4.replace(_b6,"value=\""+itm.value+"\" checked=\"checked\"");}});relcon[dex]=escape(_b4);_b3=_b3.join("|");ajax_JSON("/AjaxHandlers/ShareSetRelease/"+make_share_control_string(id[dex],_b3)+".json",getpost,"");if($("cellwrapper"+dex)){$("cellwrapper"+dex).style.backgroundColor="orange";}}function validaterad(_b7){if(!$(_b7)&&!$F(_b7)){return;}var _b8=_b7.name;_b8=_b8.replace(/(cocon|shcon)/,"");var pix=$F(_b7);var dex=$F($(_b7).form.dexer);var brd="white";var _bc="pending";if(pix=="n"||pix=="r"||pix.match(/^(notshared|rejected)/)){if(pix=="n"||pix=="notshared"){_bc="notshared";}else{_bc="rejected";}brd="#DF0000";}else{if(!isNaN(pix)||pix=="a"||pix.match(/^shared/)){_bc="shared";brd="#77BB33";}else{if(pix.match(/^hold/)){_bc="hold";}}}if($("d"+_b8)){$("d"+_b8).style.background=brd;}var _bd=unescape(shsync[dex]);_bd=_bd.split("|");shsync[dex]=escape(_bc+"|"+_bd[1]);var _be="";if(_b7.name.match(/shcon/)){_be="ShareSetShare";}else{_be="ShareSetCombined";}ajax_JSON("/AjaxHandlers/"+_be+"/"+make_share_control_string(_b8,pix)+".json",getpost,"");}function init_share_radios(){for(var cnt=showstartnumber_trap;cnt<endnumber;cnt++){var _c0=unescape(shsync[cnt]);_c0=_c0.split("|");var _c1=_c0[0]+$F("share_control_view")+$F("share_control_home_sphotog");var _c2,_c3;if(typeof (cocon)=="object"&&cocon[0]){_c3=_c0[2];_c2=_c0[0].toString().substring(0,1);}var _c4=$("shf"+id[cnt]);if(_c4){$A(_c4.elements).each(function(rad){if(rad.value==_c1){rad.checked=true;}else{if(_c2&&(rad.value==_c2||(_c2=="s"&&rad.value==_c3))){rad.checked=true;}else{rad.checked=false;}}});}}}function share_set_page(_c6){if(_c6==""){return;}var _c7=$A();var _c8=_c6+$F("share_control_view")+$F("share_control_home_sphotog");var _c9="";if(typeof (cocon)=="object"&&cocon[0]){_c9=_c6.toString().substring(0,1);}for(var cnt=showstartnumber_trap;cnt<endnumber;cnt++){if(id[cnt]){_c7.push(id[cnt]);if(_c6.match(/pending|hold/)){$("d"+id[cnt]).style.background="white";}else{if(_c6.match(/notshared|rejected/)){$("d"+id[cnt]).style.background="#DF0000";}else{if(_c6.match(/^shared/)){$("d"+id[cnt]).style.background="#77BB33";}}}var _cb=$("shf"+id[cnt]);if(_cb){$A(_cb.elements).each(function(rad){if(rad.value==_c8){rad.checked=true;}else{if(_c9&&(rad.value==_c9||(_c9=="s"&&rad.value.match(/^[a1-4]$/)))){rad.checked=true;}else{rad.checked=false;}}});}var _cd=unescape(shsync[cnt]);_cd=_cd.split("|");shsync[cnt]=escape(_c6+"|"+_cd[1]);}}ajax_JSON("/AjaxHandlers/ShareSetShare/"+make_share_control_string(_c7,_c8)+".json",getpost,"");return false;}function save_all_releases(){for(var cnt=showstartnumber_trap;cnt<endnumber;cnt++){sor(cnt);}return false;}function release_set_page(_cf){if(_cf==""){return;}var _d0=$A();for(var cnt=showstartnumber_trap;cnt<endnumber;cnt++){if(id[cnt]){_d0.push(id[cnt]);var _d2=$("releasecontrol"+cnt);if(_d2){$A(_d2.elements).each(function(chx){var val=chx.value;if(val&&chx.type=="checkbox"){if(val==_cf||(_cf=="MODEL AND PROPERTY RELEASED"&&(val=="MODEL RELEASED"||val=="PROPERTY RELEASED"))){chx.checked=true;}else{chx.checked=false;}}});}if($("shortrel"+cnt)){var _d5=_cf;_d5=_d5.substring(0,16)+(_cf.length>16?"...":"");$("shortrel"+cnt).innerHTML="Release: "+_d5;}sor(cnt);}}return false;}function validatechx(_d6){var cc=0;var _d8="";$A(_d6.form.elements).each(function(chx){if(chx.checked){cc++;_d8=chx.value;}});if(cc>1){var _da=new Object;if(_d6.form.elements["MODEL RELEASED"].checked&&_d6.form.elements["PROPERTY RELEASED"].checked&&_d6.name.toString().match(/(MODEL|PROPERTY) RELEASED/)){_da["MODEL RELEASED"]=1;_da["PROPERTY RELEASED"]=1;_d8="MODEL AND PROPERTY RELEASED";}else{_da[_d6.name]=1;_d8=_d6.name;}$A(_d6.form.elements).each(function(chx){if(chx.checked&&_da[chx.value]!=1){chx.checked=false;}});}if($("shortrel"+_d6.form.shdex.value)){var _dc=_d8;_dc=_dc.substring(0,16)+(_d8.length>16?"...":"");$("shortrel"+_d6.form.shdex.value).innerHTML="Release: "+_dc;}}function enlarge2(_dd,_de,_df,_e0){var _e1=$H({ssid:_dd,ssdex:_de,fimg:_df,nc:_e0,showstart:"ss",snum:firstpictureonpage,viewmode:"ss"}).toJSON();try{YAHOO.util.History.navigate("nav",_e1);}catch(e){dispatchAll(_e1);}}function dispatchEnlarge2(_e2){if(typeof (_e2)!="object"){return;}var _e3=_e2["ssid"];var _e4=_e2["ssdex"];var _e5=_e2["fimg"];var _e6=_e2["nc"];var _e7=document.currentLayer1Mode;document.currentLayer1Mode="enlarge";var url="/AjaxHandlers/ImageInfo/"+(_e5?_e5:_e3)+".json";var drk="";if(_e6){drk="&drk="+Math.random(10);}ajax_JSON(url,getpost,"callback=enlarge2_act('"+_e3+"','"+_e4+"','"+(_e5?_e5:"")+"','"+_e7+"')"+drk);setuppagesize();$("Layer1").style.height=truevertHeight+"px";var _ea=0;if($("cdheader")&&$("cdheader").style.display=="block"){_ea=146;}$("Layer1").style.height=truevertHeight+_ea+"px";}function enlarge2_act__generateTierRows(_eb,_ec,_ed,_ee){var _ef="";if(_ec=="RF"){var _f0="";$A(_eb.tierinfo).each(function(_f1){Object.extend(_f1,{enlargetid:_eb.image_id,usage:_f1.subof,img_id:_ed,encount:(_ee?_ee:"''")});_f0+=Templates.tieredimgpricing__rfslug_row.evaluate(_f1);});_ef=Templates.tieredimgpricing__rfslug.evaluate({"rows":_f0});}else{if(_ec=="RR"){var _f2="";$A(_eb.tierinfo).each(function(_f3){Object.extend(_f3,{enlargetid:_eb.image_id,usage:_f3.subof,img_id:_ed,encount:(_ee?_ee:"''")});if(_f3.opt_selected==1){_f3.removebutton=Templates.tieredimgpricing__rrslug_row_removebutton.evaluate(_f3);}_f2+=Templates.tieredimgpricing__rrslug_row.evaluate(_f3);});_ef=Templates.tieredimgpricing__rrslug.evaluate({"rows":_f2});}}return _ef;}function enlarge2_act(_f4,_f5,_f6,_f7){_f6=(_f6=="undefined"?"":_f6);hp();var _f8=0;if(id[_f5]==document.JSONobj.getImgDat("id")){_f8=1;}if(_f8||(document.ajaxLoaded&&(_f4.match(document.JSONobj.getImgDat("id"))))){if(typeof (viewmode)!="undefined"&&viewmode=="ss"){gsetCookie("gcurrentview","","","/",gGetCookieDom());}if($("cdheader")){$("cdheader").style.display="none";}if((!document.thisIsFeatureView&&_f8&&st[_f5]&&st[_f5].length>13)||overflowtype=="hidden"){suspendtrap=1;}gSetBackpage();if(firstpictureonpage){gsetCookie("gwhichstartpage",firstpictureonpage,"","/",gGetCookieDom());}var _f9;var _fa=document.JSONobj.getImgDat("short_caption");_fa=(_fa?_fa:"n/a");var _fb=document.JSONobj.getImgDat("long_caption");_fb=(_fb?_fb:"n/a");if(typeof (uselongcaption)!="undefined"&&_fb!="n/a"){if(uselongcaption=="useboth"){if(_fa=="n/a"){_f9=_fa;}else{_f9="<span id=\"enlarge_short_caption\">"+_fa+" <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\">"+_fb+"  <a href=\"\" onclick=\"$('enlarge_long_caption').style.display='none'; $('enlarge_short_caption').style.display='inline'; return false;\">&lt;&lt;&nbsp;less</a></span>";}}else{_f9=_fb;}}else{_f9=_fa;}var _fc=document.JSONobj.getImgDat("rmrftype");var _fd=document.JSONobj.getImgDat("rfcdimgpricing");var _fe=document.JSONobj.getImgDat("photographer")+((document.JSONobj.getImgDat("agent_name")&&document.JSONobj.getImgDat("agent_name")!="")?"&nbsp;/&nbsp;"+document.JSONobj.getImgDat("agent_name"):"");var _ff=(document.JSONobj.getImgDat("file_size")<5?"Scan on Demand":document.JSONobj.getImgDat("file_size")+" Mb");var _100=document.JSONobj.getImgDat("released");var _101=document.JSONobj.getImgDat("image_restrictions");var _102=document.JSONobj.getImgDat("comp_allow");var _103=(typeof (showdimensions)!="undefined"?document.JSONobj.getImgDat("dimensions"):"");if(_103){var dimr=_103.match(/^(\d+)x(\d+)$/);if(typeof (dimr)=="object"){_103="<br/><b>Original Dimensions:</b>&nbsp;"+dimr[1]+"px&nbsp;x&nbsp;"+dimr[2]+"px";}}var _105=parseInt(_f5)+1;var _106=id[_105];var _107=parseInt(_f5)-1;var _108=id[_107];var _109="";if((!document.thisIsFeatureView)&&_f8&&v[_f5]&&(v[_f5]=="H")){var _10a=+_f4.substring(0,2)+"/"+_f4.substring(0,5)+"/"+_f4;_109+="<EMBED SRC=\"http://tools.cgibackgrounds.com/qtvideo/"+_10a+".MOV\" WIDTH=420 HEIGHT=280></EMBED>";}else{var _10b="0000000000";if(_f6){_10b=_f6;}else{_10b=_f4;}_109+="<A HREF=\"\" onclick=\"currentpage(); return false;\">"+"<img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/"+((typeof (localwatermark)!="undefined"&&!pngsupport)?"wm":"420")+"/60/"+_10b+".JPG\" border=1 style=\"display:inline; clear:none;\" id=\""+_10b+"\">"+((typeof (localwatermark)!="undefined"&&pngsupport)?"<img style=\"z-index: 300; position:absolute; left:0px; bottom:0px;\" src=\""+localwatermark+"\" border=\"0\" onload=\"fitMeTo('"+_10b+"', this)\"/>":"");_109+="</A>";}var _10c="";if(!document.thisIsFeatureView&&_f8&&st[_f5]&&st[_f5].length>13){var _10d=st[_f5];var _10e=_10d.split(" ");var _10f=_10e[1].split(",");if(_10f.length>1){_10f=_10e[0]+" "+_10f.join(" ");_10e=_10f.split(" ");}var _110=_10e.length;if(_110>40){simheight=(70-_110/2);}else{simheight=70-_110;}var _111="";for(var i=0;i<_110;i++){_111+="<span valign=bottom style=\"float:left;\">"+"<a href=\"javasc"+"ript:enlarge2('"+_f4+"'"+","+"'"+_f5+"','"+_10e[i]+"');\" TITLE=\"ID:"+_10e[i];if(showphotographer==1){_111+="  \r&copy; "+_fe;}_111+=" click image to view similar\"><img src=http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+_10e[i]+".JPG border=0 vspace=2 hspace=2 height="+simheight+" align=left></a></span>";}_10c=Templates.enlarge2_act__similars.evaluate({simcolinfo:_111});}var _113="";var _114="";if(_f7=="cartview"){_114="<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){_114="<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{_114="<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(_f8){if(_f7!="cartview"){if((snum+_f5)>0){_113+="                                  <A HREF=\"\" onclick=\"enlarge2('"+_108+"','"+_107+"'); 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(_f5)+1)<Number(total)){_113+="                                  <A HREF=\"\" onclick=\"enlarge2('"+_106+"','"+_105+"'); return false;\" TITLE=\"GO TO THE NEXT IMAGE\">NEXT IMAGE <FONT style=\"font-size:9pt; font-family: Arial;\">&#8594;</FONT></A><BR>";}}}var _115="";if(_f6){_115=_f6;}else{_115=_f4;}var _116="";if(_f7!="cartview"){if(gsession&&gusername&&_102=="Y"){_116="<a href=\"Javascr"+"ipt:displayWindow('/comp_view.shtml?"+gusername+"/"+cs[_f5]+"/"+_115+".JPG','600','640');\"><img src=\"/graphics/icon_comp.gif\" width=21 height=15 alt=\"\" border=\"0\"> DOWNLOAD COMP</a><BR><BR>";}else{if(gsession){_116="<a href=\"Javascr"+"ipt:displayWindow('/comp_view.shtml?guest/"+cs[_f5]+"/"+_115+".JPG','600','640');\"><img src=\"/graphics/icon_comp.gif\" width=21 height=15 alt=\"\" border=\"0\"> DOWNLOAD COMP</a><BR><BR>";}}}var _117=(_fd?"<BR/><div class=\"enlargeratetiers\">"+_fd+"</div>":"");var _118=(showrelease?"<b>Release:</b> "+_100+"<br>":"");var _119=_fe;if(_fe.indexOf("/")>0){_119=_119.substring(0,_119.indexOf("/"));}var _11a=((_fe&&showphotographer)?"<b>Photographer:</b> <A href=\"/SwishSearch?Keywords="+_119+"&spec_idx=ne&method=photographer\">"+_fe+"</a><br>":"");var _11b=((!_f6&&showfilesize)?"<b>File Size:</b> "+_ff:"");var _11c=(_101?"<BR/><span style=\"color:#990000\">"+_101+"</span>":"");var _11d="";document.JSONobj.getKeywords().each(function(kwd){var _11f=q_args;if(_11f.match(/Keywords=[^\+\&]+\+/)){_11f=_11f.replace(/Keywords=[^\+]+\+/,"Keywords="+kwd+"+");}else{if(_11f.match(/Keywords=[^\+\&]+\&/)){_11f=_11f.replace(/Keywords=[^\+\&]+\&/,"Keywords="+kwd+"&");}else{if(_11f.match(/Keywords=[^\+\&]+$/)){_11f=_11f.replace(/Keywords=[^\+\&]+$/,"Keywords="+kwd);}else{_11f=_11f.replace(/((rid|\&rid)|(vmo|\&vmo)|(lb_view|\&lb_view)|(cartview|\&cartview))=[^\&]+/,"");_11f="Keywords="+kwd+"&"+_11f;_11f=_11f.replace(/\&+/,"&");}}}_11f=_11f.replace("&spec_idx=ne","");_11d+="<a href=\"/SwishSearch?"+_11f+"&spec_idx=ne\">"+kwd+"</a>, ";});var _120;if(o[_f5]){_120=o[_f5];}else{_120=_115;}var _121=document.JSONobj.getImgDat("date_shot");var _122=document.JSONobj.getImgDat("rfcdlink");var _123=$H({enlargetid:_115,rfcdlinkslug:_122,dateshot:_121,keywordinfo:_11d,displayenlargetid:_120,restrictionsinfo:_11c,filesizeinfo:_11b,photographerinfo:_11a,releaseinfo:_118,ratetierinfo:_117,downloadcomplink:_116,navenlargedlinks:_113,navbacklinks:_114,similarscolumn:_10c,themediainsert:_109,rmrftype:_fc,myshortcaption:_f9,dimensions:_103});$("Layer1").style.overflow="auto";MM_setTextOfLayer("Layer1","",Templates.enlarge2_act__body.evaluate(_123));MM_preloadImages("http://gdynx.ipnstock.com/"+dynimagesname+"/420/60/"+_106+".JPG");}else{gsetCookie("gviewmode","ss","","/",gGetCookieDom());self.location=nextlink+"snum="+(Number(firstpictureonpage)+Number(snum));}}function fitMeTo(_124,thar){if(!_124||!thar||!$(_124)){return;}var dems=Element.getDimensions(_124);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 _127=" checked";var _128=_127;var _129=_128;var _12a=_128;var _12b="";var _12c=_128;var _12d=_128;var _12e="";var _12f="";var _130="";var _131=_128;var _132="";var _133=_128;var _134="";var _135="";var rmc="checked";var rfc=rmc;var _138=" checked";var _139=_138;var _13a=" selected";var _13b="";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{_127=" ";}if(gsearchprefs.indexOf("g")>=0){}else{_128=" ";}if(gsearchprefs.indexOf("h")>=0){}else{_12a=" ";}if(gsearchprefs.indexOf("i")>=0){}else{_129=" ";}}if(typeof (showIllusPhotog)!="undefined"){if(gsearchprefs.indexOf("1")<0&&gsearchprefs.indexOf("0")<0){}else{if(gsearchprefs.indexOf("1")<0){_139=" ";}if(gsearchprefs.indexOf("0")<0){_138=" ";}}}if(typeof (showSearchWithin)!="undefined"){if($("method")&&$F("method")=="within"){_13a="";_13b="selected";}else{_13a="selected";_13b="";}}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){_12c="";_12b="checked";}if(gsearchprefs.indexOf("c")>=0||gsearchprefs.indexOf("d")>=0||gsearchprefs.indexOf("e")>=0){if(gsearchprefs.indexOf("c")>=0){_12d="";_12e="";_12f="checked";_130="";}if(gsearchprefs.indexOf("d")>=0){_12d="";_12e="checked";_12f="";_130="";}if(gsearchprefs.indexOf("e")>=0){_12d="";_12e="";_12f="";_130="checked";}}if(gsearchprefs.indexOf("a")>=0){_132="checked";_131="";}if(gsearchprefs.indexOf("m")>=0||gsearchprefs.indexOf("n")>=0||gsearchprefs.indexOf("o")>=0){if(gsearchprefs.indexOf("m")>=0){_133="checked";_134="";_135="";}if(gsearchprefs.indexOf("n")>=0){_133="";_134="checked";_135="";}if(gsearchprefs.indexOf("o")>=0){_133="";_134="";_135="checked";}}}var _13c="<form action=\"javasc"+"ript:g(); return false;\" method=get name=displaypanel id=displaypanel>";_13c+="<table cellspacing=0 cellpadding=10 border=0 width=100% height="+panelheight+">";_13c+="<tr><td valign=top align=left class=\"light1\">";_13c+="<b>ORIENTATION:</b><br>";_13c+="<table cellspacing=3 cellpadding=0 border=0><tr>";_13c+="<td><nobr><input type=checkbox name=orient value=horizontal onclick=javasc"+"ript:fsearchprefs(\"f\",\"add\"); "+_127+"> Horizontal</nobr></td></tr>";_13c+="<tr><td><input type=checkbox name=orient value=vertical onclick=javasc"+"ript:fsearchprefs(\"g\",\"add\"); "+_128+"> Vertical</td></tr>";_13c+="<tr><td><input type=checkbox name=orient value=panoramic onclick=javascr"+"ipt:fsearchprefs(\"h\",\"add\"); "+_12a+"> Panororamic</td></tr>";_13c+="<tr><td><input type=checkbox name=orient value=square onclick=javasc"+"ript:fsearchprefs(\"i\",\"add\"); "+_129+"> Square</td></tr>";_13c+="</table><br>";_13c+="<b>COLOR:</b><br>";_13c+="<table cellspacing=3 cellpadding=0 border=0>";_13c+="<tr><td><nobr><input "+_133+" type=radio name=color value=\"\" onclick=javascr"+"ipt:fsearchprefs(\"color\",\"add\");> ANY</td></tr>";_13c+="<tr><td><nobr><input "+_134+" type=radio name=color value=color onclick=javascr"+"ipt:fsearchprefs(\"color\",\"add\");> COLOR</td></tr>";_13c+="<tr><td><input "+_135+" type=radio name=color value=gray onclick=javascr"+"ipt:fsearchprefs(\"color\",\"add\");> B/W</td></tr>";_13c+="</table>";if(typeof (rmonly)=="undefined"){_13c+="<BR><b>TYPE:</b><br>";_13c+="<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>";_13c+="</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>";}_13c+="</td><td valign=top align=left class=\"light1\">";if(typeof (showIllusPhotog)!="undefined"){_13c+="<b>MEDIA:</b><br>";_13c+="<input type=\"checkbox\" name=\"searchinclude\" value=\"illustration\""+_138+" onclick=javascr"+"ipt:fsearchprefs(\"1\",\"add\"); />Illustration<br/>";_13c+="<input type=\"checkbox\" name=\"searchinclude\" value=\"photography\""+_139+" onclick=javascr"+"ipt:fsearchprefs(\"0\",\"add\"); />Photography<br/>";_13c+="<br/>";}if(typeof (suspendYesNoRestrictons)=="undefined"){_13c+="<b>RESTRICTIONS:</b><br>";_13c+="<input "+_12c+" type=radio name=restrictions value=\"\" onclick=javascr"+"ipt:fsearchprefs(\"norestrictions\",\"remove\");> ANY<br>";_13c+="<input "+_12b+" type=radio name=restrictions value=not+imagehasrestrictions  onclick=javascr"+"ipt:fsearchprefs(\"norestrictions\",\"add\");> NO RESTRICTIONS<br>";_13c+="<br>";}if(typeof (suspendWithPeople)=="undefined"){_13c+="<b>PEOPLE:</b><br>";_13c+="<input "+_12d+" type=radio name=people value=\"\" onclick=javasc"+"ript:fsearchprefs(\"people\",\"remove\");> ANY<br>";_13c+="<input "+_12e+" type=radio name=people value=withpeople onclick=javasc"+"ript:fsearchprefs(\"withpeople\",\"add\");> WITH PEOPLE<br>";_13c+="<input "+_12f+" type=radio name=people value=nobody onclick=javascr"+"ipt:fsearchprefs(\"nobody\",\"add\");> WITHOUT PEOPLE<br>";_13c+="<input "+_130+" type=radio name=people value=withcrowd onclick=javascr"+"ipt:fsearchprefs(\"withcrowd\",\"add\");> CROWD<br>";}_13c+="<br><b>RELEASES:</b><br>";_13c+="<font class=small>";_13c+="<input "+_131+" type=radio name=xtrasql value=\"\" onclick=javascr"+"ipt:fsearchprefs(\"released\",\"remove\");> Any release status<br>";_13c+="<input "+_132+" type=radio name=xtrasql value=released onclick=javascr"+"ipt:fsearchprefs(\"released\",\"add\");> Only show released images<br>";if(typeof (showSearchWithin)!="undefined"){_13c+="<br/><b>METHOD:</b><br/>";_13c+="<nobr>&nbsp;<select id=\"method\" name=\"method\" class=\"smallmenu\" style=\"height:16px;\"><option value=\"new\" "+_13a+">as a new search</option><option value=\"within\" "+_13b+">within current results</option></select></nobr><br/>";}_13c+="<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>";_13c+="</td></tr></table>";var temp=Position.cumulativeOffset($("tablerow2"));center_panel(340,panelheight,_13c,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="1001";$("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(_143,_144,snum){suspendtrap=1;var _146="<table width=\"100%\"><tr><td valign=\"top\">";_146+="<NOBR><FONT class=page>";var _147=parseInt(_143)+parseInt(snum)+1;var _148=parseInt(_144)+parseInt(snum);if(Number(currentpagenum)>0){_146+="<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(_147<=total){_146+="<FONT style=\"font-family: Arial;color:#AAAAAA;\"><FONT style=\"9pt;\">&#8592;</FONT> PREV PAGE</FONT>&nbsp;";}}if(_147<=total){_146+="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){_146+="<OPTION VALUE=\""+nextlink+"snum="+((psn-2)*(parseInt(gpixperpagev)))+"\">&lt; "+(Number(psn)-1)+"</option>";}for(i=psn;i<=pen;i++){if(i==(Number(currentpagenum)+1)){_146+="<OPTION VALUE=\""+nextlink+"snum="+((i-1)*(parseInt(gpixperpagev)))+"\" SELECTED>"+i+"</option>";}else{_146+="<OPTION VALUE=\""+nextlink+"snum="+((i-1)*(parseInt(gpixperpagev)))+"\">"+i+"</option>";}}if(pen!=totalpages){_146+="<OPTION VALUE=\""+nextlink+"snum="+((Number(pen))*(parseInt(gpixperpagev)))+"\">&gt; "+(Number(pen)+1)+"</option>";}_146+="</select>";if(grange!="outofrange"){_146+="&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>";}_146+="&nbsp;&nbsp;["+_147+"-";if(_148>parseInt(total)){_146+=total+"]&nbsp;of&nbsp;"+total;}else{_146+=_148+"]&nbsp;of&nbsp;"+total;}_146+="</NOBR>";_146+="</td><td align=\"right\">";if(document.thisIsFeatureView){_146+="<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 _149="<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=_149;}}_146+="</td></tr></table>";$("Layerpages").style.overflow="visible";MM_setTextOfLayer("Layerpages","",_146);}function buildimages(_14a,mode,_14c){if(typeof (cartview)!="undefined"&&cartview){return;}if(typeof (id)=="undefined"){return;}var _14d=parseInt(_14a)+parseInt(snum)+1;var _14e=$H({showstart:_14d,snum:_14a,viewmode:viewmode,buildmode:mode,resized:_14c}).toJSON();try{YAHOO.util.History.navigate("nav",_14e);}catch(e){dispatchAll(_14e);}}function dispatchBuildimages(args){var _150=args["snum"];var mode=args["buildmode"];var _152=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"?$("cdheader").style.display="block":$("cdheader").style.display="none"):$("cdheader").style.display="block");}document.currentLayer1Mode="searchresults";createCoverLayer();if(!MACIE5){var _153=Element.getOpacity("coverlayer");}if(_153>0.2){hidedisplaypanel();}suspendcheck=1;if(_150>1||_152==1){setuppagesize();}showstartnumber_trap=parseInt(_150);var _154=optimize();grange="legal";MM_setTextOfLayer("Layer1","","<CENTER> <BR><BR><BR><BR><BR><BR><BR><BR>loading ...</CENTER>");var cnt=_150;firstpictureonpage=_150;endnumber=parseInt(gpixperpagev)+parseInt(_150);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=/)))){_154+="&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"){_154+=htmlit_custom(cnt);}else{_154+=htmlit(cnt);}}else{if((snum+cnt)>=total){if(grange!="outofrange"){_154+="<span valign=bottom style=\"float:left;\"><div align=center valign=bottom style=\"width:130; height:50px; overflow: hidden;\">";if(pagetype=="lb"){_154+="<BR><nobr>&nbsp;[ end of lightbox images ]&nbsp;</nobr></DIV></SPAN> ";}else{_154+="<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"){self.location=nextlink+"snum="+(Number(firstpictureonpage)+Number(snum));MM_setTextOfLayer("Layer1","","<CENTER> <BR><BR><BR><BR><BR><BR><BR><BR>loading next set of images...</CENTER>");}else{prevtogoto=Number(snum)+Number(_150)-parseInt($F("pixperpage"));if(prevtogoto<0){prevtogoto=0;}self.location=nextlink+"snum="+prevtogoto;}}else{MM_setTextOfLayer("Layer1","",_154);if(shsync[0]){setTimeout("init_share_radios()",1);}var _156="<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 (_150)!="undefined"&&Number(_150)>1)){_156+="<nobr>&nbsp;&nbsp;<A HREF=javasc"+"ript:prevpage();><FONT style=\"font-size:9pt;font-family: Arial;\">&#8592;</FONT> PREV PAGE</A></nobr>";}else{_156+="&nbsp;";}_156+="</TD><TD align=\"middle\"  width=10%><center><nobr>"+footer()+"</nobr></center></TD><TD width=40% align=right>";if(grange!="outofrange"){_156+="<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>";}_156+="</TD></TR></table>";$("pagingrow").innerHTML=_156;lastimage=cnt;if($("pixperpage")){prestart=endnumber-1;preend=(lastimage+parseInt($F("pixperpage")));if(_150==0){var _157=6000+parseInt($F("pixperpage")*30);self.setTimeout("preloadnextpage()",_157);}else{var _157=1000;self.setTimeout("preloadnextpage()",_157);}}}}else{enlarge2(id[0],0);}currentpagenum=Math.ceil((Number(snum)+Number(_150))/parseInt($F("pixperpage")));buildpages(_150,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,_159,_15a,_15b,_15c,mode,_15e,_15f){if(typeof (writesimilar_custom)=="function"){return writesimilar_custom(myid,_159,_15a,_15b,_15c,mode,_15e,_15f);}else{return writesimilar_standard(myid,_159,_15a,_15b,_15c,mode,_15e,_15f);}}function writesimilar_standard(myid,_161,_162,_163,_164,mode,_166,_167){_166=(_166||"");_167=(_167||"");var _168=st[_161];var _169=_168.split(" ");var _16a=_169[1].split(",");if(_16a.length>1){_16a=_169[0]+" "+_16a.join(" ");_169=_16a.split(" ");}var _16b=_169.length;if(mode=="normal"||mode=="huge"){if(parseInt(_16b)<5){simindicator=_16b;}else{simindicator=4;}}else{if(parseInt(_16b)<4){simindicator=_16b;}else{simindicator=3;}}var _16c="";var _16d=myid;var _16e=myid;var _16f=15;var _170=15;if(_164=="next"){var n=sw[_161];n++;sw[_161]=n;if(sw[_161]>=_16b){sw[_161]=0;n=0;}_16d=_169[n];}else{if(_164=="prev"){var n=sw[_161];n--;sw[_161]=n;if(sw[_161]<0){sw[_161]=_16b-1;n=_16b-1;}_16d=_169[n];}}if(isNaN((sw[_161]+1))){sw[_161]=0;}var _172=172+adminheight;if(mode=="list"||mode=="editing"){_16c+="<TABLE width=298 cellspacing=2 cellpadding=0 border0 height="+_172+"><TR><TD valign=top width=149 align=center>";}_16c+="<table cellpadding=0 cellspacing=0 border=0><TR><TD colspan=2 align=right valign=bottom bgcolor=#c9c9c9 width=18 height=18>";_16c+="<a href=\"javasc"+"ript:enlarge2('"+myid+"'"+","+"'"+_161+"', '"+_16d+"');\" TITLE=\"ID:"+_16d;if(showphotographer==1){"  \r&copy; "+_162;}if(showfilesize){_16c+="  \rSIZE: "+myfilesize;}_16c+="  \r"+"CAPTION: "+_163;if(mode=="huge"){_16c+="\"><img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/420/60/"+_16d+".JPG\" border=\"0\" alt=\"loading...\" height=\"190\"></a></TD>";}else{if(mode=="med"){_16f=10;_170=14;_16c+="\"><img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+_16d+".JPG\" border=\"0\" vspace=\"0\" hspace=\"0\" alt=\"loading...\" height=72></a></TD>";}else{if(mode=="tiny"){_16f=8;_170=12;_16c+="\"><img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+_16d+".JPG\" border=\"0\" vspace=\"0\" hspace=\"0\" alt=\"loading...\" height=45></a></TD>";}else{_16f=12;_170=16;_16c+="\"><img src=\"http://globaldyn.ipnstock.com/"+dynimagesname+"/135/50/"+_16d+".JPG\" border=\"0\" vspace=\"0\" hspace=\"0\" alt=\"loading...\"></a></TD>";}}}_16c+="<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"){_16c+="<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{_16c+="<TD colspan=2 background=/graphics/similars_lc"+simindicator+".gif height=8></TD>";}_16c+="<TD width=12 height=8 background=/graphics/similars_lr"+simindicator+".gif></TD></TR></TABLE>";if(mode=="normal"||mode=="med"||mode=="tiny"||mode=="large"){_16c+="<Table cellpadding=0 cellspacing=0 border=0><TR><TD valign=top align=center>";}if(mode!="editing"){_16c+="<DIV class=icons><a href=\"\" onclick=\"lightbox_addto('"+_16d+"'); return false;\" class=iconlink title=\"Add to your current lightbox\">LB+</a>";_16c+="<a href=\"\" onclick=\"return price_image('"+_16d+"','"+rm[_16d]+"');\" class=iconlink Title=\"Price Image\">$</a>";_16c+="<a href=\"javasc"+"ript:enlarge2('"+_16d+"'"+","+"'"+_161+"');\" class=iconlink title=\"Enlarge image and more info\"><font class=eye>i</font></a>";if(mode=="huge"){}else{if(mode=="list"){_16c+="&nbsp;&nbsp;"+(_166?"<a href=\""+_166+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a>":"")+"</DIV>";}else{_16c+="</DIV>";}}}if(mode=="med"||mode=="tiny"){_16c+="<font class=xsmall>"+_16d+"</font>";_16c+="</TD><TD valign=top align=center width=40><nobr>";}if(mode=="list"||mode=="normal"||mode=="large"||mode=="editing"){_16c+="</TD><TD valign=\"top\">";}_16c+="<A HREF=\"\" onclick=\"writesimilar('"+_16e+"','"+_161+"','";_16c+=_162+"','";_16c+=_163+"','prev','"+mode+"', '"+_166+"','"+_167+"'); return false;\" TITLE=\"show similars\">";_16c+="<IMG SRC=\"/graphics/similars_prev.gif\" border=\"0\" hspace=\"1\" height=\""+_16f+"\" width=\""+_170+"\" align=\"absmiddle\"></A>";if(mode=="list"||mode=="huge"||mode=="normal"||mode=="large"||mode=="editing"){_16c+="<font class=xsmall>"+(sw[_161]+1)+" of "+_16b+"</font>";}_16c+="<A HREF=\"\" onclick=\"writesimilar('"+_16e+"','"+_161+"','";_16c+=_162+"','";_16c+=_163+"','next','"+mode+"', '"+_166+"','"+_167+"'); return false;\" TITLE=\"show similars\">";_16c+="<IMG src=\"/graphics/similars_next.gif\" border=\"0\" hspace=\"1\" height=\""+_16f+"\" width=\""+_170+"\" align=\"absmiddle\"></A></nobr><BR>";if(mode=="med"||mode=="tiny"){_16c+="<font class=xsmall>"+(sw[_161]+1)+" of "+_16b+"</font>";}if(mode=="list"||mode=="editing"){_16c+="<font class=xsmall>ID:"+_16d;if(showphotographer==1){_16c+="  <BR>&copy; "+currentYear+" "+_162;}if(showfilesize){_16c+="<nobr>"+myfilesize+"</nobr>";}_16c+=_167+"<BR>CAPTION: "+_163+"</font><BR>";if(mode=="editing"){_16c+="<br/><a href=\"\" onclick=\"launchwin('/SwishSearch?show_all=1&similar_to="+_16d+"', 'edit sims', 600, 800, 100, 100); return false;\" title=\"Edit Similar Images\">Edit&nbsp;Similar&nbsp;Images</a>";}}if(mode=="huge"){_16c+="</DIV>";}_16c+="</td></TR></TABLE>";if(_166){_16c+="<a href=\""+_166+"\" class=\"hiresdl_link\"><font color=\"#cc0000\">Download Hires</font></a>";}if(_164=="start"){return _16c;}if(_164=="prev"){MM_setTextOfLayer("d"+_16e,"",_16c);}if(_164=="next"){MM_setTextOfLayer("d"+_16e,"",_16c);}}function currentpage(){if($("cdheader")){$("cdheader").style.display="block";}setuppagesize();if(document.currentLayer1Mode=="searchresults"){var _173=$H({snum:(firstpictureonpage?firstpictureonpage:0),viewmode:viewmode,buildmode:"",resized:""});dispatchBuildimages(_173);}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 _175=(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;}}self.location=nextlink+"snum="+prevtogoto;}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 _17b=$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"){_17b["width"]=420;}else{if(crop=="vertical"){_17b["height"]=((winH-100)<180)?180:(winH-100);}else{_17b["height"]=((winH-142)<160)?160:(winH-142);}}}else{_17b["height"]=135;}}else{smallscreen=0;}$("pimid").innerHTML="";$("pimid").style.visibility="hidden";var _17c=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",_17b)]),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(_17c);}function sp(oObj,_17e,_17f,mode){if(oObj.id){currMousedOverObj=oObj.id;}if(currMousedOverObj!=id[_17f]){ajax_JSON("/AjaxHandlers/ImageInfo/"+_17e+".json",getpost,null);}sp_act(oObj.id,_17e,mode,_17f,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(_182,_183,mode,dex,_186){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((_182==currMousedOverObj)&&((document.ajaxLoaded&&_183==document.JSONobj.getImgDat("id"))||_183==id[dex])){var temp=true;gloCrop=(_183==id[dex]?crp[dex]:document.JSONobj.getImgDat("crop"));gloCrop=(gloCrop?gloCrop:"horizontal");var crop=gloCrop;if(smallscreen=="1"&&(crop=="panoramic"||crop=="vertical")){prloadimg(_183,crop);}var _189=(_183==id[dex]?fs[dex]:document.JSONobj.getImgDat("file_size"));if(_189<5){_189="";}else{if(!_189.toString().match(/[A-Za-z]/)){_189+="Mb";}}var _18a=(typeof (showdimensions)!="undefined"?(_183==id[dex]?dim[dex]:document.JSONobj.getImgDat("dimensions")):"");if(_18a){var dimr=_18a.match(/^(\d+)x(\d+)$/);if(dimr!=null&&dimr.length>1){_18a="[&nbsp;"+dimr[1]+"px&nbsp;x&nbsp;"+dimr[2]+"px&nbsp;]";}}var _18c=(_183==id[dex]?unescape(scp[dex]):document.JSONobj.getImgDat("short_caption"));if(_18c&&_18c.length>130){var tsc="";for(z=0;z<170;z++){var c=_18c.charAt(z);if(temp==true){if((z>130)&&(c==".")){temp=false;tsc+=c+" ...";}else{if((z>150)&&(c==" ")){temp=false;tsc+=" ...";}else{tsc+=c;}}}}_18c=tsc;}var _18f="";if(typeof (o)=="object"&&typeof (o[dex])!="undefined"){_18f=(_183==id[dex]?o[dex]:document.JSONobj.getImgDat("orig_id"));}else{_18f=_183;}var _190=(_183==id[dex]?rm[dex]:document.JSONobj.getImgDat("rmrftype"));var _191=(_183==id[dex]?unescape(pho[dex]):document.JSONobj.getImgDat("photographer"));var _192=(_183==id[dex]?imr[dex]:document.JSONobj.getImgDat("image_restrictions"));_192=(_192?" :: <span style=\"color:#990000\"> This image has restrictions. Click to View </span>":"");var _193={imageid:_183,displayimageid:_18f,rmrftype:_190,filesize:_189,shortcaption:_18c,dimensions:_18a,photographer:_191,imagerestrictions:_192};$("previewpane_metdat_"+_183).innerHTML=Templates.sp_act__metadata.evaluate(_193);$("pimid").style.visibility="visible";new Effect.Appear($("pimid"),{duration:0.1});}else{if(_186<10){_186++;setTimeout("sp_act('"+_182+"', '"+_183+"', '"+mode+"', '"+dex+"', '"+_186+"')",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 _19b=pmousedelta[0];var _19c=pmousedelta[1];mouseX=(sX||0);mouseY=(sY||0);var _19d;if(typeof (event)=="undefined"){mouseX=Event.pointerX(e);mouseY=Event.pointerY(e);_19d=e.target;}else{mouseX=Event.pointerX(event);mouseY=Event.pointerY(event);_19d=event.target;}if(Math.abs(mouseX-document.mouseLocSnapX)>150||Math.abs(mouseY-document.mouseLocSnapY)>150){hp();}else{var _19e=60;if(_19d&&_19d.nodeName=="IMG"){_19e=Element.getDimensions(_19d)["height"];}if((mouseX+Element.getDimensions($("pimid"))["width"])>winW){_19b=(mouseX-Element.getDimensions($("pimid"))["width"]-pmousedelta[0]-45);}else{_19b+=mouseX;}if(_19b<0){_19b=pmousedelta[0];}if((mouseY-Math.min(_19e,420)+pmousedelta[1]-20)<document.body.scrollTop){_19c=document.body.scrollTop-pmousedelta[1];if((_19c+40)>winH){_19c=(_19c-Math.min(_19e,420)+pmousedelta[1]);if(((_19c+Math.max(_19e,420)-document.body.scrollTop)-winH)>0){_19c=_19c-(typeof (event)=="undefined"?Math.min((_19e+160),420):(gloCrop=="panoramic"||(gloCrop!=""&&gloCrop!="vertical")?190:380));}}}else{if((mouseY+Math.max(_19e,420))>winH){_19c=(mouseY-Math.min(_19e,420)+pmousedelta[1]);if(((_19c+Math.max(_19e,420)-document.body.scrollTop)-winH)>0){_19c=_19c-(typeof (event)=="undefined"?Math.min((_19e+160),420):(gloCrop=="panoramic"||(gloCrop!=""&&gloCrop!="vertical")?190:380));}if(_19c<document.body.scrollTop){_19c=document.body.scrollTop-pmousedelta[1];}}else{_19c+=mouseY;if((_19c+40)>winH){_19c=(_19c-Math.min(_19e,420)+pmousedelta[1]);if(((_19c+Math.max(_19e,420)-document.body.scrollTop)-winH)>0){_19c=_19c-(typeof (event)=="undefined"?Math.min((_19e+160),420):(gloCrop=="panoramic"||(gloCrop!=""&&gloCrop!="vertical")?190:380));}}}}$("pimid").style.left=parseInt(_19b)+"px";$("pimid").style.top=parseInt(_19c)+"px";}}}function dispatchAll(_19f,init){var oC=(typeof (_19f)=="object"?_19f:_19f.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(_1a3,x,_1a5){var obj=$(_1a3);if(obj!=null){if($("pagingrow")&&document.currentLayer1Mode!="searchresults"){$("pagingrow").innerHTML="";}if(document.layers){document.write(unescape(_1a5));document.close();}else{obj.innerHTML=unescape(_1a5);}}}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="/SwishSearch?n=1&cartview=1";}else{self.location="/bin/Cklb?ref=/SwishSearch?cartview=1";}}function displayWindow(url,_1ac,_1ad){if(navigator.appName=="Netscape"){_1ad=parseInt(_1ad)+16;}var Win=window.open(url,"displayWindow","width="+_1ac+",height="+_1ad+",resizable=1,scrollbars=yes,menubar=no,status=no");Win.focus();}function displayWindow2(url,_1b0,_1b1){var Win2=window.open(url,"displayWindow2","width="+_1b0+",height="+_1b1+",resizable=0,scrollbars=yes,menubar=no,status=no");Win2.focus();}function optimize(){var _1b3=60;var _1b4="";if(optimizemenu==1&&pagetype=="search"){if(_1b3<total){_1b4+="<TABLE cellspacing=0 cellpadding=1 border=0>";_1b4+="<FORM name=\"optimizer\" action=\"#\">";_1b4+="<TR><TD>";_1b4+="<SELECT NAME=\"narrow\" ONCHANGE=\"narrowit(this.form.narrow.options[this.form.narrow.selectedIndex].value);\" class=\"smallmenu\">";_1b4+="<OPTION VALUE=\"#\">Narrow your search results";_1b4+="<OPTION VALUE=\"colorgray\">Remove black and white images";_1b4+="<OPTION VALUE=\"colorrgb\">Remove color images";_1b4+="<OPTION VALUE=\"imagehasrestrictions\">Remove restricted images";_1b4+="<OPTION VALUE=\"orientationvertical\">Remove verticals";_1b4+="<OPTION VALUE=\"(orientationhorizontal+OR+orientationpanoramic)\">Remove horizontals";if(spec_idx!="ed"){_1b4+="<OPTION VALUE=\"lowres\">Remove small scans (< 30 Mb)";}_1b4+="<OPTION VALUE=\"agefiveyears\">Only show recent images (<5 yrs)";_1b4+="<OPTION VALUE=\"agetenyears\">Remove very old images (>10 yrs)";_1b4+="</SELECT></td></tr></form></table>";_1b4+="";}else{_1b4+="";_1b4+="<FORM name=\"optimizer\" action=\"#\"><SELECT NAME=\"narrow\" ONCHANGE=\"expandit(this.form.narrow.options[this.form.narrow.selectedIndex].value);\" class=\"smallmenu\">";_1b4+="<OPTION VALUE=\"#\">Expand your search results";_1b4+="<OPTION VALUE=\"deep\">Have IPN members perform a deep search";if(spec_idx!="ne"){_1b4+="<OPTION VALUE=\"expand\">Show me the broadest set of images";}_1b4+="</SELECT></form>";_1b4+="";}}return (_1b4);}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(_1b9){place=detect.indexOf(_1b9)+1;thestring=_1b9;return place;}function popkeys2(oId,oLbj){var _1bc=$(oId);if(_1bc){if(_1bc.style.display=="none"){_1bc.style.display="block";var _1bd;if($("lbbuttons")){_1bd=Position.cumulativeOffset($("lbbuttons"))[1];}else{_1bd=winH;}var _1be=_1bd-Position.cumulativeOffset(_1bc)[1]+"px";_1bc.style.maxHeight=_1be;_1bc.style.overflowY="auto";}else{_1bc.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,_1c0,_1c1,path,_1c3,_1c4){var _1c5=name+"="+escape(_1c0)+((_1c1)?"; expires="+_1c1.toGMTString():"")+((path)?"; path="+path:"")+((_1c3)?"; domain="+_1c3:"")+((_1c4)?"; secure":"");document.cookie=_1c5;}function ggetCookie(name){var dc=document.cookie;var _1c8=name+"=";var _1c9=dc.indexOf("; "+_1c8);if(_1c9==-1){_1c9=dc.indexOf(_1c8);if(_1c9!=0){return null;}}else{_1c9+=2;}var end=document.cookie.indexOf(";",_1c9);if(end==-1){end=dc.length;}return unescape(dc.substring(_1c9+_1c8.length,end));}function gdeleteCookie(name,path,_1cd){if(ggetCookie(name)){document.cookie=name+"="+((path)?"; path="+path:"")+((_1cd)?"; domain="+_1cd:"")+"; expires=Thu, 01-Jan-70 00:00:01 GMT";}}function gsetCookie2(_1ce,_1cf){gsetCookie(_1ce,_1cf,"","/",gGetCookieDom());}function gGetCookieDom(){var _1d0=document.domain;var _1d1=_1d0.split(".");var end=_1d1.length-1;var _1d3=_1d1.length-2;var _1d4=_1d1[end];var _1d5=_1d1[_1d3];var _1d6="."+_1d5+"."+_1d4;return _1d6;}function gSetBackpage(){var _1d7="";if(location.href){_1d7=location.href;}gsetCookie("backpage",_1d7,"","/",gGetCookieDom());}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 _1df=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(!_1df.opener){_1df.opener=(typeof (parent)!="undefined"?parent:self);}if(_1df.focus){_1df.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(_1e1,type,_1e3){setTimeout("twidle_price_img_delay("+_1e1+", '"+type+"', '"+_1e3+"')",10);return false;}function getVars(){if(!document.location.href.split("?")[1]){return;}var _1e4=document.location.href.split("?")[1].split("&");urlParams=new Object;for(var x=0;x<_1e4.length;x++){var tmp=_1e4[x].split("=");if(tmp[0]){urlParams[unescape(tmp[0])]=unescape(tmp[1]);}}}function twidle_price_img_delay(_1e7,type,_1e9){var _1ea="lic"+_1e7;if(document[_1ea].loaded=="true"){return;}if(type=="RF"){var _1eb=new Image();_1eb.src="/graphics/specify_filesize.gif";document[_1ea].src=_1eb.src;}if(_1e9=="$ 0.00"){}else{var _1eb=new Image();_1eb.src="/graphics/ready_to_license.gif";document[_1ea].src=_1eb.src;}document[_1ea].loaded="true";return true;}
