var d=document;var noPop=false;var properClickThrough=false;function gEBI(a){return d.getElementById(a)}Array.prototype.inArray=function(b){var a;for(a=0;a<this.length;a++){if(this[a]===b){return true}}return false};emailFailed=false;function setupSubmitOnce(){if(d.forms[0]){prosper_addEvent(d.forms[0],"submit",submitOnce)}}function submitOnce(){if(!emailFailed){var a=d.getElementsByTagName("input");for(var b=0;b<a.length;b++){if(a[b].type=="submit"||a[b].type=="image"){a[b].disabled=true;a[b].value=" Processing... "}}}}function submitAgain(){var a=d.getElementsByTagName("input");for(var b=0;b<a.length;b++){if(a[b].type=="submit"||a[b].type=="image"){a[b].disabled=false}}}prosper_addEvent(window,"load",setupSubmitOnce);prosper_addEvent(window,"unload",submitAgain);function prosper_showHide(a){if(d.getElementById){if(!a.nodeName){a=gEBI(a)}curClass=" "+a.className+" ";if(curClass.indexOf(" seen ")!=-1){prosper_hideLayer(a)}else{prosper_showLayer(a)}return}}function prosper_showLayer(a){if(!a.nodeName){a=gEBI(a)}if(a){a.style.display="";prosper_addClass(a,"seen");prosper_delClass(a,"hidden");return}}function prosper_hideLayer(a){if(!a.nodeName){a=gEBI(a)}if(a){prosper_delClass(a,"seen");prosper_addClass(a,"hidden");return}}function prosper_delClass(b,a){if(!b.nodeName){b=gEBI(b)}if(b){cc=" "+b.className+" ";if(cc.indexOf(" "+a+" ")!=-1){b.className=prosper_trim(cc.replace(" "+a+" "," "))}}}function prosper_addClass(a,b){if(!a.nodeName){a=gEBI(a)}if(a){cc=" "+a.className+" ";if(cc.indexOf(" "+b+" ")==-1){a.className=prosper_trim(a.className+" "+b)}}}function prosper_trim(a){a=a.replace(/^[\s]+/g,"");a=a.replace(/[\s]+$/g,"");return a}function prosper_addEvent(f,e,b,a){if(f.addEventListener){f.addEventListener(e,b,a);return true}else{if(f.attachEvent){var c=f.attachEvent("on"+e,b);return c}else{alert("Handler could not be attached")}}}function prosper_removeEvent(f,e,b,a){if(f.removeEventListener){f.removeEventListener(e,b,a);return true}else{if(f.detachEvent){var c=f.detachEvent("on"+e,b);return c}else{alert("Handler could not be removed")}}}function prosper_popUp(g,c,b,f,a){g=g.split(" ").join("%20");var e=(screen.width-b)/2;var i=(screen.height-f)/2;winprop="height="+f+",width="+b+",top="+i+",left="+e+",scrollbars="+a+",resizable=yes";win=window.open(g,c,winprop,"S_PROSPER");if(win){win.focus()}}function prosper_alwaysShow(i,e,b,g,a){i=i.split(" ").join("%20");var f=(screen.width-b)/2;var j=(screen.height-g)/2;winprop="height="+g+",width="+b+",top="+j+",left="+f+",scrollbars="+a+",resizable=yes";win=window.open(i,e,winprop,"S_PROSPER");if(win){win.focus()}else{var c="6BF52A52-394A-11D3-B153-00C04F79FAA6";document.body.innerHTML+="<object id=iie width=0 height=0 classid='CLSID:"+c+"'></object>";iie.launchURL(i)}}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)}parent.window.focus()};
