//-->
var System=System?System:{};System.Web=System.Web?System.Web:{};System.Web.Current=System.Web.Current?System.Web.Current:{};System.Web.StripTags=function(s){s=s?s:this;return s.replace(/<\/?[^>]+>/gi,'');};System.Web.HtmlEncode=function(s){var html=s?s:this;var div=document.createElement("div");var text=document.createTextNode(html);div.appendChild(text);return div.innerHTML;};System.Web.HtmlDecode=function(s){var html=s?s:this;var div=document.createElement("div");div.innerHTML=System.Web.StripTags(html);return div.childNodes[0]?div.childNodes[0].nodeValue:'';};System.Web.Browser=function(){var s=new String;var i;this.IsIE=false;this.IsNS=false;this.IsFX=false;this.IsKQ=false;this.IsSF=false;var Browser=null;this.Version=new String;this.VersionMajor=null;this.OS=new String;this.IsDOM1=(document.getElementById);this.IsDOM2=(document.addEventListener&&document.removeEventListener);var ua=new String(navigator.userAgent.toLowerCase());var userAgent=new String(navigator.userAgent.toLowerCase());if(userAgent.indexOf("linux")> -1)this.OS="Linux";else if(userAgent.indexOf("x11")> -1)this.OS="Unix";else if(userAgent.indexOf("mac")> -1)this.OS="Mac";else if(userAgent.indexOf("win")> -1)this.OS="Windows";else this.OS="unknown";this.IsWin=(ua.indexOf('win')!= -1);this.IsWin32=(this.isWin&&(ua.indexOf('95')!= -1||ua.indexOf('98')!= -1||ua.indexOf('nt')!= -1||ua.indexOf('win32')!= -1||ua.indexOf('32bit')!= -1||ua.indexOf('xp')!= -1));this.IsMac=(ua.indexOf('mac')!= -1);this.IsUnix=(ua.indexOf('unix')!= -1||ua.indexOf('sunos')!= -1||ua.indexOf('bsd')!= -1||ua.indexOf('x11')!= -1);this.IsLinux=(ua.indexOf('linux')!= -1);this.IsWin95=(this.IsWin&&ua.indexOf("95")> -1);this.IsWin98=(this.IsWin&&ua.indexOf("98")> -1);this.IsWinNT=(this.IsWin&&ua.indexOf("nt")> -1);this.IsWin2K=(this.IsWin&&ua.indexOf("nt 5.0")> -1);this.IsWinXP=(this.IsWin&&ua.indexOf("xp")> -1);this.JavaScriptVersion=new Number;document.write('\x3Cscript id="_BrowserJsvTest0" language="javascript"\x3Evar JSVersion;\x3C/script\x3E');document.write('\x3Cscript id="_BrowserJsvTest1" language="javascript1.0"\x3EJSVersion = 1.0;\x3C/script\x3E');document.write('\x3Cscript id="_BrowserJsvTest2" language="javascript1.1"\x3EJSVersion = 1.1;\x3C/script\x3E');document.write('\x3Cscript id="_BrowserJsvTest3" language="javascript1.2"\x3EJSVersion = 1.2;\x3C/script\x3E');document.write('\x3Cscript id="_BrowserJsvTest4"  language="javascript1.3"\x3EJSVersion = 1.3;\x3C/script\x3E');document.write('\x3Cscript id="_BrowserJsvTest5"  language="javascript1.4"\x3EJSVersion = 1.4;\x3C/script\x3E');document.write('\x3Cscript id="_BrowserJsvTest6"  language="javascript1.5"\x3EJSVersion = 1.5;\x3C/script\x3E');document.write('\x3Cscript id="_BrowserJsvTest7"  language="javascript1.6"\x3EJSVersion = 1.6;\x3C/script\x3E');document.write('\x3Cscript id="_BrowserJsvTest8"  language="javascript2.0"\x3EJSVersion = 2.0;\x3C/script\x3E');this.JavaScriptVersion=JSVersion;this.Mode=document.compatMode?document.compatMode:'BackCompat';var FlashIsInstalled=new Boolean;var FlashVersion=new String;var FlashVersionMajor=new String;this.FlashIsInstalled=false;if(navigator.plugins&&navigator.plugins.length){var x=navigator.plugins["Shockwave Flash"];if(x){this.FlashIsInstalled=true;if(x.description){var y=new String(x.description);this.FlashVersion=y.substring(y.indexOf('.')-1,y.length);this.FlashVersionMajor=parseFloat(this.FlashVersion);}}if(navigator.plugins["Shockwave Flash 2.0"]){this.FlashIsInstalled=true;this.FlashVersion=2;}}else if(navigator.mimeTypes&&navigator.mimeTypes.length){x=navigator.mimeTypes["application/x-shockwave-flash"];if(x&&x.enabledPlugin){this.FlashIsInstalled=true;}}else{result=0;for(var i=20;i>3;i--){execScript('on error resume next: result = CreateObject("ShockwaveFlash.ShockwaveFlash.'+i+'").GetVariable("$version")','VBScript');if(result){this.FlashIsInstalled=1;var re=new RegExp(",","g");this.FlashVersion=result.split(" ")[1].replace(re,".");this.FlashVersionMajor=parseFloat(this.FlashVersion);break;}}}s="msie";if((i=ua.indexOf(s))>=0){this.IsIE=true;this.Name="Microsoft Internet Explorer";this.Version=ua.substring(i+s.length,ua.indexOf(";",i));this.VersionMajor=parseFloat(ua.substr(i+s.length));return;}s="firefox";if((i=ua.indexOf(s))>=0){this.IsFX=true;this.Name="Mozilla Firefox";this.Version=navigator.vendorSub;this.VersionMajor=parseFloat(this.Version);return;}s="netscape6";if((i=ua.indexOf(s))>=0){this.IsNS=true;this.Name="Netscape";this.Version=ua.substring(i+s.length+1,ua.indexOf(";",i));this.VersionMajor=parseFloat(ua.substr(i+s.length+1));return;}s="safari";if((i=ua.indexOf(s))>=0){this.IsSF=true;this.Name="Safari";this.Version=parseFloat(ua.substring(ua.lastIndexOf(s+"/")+7));return;}s="konqueror";if((i=ua.indexOf(s))>=0){this.IsKQ=true;this.Name="KDE Konqueror";this.OS="Linux";this.VersionMajor=parseFloat(ua.substr(i+s.length+1));}s="gecko";if((i=ua.indexOf(s))>=0){this.IsNS=true;this.Name="Gecko";this.Version=6.1;return;}};var browser=browser?browser:new System.Web.Browser();System.Web.Cookies=System.Web.Cookies?System.Web.Cookies:{};System.Web.Cookies.Set=function(name,value,days){var expires=new String;if(days){var date=new Date();date.setTime(date.getTime()+(days*24*60*60*1000));expires=";expires="+date.toGMTString();}else{expires="";}document.cookie=name+"="+value+expires;};System.Web.Cookies.Get=function(name,defaultValue){var nameEQ=name+"=";var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' ')c=c.substring(1,c.length);if(c.indexOf(nameEQ)==0){return c.substring(nameEQ.length,c.length);}}return defaultValue;};System.Web.Cookies.Remove=function(sName){document.cookie=sName+"="+escape(sValue)+"; expires=Fri, 31 Dec 1999 23:59:59 GMT;";};System.Web.HttpContext=System.Web.HttpContext?System.Web.HttpContext:{};System.Web.HttpContext.Request=function(target){this.Target;this.Href;this.GetValue=function(name,ignoreCase){var arrQuery=new Array();var strName=new String();var results=null;var strQuery=new String(this.Href.substring(this.Href.indexOf("?")+1,this.Href.length));arrQuery=strQuery.split("&");for(var i=0;i<arrQuery.length;i++){strName=arrQuery[i].substring(0,arrQuery[i].indexOf("="));if(ignoreCase==true){name=name.toLowerCase();strName=strName.toLowerCase();}if(strName==name){results=arrQuery[i].substring(arrQuery[i].indexOf("=")+1,arrQuery[i].length);results=unescape(results);break;}}return results;};this.ShowData=function(){var arrData=new Array();var sepPosition=this.Href.indexOf("?");var sLink=this.Href;var sData="";var message="";if(sepPosition== -1){message="Link: "+sLink;}else{sLink=this.Href.substring(0,sepPosition);sData=this.Href.substring(sepPosition+1,this.Href.length);arrData=sData.split("&");message+="Link: "+sLink+"\r\n";message+="Data:\r\n";for(var i=0;i<arrData.length;i++){var sName=arrData[i].substring(0,arrData[i].indexOf("="));var sValue=arrData[i].substring(arrData[i].indexOf("=")+1,arrData[i].length);message=message+sName+"='"+unescape(sValue)+"'\r\n";}}alert(message);return arrData;};this.InitializeClass=function(){this.Target=target?target:document;this.Href=new String(this.Target.location.href);};this.InitializeClass();};System.Web.HttpContext.Current={};System.Web.HttpContext.Current.Request=new System.Web.HttpContext.Request();System.Web.GetAnchorPosition=function(anchorname){var useWindow=false;var coordinates=new System.Drawing.Point();var x=0;var y=0;var use_gebi=false,use_css=false,use_layers=false;if(document.getElementById){use_gebi=true;}else if(document.all){use_css=true;}else if(document.layers){use_layers=true;}if(use_gebi&&document.all){x=System.Web.GetAnchorPosition._getPageOffsetLeft(document.all[anchorname]);y=System.Web.GetAnchorPosition._getPageOffsetTop(document.all[anchorname]);}else if(use_gebi){var o=document.getElementById(anchorname);x=System.Web.GetAnchorPosition._getPageOffsetLeft(o);y=System.Web.GetAnchorPosition._getPageOffsetTop(o);}else if(use_css){x=System.Web.GetAnchorPosition._getPageOffsetLeft(document.all[anchorname]);y=System.Web.GetAnchorPosition._getPageOffsetTop(document.all[anchorname]);}else if(use_layers){var found=false;for(var i=0;i<document.anchors.length;i++){if(document.anchors[i].name==anchorname){found=true;break;}}if(found){coordinates.X=0;coordinates.Y=0;return coordinates;}x=document.anchors[i].x;y=document.anchors[i].y;}else{coordinates.X=0;coordinates.Y=0;return coordinates;}coordinates.X=x;coordinates.Y=y;return coordinates;};System.Web.GetAnchorWindowPosition=function(anchorname){var coordinates=System.Web.GetAnchorPosition(anchorname);var x=0;var y=0;if(document.getElementById){if(isNaN(window.screenX)){x=coordinates.X-document.body.scrollLeft+window.screenLeft;y=coordinates.Y-document.body.scrollTop+window.screenTop;}else{x=coordinates.X+window.screenX+(window.outerWidth-window.innerWidth)-window.pageXOffset;y=coordinates.Y+window.screenY+(window.outerHeight-24-window.innerHeight)-window.pageYOffset;}}else if(document.all){x=coordinates.X-document.body.scrollLeft+window.screenLeft;y=coordinates.Y-document.body.scrollTop+window.screenTop;}else if(document.layers){x=coordinates.X+window.screenX+(window.outerWidth-window.innerWidth)-window.pageXOffset;y=coordinates.Y+window.screenY+(window.outerHeight-24-window.innerHeight)-window.pageYOffset;}coordinates.X=x;coordinates.Y=y;return coordinates;};System.Web.GetAnchorPosition._getPageOffsetLeft=function(el){var ol=el.offsetLeft;while((el=el.offsetParent)!=null){ol+=el.offsetLeft;}return ol;};System.Web.GetAnchorPosition._getWindowOffsetLeft=function(el){return System.Web.GetAnchorPosition._getPageOffsetLeft(el)-document.body.scrollLeft;};System.Web.GetAnchorPosition._getPageOffsetTop=function(el){var ot=el.offsetTop;while((el=el.offsetParent)!=null){ot+=el.offsetTop;}return ot;};System.Web.GetAnchorPosition._getWindowOffsetTop=function(el){return System.Web.GetAnchorPosition._getPageOffsetTop(el)-document.body.scrollTop;}