function registerNamespace(){for(var d=0;d<arguments.length;d++){var c=window,b=arguments[d].split(".");for(var a=0;a<b.length;a++){if(!c[b[a]])c[b[a]]={};c=c[b[a]]}}}registerNamespace("Spaces");Spaces.Cookie={_strDomain:"."+document.domain.split(".").slice(-3).join("."),WriteCookie:function(f,c,b,d,g,e){var a=f;if(c)a+="="+escape(c);if(b)a+=";expires="+b;a+=";domain="+(d||Spaces.Cookie._strDomain);a+=";path="+(g||"/");if(e)a+=";secure";document.cookie=a},ReadCookie:function(c){var b=document.cookie.split(";");for(var a=0;a<b.length;a++){b[a]=b[a].replace(/^\s+|\s+$/g,"");if(0==b[a].indexOf(c+"="))return unescape(b[a].substr(c.length+1))}return null}};Spaces.IsRTL=function(){if(!document.body){if("undefined"!=typeof $Debug&&$Debug.ASSERT);return false}var a="rtl"==(document.body.currentStyle?document.body.currentStyle.direction:document.defaultView.getComputedStyle(document.body,"").direction);Spaces.IsRTL=function(){return a};return a};Spaces.WriteWmpObject=function(){document.write('<object width="100%" classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="PTMediaPlayer">')};Function.prototype.registerClass=function(){};registerNamespace("Web");registerNamespace("Web.Bindings");registerNamespace("$Debug");Web.Bindings.Base=function(){};$Enum=function(){};Web.Enum=$Enum;Web.Enum.create=function(){};$Debug.trace=function(){};String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};function ScaleImageContactImage(a){window.setTimeout(function(){ScaleImageContactImageCb(a)},1)}function ScaleImageContactImageCb(a){if(null!=a){var b=new Image;b.src=a.src;if(null==b.width||0==b.width||null==b.height||0==b.height||0==a.width||0==a.height)return;var g=Math.min(a.width/b.width,a.height/b.height),f=g*b.width,e=g*b.height,h=(a.width-f)/2,i=(a.height-e)/2;try{a.style.width=f+"px";a.style.height=e+"px";var d=a.parentNode,c;if(null!=d){c=parseInt(d.style.paddingTop);d.style.paddingTop=(isNaN(c)?0:c)+i+"px";c=parseInt(d.style.paddingLeft);d.style.paddingLeft=(isNaN(c)?0:c)+h+"px"}}catch(j){}}}function ValidateEmailEx(b){var a=/^[\w\.\+\-]+@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;return a.test(b)}PathUtility=new function(){this.MapPathType={};this.MapPathType.Image="image";this.MapPathType.Css="css";this.MapPathType.Script="script";this.MapPathType.XML="xml";this.MapPathServerType={};this.MapPathServerType.SpacesWeb="SpacesWeb";var c=false,d=true,a=null,b=null;function f(){try{var f=" ".charCodeAt(0)}catch(g){d=false}a=[];for(var e=0;e<C_STATIC_CONTENT_SERVER_COUNT;e++)a[e]=C_STATIC_CONTENT_URL_FORMAT.replace("{0}",e+1);if(C_STATIC_IMAGES_URL_FORMAT&&C_STATIC_IMAGES_URL_FORMAT.length>0){b=[];for(var e=0;e<C_STATIC_CONTENT_SERVER_COUNT;e++)b[e]=C_STATIC_IMAGES_URL_FORMAT.replace("{0}",e+1)}else b=a;c=true}this.MapPath=function(g,i,d,h){if(!c)f();var b=null;if(h!=null)b=h.toLowerCase();var a=e(g,b);switch(i.toString()){case this.MapPathServerType.SpacesWeb.toString():a+="Web";break;default:alert("Unexpected MapPathServerType")}if(d!=null){if(d!=""||d[0]!="/")a+="/";a+=d}if(a[a.length-1]!="/")a+="/";switch(g.toString()){case this.MapPathType.Image.toString():a+="images";if(Spaces.IsRTL())a+="/rtl";break;case this.MapPathType.Css.toString():a+="css";break;case this.MapPathType.Script.toString():a+="script";break;case this.MapPathType.XML.toString():a+="xml"}if(b==null||b.length==0||b[0]!="/")a+="/";if(b!=null)a+=b;return a};function e(h,e){var c=h.toString()==PathUtility.MapPathType.Image.toString()?b:a,f=c[C_STATIC_CONTENT_DEFAULT_INDEX];if(e!=null&&d==true){var i=Math.abs(g(e))%C_STATIC_CONTENT_SERVER_COUNT;f=c[i]}return f}function g(b){if(b==null)return 0;var d=b.length,a=0;for(var c=0;c<d;c++)a=a^b.charCodeAt(c);return a}this.GetFetchUrlService=function(c,b){var a=C_FETCH_URL_SERVICE.format(b,c.encodeURI());if($Request.extractHost(C_FETCH_URL_SERVICE).indexOf(document.location.host)==0)return a+"&nocache="+Math.random();else return this.GetProxyUrlService(a)+"&nocache="+Math.random()};this.GetProxyUrlService=function(a){return $Request.extractHost(document.location,true)+"/pr.aspx?url="+a.encodeURI()}};FlashDetection=new function(){var b=false,a=false,i=9,j=0,k=28,c="sn_flash";this.HasFlash=function(){if(!b){try{a=1==Spaces.Cookie.ReadCookie(c)||h(i,j,k)}catch(d){a=false}if(a)Spaces.Cookie.WriteCookie(c,1);b=true}return a};this.handleEmbedCode=function(g,f,e){var a=document.getElementById(g);if(d){if(!a||!a.parentNode)return;var b;if(FlashDetection.HasFlash()){b=document.createElement(f);if(b)try{b.setAttribute("wmode","opaque",0)}catch(h){}}else{b=document.createElement('<a href="http://www.macromedia.com/go/getflashplayer" target="_blank">');b.innerHTML='<img src="'+e+'" alt="" class="noFlash" /><br />'+flash_downloadmessage}a.parentNode.insertBefore(b,a);a.parentNode.removeChild(a)}else if(FlashDetection.HasFlash()){var c=document.createElement("div");try{c.innerHTML=f;c.firstChild.setAttribute("wmode","opaque")}catch(h){}document.write(c.innerHTML)}else document.write('<a href="http://www.macromedia.com/go/getflashplayer" target="_blank"><img src="'+e+'" class="noFlash" /><br />'+flash_downloadmessage+"</a>")};var d=navigator.appVersion.indexOf("MSIE")!=-1?true:false,m=navigator.appVersion.toLowerCase().indexOf("win")!=-1?true:false,l=navigator.userAgent.indexOf("Opera")!=-1?true:false;function e(){var a=null;try{var c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"),b=c.GetVariable("$version"),d=b.split(" ");a=d[1].split(",")}catch(e){}return a}function f(){var d=null;if(null!=navigator.plugins&&0<navigator.plugins.length&&(!!navigator.plugins["Shockwave Flash 2.0"]||!!navigator.plugins["Shockwave Flash"])){var g=navigator.plugins["Shockwave Flash 2.0"]?"Shockwave Flash 2.0":"Shockwave Flash",e=navigator.plugins[g].description,a=e.split(" "),b=a[2].split("."),f=""!=a[3]?a[3]:a[4],c=f.split("r");d=[b[0],b[1],c[1]>0?c[1]:0]}return d}function g(){if(null!=navigator.plugins&&0<navigator.plugins.length)return f();else if(d&&m&&!l)return e();return null}function h(b,c,d){var a=g();if(!a)return false;if(a[0]>b)return true;else if(a[0]==b)if(a[1]>c)return true;else if(a[1]==c)return a[2]>=d;return false}};function ShowSplit(a){a.className=a.className.replace(/splitOff/,"splitOn")}function HideSplit(a){a.className=a.className.replace(/splitOn/,"splitOff")}function TrackNavigation(a,c,b){var d=document.createElement("IMG");d.src=a+"/_0sa"+c+"/100?CM=SocialNetworking&CE=Navigation&HL="+b}function ShowNavMenu(a){if(!a.binding){a.binding=new $Menu(a);a.binding.initialize()}a.binding.toggleMenu();return false}$Menu=function(h){var d=this,f=h.parentNode,b=h,a=null,c=null;this.initialize=function(){g(window,"onunload",d.dispose);if(-1!=f.className.search(/split(?:On|Off)/)){b=b.previousSibling;while(!!b&&(!b.tagName||"A"!=b.tagName.toUpperCase()))b=b.previousSibling;if(!b)b=h}var e=h.nextSibling;while(!!e&&(!e.tagName||"DIV"!=e.tagName.toUpperCase()))e=e.nextSibling;if(!e)return;a=e;if(d.blnUseFrame){c=document.createElement("IFRAME");c.className="sn_lbar_menuFrame";f.insertBefore(c,a)}};this.dispose=function(){if(d.isVisible()){e(window,"onresize",i);e(document,"onclick",j)}e(window,"onunload",d.dispose);h.binding=null;c=null;a=null;b=null;f=null;d=null};this.isVisible=function(){if(!a)return false;return "block"==a.style.display};this.toggleMenu=function(){if(!a)return;if(d.isVisible())j();else{f.className+="X menuOn";a.style.pixelLeft=-1000;a.style.display="block";if(d.blnUseFrame){c.style.pixelLeft=-1000;c.style.display="block"}i();setTimeout(function(){if(!d.isVisible())return;g(document,"onclick",j);g(window,"onresize",i)},0)}};function j(){if(!d.isVisible())return;e(window,"onresize",i);e(document,"onclick",j);f.className=f.className.replace(/X menuOn/,"");a.style.display="none";if(d.blnUseFrame)c.style.display="none"}function i(){var e=b,i=a.offsetParent,f=Spaces.IsRTL()?b.offsetWidth-a.offsetWidth:0,h=e.offsetHeight+1;while(!!e&&e!=i){f+=e.offsetLeft;h+=e.offsetTop;e=e.offsetParent}var g=f;while(!!e&&e!=document.body){g+=e.offsetLeft;e=e.offsetParent}if(g<0)f-=g;else if(g+a.offsetWidth>document.body.scrollWidth)f-=g+a.offsetWidth-document.body.scrollWidth;a.style.pixelLeft=f;a.style.pixelTop=h;if(a.offsetLeft!=f)a.style.pixelLeft=2*f-a.offsetLeft;if(a.offsetTop!=h)a.style.pixelTop=2*h-a.offsetTop;if(d.blnUseFrame){c.style.pixelLeft=a.offsetLeft;c.style.pixelTop=a.offsetTop;c.style.pixelWidth=a.offsetWidth;c.style.pixelHeight=a.offsetHeight}}var g,e;if(window.attachEvent){g=function(b,c,a){b.attachEvent(c,a)};e=function(b,c,a){b.detachEvent(c,a)}}else{g=function(b,c,a){b.addEventListener(c.slice(2),a,false)};e=function(b,c,a){b.removeEventListener(c.slice(2),a,false)}}};var _msieIndex=window.navigator.appVersion.indexOf("MSIE");$Menu.prototype.blnUseFrame=-1!=_msieIndex&&7>parseFloat(window.navigator.appVersion.substring(_msieIndex+5,_msieIndex+8))