if(typeof Bounty=="undefined"){var Bounty=new Object;YAHOO.namespace("Bounty");YAHOO.Bounty=function(){var b=false;var a=new YAHOO.util.CustomEvent("onBountyReady");return{onBountyReady:a,init:function(){b=true;a.fire({ready:b});return b}}}();Bounty=YAHOO.Bounty}Bounty.widgets=new Object;Bounty.widgets.foregroundId="";Bounty.widgets.visibleWidgetIds=new Array();Bounty.widgets.widget=new Object;Bounty.widgets.keysSetup=false;Bounty.widgets.bodyCheck=false;Bounty.widgets.clickTime=new Date().getTime();Bounty.widgets.contentArea=null;Bounty.widgets.appearIds=new Object;Bounty.widgets.visibleBackdrops=0;Bounty.widgets.widgetTemplate=function(e){var d=false;var a=new Object;var b=new Array();var c=false;this.isVisible=function(h){if(typeof h!="boolean"){if(Bounty.widgets.visibleWidgetIds.indexOf(e)>=0){return true}else{return false}}else{var g=Bounty.widgets.visibleWidgetIds.indexOf(e);if(g>=0){var f=Bounty.widgets.visibleWidgetIds.splice(g,1)}if(h){Bounty.widgets.visibleWidgetIds.push(e)}}};this.setOption=function(f,g){a[f]=g};this.setOptions=function(f){a=f};this.getOption=function(f){if(typeof a[f]!="undefined"){return a[f]}else{return false}};this.getParentId=function(){return c};this.setParentId=function(g){var f=c;c=g;if(f&&c&&Bounty.widgets.widget[f].hasChildId(e)){Bounty.widgets.widget[f].removeChildId(e)}};this.getChildIds=function(){return b};this.addChildId=function(f){b.push(f);Bounty.widgets.widget[f].setParentId(e)};this.removeChildId=function(h){var g=b.indexOf(h);if(g>=0){var f=b.splice(g,1)}if(Bounty.widgets.widget[h].getParentId()==e){Bounty.widgets.widget[h].setParentId(false)}else{}};this.hasChildId=function(g){var f=b.indexOf(g);if(f>=0){return true}return false};this.forwardAllChildren=function(){if(this.getOption("canHaveChildren")){var g=this.getChildIds();if(g.length>0){var f=this.getParentId();for(i=0;i<g.length;i++){Bounty.widgets.widget[g[i]].setParentId(f)}}}};this.isAncestor=function(f){if(f==e||f==c){return true}if(c){return Bounty.widgets.widget[c].isAncestor(f)}};return{setParentId:this.setParentId,getParentId:this.getParentId,getChildIds:this.getChildIds,addChildId:this.addChildId,hasChildId:this.hasChildId,removeChildId:this.removeChildId,forwardAllChildren:this.forwardAllChildren,isAncestor:this.isAncestor,isVisible:this.isVisible,setVisible:this.isVisible,getOption:this.getOption,setOption:this.setOption,setOptions:this.setOptions}};Bounty.widgets.setActive=function(b){var c=document.getElementById(b);if(b==Bounty.widgets.foregroundId){return}var a=Bounty.widgets.foregroundId;if(Bounty.widgets.visibleWidgetIds.indexOf(b)<0&&a){if(Bounty.widgets.widget[a].getOption("canHaveChildren")){Bounty.widgets.widget[a].addChildId(b)}else{if(Bounty.widgets.visibleWidgetIds.indexOf("resumePopup")>=0&&b!="resumePopup"){Bounty.widgets.widget.resumePopup.addChildId(b)}}}Bounty.widgets.foregroundId=b;Bounty.widgets.widget[b].isVisible(true);Bounty.widgets.clickTime=new Date().getTime();if(Bounty.widgets.widget[b].getOption("hasBackdrop")){Bounty.widgets.backdrop.show()}if(!Bounty.widgets.keysSetup){Bounty.widgets.keysSetup=true;YAHOO.util.Event.addListener(document,"keyup",widgetEscape)}var d=Bounty.widgets.visibleWidgetIds;if(d.length>1){for(i=0;i<d.length;i++){if(d[i]!=b&&!Bounty.widgets.widget[b].isAncestor(d[i])&&d[i].indexOf("profilePanel")<0){Bounty.widgets.closeWidget(d[i])}}}Bounty.widgets.foregroundId=b};Bounty.widgets.closeWidget=function(widgetId){var panelActive=document.getElementById(widgetId);if(!panelActive){return}if(typeof Bounty.widgets.widget[widgetId]=="undefined"){}Bounty.widgets.widget[widgetId].isVisible(false);var parentId=Bounty.widgets.widget[widgetId].getParentId();if(parentId!=false){Bounty.widgets.widget[parentId].removeChildId(widgetId)}if(Bounty.widgets.widget[widgetId].getOption("toggleVisibilityOnly")){panelActive.style.visibility="hidden"}else{panelActive.style.display="none"}if(Bounty.widgets.widget[widgetId].getOption("hasBackdrop")){Bounty.widgets.backdrop.hide()}if(legacyWidgetsPopup.filterBox.active&&legacyWidgetsPopup.filterBox.active.getAttribute("showing")==1){legacyWidgetsPopup.filterBox.active.style.display="none";legacyWidgetsPopup.filterBox.active=false;pp_current=null}if(Bounty.widgets.widget[widgetId].getOption("execOnClose")){eval(Bounty.widgets.widget[widgetId].getOption("execOnClose"))}if(!(Bounty.widgets.widget[Bounty.widgets.foregroundId].isVisible())){if(Bounty.widgets.visibleWidgetIds.length>0){Bounty.widgets.foregroundId=Bounty.widgets.visibleWidgetIds[Bounty.widgets.visibleWidgetIds.length-1]}else{Bounty.widgets.foregroundId=""}}setTimeout('Bounty.widgets.checkIfClosed("'+widgetId+'")',100)};Bounty.widgets.checkIfClosed=function(a){if(!(Bounty.widgets.widget[a].isVisible())){panelActive=document.getElementById(a);if(Bounty.widgets.widget[a].getOption("toggleVisibilityOnly")){panelActive.style.visibility="hidden"}else{panelActive.style.display="none"}}};Bounty.widgets.closeActive=function(a){var b=document.getElementById(Bounty.widgets.foregroundId);if(b){Bounty.widgets.closeWidget(Bounty.widgets.foregroundId)}};Bounty.widgets.preloadImages=function(){var a=new Array();a.push("/images/pWidget/pWidgetShadow_topleft.png");a.push("/images/pWidget/pWidgetShadow_top.png");a.push("/images/pWidget/pWidgetShadow_topstep.png");a.push("/images/pWidget/pWidgetShadow_topright.png");a.push("/images/pWidget/pWidgetShadow_left.png");a.push("/images/pWidget/pWidgetShadow_right.png");a.push("/images/pWidget/pWidgetShadow_bottomleft.png");a.push("/images/pWidget/pWidgetShadow_bottom.png");a.push("/images/pWidget/pWidgetShadow_bottomright.png");for(i=0;i<a.length;i++){var b=new Image;b.src=a[i]}};Bounty.widgets.shadow=new Object;Bounty.widgets.shadow.update=function(f){if(typeof f=="null"){f=document.getElementById(Bounty.widgets.foregroundId)}else{if(typeof f!="object"){f=document.getElementById(f)}}var d=document.getElementById(f.id+"_Shadows");var p=new Object;if(f.id.indexOf("action")>=0&&d){p.content=YAHOO.util.Dom.getElementsByClassName("pWidget_shadowed_content","div",d)[0];if(parseInt(p.content.offsetHeight)<45){d.style.visibility="hidden";setTimeout("Bounty.widgets.shadow.update('"+f.id+"')",300);return}}var e=document.getElementById(f.id+"_Box");if(e){e.style.height=""}var l,k;if(f.id.indexOf("profilePanel")>=0){l=YAHOO.util.Dom.getElementsByClassName("profilePanelA","div",d)[0];k=YAHOO.util.Dom.getElementsByClassName("profilePanelB","div",d)[0];if(YAHOO.env.ua.gecko){k.cssFloat="left"}}if(d&&d.style.display!="none"){p.content=YAHOO.util.Dom.getElementsByClassName("pWidget_shadowed_content","div",d)[0];p.topleft=YAHOO.util.Dom.getElementsByClassName("pWidget_shadow_topleft","div",d)[0];p.topright=YAHOO.util.Dom.getElementsByClassName("pWidget_shadow_topright","div",d)[0];p.bottomleft=YAHOO.util.Dom.getElementsByClassName("pWidget_shadow_bottomleft","div",d)[0];p.bottomright=YAHOO.util.Dom.getElementsByClassName("pWidget_shadow_bottomright","div",d)[0];p.left=YAHOO.util.Dom.getElementsByClassName("pWidget_shadow_left","div",d)[0];p.right=YAHOO.util.Dom.getElementsByClassName("pWidget_shadow_right","div",d)[0];p.top=YAHOO.util.Dom.getElementsByClassName("pWidget_shadow_top","div",d)[0];p.bottom=YAHOO.util.Dom.getElementsByClassName("pWidget_shadow_bottom","div",d)[0];var m=p.content.offsetHeight;p.bottom.style.top=(m-11)+"px";p.bottom.style.left="26px";p.bottom.style.width=(p.content.offsetWidth-32)+"px";p.top.style.top="-5px";p.top.style.left=p.bottom.style.left;p.top.style.width=p.bottom.style.width;p.right.style.left=(p.content.offsetWidth-6)+"px";p.right.style.top="23px";var j=m-23-11;if(j>0){try{p.right.style.height=(j)+"px"}catch(c){p.right.style.height="0px"}p.right.style.visibility="";p.topleft.style.height=""}else{p.right.style.height="0px";p.right.style.visibility="hidden";p.topleft.style.height=(m-6)+"px"}p.topright.style.height=p.topleft.style.height;p.left.style.visibility=p.right.style.visibility;p.left.style.height=p.right.style.height;p.left.style.left="0px";p.left.style.top="23px";p.topleft.style.top=p.top.style.top;p.topleft.style.left=p.left.style.left;p.topright.style.top=p.top.style.top;p.topright.style.left=p.right.style.left;p.bottomleft.style.top=p.bottom.style.top;p.bottomleft.style.left=p.left.style.left;p.bottomright.style.top=p.bottom.style.top;p.bottomright.style.left=p.right.style.left;f.style.width=p.content.offsetWidth+"px";f.style.height=m+"px";p.content.style.position="absolute";p.content.style.left="0px";p.content.style.top="0px";if(f.id.indexOf("profilePanel")>=0){p.topB=YAHOO.util.Dom.getElementsByClassName("pWidget_shadow_top","div",d)[1];p.topstep=YAHOO.util.Dom.getElementsByClassName("pWidget_shadow_topstep","div",d)[0];var b=(parseInt(YAHOO.util.Dom.getStyle(k,"margin-top")));p.top.style.width=(l.offsetWidth-27)+"px";if(p.topB&&typeof p.topB!="undefined"){p.topB.style.top=(b-5)+"px";p.topB.style.left=(parseInt(p.top.style.left)+l.offsetWidth-10)+"px";p.topB.style.width=(k.offsetWidth-22)+"px"}else{}p.right.style.top=(parseInt(p.right.style.top)+b)+"px";p.right.style.height=(parseInt(p.right.style.height)-b)+"px";p.topright.style.top=p.topB.style.top;p.topstep.style.left=(parseInt(p.top.style.left)+parseInt(p.top.style.width))+"px";p.topstep.style.top=parseInt(p.top.style.top)+"px"}if(e){e.style.height="";var h=e.offsetHeight;if(h>50){f.style.background="#686868";e.style.height=(h-2)+"px"}}}else{f.style.background="";return false}if(YAHOO.env.ua.ie>0&&YAHOO.env.ua.ie<=6){d.style.left="0px";var g=(YAHOO.util.Dom.getXY(f));var a=(YAHOO.util.Dom.getXY(p.content));if(g[0]!=a[0]){d.style.left=(g[0]-a[0])+"px"}}d.style.visibility="";if(k&&YAHOO.env.ua.gecko){k.style.left=(parseInt(l.style.width)+2)+"px";k.style.cssFloat="none";k.style.position="absolute";k.style.top="0px"}};Bounty.widgets.shadow.add=function(e){var a=document.getElementById(e.id+"_Shadows");if(a){return}if(typeof e=="null"){e=document.getElementById(Bounty.widgets.foregroundId)}else{if(typeof e!="object"){e=document.getElementById(e)}}var c="";c+='<div class="pWidget_shadow pWidget_shadow_topleft"></div>';c+='<div class="pWidget_shadow pWidget_shadow_left"></div>';c+='<div class="pWidget_shadow pWidget_shadow_bottomleft"></div>';c+='<div class="pWidget_shadow pWidget_shadow_bottom"></div>';c+='<div class="pWidget_shadow pWidget_shadow_bottomright"></div>';c+='<div class="pWidget_shadow pWidget_shadow_right"></div>';c+='<div class="pWidget_shadow pWidget_shadow_topright"></div>';c+='<div class="pWidget_shadow pWidget_shadow_top"></div>';if(e.id.indexOf("profilePanel")>=0){c+='<div class="pWidget_shadow pWidget_shadow_top"></div>';c+='<div class="pWidget_shadow pWidget_shadow_topstep"></div>'}var f=document.createElement("div");f.id=e.id+"_Shadows";f.className="pWidget_shadows";f.innerHTML=c;var b=document.createElement("div");b.className="pWidget_shadowed_content";f.appendChild(b);var d=YAHOO.util.Dom.getChildrenBy(e,function(g){return g.parentNode==e});for(i=0;i<d.length;i++){if(d[i].parentNode==e){b.appendChild(d[i])}else{}}e.appendChild(f)};Bounty.widgets.backdrop=new Object;Bounty.widgets.backdrop.show=function(){Bounty.widgets.visibleBackdrops++;var a=document.getElementById("pWidgetBackdrop");if(!a){var a=document.createElement("div");a.id="pWidgetBackdrop";document.body.appendChild(a);YAHOO.util.Event.addListener(window,"resize",Bounty.widgets.backdrop.update)}Bounty.widgets.backdrop.update();a.style.display="block";clearInterval(Bounty.widgets.backdrop.updateTimer);var b=1000;if(navigator.appVersion.indexOf("MSIE 6.")!=-1){b=1000}Bounty.widgets.backdrop.updateTimer=setInterval("Bounty.widgets.backdrop.update()",b);document.body.style.backgroundColor="#4C4C4C";if(YAHOO.util.Dom.getStyle(document.body,"backgroundColor")){document.body.style.backgroundImage="url(/information/images/bg_tile_backdrop70.jpg)"}};Bounty.widgets.backdrop.update=function(){if(typeof Bounty.widgets.backdrop.div=="undefined"){Bounty.widgets.backdrop.div=document.getElementById("pWidgetBackdrop")}var a=Bounty.widgets.backdrop.div;if(typeof Bounty.widgets.backdrop.target=="undefined"){var b;b=document.getElementById("wrapper");if(!b){b=YAHOO.util.Dom.getElementsByClassName("background01","table");if(b&&b[0]){b=b[0]}}Bounty.widgets.backdrop.target=b;if(!Bounty.widgets.backdrop.target){Bounty.widgets.backdrop.target=document.body}}if(a){a.style.height=(Bounty.widgets.backdrop.target.offsetHeight)+"px";a.style.width=(Bounty.widgets.backdrop.target.offsetWidth)+"px";a.style.top=(Bounty.widgets.backdrop.target.offsetTop)+"px";a.style.left=(Bounty.widgets.backdrop.target.offsetLeft)+"px";if(YAHOO.env.ua.ie>0){a.style.left=(Bounty.widgets.backdrop.target.offsetLeft-1)+"px";a.style.width=(Bounty.widgets.backdrop.target.offsetWidth+1)+"px"}}if(Bounty.widgets.visibleBackdrops<=0){Bounty.widgets.visibleBackdrops=1;Bounty.widgets.backdrop.hide()}};Bounty.widgets.backdrop.hide=function(){Bounty.widgets.visibleBackdrops--;clearInterval(Bounty.widgets.backdrop.updateTimer);YAHOO.util.Event.removeListener(window,"resize",Bounty.widgets.backdrop.update);var a=document.getElementById("pWidgetBackdrop");if(!a){return}a.style.display="none";document.body.style.backgroundColor="white";document.body.style.backgroundImage=""};if(typeof YAHOO.util.Anim!="function"){var fileref=document.createElement("script");fileref.setAttribute("type","text/javascript");fileref.setAttribute("src","/javascript/yui/animation/animation-min.js");document.getElementsByTagName("head")[0].appendChild(fileref)}function profile_bodyonmousedown(h,g){var j=getEventTarget(h);if(typeof g=="undefined"){g=false}if(j.tagName=="OPTION"||(j.tagName=="SELECT"&&location.href.indexOf("role.d"))){return false}var b=new Date().getTime();var f=(b-Bounty.widgets.clickTime);Bounty.widgets.clickTime=b;if((f>200&&Bounty.widgets.foregroundId)||g){var a=document.getElementById(Bounty.widgets.foregroundId);if(g){a=document.getElementById(g)}if(a){if((j.className=="profilePanelClose"||(j.parentNode&&j.parentNode.className=="profilePanelClose"))||(j.className=="pWidget4_Close"||(j.parentNode&&j.parentNode.className=="pWidget4_Close"))){return}if(legacyWidgetsPopup.filterBox.active&&legacyWidgetsPopup.filterBox.active.getAttribute("showing")==1){return}var d=YAHOO.util.Dom.getRegion(a);var c=YAHOO.util.Event.getPageX(h),k=YAHOO.util.Event.getPageY(h);if(!(c>=d.left&&c<=d.right&&k>=d.top&&k<=d.bottom)){if(!(a.id=="resumePopup"&&String(j.className).indexOf("resumePopupLink")>-1)){if(!(j&&((j.className.indexOf("CHNote")>=0||(j.parentNode&&(j.parentNode.className.indexOf("CHNote")>=0||j.parentNode.id.indexOf("Note_")>=0)))))){profileClose(a)}}}}}}function profileClose(c,a){if(c.id){profileID=c.id.replace("_Close","");var b=document.getElementById(Bounty.widgets.foregroundId);if(Bounty.widgets.foregroundId!=profileID&&Bounty.widgets.foregroundId!=""){profileClose(document.getElementById(Bounty.widgets.foregroundId))}Bounty.widgets.closeActive(a)}}function profilePanelSetPosition(a,m,k,j,l,f){var c=YAHOO.util.Dom.getElementsByClassName("addCHNote_default","div",(a.id+"_note2"));if(c&&c[0]){c[0].style.display="block";c[0].style.display="none"}var q=YAHOO.util.Dom.getXY(m);if(l||f){q[0]=q[0]+l;q[1]=q[1]+f}YAHOO.util.Dom.setXY(a,q);var g=YAHOO.util.Dom.getRegion("wrapper");if(g){a.style.width=(k.offsetWidth+j.offsetWidth)+"px";a.style.height=(k.offsetHeight)+"px";var b=YAHOO.util.Dom.getRegion(a);if(typeof g.contains!="undefined"&&!g.contains(b)){if(b.right>g.right){q[0]=q[0]-b.right+g.right;q[1]=q[1]-k.offsetHeight+j.offsetHeight;YAHOO.util.Dom.setXY(a,q)}}}var h=(document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop);var e=YAHOO.util.Dom.getViewportHeight();var p=parseInt(e+h);var d=p-(q[1]+a.offsetHeight);if(d<0){window.scrollBy(0,(d*-1))}}function profilePanelFixSize(t){var s=document.getElementById("profilePanel_"+t+"_A");var p=document.getElementById("profilePanel_"+t+"_B");var b=document.getElementById("profilePanel_"+t);var j=YAHOO.util.Dom.getElementsByClassName("profilePanelAContent","div",s)[0];var e=300;var k=140;var h=200;profilePanelA_phones=YAHOO.util.Dom.getElementsByClassName("profilePanelPhone","div",s);var d=0;if(profilePanelA_phones&&profilePanelA_phones[0]){phoneLabels=YAHOO.util.Dom.getElementsByClassName("profilePanelPhoneLabel","div",profilePanelA_phones[g]);phoneDigits=YAHOO.util.Dom.getElementsByClassName("profilePanelPhoneDigits","div",profilePanelA_phones[g]);if(phoneLabels&&phoneDigits){for(var g=0;g<phoneLabels.length;g++){thisWidth=phoneLabels[g].offsetWidth+phoneDigits[g].offsetWidth;if(thisWidth>d){d=thisWidth}}}profilePanelA_phones[0].style.width=d+"px";d=d+10;if(d>k){k=d}}var r=document.getElementById("profilePanel_"+t+"_website");if(r&&r.offsetWidth>e){var c=r.getElementsByTagName("span");if(c&&c[0]){var l=c[0].innerHTML;if(navigator.userAgent.indexOf("KHTML")!=-1||navigator.userAgent.indexOf("Opera")!=-1){c[0].innerHTML=l.innerHTML.replace(/\//g,"/&shy;")}else{c[0].innerHTML=l.replace(/\//g,"/<wbr></wbr>")}}}profilePanelAMessage=YAHOO.util.Dom.getElementsByClassName("profilePanelAMessage","div",s);profilePanelA_setsWidth=YAHOO.util.Dom.getElementsByClassName("profilePanelA_setsWidth","div",s);profilePanelA_address=YAHOO.util.Dom.getElementsByClassName("profilePanelAddress","div",s);profilePanelA_name=YAHOO.util.Dom.getElementsByClassName("profilePanelName","div",s);if(profilePanelA_setsWidth&&profilePanelA_setsWidth[0]){profilePanelA_name[0].style.whiteSpace="nowrap";if(profilePanelA_name[0].offsetWidth>e){profilePanelA_name[0].style.whiteSpace="normal";profilePanelA_name[0].style.marginRight="0px"}else{profilePanelA_name[0].style.marginRight="16px"}if(profilePanelA_address&&typeof profilePanelA_address[0]!="undefined"){profilePanelA_address[0].style.whiteSpace="nowrap";profilePanelA_address[0].style.width="";profilePanelA_address[0].style.marginRight="6px";if((profilePanelA_address[0].offsetWidth+6)>e){profilePanelA_address[0].style.width=e+"px";profilePanelA_address[0].style.whiteSpace="normal"}}if(profilePanelA_setsWidth[0].offsetWidth>k){if(profilePanelA_setsWidth[0].offsetWidth<e){s.style.width=(6+profilePanelA_setsWidth[0].offsetWidth)+"px"}else{s.style.width=(6+e)+"px"}}else{s.style.width=(6+k)+"px"}if(profilePanelAMessage&&profilePanelAMessage[0]){profilePanelAMessage[0].style.width=profilePanelA_setsWidth[0].offsetWidth+"px"}}else{if(profilePanelAMessage&&profilePanelAMessage[0]){profilePanelAMessage[0].style.width=k+"px"}}ieHeightMod=0;if(YAHOO.env.ua.ie>0){if(YAHOO.env.ua.ie<=8){ieHeightMod=-2}else{if(YAHOO.env.ua.ie>=7){var a=YAHOO.util.Dom.getElementsByClassName("profilePanelAContent","div",s);if(a[0].className.indexOf("_recruiter")==-1){a[0].style.marginTop="1px"}}}var m=document.getElementById("profilePanel_"+t+"_Tab_1");m.style.borderLeft="none"}else{if(YAHOO.env.ua.webkit>0){}}if(h<j.offsetHeight){h=j.offsetHeight}var q=p.offsetHeight+(p.offsetTop);if(q>h){q=h}if(q<=(s.offsetHeight-p.offsetTop)){q=(s.offsetHeight-p.offsetTop)}q=q+5;var f=(parseInt(YAHOO.util.Dom.getStyle(p,"margin-top")));p.style.height=(q-4)+"px";s.style.height=(q-4+f)+"px";q=(q-23+ieHeightMod);var a=YAHOO.util.Dom.getElementsByClassName("profilePanelContent","div",p);for(var g=0;g<a.length;g++){a[g].style.height=q+"px"}b.style.width=(s.offsetWidth+p.offsetWidth+8)+"px";Bounty.widgets.shadow.update(b)}var getProfileDataFailure=function(d){sourceObj=document.getElementById("profileLink"+d.argument.personId+d.argument.extraIdentifier);var e=document.getElementById("profilePanelLoading_"+d.argument.personId);if(e){var c=e.getElementsByTagName("img")[0];if(c){c.src="/images/error16.png";c.alt="error";c.title="There was an error loading the profile.";var a=document.createElement("div");a.innerHTML=d.responseText;a.id=sourceObj.id+"__error";a.className="popupWidgetError";a.style.display="none";a.style.visibility="hidden";document.body.appendChild(a);widgetPopup(sourceObj.id,a.id,"");a.style.display="none";a.style.visibility="";e.style.cursor="pointer";YAHOO.util.Event.addListener(e,"mousedown",function(){widgetPopup(sourceObj.id,a.id,"")});var b=YAHOO.util.Dom.getXY(sourceObj);b[0]=b[0]+(-16);YAHOO.util.Dom.setXY(e,b)}if(sourceObj.style.cursor=="wait"){sourceObj.style.cursor=""}if(document.body.style.cursor=="wait"){document.body.style.cursor=""}}};var getProfileDataSuccess=function(p){if(p.responseText!=undefined&&p.responseText.indexOf("<!DOCTYPE")!=-1){window.top.document.write(p.responseText);return}var r=document.createElement("div");r.innerHTML=p.responseText;personId=p.argument.personId;r.className="profilePanel";r.id="profilePanel_"+personId;if(typeof Bounty.widgets.widget[r.id]=="undefined"){Bounty.widgets.widget[r.id]=new Bounty.widgets.widgetTemplate(r.id)}Bounty.widgets.widget[r.id].setOptions({canHaveChildren:true,hasBackdrop:false,hasShadow:true});Bounty.widgets.shadow.add(r);if(Bounty.widgets.appearIds["profileLink"+personId]){sourceObj=document.getElementById(Bounty.widgets.appearIds["profileLink"+personId])}if(!sourceObj){sourceObj=document.getElementById("profileLink"+personId+p.argument.extraIdentifier)}if(sourceObj){document.body.appendChild(r);if(!(document.getElementById("profilePanel_"+personId+"_A"))||!(document.getElementById("profilePanel_"+personId+"_B"))){return}if(navigator.userAgent.indexOf("Firefox")!=-1){var l=YAHOO.util.Dom.getElementsByClassName("profileForcebreak","span",r);for(var t=0;t<l.length;t++){addForceBreak(l[t])}}panelNote=document.getElementById("profilePanel_"+personId+"_note");panelNote2=document.getElementById("profilePanel_"+personId+"_note2");if(panelNote2){YAHOO.util.Event.addListener(panelNote2,"click",function(){profile_noteclick(this)})}profilePanelFixSize(personId);nClose=document.getElementById("profilePanel_"+personId+"_Close");r.closeObjId=nClose.id;YAHOO.util.Event.addListener(nClose,"mousedown",function(){profileClose(this,true)});YAHOO.util.Event.addListener(nClose,"mouseover",function(){profile_tab_onmouseover(this)});YAHOO.util.Event.addListener(nClose,"mouseout",function(){profile_tab_onmouseout(this)});for(n=1;n<=4;n++){nTab=document.getElementById("profilePanel_"+personId+"_Tab_"+n);YAHOO.util.Event.addListener(nTab,"mousedown",function(){profile_tab_onmousedown(this)});YAHOO.util.Event.addListener(nTab,"mouseover",function(){profile_tab_onmouseover(this)});YAHOO.util.Event.addListener(nTab,"mouseout",function(){profile_tab_onmouseout(this)})}var c=document.getElementById("profilePanel_"+personId+"_A");var b=document.getElementById("profilePanel_"+personId+"_B");var a=document.getElementById("profilePanel_"+personId+"_schoolsAttended");if(a){var q=(a.innerHTML).replace(/[\r\n]+/g,", ");q=q.replace(RegExp("<pre>","i")," ").replace(RegExp("</pre>","i")," ");a.innerHTML=q}var k=document.getElementById("profilePanel_"+personId+"_sendMail");if(k){k.href=k.href+"&finishedForwardURL="+Url.encode(location.href)}var f=document.getElementById("profileInvite-"+personId+"_returnURL");if(f){f.value=(location.href);if(f.value.indexOf("dispatch")==-1){if(window.parent!=null&&window.parent.document!=null&&window.parent.document.forms[0]!=null&&window.parent.document.forms[0].dispatch!=null){var s=f.value.indexOf("?")==-1?"?dispatch=":"&dispatch";var z=s+window.parent.document.forms[0].dispatch.value;f.value=f.value+z}}}if(navigator.appVersion.indexOf("MSIE 6.")!=-1){profilePanelObj=document.getElementById("profilePanel_"+personId);var e=document.createElement("iframe");var d=document.createElement("iframe");e.className="profilePanelIE6fixframe";d.className="profilePanelIE6fixframe";e.style.height=c.offsetHeight;e.style.width=c.offsetWidth;d.style.height=b.offsetHeight;d.style.width=b.offsetWidth;d.style.marginLeft=c.offsetWidth;d.style.marginTop=b.offsetTop;profilePanelObj.appendChild(e);profilePanelObj.appendChild(d)}var w;var g=document.createElement("div");g.id="profilePanel_"+personId+"_Move";g.className="profilePanel_Move";g.style.width=c.offsetWidth+"px";c.appendChild(g);w=new YAHOO.util.DD("profilePanel_"+personId);w.setHandleElId("profilePanel_"+personId+"_Move");if(panelNote2&&panelNote){var j=document.createElement("div");j.style.zIndex="200";j.appendChild(panelNote2);j.style.position="absolute";j.style.top="0px";c.appendChild(j);var h=document.getElementById("profilePanel_"+personId+"_Name");var x=YAHOO.util.Dom.getXY(h);var v=YAHOO.util.Dom.getXY(j);var y=YAHOO.util.Dom.getXY(panelNote);x[0]=x[0]-v[0]+h.getElementsByTagName("span")[0].offsetWidth+1;x[1]=x[1]-v[1]-(10);j.style.left=x[0]+"px";j.style.top=x[1]+"px";if((y[0]-x[0])<0){panelNote.style.display="none"}}YAHOO.util.Event.addListener(c,"mousedown",function(A){profile_onmousedown(A,this)});YAHOO.util.Event.addListener(b,"mousedown",function(A){profile_onmousedown(A,this)});var u=YAHOO.util.Dom.getElementsByClassName("profileInviteButton","input",c);if(u&&u[0]&&YAHOO.util.Dom.hasClass(u[0],"disabled")){u=u[0];YAHOO.util.Event.addListener(u,"mouseover",function(){legacyWidgetsPopup.showTooltipPopup("profileInvite-"+personId,"Inviting Headhunters","You may not invite this headhunter because you either have no active Bounties or the headhunter is already engaged on all of your active Bounties.")});YAHOO.util.Event.addListener(u,"mouseout",function(){widgetclose("profileInvite-"+personId+"Widget")});YAHOO.util.Event.addListener(u,"click",function(){return false})}Bounty.widgets.setActive("profilePanel_"+personId);r.isSetUp=true}var m=document.getElementById("profilePanelLoading_"+personId);if(m){m.style.display="none";if(sourceObj.style.cursor=="wait"){sourceObj.style.cursor=""}if(document.body.style.cursor=="wait"){document.body.style.cursor=""}}profilePanelSetPosition(r,sourceObj,c,b,p.argument.adjustPositionLeft,p.argument.adjustPositionTop)};function actionurl(a){var b=document.createElement("form");b.action=a;b.method="post";document.body.appendChild(b);b.submit();document.body.removeChild(b);return false}function profilePopup(p,m,h,d,l,g){var a=document.getElementById("profilePanel_"+p);if(a){if((a.style.display=="none"||a.style.visibility=="hidden")&&a.id!=Bounty.widgets.foregroundId){Bounty.widgets.clickTime=new Date().getTime();a.style.display="";Bounty.widgets.setActive(a.id);sourceObj=document.getElementById("profileLink"+p+m);if(sourceObj){var k=document.getElementById("profilePanel_"+p+"_A");var j=document.getElementById("profilePanel_"+p+"_B");profilePanelSetPosition(a,sourceObj,k,j,l,g)}}return}pWidgetCheckListener();var f={success:getProfileDataSuccess,failure:getProfileDataFailure,argument:{personId:p,extraIdentifier:m,adjustPositionLeft:l,adjustPositionTop:g}};Bounty.widgets.appearIds["profileLink"+p]="profileLink"+p+m;var c="/profile/ajah"+h+"Details.do?dispatch=begin"+d+"&partyId="+p;sourceObj=document.getElementById("profileLink"+p+m);if(sourceObj){var b=document.getElementById("profilePanelLoading_"+p);if(!(b)){var e=YAHOO.util.Connect.asyncRequest("POST",c,f,null);var b=document.createElement("div");b.className="profilePanelLoading";b.id="profilePanelLoading_"+p;b.innerHTML='<img src="/images/ajax-loader-trans.gif" />';document.body.appendChild(b)}b.style.display="";if(b.getElementsByTagName("img")[0].src.indexOf("/images/error16.png")==-1){if(document.body.style.cursor==""){document.body.style.cursor="wait"}if(sourceObj.style.cursor==""){sourceObj.style.cursor="wait"}}var q=YAHOO.util.Dom.getXY(sourceObj);q[0]=q[0]+(-16);YAHOO.util.Dom.setXY(b,q)}return}function getEventTarget(b){var a;if(b.target){a=b.target}else{if(b.srcElement){a=b.srcElement}}if(a.nodeType==3){a=targ.parentNode}return a}function pWidget_onmousedown(c,b){if(b.id){var a=getEventTarget(c);if(!(YAHOO.util.Dom.hasClass(a,"pWidget4_Close")||YAHOO.util.Dom.hasClass(a.parentNode,"pWidget4_Close"))){Bounty.widgets.setActive(b.id)}}}function profile_onmousedown(d,c){var b=c.id.replace("_B","").replace("_A","");if(c.id){var a=document.getElementById(b);if(a.style.display!="none"&&a.style.visibility!="hidden"){Bounty.widgets.setActive(b)}}}function profile_tab_onmouseover(a){if(a.className!="profilePanelActiveTab"){a.style.backgroundColor="white";a.getElementsByTagName("div")[0].style.color="#313031"}}function profile_tab_onmouseout(a){if(a.className!="profilePanelActiveTab"){a.style.backgroundColor="";a.getElementsByTagName("div")[0].style.color=""}}function profile_tab_onmousedown(e){panelID=e.id.substring(0,e.id.indexOf("_Tab_"));tabContentId=e.id.replace("_Tab_","_Content_");var g=document.getElementById(tabContentId);var d=YAHOO.util.Dom.getElementsByClassName("profilePanelContent","div",panelID);for(var a=0;a<d.length;a++){d[a].style.display="none";var c=document.getElementById(d[a].id.replace("_Content_","_Tab_"));if(c){c.className="profilePanelTab";e.style.backgroundColor="";e.getElementsByTagName("div")[0].style.color=""}}if(g){g.style.display=""}var c=e;var b=parseInt(e.id.replace("_Tab_","").replace(panelID,""));c.className="profilePanelActiveTab";var f=document.getElementById(panelID+"_TabOverlay");f.style.left=((b-1)*c.offsetWidth)+"px"}function profile_noteclick(c,b,a){if(!b){b="0"}if(!a){a="0"}var d=YAHOO.util.Dom.getElementsByClassName("addCHNote_default","div",c);if(!d||!d[0]){d=YAHOO.util.Dom.getElementsByClassName("widgetmain","div",c)}if(d&&d[0]){var e=YAHOO.util.Dom.getXY(c);d[0].style.marginLeft="-"+(e[0]-parseInt(b))+"px";d[0].style.marginTop="-"+(e[1]-parseInt(a))+"px"}}function pWidgetCheckListener(){if(!Bounty.widgets.bodyCheck){Bounty.widgets.bodyCheck=true;YAHOO.util.Event.addListener(document.body,"mousedown",function(b){profile_bodyonmousedown(b)})}if(!document.getElementById("profilePopupCSS")){var a=document.createElement("link");a.setAttribute("rel","stylesheet");a.setAttribute("type","text/css");a.setAttribute("href","/styles/pWidgetPopup.css?v=1.09");a.setAttribute("id","profilePopupCSS");document.getElementsByTagName("head")[0].appendChild(a)}}function statusWidgetPopup(a,b,d){var c=document.getElementById(b.replace("statusWidget","statusImg"));if(c&&c.src.indexOf("icon_status_unopened")==-1){widgetPopup(a,b,d)}}function widgetEscape(a){a=a||window.event;var b;if(window.event){b=window.event.keyCode}else{b=a.which}if(b==27){Bounty.widgets.closeActive()}}function widgetPopup(f,b,d,a,r){pWidgetCheckListener();sourceObj=document.getElementById(f);targetObj=document.getElementById(b);if(!r){r=""}if(targetObj&&sourceObj){if(!targetObj.isSetUp){if(typeof Bounty.widgets.widget[targetObj.id]=="undefined"){Bounty.widgets.widget[b]=new Bounty.widgets.widgetTemplate(b);Bounty.widgets.widget[b].setOptions({toggleVisibilityOnly:true,canHaveChildren:true,hasBackdrop:false,hasShadow:false})}targetObj.style.visibility="hidden";targetObj.style.display="";if(Bounty.widgets.widget[targetObj.id].getOption("hasShadow")){Bounty.widgets.shadow.update(targetObj)}targetObj.style.position="absolute";if(d=="button"){var g=document.createElement("div");targetObj.style.width=(sourceObj.offsetWidth)+"px";var p=document.getElementById(targetObj.id+"_buttonCurve");if(!p){p=document.createElement("div");p.style.height="20px";p.style.width=targetObj.style.width;p.style.background="url(/images/buttonTApopCurve.gif) top left repeat-x";p.style.position="absolute";p.style.top="-4px";p.style.left="-10px";targetObj.appendChild(p)}g.style.background="white url(/images/buttonTApop2.gif) top left repeat-x";g.style.width=(sourceObj.offsetWidth-2-10)+"px";g.style.marginLeft="10px";g.style.marginTop="4px";g.style.borderTop="none";g.style.position="relative";g.innerHTML=targetObj.innerHTML;g.className=targetObj.className;g.id=targetObj.id+"_B";targetObj.innerHTML="";targetObj.className="pButtonStatusContainer";targetObj.appendChild(g);var c=YAHOO.util.Dom.getRegion(g);targetObj.animHeight=c.bottom-c.top+5}if(d=="legacyWidget"){if(parseInt(targetObj.style.width)>900){targetObj.style.width="300px";Bounty.widgets.shadow.update(targetObj)}}if(d=="statusWidget"){var j=document.createElement("div");var g=document.createElement("div");var k=targetObj.innerHTML;targetObj.innerHTML="";j.className="pButtonStatusChimney";j.id=targetObj.id+"_A";g.id=targetObj.id+"_B";g.className=targetObj.className;targetObj.className="pButtonStatusContainer";targetObj.appendChild(g);targetObj.appendChild(j);g.innerHTML=k;YAHOO.util.Event.addListener(g.id,"mousedown",function(v){profile_onmousedown(v,this)});YAHOO.util.Event.addListener(j.id,"mousedown",function(v){profile_onmousedown(v,this)});var u=document.createElement("img");u.src="/images/change_status.gif";u.className="pButtonStatusArrow";targetObj.appendChild(u)}else{YAHOO.util.Event.addListener(b,"mousedown",function(v){pWidget_onmousedown(v,this)})}var c=YAHOO.util.Dom.getRegion(g);targetObj.animHeight=c.bottom-c.top+20;if(Bounty.widgets.widget[targetObj.id].getOption("toggleVisibilityOnly")){targetObj.style.visibility="hidden"}else{targetObj.style.visibility="";targetObj.style.display="none"}targetObj.isSetUp=true}if((targetObj.style.display=="none"||targetObj.style.visibility=="hidden")&&targetObj.id!=Bounty.widgets.foregroundId){var h={use:false,display:"",visibility:""};if(sourceObj.style.display=="none"){h.use=true;h.display=sourceObj.style.display;h.visibility=sourceObj.style.display;sourceObj.style.visibility="hidden";sourceObj.style.display="block"}var s=YAHOO.util.Dom.getRegion(sourceObj);var e=s;if(!e){e={0:0,1:0}}if(r=="top"){e[0]+=-4;e[1]+=-4}else{e[1]=e[1]+(s.bottom-s.top)}if(navigator.appVersion.indexOf("MSIE 7.")==-1){e[0]=e[0]+1}if(d=="button"){targetObj.style.width=(sourceObj.offsetWidth)+"px";e[1]+=-4;e[0]+=20}if(d=="statusWidget"){e[1]=e[1]+10}if(typeof a!="undefined"){e[0]+=a[0];e[1]+=a[1]}if(Bounty.widgets.widget[targetObj.id].getOption("hasShadow")){e[0]+=-10;e[1]+=-4}if(r=="right"){var t=YAHOO.util.Dom.getRegion(targetObj);if(typeof t.width=="undefined"){t.width=t.right-t.left;if(t.width==0){if(sourceObj.getAttribute("xwidth")){t.width=sourceObj.getAttribute("xwidth")}}}if(typeof s.width=="undefined"){s.width=s.right-s.left}if(typeof s.width!="undefined"&&typeof t.width!="undefined"){e[0]+=s.width-t.width}}if(d=="tooltip"){if(YAHOO.util.Dom.hasClass(sourceObj,"tipAlignLeft")){e[0]=s[0]-265;e[1]=e[1]-(s.bottom-s.top)}else{e[0]=BJUtil.help.widgets.mouseXY[0]}}Bounty.widgets.clickTime=new Date().getTime();var h={use:false,display:"",visibility:""};if(h.use){sourceObj.display=h.display;sourceObj.visibility=h.visibility}if(targetObj.animHeight){targetObj.style.overflow="hidden";targetObj.style.height="1px";targetObj.style.display="";YAHOO.util.Dom.setXY(targetObj,e);var q=new YAHOO.util.Anim(targetObj,{height:{from:0,to:targetObj.animHeight}},0.2);q.animate()}else{targetObj.style.visibility="hidden";targetObj.style.display="";YAHOO.util.Dom.setXY(targetObj,e);var m=YAHOO.util.Dom.getRegion("wrapper");var l=YAHOO.util.Dom.getRegion(targetObj);if(!(m.contains(l))){if(l.left<m.left){e[0]=e[0]+parseInt(m.left-l.left)}else{if(l.right>m.right){e[0]=e[0]-parseInt(l.right-m.right)}}YAHOO.util.Dom.setXY(targetObj,e)}targetObj.style.visibility=""}Bounty.widgets.setActive(targetObj.id)}}return}function stripAlphaFromField(a){a=a||window.event;target=a.target||a.srcElement;target.value=(target.value).replace(/[^0-9]/g,"")}function keypressNumericOnly(a){a=a||window.event;var c;if(window.event){c=window.event.keyCode}else{c=a.which}var b=String.fromCharCode(c);b=b.replace(/[^0-9]/g,"");if(b!=""||c==9||c==13||c==27||c==8||c==0){return true}return false}function makeInputNumericOnly(a){YAHOO.util.Event.addListener(a,"change",stripAlphaFromField);document.getElementById(a).onkeypress=keypressNumericOnly}function checkForFirebug(){if(typeof console=="undefined"&&typeof firebug=="undefined"){var a=document.createElement("script");a.setAttribute("type","text/javascript");a.setAttribute("src","/javascript/firebug-lite-compressed.js");document.getElementsByTagName("head")[0].appendChild(a);YAHOO.util.Event.onAvailable("firebug",setupFirebug,this)}}function setupFirebug(){if(String(window.location).indexOf("://localhost")){firebug.win.minimize()}else{firebug.win.close()}if(String(window.location).indexOf("://localhost")||String(window.location).indexOf("://qabuild.bountyjobs.com")){var a=document.getElementsByTagName("a");if(a&&a[0]){YAHOO.util.Event.addListener(a[0],"click",function(c){var b=navigator.appName=="Netscape"?c:event;if(b.shiftKey){toggleFirebug();return false}})}}}function toggleFirebug(){if(typeof firebug.env!="undefined"&&firebug.env.init){if(String(window.location).indexOf("://localhost")){firebug.win.minimize()}else{firebug.win.close()}}else{firebug.init()}}function clone(c){if(c==null||typeof(c)!="object"){return c}var a=new c.constructor();for(var b in c){a[b]=clone(c[b])}return a}function arrayUnique(c){var e=new Array();o:for(var d=0,g=c.length;d<g;d++){for(var b=0,f=e.length;b<f;b++){if(e[b]==c[d]){continue o}}e[e.length]=c[d]}return e}function f_clientWidth(){return f_filterResults(window.innerWidth?window.innerWidth:0,document.documentElement?document.documentElement.clientWidth:0,document.body?document.body.clientWidth:0)}function f_clientHeight(){return f_filterResults(window.innerHeight?window.innerHeight:0,document.documentElement?document.documentElement.clientHeight:0,document.body?document.body.clientHeight:0)}function f_scrollLeft(){return f_filterResults(window.pageXOffset?window.pageXOffset:0,document.documentElement?document.documentElement.scrollLeft:0,document.body?document.body.scrollLeft:0)}function f_scrollTop(){return f_filterResults(window.pageYOffset?window.pageYOffset:0,document.documentElement?document.documentElement.scrollTop:0,document.body?document.body.scrollTop:0)}function f_filterResults(d,b,a){var c=d?d:0;if(b&&(!c||(c>b))){c=b}return a&&(!c||(c>a))?a:c}function appendScript(a){var b=document.createElement("script");b.setAttribute("type","text/javascript");b.setAttribute("src","/javascript/"+a);document.getElementsByTagName("head")[0].appendChild(b)}takeActionPopup=new Object;takeActionPopup.show=function(d){if(!d){var d=window.event}var b=d.target?d.target:d.srcElement;if(b&&b.id&&b.id.indexOf("TakeActionButton-")>-1){var c=document.getElementById(b.id.replace("TakeActionButton-","TakeActionPopup-"));if(!c){c=takeActionPopup.create(b)}var a={0:12,1:5};widgetPopup(b.id,c.id,"",a,"right")}};takeActionPopup.formatLinks=function(c){var d=c.getElementsByTagName("a");var b=0;for(var a=0;a<d.length;a++){if(d[a].parentNode.id=c.id){b++;if((b%2)){d[a].className=d[a].className+" altBgColor1"}else{d[a].className=d[a].className+" altBgColor2"}}}return d};takeActionPopup.create=function(h){var d=document.createElement("div");d.id=h.id.replace("TakeActionButton-","TakeActionPopup-");if(typeof Bounty.widgets.widget[d.id]=="undefined"){Bounty.widgets.widget[d.id]=new Bounty.widgets.widgetTemplate(d.id)}Bounty.widgets.widget[d.id].setOptions({toggleVisibilityOnly:true,canHaveChildren:false,hasBackdrop:false,hasShadow:true});document.body.appendChild(d);var c=document.getElementById(h.id.replace("TakeActionButton-","TakeActionContent-"));var f='<div class="pWidget4_Box" style="width:150px;">';f+='  <div id="'+d.id+'_Top" class="pWidget4_Top">';f+='    <div id="'+d.id+'_Close" class="pWidget4_Close">';f+="       <div>X";f+="       </div>";f+="    </div>";f+='    <div class="clear"></div>';f+="  </div>";f+='  <div id="'+d.id+'_Title" class="pWidget4_Title">';f+="    Choose an action";f+="  </div>";f+='  <div class="pWidget4_Content" id="'+d.id+'_Content">';f+="  </div>";f+="</div>";d.innerHTML=f;Bounty.widgets.shadow.add(d);var k=YAHOO.util.Dom.getElementsByClassName("pWidget4_Title","div",d)[0];var e=YAHOO.util.Dom.getElementsByClassName("pWidget4_Top","div",d)[0];var l=YAHOO.util.Dom.getElementsByClassName("pWidget4_Close","div",d)[0];var g=YAHOO.util.Dom.getElementsByClassName("pWidget4_Content","div",d)[0];var a=(k.offsetWidth+l.offsetWidth)+"px";if(typeof e.style.minWidth!="undefined"){e.style.minWidth=a}else{l.style.cssFloat="none";l.style.styleFloat="none";e.style.width=a}var j=c.getElementsByTagName("a");var j=takeActionPopup.formatLinks(c);d.closeObjId=d.id+"_Close";YAHOO.util.Event.addListener(d.id+"_Close","mousedown",function(){profileClose(this,true)});YAHOO.util.Event.addListener(d.id+"_Close","mouseover",function(){YAHOO.util.Dom.addClass(this,"closeHover")});YAHOO.util.Event.addListener(d.id+"_Close","mouseout",function(){YAHOO.util.Dom.removeClass(this,"closeHover")});var b;var b=new YAHOO.util.DD(d);b.setHandleElId(d.id+"_Title");b.setHandleElId(d.id+"_Top");document.getElementById(d.id+"_Title").style.cursor="move";document.getElementById(d.id+"_Top").style.cursor="move";document.getElementById(d.id+"_Content").appendChild(c);c.style.display="block";if(typeof e.style.minWidth=="undefined"){if(g.offsetWidth>e.offsetWidth){e.style.width=g.offsetWidth+"px"}}return d};if(YAHOO.env.ua.ie>0||YAHOO.env.ua.opera>0){document.nativeGetElementById=document.getElementById;document.getElementById=function(c){var b=document.nativeGetElementById(c);if(b){if(b.attributes.id.value==c){return b}else{if(document.all&&typeof document.all!="undefined"&&typeof document.all[c]!="undefined"&&document.all[c]&&typeof document.all[c].length!="undefined"){for(var a=1;a<document.all[c].length;a++){if(document.all[c][a].attributes.id.value==c){return document.all[c][a]}}}}}return null}}YAHOO.util.Event.onDOMReady(function(){Bounty.widgets.preloadImages()});
