AcceptStyle = 'style="width:100px"'; DeclineStyle = 'style="width:100px"'; if (InvAcceptButtonText.length >= 10){ AcceptStyle = ''; } if (InvDeclineButtonText.length >= 10){ DeclineStyle = ''; } //PopupOnSeconds = PopupOnSeconds * 1000 SlideInSpeed = (((SlideInSpeed / 1.4142) * 20) / 1000) document.write(""); document.write(""); if ( document.getElementById ) v1771117676074217v186 = document.getElementById ( "v1771117676074217v181" ); else v1771117676074217v186 = document.all ["v1771117676074217v181"]; var v1771117676074217v187 = undefined; var v1771117676074217v188 = false; function v1771117676074217v183 ( ) { if ( document.getElementById ) v189 = document.getElementById ( "v1771117676074217v185" ); else v189 = document.all ["v1771117676074217v185"]; if ( v189.style.display == "none" ) { v189.style.display = ""; v1771117676074217v186.style.height = "150px"; } else { v189.style.display = "none"; v1771117676074217v186.style.height = "20px"; } } function v1771117676074217v184 ( ) { v1771117676074217v186.style.display = "none"; v1771117676074217v188 = true; } var v1771117676074217v175, v1771117676074217v176; var v1771117676074217v190, v1771117676074217v191; function v1771117676074217v192 ( ) { return ( ( window.pageXOffset ) ? window.pageXOffset : document.body.scrollLeft ) + v1771117676074217v190; } function v1771117676074217v193 ( ) { return ( ( window.pageYOffset ) ? window.pageYOffset : document.body.scrollTop ) + v1771117676074217v191; } function v1771117676074217v194 ( ) { var v195 = 500; v1771117676074217v186.style.top = v1771117676074217v193 ( ); v1771117676074217v186.style.left = v1771117676074217v192 ( ); setTimeout ( "v1771117676074217v194 ( );", v195 ); } function AcceptRedirect() { open(RedirectURL , "Ad", "toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1"); v1771117676074217v184(); //Close } function AcceptMailTo() { RedirectURL = "mailto:" + EmailTo + "?subject=" + EmailSubject open(RedirectURL , "Ad", "toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1"); v1771117676074217v184(); //Close } function AcceptInvite() { open(SurveyURL , "Survey", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=" + SurveyWidth + ",height=" + SurveyHeight); v1771117676074217v184(); //Close } function v1771117676074217v197 ( v198 ) { if ( v1771117676074217v190 != v1771117676074217v175 || v1771117676074217v191 != v1771117676074217v176 ) { if ( v1771117676074217v190 != v1771117676074217v175 ) if ( Math.abs ( v1771117676074217v190 - v1771117676074217v175 ) <= v1771117676074217v199 ) v1771117676074217v190 = v1771117676074217v175; else if ( v1771117676074217v190 < v1771117676074217v175 ) v1771117676074217v190 += v1771117676074217v199; else v1771117676074217v190 -= v1771117676074217v199; if ( v1771117676074217v191 != v1771117676074217v176 ) if ( Math.abs ( v1771117676074217v191 - v1771117676074217v176 ) <= v1771117676074217v199 ) v1771117676074217v191 = v1771117676074217v176; else if ( v1771117676074217v191 < v1771117676074217v176 ) v1771117676074217v191 += v1771117676074217v199; else v1771117676074217v191 -= v1771117676074217v199; v1771117676074217v186.style.top = v1771117676074217v193 ( ); v1771117676074217v186.style.left = v1771117676074217v192 ( ); setTimeout ( "v1771117676074217v197 ( " + v198 + " );", 20 ); } else if ( v198 ) v1771117676074217v194 ( ); else v1771117676074217v186.style.display = "none"; } function v1771117676074217v200 ( v201, v202 ) { v1771117676074217v175 = v201; v1771117676074217v176 = v202; v1771117676074217v190 = v201; v1771117676074217v191 = v202; switch ( SlideInDir ) { case 1 : v203 = 1; v204 = 1; break; case 2 : v203 = 0; v204 = 1; break; case 3 : v203 = -1; v204 = 1; break; case 4 : v203 = -1; v204 = 0; break; case 5 : v203 = -1; v204 = -1; break; case 6 : v203 = 0; v204 = -1; break; case 7 : v203 = 1; v204 = -1; break; case 8 : v203 = 1; v204 = 0; break; } var v205 = 0, v206 = 0; //v205 = -v201 -270; //v206 = -v202 -150; if ( v203 == 1 ) v205 = -v201 -InvWidth; else if ( v203 == -1 ) v205 = ( ( window.innerWidth ) ? window.innerWidth : document.body.clientWidth ) - v201; if ( v204 == 1 ) v206 = -v202 -InvHeight; else if ( v204 == -1 ) v206 = ( ( window.innerHeight ) ? window.innerHeight : document.body.clientHeight ) - v202; if ( v205 != 0 && v206 != 0 ) if ( Math.abs ( v205 ) < Math.abs ( v206 ) ) v206 = v206 / Math.abs ( v206 ) * Math.abs ( v205 ); else v205 = v205 / Math.abs ( v205 ) * Math.abs ( v206 ); v1771117676074217v190 += v205; v1771117676074217v191 += v206; v1771117676074217v186.style.top = v1771117676074217v193 ( ); v1771117676074217v186.style.left = v1771117676074217v192 ( ); v1771117676074217v186.style.display = ""; v1771117676074217v197 ( true ); } function v1771117676074217v196 ( ) { if ( v1771117676074217v188 ) return; v1771117676074217v199 = undefined; var v205 = 0, v206 = 0; var v201 = v1771117676074217v175, v202 = v1771117676074217v176; v205 = -v201 -270; v206 = -v202 -150; if ( v205 != 0 && v206 != 0 ) if ( Math.abs ( v205 ) < Math.abs ( v206 ) ) v206 = v206 / Math.abs ( v206 ) * Math.abs ( v205 ); else v205 = v205 / Math.abs ( v205 ) * Math.abs ( v206 ); v1771117676074217v175 += v205; v1771117676074217v176 += v206; v1771117676074217v186.style.top = v1771117676074217v193 ( ); v1771117676074217v186.style.left = v1771117676074217v192 ( ); v1771117676074217v186.style.display = ""; v1771117676074217v197 ( false ); } var v1771117676074217v199 = SlideInSpeed; if(DisplayHover == 'true'){ setTimeout ( "v1771117676074217v200 ( InvTargetX, InvTargetY, SlideInSpeed );", PopupOnSeconds ); } var v1771117676074217v217, v1771117676074217v218; function v1771117676074217v219 ( v220 ) { v221 = ( document.all ) ? event.clientX : v220.clientX; v222 = ( document.all ) ? event.clientY : v220.clientY; v1771117676074217v190 += v221 - v1771117676074217v217; v1771117676074217v191 += v222 - v1771117676074217v218; v1771117676074217v217 = v221; v1771117676074217v218 = v222; v1771117676074217v186.style.top = v1771117676074217v193 ( ); v1771117676074217v186.style.left = v1771117676074217v192 ( ); } function v1771117676074217v223 ( ) { } function v1771117676074217v224 ( ) { document.onmousemove = v1771117676074217v223; document.onmouseup = v1771117676074217v223; } function v1771117676074217v225 ( v220 ) { v1771117676074217v217 = ( document.all ) ? event.clientX : v220.clientX; v1771117676074217v218 = ( document.all ) ? event.clientY : v220.clientY; document.onmousemove = v1771117676074217v219; document.onmouseup = v1771117676074217v224; } if(HoverType == '3') { TitleBar.onmousedown = v1771117676074217v225; } else { v1771117676074217v186.onmousedown = v1771117676074217v225; }