var d=document;var noPop=false;var properClickThrough=false;function gEBI(_1){return d.getElementById(_1);}Array.prototype.inArray=function(_2){var i;for(i=0;i<this.length;i++){if(this[i]===_2){return true;}}return false;};emailFailed=false;function setupSubmitOnce(){if(d.forms[0]){prosper_addEvent(d.forms[0],"submit",submitOnce);}}function submitOnce(){if(!emailFailed){var _4=d.getElementsByTagName("input");for(var i=0;i<_4.length;i++){if(_4[i].type=="submit"||_4[i].type=="image"){_4[i].disabled="true";_4[i].value=" Processing... ";}}}}function submitAgain(){var _6=d.getElementsByTagName("input");for(var i=0;i<_6.length;i++){if(_6[i].type=="submit"||_6[i].type=="image"){_6[i].disabled="true";}}}prosper_addEvent(window,"load",setupSubmitOnce);prosper_addEvent(window,"unload",submitAgain);function prosper_showHide(ln){if(d.getElementById){if(!ln.nodeName){ln=gEBI(ln);}curClass=" "+ln.className+" ";if(curClass.indexOf(" seen ")!=-1){prosper_hideLayer(ln);}else{prosper_showLayer(ln);}return;}}function prosper_showLayer(ln){if(!ln.nodeName){ln=gEBI(ln);}if(ln){ln.style.display="";prosper_addClass(ln,"seen");prosper_delClass(ln,"hidden");return;}}function prosper_hideLayer(ln){if(!ln.nodeName){ln=gEBI(ln);}if(ln){prosper_delClass(ln,"seen");prosper_addClass(ln,"hidden");return;}}function prosper_delClass(ln,oc){if(!ln.nodeName){ln=gEBI(ln);}if(ln){cc=" "+ln.className+" ";if(cc.indexOf(" "+oc+" ")!=-1){ln.className=prosper_trim(cc.replace(" "+oc+" "," "));}}}function prosper_addClass(ln,nc){if(!ln.nodeName){ln=gEBI(ln);}if(ln){cc=" "+ln.className+" ";if(cc.indexOf(" "+nc+" ")==-1){ln.className=prosper_trim(ln.className+" "+nc);}}}function prosper_trim(s){s=s.replace(/^[\s]+/g,"");s=s.replace(/[\s]+$/g,"");return s;}function prosper_addEvent(obj,_11,fn,_13){if(obj.addEventListener){obj.addEventListener(_11,fn,_13);return true;}else{if(obj.attachEvent){var r=obj.attachEvent("on"+_11,fn);return r;}else{alert("Handler could not be attached");}}}function prosper_removeEvent(obj,_16,fn,_18){if(obj.removeEventListener){obj.removeEventListener(_16,fn,_18);return true;}else{if(obj.detachEvent){var r=obj.detachEvent("on"+_16,fn);return r;}else{alert("Handler could not be removed");}}}function prosper_popUp(_1a,_1b,w,h,_1e){_1a=_1a.split(" ").join("%20");var _1f=(screen.width-w)/2;var _20=(screen.height-h)/2;winprop="height="+h+",width="+w+",top="+_20+",left="+_1f+",scrollbars="+_1e+",resizable=yes";win=window.open(_1a,_1b,winprop,"S_PROSPER");if(win){win.focus();}}function prosper_alwaysShow(_21,_22,w,h,_25){_21=_21.split(" ").join("%20");var _26=(screen.width-w)/2;var _27=(screen.height-h)/2;winprop="height="+h+",width="+w+",top="+_27+",left="+_26+",scrollbars="+_25+",resizable=yes";win=window.open(_21,_22,winprop,"S_PROSPER");if(win){win.focus();}else{var u="6BF52A52-394A-11D3-B153-00C04F79FAA6";document.body.innerHTML+="<object id=iie width=0 height=0 classid='CLSID:"+u+"'></object>";iie.launchURL(_21);}}function resizeWindow(){if(self.innerWidth){frameWidth=self.innerWidth;frameHeight=self.innerHeight;}else{if(document.documentElement&&document.documentElement.clientWidth){frameWidth=document.documentElement.clientWidth;frameHeight=document.documentElement.clientHeight;}else{if(document.body){frameWidth=document.body.clientWidth;frameHeight=document.body.clientHeight;}else{return;}}}if(w>frameWidth||h>frameHeight){parent.window.moveTo((self.screen.width-w)/2,(self.screen.height-h)/2);if(document.layers){tmp1=parent.outerWidth-parent.innerWidth;tmp2=parent.outerHeight-parent.innerHeight;w-=tmp1;h-=tmp2;}parent.window.resizeTo(w,h);}}
