if(typeof com=="undefined"){var com=new Object()}if(typeof com.deconcept=="undefined"){com.deconcept=new Object()}if(typeof com.deconcept.util=="undefined"){com.deconcept.util=new Object()}if(typeof com.deconcept.FlashObjectUtil=="undefined"){com.deconcept.FlashObjectUtil=new Object()}com.deconcept.FlashObject=function(f,d,n,g,j,m,l,o,e,a,i){if(!document.createElement||!document.getElementById){return}this.DETECT_KEY=i?i:"detectflash";this.skipDetect=com.deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();this.useExpressInstall=l;if(f){this.setAttribute("swf",f)}if(d){this.setAttribute("id",d)}if(n){this.setAttribute("width",n)}if(g){this.setAttribute("height",g)}if(j){this.setAttribute("version",new com.deconcept.PlayerVersion(j.toString().split(".")))}this.installedVer=com.deconcept.FlashObjectUtil.getPlayerVersion(this.getAttribute("version"),l);if(m){this.addParam("bgcolor",m)}var b=o?o:"high";this.addParam("quality",b);var k=(e)?e:window.location;this.setAttribute("xiRedirectUrl",k);this.setAttribute("redirectUrl","");if(a){this.setAttribute("redirectUrl",a)}};com.deconcept.FlashObject.prototype={setAttribute:function(a,b){this.attributes[a]=b},getAttribute:function(a){return this.attributes[a]},addParam:function(a,b){this.params[a]=b},getParams:function(){return this.params},addVariable:function(a,b){this.variables[a]=b},getVariable:function(a){return this.variables[a]},getVariables:function(){return this.variables},createParamTag:function(c,a){var b=document.createElement("param");b.setAttribute("name",c);b.setAttribute("value",a);return b},getVariablePairs:function(){var a=new Array();var b;var c=this.getVariables();for(b in c){a.push(b+"="+c[b])}return a},getFlashHTML:function(){var a="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn")}a='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'"';a+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var d=this.getParams();for(var b in d){a+=[b]+'="'+d[b]+'" '}var c=this.getVariablePairs().join("&");if(c.length>0){a+='flashvars="'+c+'"'}a+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX")}a='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'">';a+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var d=this.getParams();for(var b in d){a+='<param name="'+b+'" value="'+d[b]+'" />'}var c=this.getVariablePairs().join("&");if(c.length>0){a+='<param name="flashvars" value="'+c+'" />'}a+="</object>"}return a},write:function(a){if(this.useExpressInstall){var b=new com.deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(b)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}else{this.setAttribute("doExpressInstall",false)}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var c=(typeof a=="string")?document.getElementById(a):a;c.innerHTML=this.getFlashHTML()}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}}};com.deconcept.FlashObjectUtil.getPlayerVersion=function(h,b){var f=new com.deconcept.PlayerVersion(0,0,0);if(navigator.plugins&&navigator.mimeTypes.length){var a=navigator.plugins["Shockwave Flash"];if(a&&a.description){f=new com.deconcept.PlayerVersion(a.description.replace(/([a-z]|[A-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{try{var d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");for(var c=3;d!=null;c++){d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+c);f=new com.deconcept.PlayerVersion([c,0,0])}}catch(g){}if(h&&f.major>h.major){return f}if(!h||((h.minor!=0||h.rev!=0)&&f.major==h.major)||f.major!=6||b){try{f=new com.deconcept.PlayerVersion(d.GetVariable("$version").split(" ")[1].split(","))}catch(g){}}}return f};com.deconcept.PlayerVersion=function(a){this.major=parseInt(a[0])||0;this.minor=parseInt(a[1])||0;this.rev=parseInt(a[2])||0};com.deconcept.PlayerVersion.prototype.versionIsValid=function(a){if(this.major<a.major){return false}if(this.major>a.major){return true}if(this.minor<a.minor){return false}if(this.minor>a.minor){return true}if(this.rev<a.rev){return false}return true};com.deconcept.util={getRequestParameter:function(d){var b=document.location.search||document.location.hash;if(b){var c=b.indexOf(d+"=");var a=(b.indexOf("&",c)>-1)?b.indexOf("&",c):b.length;if(b.length>1&&c>-1){return b.substring(b.indexOf("=",c)+1,a)}}return""}};if(Array.prototype.push==null){Array.prototype.push=function(a){this[this.length]=a;return this.length}}var getQueryParamValue=com.deconcept.util.getRequestParameter;var FlashObject=com.deconcept.FlashObject;function makemasthead(a){document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="750" height="90" id="masthead_flash" align="middle">');document.write('<param name="allowScriptAccess" value="sameDomain" />');document.write('<param name="movie" value="/cc-common/templates/masthead/masthead.swf?incoming_timezone='+a+'" />');document.write('<param name="quality" value="high" />');document.write('<param name="wmode" value="transparent" />');document.write('<embed src="/cc-common/templates/masthead/masthead.swf?incoming_timezone='+a+'" quality="high" wmode="transparent" bgcolor="#000000" width="750" height="90" name="masthead_flash" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');document.write("</object>")};function open_videos_on_demand_player(a){window.open("/cc-common/ondemand/player.html?program=vod&track_id="+a,"player","location=no,menubar=no,resizable=yes,scrollbars=yes,width=980,height=592")}function openNew3Player(a){day=new Date();id=day.getTime();window.open(a,"playerWindow","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=660,height=449")}function openNew4Player(a){day=new Date();id=day.getTime();window.open(a,"playerWindow","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=728,height=538")}function openNew5Player(a){day=new Date();id=day.getTime();window.open(a,"playerWindow","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=728,height=538")}function openPlayer(a){day=new Date();id=day.getTime();window.open(a,"popWindow","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=740,height=400")}function openNewStrippedPlayer(a){day=new Date();id=day.getTime();window.open(a,"popWindow","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=740,height=400")}function popmedia(a){window.open(a,"mediaWindow","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=727px,height=500px")}function openNewsPlayer(a){day=new Date();id=day.getTime();window.open(a,"_blank","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=728,height=511")}function openNewsPlayerSPECIAL(a){day=new Date();id=day.getTime();window.open(a,"_blank","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=728,height=511");self.location="/cc-common/ondemand/"}function openNewPage(a){day=new Date();id=day.getTime();window.open(a,"_blank","toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=800,height=600")}function openMediaPlayer(a,b){day=new Date();id=day.getTime();window.open("/cc-common/mediaplayer/player.html?mps="+a+"&mid="+b+"","MediPlayerWindow","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=728,height=511")}function openRyanPlayer(a){day=new Date();id=day.getTime();window.open("/cc-common/mediaplayer/ryanseacrest/player.html?mps=onairryan.php&mid=http://a23.v18227d.c18227.g.vm.akamaistream.net/7/23/18227/v0001/cchannel.download.akamai.com/18227/auth_!/Seacrest/"+a+"","MediPlayerWindow","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=728,height=511")}function openBeyoncePlayer(){day=new Date();id=day.getTime();window.open("/cc-common/news/videos/player.html?mid=Reuters/2-07/Beyonce-Cover-2-15.asf","openingplayerwindow","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=728,height=511")}function openMostWatchedPlayer(){day=new Date();id=day.getTime();window.open("/cc-common/news/videos/player.html?mid=audio/01-09/CarWashKid01-05.wmv","openingplayerwindow","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=728,height=511")}function openTopStoryPlayer(){day=new Date();id=day.getTime();window.open("/cc-common/news/videos/player.html?mid=audio/11-08/FlyBys11-22.wmv","openingplayerwindow","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=728,height=511")}function openStreamingOnesite(){day=new Date();id=day.getTime();window.open("/cc-common/streaming_onesite","ccTuner","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=740,height=544")}function open_photo_popup(b,a){if(typeof(a)=="undefined"){window.open("/cc-common/gallery/display.html?album_id="+b,"photo_album","width=728,height=600,resizable=no,scrollbars=no,menu=no,status=no")}else{window.open("/cc-common/gallery/display.html?album_id="+b+"&position="+a,"photo_album","width=728,height=600,resizable=no,scrollbars=no,menu=no,status=no")}}function open_holiday_photo_popup_custom(b,a){window.open("/cc-common/holidaygallery/display.html?album_id="+b,"photo_album","width=728,height=600,resizable=no,scrollbars=no,menu=no,status=no");self.location="/cc-common/holidaygallery/"}function open_holiday_photo_popup(b,a){if(typeof(a)=="undefined"){window.open("/cc-common/holidaygallery/display.html?album_id="+b,"photo_album","width=728,height=600,resizable=no,scrollbars=no,menu=no,status=no")}else{window.open("/cc-common/holidaygallery/display.html?album_id="+b+"&position="+a,"photo_album","width=728,height=600,resizable=no,scrollbars=no,menu=no,status=no")}}function openStreamingPlayer(a){if(!ClearChannel.Browser.WebKit){if(typeof(a)=="undefined"){PlayerPopups.DoAndoSurvey("/cc-common/ondemand/player.html?world=st")}else{PlayerPopups.DoAndoSurvey("/cc-common/ondemand/player.html?world=st&stream_id="+a)}}else{if(typeof(a)=="undefined"){window.open("/cc-common/ondemand/player.html?world=st","streaming_player","location=no,menubar=no,resizable=yes,scrollbars=yes,width=980,height=592")}else{window.open("/cc-common/ondemand/player.html?world=st&stream_id="+a,"streaming_player","location=no,menubar=no,resizable=yes,scrollbars=yes,width=980,height=592")}}}function open_videos_on_demand_ondemand_playerT2(a){window.open("/cc-common/ondemand/player.html?program=vod&track_id="+a,"player","location=no,menubar=no,resizable=yes,scrollbars=yes,width=980,height=592");self.location="/cc-common/ondemand/"}function open_videos_on_demand_playerT2(a){window.open("/cc-common/ondemand/player.html?program=vod&track_id="+a,"player","location=no,menubar=no,resizable=yes,scrollbars=yes,width=980,height=592");self.location="/cc-common/videos_on_demand/"}function open_on_demand_playerT2(b,a){window.open("/cc-common/ondemand/player.html?apid="+b+"&mid="+a,"player","location=no,menubar=no,resizable=yes,scrollbars=yes,width=980,height=592")}function openStreamingPlayerT2(){if(!ClearChannel.Browser.WebKit){PlayerPopups.DoAndoSurvey("/cc-common/ondemand/player.html?world=st")}else{window.open("/cc-common/ondemand/player.html?world=st","streaming_player","location=no,menubar=no,scrollbars=yes,width=980,height=592")}}function open_player(b,a){window.open("/cc-common/ondemand/player.html?program=vod&track_id="+b,"player","location=no,menubar=no,resizable=yes,scrollbars=yes,width=980,height=592")}function open_on_demand_under_playerT2(b,a){window.open("/cc-common/ondemand/player.html?apid="+b+"&mid="+a,"player","toolbar=0,location=no,statusbar=no,menubar=no,resizable=yes,scrollbars=yes,width=980,height=592");self.location="/cc-common/ondemand/"}function NEW_under_playerT2(a){window.open("/cc-common/new/6/player.html?art="+a,"player","toolbar=0,location=no,statusbar=no,menubar=no,resizable=yes,scrollbars=yes,width=728,height=538")}function open_on_demand_under_playerSPECIAL(b,a){window.open("/cc-common/ondemand/player.html?apid="+b+"&mid="+a,"player","toolbar=0,location=no,statusbar=no,menubar=no,resizable=yes,scrollbars=yes,width=980,height=592");self.location="/cc-common/news/sections/special/eagles.html"}function open_on_demand_under_playerSPECIAL2(b,a){window.open("/cc-common/ondemand/player.html?apid="+b+"&mid="+a,"player","toolbar=0,location=no,statusbar=no,menubar=no,resizable=yes,scrollbars=yes,width=980,height=592");self.location="/cc-common/news/sections/special/britneyspears.html"}function open_on_demand_under_playerSPECIAL3(b,a){window.open("/cc-common/ondemand/player.html?apid="+b+"&mid="+a,"player","toolbar=0,location=no,statusbar=no,menubar=no,resizable=yes,scrollbars=yes,width=980,height=592");self.location="/cc-common/news/sections/special/jayz.html"}function open_on_demand_under_playerSPECIAL4(b,a){window.open("/cc-common/ondemand/player.html?apid="+b+"&mid="+a,"player","toolbar=0,location=no,statusbar=no,menubar=no,resizable=yes,scrollbars=yes,width=980,height=592");self.location="/cc-common/news/sections/special/garthbrooks.html"}function open_on_demand_under_playerSPECIAL5(b,a){window.open("/cc-common/ondemand/player.html?apid="+b+"&mid="+a,"player","toolbar=0,location=no,statusbar=no,menubar=no,resizable=yes,scrollbars=yes,width=980,height=592");self.location="/cc-common/news/sections/special/springsteen_bruce.html"}function open_videos_on_demand_playerSPECIAL(a){window.open("/cc-common/ondemand/player.html?program=vod&track_id="+a,"player","location=no,menubar=no,resizable=yes,scrollbars=yes,width=980,height=592");self.location="/cc-common/news/sections/special/kanyewest.html"}function open_videos_on_demand_playerSPECIAL2(a){window.open("/cc-common/ondemand/player.html?program=vod&track_id="+a,"player","location=no,menubar=no,resizable=yes,scrollbars=yes,width=980,height=592");self.location="/cc-common/news/sections/newsarticle.html?feed=104692&article=2744887"}function open_videos_on_demand_playerSPECIAL3(a){window.open("/cc-common/ondemand/player.html?program=vod&track_id="+a,"player","location=no,menubar=no,resizable=yes,scrollbars=yes,width=980,height=592");self.location="/movies/data/index.html"}function open_on_demand_under_playerSPECIALPAGE(b,a,c){window.open("/cc-common/ondemand/player.html?apid="+b+"&mid="+a,"player","toolbar=0,location=no,statusbar=no,menubar=no,resizable=yes,scrollbars=yes,width=980,height=592");self.location=c}function open_photo_under_popupSPECIALPAGE(a,b){window.open("/cc-common/gallery/display.html?album_id="+a,"photo_album","width=728,height=600,resizable=no,scrollbars=no,menu=no,status=no");self.location=b}function open_photo_under_popup_political(a){window.open("/cc-common/gallery/display.html?album_id="+a,"photo_album","width=728,height=600,resizable=no,scrollbars=no,menu=no,status=no");self.location="/cc-common/political/"}function open_photo_under_popup_awards(a){window.open("/cc-common/gallery/display.html?album_id="+a,"photo_album","width=728,height=600,resizable=no,scrollbars=no,menu=no,status=no");self.location="/cc-common/awards/"}function open_photo_under_popup_raceday(a){window.open("/cc-common/gallery/display.html?album_id="+a,"photo_album","width=728,height=600,resizable=no,scrollbars=no,menu=no,status=no");self.location="/cc-common/news/raceday/"}function open_yearinreview_photo_popup_custom(a){window.open("/cc-common/gallery/display.html?album_id="+a,"photo_album","width=728,height=600,resizable=no,scrollbars=no,menu=no,status=no");self.location="/cc-common/seasonal/yearinreview/"}function open_photo_under_popup(a){window.open("/cc-common/gallery/display.html?album_id="+a,"photo_album","width=728,height=600,resizable=no,scrollbars=no,menu=no,status=no");self.location="/cc-common/gallery/"}function open_photo_under_popup_portal(a){window.open("/cc-common/gallery/display.html?album_id="+a,"photo_album","width=728,height=600,resizable=no,scrollbars=no,menu=no,status=no");self.location="/cc-common/portal/"}function open_photo_under_popup_special(a){window.open("/cc-common/gallery/display.html?album_id="+a,"photo_album","width=728,height=600,resizable=no,scrollbars=no,menu=no,status=no");self.location="/cc-common/news/sections/newsarticle.html?feed=104692&article=2708415"}function open_photo_under_popup_special2(a){window.open("/cc-common/gallery/display.html?album_id="+a,"photo_album","width=728,height=600,resizable=no,scrollbars=no,menu=no,status=no");self.location="/cc-common/news/sections/newsarticle.html?feed=104692&article=2740763"}function open_photo_under_popup_special3(a){window.open("/cc-common/gallery/display.html?album_id="+a,"photo_album","width=728,height=600,resizable=no,scrollbars=no,menu=no,status=no");self.location="/cc-common/news/sections/newsarticle.html?feed=104659&article=2804310"}function changepage(a){window.open(a,"playerWindow","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=668,height=396")}function changepage2(a){self.location=a}function openAllStrippedPlayer(c,a,b){window.open("/cc-common/ondemand/player.html?apid="+c+"&mid="+a,"popWindow","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=980,height=592")}function openNewSubmission(){window.open("/cc-common/artist_submission/","_blank","toolbar=0,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=780,height=580");self.location="http://www.kyot.com/cc-common/new/6/"}var PlayerPopups={};PlayerPopups.openPlayer=function(a){if(a.indexOf("world=st")!=-1&&!ClearChannel.Browser.WebKit){PlayerPopups.DoAndoSurvey(a)}else{window.open(a,"player","location=no,menubar=no,scrollbars=yes,width=980,height=592")}};PlayerPopups.openPlayer_specificpage=function(b,a){if(b.indexOf("world=st")!=-1&&!ClearChannel.Browser.WebKit){PlayerPopups.DoAndoSurvey(b,a)}else{window.open(b,"player","location=no,menubar=no,scrollbars=yes,width=980,height=592");self.location=a}};PlayerPopups.DoAndoSurvey=function(a,b){if(b){new ClearChannel.Ajax({asynchronous:false,on200:new ClearChannel.AjaxListener(ClearChannel.AjaxEvent.prototype.OK,function(c){try{var d=c.getResponseObject().getResponseJSON()}catch(g){var d={AndoSurveyActive:false,AndoPrm:0}}if(d.AndoSurveyActive){var h=(function(){return(ClearChannel.getViewportHeight()/2)+ClearChannel.getVerticalScroll()-(232/2)})();var i=(function(){return(ClearChannel.getViewportWidth()/2)+ClearChannel.getHorizontalScroll()-(222/2)})();try{checkcookie({clientY:h,clientX:i},"http://podloc.andomedia.com/dloadTrack.mp3?prm="+d.AndoPrm+"xhttp://"+d.host+"/cc-common/ondemand/player.html?world=st",true,592,980);setTimeout(function(){try{document.getElementById("popdiv").style.top=Math.round(h)+"px";document.getElementById("popdiv").style.left=Math.round(i)+"px";document.getElementById("shadow").style.top=Math.round(h)+"px";document.getElementById("shadow").style.left=Math.round(i)+"px"}catch(j){}},10)}catch(g){}var f=window.open(b,"_blank");try{f.blur();window.focus()}catch(g){}}else{window.open(a,"player","location=no,menubar=no,scrollbars=yes,width=980,height=592");self.location=b}})},"/cc-common/js/ajax_services/AndoSurveyService.php")}else{new ClearChannel.Ajax({asynchronous:false,on200:new ClearChannel.AjaxListener(ClearChannel.AjaxEvent.prototype.OK,function(c){try{var d=c.getResponseObject().getResponseJSON()}catch(f){var d={AndoSurveyActive:false,AndoPrm:0}}if(d.AndoSurveyActive){var g=(function(){return(ClearChannel.getViewportHeight()/2)+ClearChannel.getVerticalScroll()-(232/2)})();var h=(function(){return(ClearChannel.getViewportWidth()/2)+ClearChannel.getHorizontalScroll()-(222/2)})();try{checkcookie({clientY:g,clientX:h},"http://podloc.andomedia.com/dloadTrack.mp3?prm="+d.AndoPrm+"xhttp://"+d.host+"/cc-common/ondemand/player.html?world=st",true,592,980);setTimeout(function(){try{document.getElementById("popdiv").style.top=Math.round(g)+"px";document.getElementById("popdiv").style.left=Math.round(h)+"px";document.getElementById("shadow").style.top=Math.round(g)+"px";document.getElementById("shadow").style.left=Math.round(h)+"px"}catch(i){}},10)}catch(f){}}else{window.open(a,"player","location=no,menubar=no,scrollbars=yes,width=980,height=592")}})},"/cc-common/js/ajax_services/AndoSurveyService.php")}};function openClassicStreamingPlayer(a){if(typeof(a)=="undefined"){window.open("/cc-common/streaming_new/index.html","ccTuner","width=668,height=420,status=no,resizable=no,scrollbars=no")}else{window.open("/cc-common/streaming_new/index.html?player_instance="+a,"ccTuner","width=668,height=420,status=no,resizable=no,scrollbars=no")}}function popUpEyewitness(a){window.open("/cc-common/eyewitness/display.html?album_id="+a,"photo_album","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=728,height=679,left=436,top=300")}function openFlashPlayer(){window.open("/mediaplayer/","flashPlayer","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=980,height=700")}function openIheartFlashPlayer(){window.open("http://www.iheartradio.com/mediaplayer/","flashPlayer","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=980,height=700")};var ajax=new Object();ajax.has_xml_http=false;ajax.xml_http=null;ajax.result_cache=new Object();var base_url="/cc-common/polling_tool";ajax.getXmlHttpObject=function(){var c=null;try{c=new ActiveXObject("Msxml2.XMLHTTP")}catch(b){try{c=new ActiveXObject("Microsoft.XMLHTTP")}catch(a){c=null}}if(!c&&typeof XMLHttpRequest!="undefined"){c=new XMLHttpRequest()}return c};ajax.has_xml_http=ajax.getXmlHttpObject()?true:false;ajax.cacheResults=function(a,c,b){ajax.result_cache[a]=b};ajax.getFromCache=function(a){return ajax.result_cache[a]};ajax.throwError=function(a){alert(a)};ajax.sendRequest=function(url,method,do_eval){if(ajax.xml_http&&ajax.xml_http.readyState!=0){ajax.xml_http.abort()}ajax.xml_http=ajax.getXmlHttpObject();if(ajax.xml_http){ajax.xml_http.open(method,url,true);ajax.xml_http.onreadystatechange=function(){if(ajax.xml_http.readyState==4&&ajax.xml_http.responseText){if(do_eval){eval(ajax.xml_http.responseText)}else{document.write(ajax.xml_http.responseText)}}};ajax.xml_http.send(null)}};function insertPoll(a){ajax.sendRequest(base_url+"/a.php?poll_id="+a,"GET",true)}var running_poll=null;var poll_queue=new Array(40);var subpoll_queue=new Array(40);var num_queued=0;function insertPoll2(b,c){for(i=0;i<40;i++){if(poll_queue[i]==b){poll_queue[i]="";subpoll_queue[i]=""}}if(running_poll!=null){poll_queue[num_queued]=b;if(c){subpoll_queue[num_queued]=subPollID}num_queued++;return true}else{running_poll=b}var a=null;if(c){a=base_url+"/insertPoll.php?poll_id="+b+"&subpoll_id="+c;ajax.sendRequest(a,"GET",true)}else{ajax.sendRequest(base_url+"/insertPoll.php?poll_id="+b,"GET",true)}}function submitVote(){var getinfo;var user;var pass;var email;var optionID;var extraGet;getinfo=document.location.pathname+escape(document.location.search);var pollID=document.getElementById("POLL_ID").value;var url=base_url+"/a.php?poll_id="+pollID+"&redirect="+getinfo;if(eval(document.getElementById("poll_username"))){user=document.getElementById("poll_username").value;pass=document.getElementById("poll_password").value;if(user==""||pass==""){alert("Please enter user name & password.");return true}extraGet="&p="+pass+"&u="+user;url=url+extraGet}if(eval(document.getElementById("poll_email"))){email=document.getElementById("poll_email").value;if(email==""){alert("Please enter email address");return true}url=url+"&email="+email}if(document.getElementById("option_id").value!="NOTSET"){optionID=document.getElementById("option_id").value;url=url+"&optionID="+optionID;ajax.sendRequest(url,"GET",true)}else{alert("Please make a selection")}}function submitVote2(pollID){var newurl;var getinfo;var user;var pass;var email;var optionID;var extraGet;var newEmail;getinfo=document.location.pathname+escape(document.location.search);newurl=base_url+"/insertPoll.php?poll_id="+pollID+"&redirect="+getinfo;if(eval(document.getElementById("poll_username"))){user=document.getElementById("poll_username").value;pass=document.getElementById("poll_password").value;if(user==""||pass==""){alert("Please enter user name & password.");return true}extraGet="&p="+pass+"&u="+user;newurl=newurl+extraGet}if(eval(document.getElementById("poll_email"))){email=document.getElementById("poll_email").value;newEmail=email.replace(" ","");email=newEmail;if(email==""){alert("Please enter email address");return true}newurl=newurl+"&email="+email}if(document.getElementById("option_id").value!="NOTSET"){optionID=document.getElementById("option_id").value;newurl=newurl+"&optionID="+optionID;ajax.sendRequest(newurl,"GET",true)}else{alert("Please make a selection")}}function setVote(a){document.getElementById("option_id").value=a}function writePoll(b,a){var c;var d;d=unescape(b.replace(/\+/g," "));document.getElementById("poll_"+a).innerHTML=d;if(document.getElementById("start_poll_"+a)){document.getElementById("start_poll_"+a).innerHTML=""}if(document.getElementById("stop_poll_"+a)){document.getElementById("stop_poll_"+a).innerHTML=""}for(i=0;i<40;i++){if(poll_queue[i]){running_poll=null;insertPoll2(poll_queue[i],subpoll_queue[i]);return true}}return true};function Menu(i,n,v,j,f,h,l,e,a,b,q,u,t,d,o,m,g,c,r,p,k,s){this.version="020320 [Menu; mm_menu.js]";this.type="Menu";this.menuWidth=n;this.menuItemHeight=v;this.fontSize=f;this.fontWeight="plain";this.fontFamily=j;this.fontColor=h;this.fontColorHilite=l;this.bgColor="";this.menuBorder=1;this.menuBgOpaque=c;this.menuItemBorder=1;this.menuItemIndent=p;this.menuItemBgColor=e;this.menuItemVAlign=q;this.menuItemHAlign=b;this.menuItemPadding=u;this.menuItemSpacing=t;this.menuLiteBgColor="";this.menuBorderBgColor="";this.menuHiliteBgColor=a;this.menuContainerBgColor="";this.childMenuIcon="arrows.gif";this.submenuXOffset=o;this.submenuYOffset=m;this.submenuRelativeToItem=g;this.vertical=r;this.items=new Array();this.actions=new Array();this.childMenus=new Array();this.hideOnMouseOut=true;this.hideTimeout=d;this.addMenuItem=addMenuItem;this.writeMenus=writeMenus;this.MM_showMenu=MM_showMenu;this.onMenuItemOver=onMenuItemOver;this.onMenuItemAction=onMenuItemAction;this.hideMenu=hideMenu;this.hideChildMenu=hideChildMenu;if(!window.menus){window.menus=new Array()}this.label=" "+i;window.menus[this.label]=this;window.menus[window.menus.length]=this;if(!window.activeMenus){window.activeMenus=new Array()}}function addMenuItem(b,a){this.items[this.items.length]=b;this.actions[this.actions.length]=a}function FIND(a){if(window.mmIsOpera){return(document.getElementById(a))}if(document.all){return(document.all[a])}if(document.getElementById){return(document.getElementById(a))}return(false)}function writeMenus(p){if(window.triedToWriteMenus){return}var P=navigator.userAgent.toLowerCase();window.mmIsOpera=P.indexOf("opera")!=-1;if(!p&&document.layers){window.delayWriteMenus=this.writeMenus;var y=setTimeout("delayWriteMenus()",500);p=new Layer(100);clearTimeout(y)}else{if(document.all||document.hasChildNodes||window.mmIsOpera){document.writeln('<span id="menuContainer" class="menuContainer"></span>');p=FIND("menuContainer")}}window.mmHideMenuTimer=null;if(!p){return}window.triedToWriteMenus=true;p.isContainer=true;p.menus=new Array();for(var N=0;N<window.menus.length;N++){p.menus[N]=window.menus[N]}window.menus.length=0;var v=0;var C=0;var g=0;var m="";var b=false;var M="";var R=0;if(document.layers){b=true}for(var N=0;N<p.menus.length;N++,v++){var O=p.menus[N];if(O.bgImageUp||!O.menuBgOpaque){O.menuBorder=0;O.menuItemBorder=0}if(b){var e=new Layer(100,p);var o=new Layer(100,e);o.top=O.menuBorder;o.left=O.menuBorder;var t=new Layer(100,o);t.top=O.menuBorder;t.left=O.menuBorder}else{m+='<div id="menuLayer'+v+'" style="position:absolute;z-index:100;left:10px;top:'+(N*100)+"px;visibility:hidden;color:"+O.menuBorderBgColor+';" class="menuLayer">\n  <div id="menuLite'+v+'" style="position:absolute;z-index:100;left:'+O.menuBorder+"px;top:"+O.menuBorder+'px;visibility:hide;" onmouseout="mouseoutMenu();" class="menuLite">\n	 <div id="menuFg'+v+'" style="position:absolute;left:'+O.menuBorder+"px;top:"+O.menuBorder+'px;visibility:hide;" class="menuFg">\n'}var E=N;for(var N=0;N<O.items.length;N++){var w=O.items[N];var k=false;var q=O.fontSize+2*O.menuItemPadding;if(w.label){w=w.label;k=true}O.menuItemHeight=O.menuItemHeight||q;var B="";if(O.fontFamily!=""){B+="font-family:"+O.fontFamily+";"}B+="font-weight:"+O.fontWeight+";fontSize:"+O.fontSize+"px;";if(O.fontStyle){B+="font-style:"+O.fontStyle+";"}if(document.all||window.mmIsOpera){B+="font-size:"+O.fontSize+'px;" onmouseover="onMenuItemOver(null,this);" onclick="onMenuItemAction(null,this);'}else{if(!document.layers){B+="font-size:"+O.fontSize+"px;"}}var L;if(b){var u=O.menuWidth;if(O.menuItemHAlign=="right"){u-=O.menuItemPadding}L=new Layer(u,t)}var I=0;var c=N*O.menuItemHeight;if(!O.vertical){I=N*O.menuWidth;c=0}var z='<div id="menuItem'+C+'" style="position:absolute;left:'+I+"px;top:"+c+"px;"+B+'" class="menuItem">';var H="</div>";if(O.bgImageUp){z='<div id="menuItem'+C+'" style="background:url('+O.bgImageUp+");position:absolute;left:"+I+"px;top:"+c+"px;"+B+'" class="menuItem">'}var f=0,g=0,J=0,Q=0;f=1+O.menuItemPadding+O.menuItemIndent;J=f+O.menuWidth-2*O.menuItemPadding-O.menuItemIndent;if(O.menuItemVAlign=="top"){g=O.menuItemPadding}if(O.menuItemVAlign=="bottom"){g=O.menuItemHeight-O.fontSize-1-O.menuItemPadding}if(O.menuItemVAlign=="middle"){g=((O.menuItemHeight/2)-(O.fontSize/2)-1)}Q=O.menuItemHeight-2*O.menuItemPadding;var h="position:absolute;left:"+f+"px;top:"+g+"px;";if(b){h+=B+"right:"+J+";bottom:"+Q+";";z="";H=""}if(document.all&&!window.mmIsOpera){w='<div align="'+O.menuItemHAlign+'">'+w+"</div>"}else{if(b){w='<div style="text-align:'+O.menuItemHAlign+';">'+w+"</div>"}else{var d=null;if(O.menuItemHAlign!="left"){if(window.mmIsOpera){var j=O.menuItemHAlign=="center"?-(O.menuWidth-2*O.menuItemPadding):(O.menuWidth-6*O.menuItemPadding);d='<div id="menuItemHilite'+C+'Shim" style="position:absolute;top:1px;left:'+O.menuItemPadding+"px;width:"+j+"px;text-align:"+O.menuItemHAlign+';visibility:visible;" class="menuItemHilite">'+w+"</div>";w='<div id="menuItemText'+C+'Shim" style="position:absolute;top:1px;left:'+O.menuItemPadding+"px;width:"+j+"px;text-align:"+O.menuItemHAlign+';visibility:visible;" class="menuItemText">'+w+"</div>"}else{d='<div id="menuItemHilite'+C+'Shim" style="position:absolute;top:1px;left:1px;right:-'+(f+O.menuWidth-3*O.menuItemPadding)+"px;text-align:"+O.menuItemHAlign+';visibility:visible;" class="menuItemHilite">'+w+"</div>";w='<div id="menuItemText'+C+'Shim" style="position:absolute;top:1px;left:1px;right:-'+(f+O.menuWidth-3*O.menuItemPadding)+"px;text-align:"+O.menuItemHAlign+';visibility:visible;" class="menuItemText">'+w+"</div>"}}else{d=null}}}if(document.all&&!window.mmIsOpera){w='<div id="menuItemShim'+C+'" style="position:absolute;left:0px;top:0px;" class="menuItemShim">'+w+"</div>"}var a='<div id="menuItemText'+C+'" style="'+h+"color:"+O.fontColor+';" class="menuItemText">'+w+'&nbsp</div>\n<div id="menuItemHilite'+C+'" style="'+h+"color:"+O.fontColorHilite+';visibility:hidden;" class="menuItemHilite">'+(d||w)+"&nbsp</div>";if(k){m+=(z+a+'<div id="childMenu'+C+'" style="position:absolute;left:0px;top:3px;"><img src="'+O.childMenuIcon+'" class="childMenu"></div>\n'+H)}else{m+=(z+a+H)}if(b){L.document.open("text/html");L.document.writeln(m);L.document.close();m="";M+="-";R++;if(R>50){R=0;M=""}status=M}C++}if(b){var D=new Layer(100,t);D.visiblity="hidden";D.document.open("text/html");D.document.writeln("&nbsp;");D.document.close()}else{m+='	  <div id="focusItem'+v+'" style="position:absolute;left:0px;top:0px;visibility:hide;" onclick="onMenuItemAction(null,this);" class="focusItem">&nbsp;</div>\n';m+="   </div>\n  </div>\n</div>\n"}N=E}if(document.layers){p.clip.width=window.innerWidth;p.clip.height=window.innerHeight;p.onmouseout=mouseoutMenu;p.menuContainerBgColor=this.menuContainerBgColor;for(var N=0;N<p.document.layers.length;N++){proto=p.menus[N];var O=p.document.layers[N];p.menus[N].menuLayer=O;p.menus[N].menuLayer.Menu=p.menus[N];p.menus[N].menuLayer.Menu.container=p;var t=O.document.layers[0].document.layers[0];t.clip.width=proto.menuWidth||t.clip.width;t.clip.height=proto.menuHeight||t.clip.height;for(var K=0;K<t.document.layers.length-1;K++){var L=t.document.layers[K];L.Menu=p.menus[N];L.menuHiliteBgColor=proto.menuHiliteBgColor;L.document.bgColor=proto.menuItemBgColor;L.saveColor=proto.menuItemBgColor;L.onmouseover=proto.onMenuItemOver;L.onclick=proto.onMenuItemAction;L.mmaction=p.menus[N].actions[K];L.focusItem=t.document.layers[t.document.layers.length-1];L.clip.width=proto.menuWidth||t.clip.width;L.clip.height=proto.menuItemHeight||L.clip.height;if(K>0){if(L.Menu.vertical){L.top=t.document.layers[K-1].top+t.document.layers[K-1].clip.height+proto.menuItemBorder+proto.menuItemSpacing}else{L.left=t.document.layers[K-1].left+t.document.layers[K-1].clip.width+proto.menuItemBorder+proto.menuItemSpacing}}L.hilite=L.document.layers[1];if(proto.bgImageUp){L.background.src=proto.bgImageUp}L.document.layers[1].isHilite=true;if(L.document.layers.length>2){L.childMenu=p.menus[N].items[K].menuLayer;L.document.layers[2].left=L.clip.width-13;L.document.layers[2].top=(L.clip.height/2)-4;L.document.layers[2].clip.left+=3;L.Menu.childMenus[L.Menu.childMenus.length]=L.childMenu}}if(proto.menuBgOpaque){t.document.bgColor=proto.bgColor}if(proto.vertical){t.clip.width=L.clip.width+proto.menuBorder;t.clip.height=L.top+L.clip.height+proto.menuBorder}else{t.clip.height=L.clip.height+proto.menuBorder;t.clip.width=L.left+L.clip.width+proto.menuBorder;if(t.clip.width>window.innerWidth){t.clip.width=window.innerWidth}}var D=t.document.layers[K];D.clip.width=t.clip.width;D.Menu=L.Menu;D.top=-30;D.captureEvents(Event.MOUSEDOWN);D.onmousedown=onMenuItemDown;if(proto.menuBgOpaque){O.document.bgColor=proto.menuBorderBgColor}var o=O.document.layers[0];if(proto.menuBgOpaque){o.document.bgColor=proto.menuLiteBgColor}o.clip.width=t.clip.width+1;o.clip.height=t.clip.height+1;O.clip.width=t.clip.width+(proto.menuBorder*3);O.clip.height=t.clip.height+(proto.menuBorder*3)}}else{if((!document.all)&&(p.hasChildNodes)&&!window.mmIsOpera){p.innerHTML=m}else{p.document.open("text/html");p.document.writeln(m);p.document.close()}if(!FIND("menuLayer0")){return}var r=0;for(var E=0;E<p.menus.length;E++){var e=FIND("menuLayer"+E);p.menus[E].menuLayer="menuLayer"+E;e.Menu=p.menus[E];e.Menu.container="menuLayer"+E;e.style.zindex=1;var G=e.style;G.pixeltop=-300;G.pixelleft=-300;G.top="-300px";G.left="-300px";var O=p.menus[E];O.menuItemWidth=O.menuWidth||O.menuIEWidth||140;if(O.menuBgOpaque){e.style.backgroundColor=O.menuBorderBgColor}var g=0;var f=0;O.menuItemLayers=new Array();for(var N=0;N<p.menus[E].items.length;N++){var L=FIND("menuItem"+r);L.Menu=p.menus[E];L.Menu.menuItemLayers[L.Menu.menuItemLayers.length]=L;if(L.addEventListener||window.mmIsOpera){L.style.width=O.menuItemWidth+"px";L.style.height=O.menuItemHeight+"px";L.style.pixelWidth=O.menuItemWidth;L.style.pixelHeight=O.menuItemHeight;L.style.top=g+"px";L.style.left=f+"px";if(L.addEventListener){L.addEventListener("mouseover",onMenuItemOver,false);L.addEventListener("click",onMenuItemAction,false);L.addEventListener("mouseout",mouseoutMenu,false)}if(O.menuItemHAlign!="left"){L.hiliteShim=FIND("menuItemHilite"+r+"Shim");L.hiliteShim.style.visibility="inherit";L.textShim=FIND("menuItemText"+r+"Shim");L.hiliteShim.style.pixelWidth=O.menuItemWidth-2*O.menuItemPadding-O.menuItemIndent;L.hiliteShim.style.width=L.hiliteShim.style.pixelWidth;L.textShim.style.pixelWidth=O.menuItemWidth-2*O.menuItemPadding-O.menuItemIndent;L.textShim.style.width=L.textShim.style.pixelWidth}}else{L.style.pixelWidth=O.menuItemWidth;L.style.pixelHeight=O.menuItemHeight;L.style.pixelTop=g;L.style.pixelLeft=f;if(O.menuItemHAlign!="left"){var F=FIND("menuItemShim"+r);F[0].style.pixelWidth=O.menuItemWidth-2*O.menuItemPadding-O.menuItemIndent;F[1].style.pixelWidth=O.menuItemWidth-2*O.menuItemPadding-O.menuItemIndent;F[0].style.width=F[0].style.pixelWidth+"px";F[1].style.width=F[1].style.pixelWidth+"px"}}if(O.vertical){g=g+O.menuItemHeight+O.menuItemBorder+O.menuItemSpacing}else{f=f+O.menuItemWidth+O.menuItemBorder+O.menuItemSpacing}L.style.fontSize=O.fontSize+"px";L.style.backgroundColor=O.menuItemBgColor;L.style.visibility="inherit";L.saveColor=O.menuItemBgColor;L.menuHiliteBgColor=O.menuHiliteBgColor;L.mmaction=p.menus[E].actions[N];L.hilite=FIND("menuItemHilite"+r);L.focusItem=FIND("focusItem"+E);L.focusItem.style.pixelTop=-30;L.focusItem.style.top="-30px";var A=FIND("childMenu"+r);if(A){L.childMenu=p.menus[E].items[N].menuLayer;A.style.pixelLeft=O.menuItemWidth-11;A.style.left=A.style.pixelLeft+"px";A.style.pixelTop=(O.menuItemHeight/2)-4;A.style.top=A.style.pixelTop+"px";L.Menu.childMenus[L.Menu.childMenus.length]=L.childMenu}L.style.cursor="pointer";r++}if(O.vertical){O.menuHeight=g-1-O.menuItemSpacing;O.menuWidth=O.menuItemWidth}else{O.menuHeight=O.menuItemHeight;O.menuWidth=f-1-O.menuItemSpacing}var o=FIND("menuLite"+E);var G=o.style;G.pixelHeight=O.menuHeight+(O.menuBorder*2);G.height=G.pixelHeight+"px";G.pixelWidth=O.menuWidth+(O.menuBorder*2);G.width=G.pixelWidth+"px";if(O.menuBgOpaque){G.backgroundColor=O.menuLiteBgColor}var t=FIND("menuFg"+E);G=t.style;G.pixelHeight=O.menuHeight+O.menuBorder;G.height=G.pixelHeight+"px";G.pixelWidth=O.menuWidth+O.menuBorder;G.width=G.pixelWidth+"px";if(O.menuBgOpaque){G.backgroundColor=O.bgColor}G=e.style;G.pixelWidth=O.menuWidth+(O.menuBorder*4);G.width=G.pixelWidth+"px";G.pixelHeight=O.menuHeight+(O.menuBorder*4);G.height=G.pixelHeight+"px"}}if(document.captureEvents){document.captureEvents(Event.MOUSEUP)}if(document.addEventListener){document.addEventListener("mouseup",onMenuItemOver,false)}if(document.layers&&window.innerWidth){window.onresize=NS4resize;window.NS4sIW=window.innerWidth;window.NS4sIH=window.innerHeight;setTimeout("NS4resize()",500)}document.onmouseup=mouseupMenu;window.mmWroteMenu=true;status=""}function NS4resize(){if(NS4sIW!=window.innerWidth||NS4sIH!=window.innerHeight){window.location.reload()}}function onMenuItemOver(d,c){MM_clearTimeout();c=c||this;var b=window.ActiveMenuItem;if(document.layers){if(b){b.document.bgColor=b.saveColor;if(b.hilite){b.hilite.visibility="hidden"}if(b.Menu.bgImageOver){b.background.src=b.Menu.bgImageUp}b.focusItem.top=-100;b.clicked=false}if(c.hilite){c.document.bgColor=c.menuHiliteBgColor;c.zIndex=1;c.hilite.visibility="inherit";c.hilite.zIndex=2;c.document.layers[1].zIndex=1;c.focusItem.zIndex=this.zIndex+2}if(c.Menu.bgImageOver){c.background.src=c.Menu.bgImageOver}c.focusItem.top=this.top;c.focusItem.left=this.left;c.focusItem.clip.width=c.clip.width;c.focusItem.clip.height=c.clip.height;c.Menu.hideChildMenu(c)}else{if(c.style&&c.Menu){if(b){b.style.backgroundColor=b.saveColor;if(b.hilite){b.hilite.style.visibility="hidden"}if(b.hiliteShim){b.hiliteShim.style.visibility="inherit"}if(b.Menu.bgImageUp){b.style.background="url("+b.Menu.bgImageUp+")"}}c.style.backgroundColor=c.menuHiliteBgColor;c.zIndex=1;if(c.Menu.bgImageOver){c.style.background="url("+c.Menu.bgImageOver+")"}if(c.hilite){c.hilite.style.visibility="inherit";if(c.hiliteShim){c.hiliteShim.style.visibility="visible"}}c.focusItem.style.pixelTop=c.style.pixelTop;c.focusItem.style.top=c.focusItem.style.pixelTop+"px";c.focusItem.style.pixelLeft=c.style.pixelLeft;c.focusItem.style.left=c.focusItem.style.pixelLeft+"px";c.focusItem.style.zIndex=c.zIndex+1;c.Menu.hideChildMenu(c)}else{return}}window.ActiveMenuItem=c}function onMenuItemAction(e,l){l=window.ActiveMenuItem;if(!l){return}hideActiveMenus();if(l.mmaction){eval(""+l.mmaction)}window.ActiveMenuItem=0}function MM_clearTimeout(){if(mmHideMenuTimer){clearTimeout(mmHideMenuTimer)}mmHideMenuTimer=null;mmDHFlag=false}function MM_startTimeout(){if(window.ActiveMenu){mmStart=new Date();mmDHFlag=true;mmHideMenuTimer=setTimeout("mmDoHide()",window.ActiveMenu.Menu.hideTimeout)}}function mmDoHide(){if(!mmDHFlag||!window.ActiveMenu){return}var c=new Date()-mmStart;var a=window.ActiveMenu.Menu.hideTimeout;if(c<a){mmHideMenuTimer=setTimeout("mmDoHide()",a+100-c);return}mmDHFlag=false;hideActiveMenus();window.ActiveMenuItem=0;try{var b=navigator.userAgent.match(/MSIE ([0-9]+\.[0-9]+)/);if(b[1]&&parseFloat(b[1])<7){var b=document.getElementById("category_id");if(b){b.style.visibility="visible"}}}catch(d){}}function MM_showMenu(a,m,k,b,g){try{var f=navigator.userAgent.match(/MSIE ([0-9]+\.[0-9]+)/);if(f[1]&&parseFloat(f[1])<7){var f=document.getElementById("category_id");if(f){f.style.visibility="hidden"}}}catch(j){}if(!window.mmWroteMenu){return}MM_clearTimeout();if(a){var h=FIND(g)||document.images[g]||document.links[g]||document.anchors[g];m=moveXbySlicePos(m,h);k=moveYbySlicePos(k,h)}if(document.layers){if(a){var c=a.menuLayer||a;c.top=c.left=1;hideActiveMenus();if(this.visibility){c=this}window.ActiveMenu=c}else{var c=b}if(!c){return}for(var d=0;d<c.layers.length;d++){if(!c.layers[d].isHilite){c.layers[d].visibility="inherit"}if(c.layers[d].document.layers.length>0){MM_showMenu(null,"relative","relative",c.layers[d])}}if(c.parentLayer){if(m!="relative"){c.parentLayer.left=m||window.pageX||0}if(c.parentLayer.left+c.clip.width>window.innerWidth){c.parentLayer.left-=(c.parentLayer.left+c.clip.width-window.innerWidth)}if(k!="relative"){c.parentLayer.top=k||window.pageY||0}if(c.parentLayer.isContainer){c.Menu.xOffset=window.pageXOffset;c.Menu.yOffset=window.pageYOffset;c.parentLayer.clip.width=window.ActiveMenu.clip.width+2;c.parentLayer.clip.height=window.ActiveMenu.clip.height+2;if(c.parentLayer.menuContainerBgColor&&c.Menu.menuBgOpaque){c.parentLayer.document.bgColor=c.parentLayer.menuContainerBgColor}}}c.visibility="inherit";if(c.Menu){c.Menu.container.visibility="inherit"}}else{if(FIND("menuItem0")){var c=a.menuLayer||a;hideActiveMenus();if(typeof(c)=="string"){c=FIND(c)}window.ActiveMenu=c;var n=c.style;n.visibility="inherit";if(m!="relative"){n.pixelLeft=m||(window.pageX+document.body.scrollLeft)||0;n.left=n.pixelLeft+"px"}if(k!="relative"){n.pixelTop=k||(window.pageY+document.body.scrollTop)||0;n.top=n.pixelTop+"px"}c.Menu.xOffset=document.body.scrollLeft;c.Menu.yOffset=document.body.scrollTop}}if(a){window.activeMenus[window.activeMenus.length]=c}MM_clearTimeout()}function onMenuItemDown(d,c){var b=window.ActiveMenuItem;if(document.layers&&b){b.eX=d.pageX;b.eY=d.pageY;b.clicked=true}}function mouseupMenu(a){hideMenu(true,a);hideActiveMenus();return true}function getExplorerVersion(){var c=parseFloat(navigator.appVersion);if(navigator.appName!="Microsoft Internet Explorer"){return c}var a=navigator.appVersion;var b=a.indexOf("MSIE ");if(b>=0){a=a.substring(b+5);c=parseFloat(a)}return c}function mouseoutMenu(){if((navigator.appName=="Microsoft Internet Explorer")&&(getExplorerVersion()<4.5)){return true}hideMenu(false,false);return true}function hideMenu(d,c){var b=window.ActiveMenuItem;if(b&&document.layers){b.document.bgColor=b.saveColor;b.focusItem.top=-30;if(b.hilite){b.hilite.visibility="hidden"}if(d&&b.mmaction&&b.clicked&&window.ActiveMenu){if(b.eX<=c.pageX+15&&b.eX>=c.pageX-15&&b.eY<=c.pageY+10&&b.eY>=c.pageY-10){setTimeout("window.ActiveMenu.Menu.onMenuItemAction();",500)}}b.clicked=false;if(b.Menu.bgImageOver){b.background.src=b.Menu.bgImageUp}}else{if(window.ActiveMenu&&FIND("menuItem0")){if(b){b.style.backgroundColor=b.saveColor;if(b.hilite){b.hilite.style.visibility="hidden"}if(b.hiliteShim){b.hiliteShim.style.visibility="inherit"}if(b.Menu.bgImageUp){b.style.background="url("+b.Menu.bgImageUp+")"}}}}if(!d&&window.ActiveMenu){if(window.ActiveMenu.Menu){if(window.ActiveMenu.Menu.hideOnMouseOut){MM_startTimeout()}return(true)}}return(true)}function hideChildMenu(f){MM_clearTimeout();var b=f;for(var d=0;d<b.Menu.childMenus.length;d++){var o=b.Menu.childMenus[d];if(document.layers){o.visibility="hidden"}else{o=FIND(o);o.style.visibility="hidden";if(o.Menu.menuItemHAlign!="left"){for(var c=0;c<o.Menu.menuItemLayers.length;c++){var q=o.Menu.menuItemLayers[c];if(q.textShim){q.textShim.style.visibility="inherit"}}}}o.Menu.hideChildMenu(o)}if(b.childMenu){var m=b.childMenu;if(document.layers){b.Menu.MM_showMenu(null,null,null,m.layers[0]);m.zIndex=b.parentLayer.zIndex+1;m.top=b.Menu.menuLayer.top+b.Menu.submenuYOffset;if(b.Menu.vertical){if(b.Menu.submenuRelativeToItem){m.top+=b.top+b.parentLayer.top}m.left=b.parentLayer.left+b.parentLayer.clip.width-(2*b.Menu.menuBorder)+b.Menu.menuLayer.left+b.Menu.submenuXOffset}else{m.top+=b.top+b.parentLayer.top;if(b.Menu.submenuRelativeToItem){m.left=b.Menu.menuLayer.left+b.left+b.clip.width+(2*b.Menu.menuBorder)+b.Menu.submenuXOffset}else{m.left=b.parentLayer.left+b.parentLayer.clip.width-(2*b.Menu.menuBorder)+b.Menu.menuLayer.left+b.Menu.submenuXOffset}}if(m.left<b.Menu.container.clip.left){b.Menu.container.clip.left=m.left}var n=m.clip.width+m.left-b.Menu.container.clip.left;if(n>b.Menu.container.clip.width){b.Menu.container.clip.width=n}var e=m.clip.height+m.top-b.Menu.container.clip.top;if(e>b.Menu.container.clip.height){b.Menu.container.clip.height=e}b.document.layers[1].zIndex=0;m.visibility="inherit"}else{if(FIND("menuItem0")){m=FIND(b.childMenu);var k=FIND(b.Menu.menuLayer);var p=m.style;p.zIndex=k.style.zIndex+1;if(document.all||window.mmIsOpera){p.pixelTop=k.style.pixelTop+b.Menu.submenuYOffset;if(b.Menu.vertical){if(b.Menu.submenuRelativeToItem){p.pixelTop+=b.style.pixelTop}p.pixelLeft=b.style.pixelWidth+k.style.pixelLeft+b.Menu.submenuXOffset;p.left=p.pixelLeft+"px"}else{p.pixelTop+=b.style.pixelTop;if(b.Menu.submenuRelativeToItem){p.pixelLeft=k.style.pixelLeft+b.style.pixelLeft+b.style.pixelWidth+(2*b.Menu.menuBorder)+b.Menu.submenuXOffset}else{p.pixelLeft=(k.style.pixelWidth-4*b.Menu.menuBorder)+k.style.pixelLeft+b.Menu.submenuXOffset}p.left=p.pixelLeft+"px"}}else{var g=parseInt(k.style.top)+b.Menu.submenuYOffset;var a=0;if(b.Menu.vertical){if(b.Menu.submenuRelativeToItem){g+=parseInt(b.style.top)}a=(parseInt(k.style.width)-4*b.Menu.menuBorder)+parseInt(k.style.left)+b.Menu.submenuXOffset}else{g+=parseInt(b.style.top);if(b.Menu.submenuRelativeToItem){a=parseInt(k.style.left)+parseInt(b.style.left)+parseInt(b.style.width)+(2*b.Menu.menuBorder)+b.Menu.submenuXOffset}else{a=(parseInt(k.style.width)-4*b.Menu.menuBorder)+parseInt(k.style.left)+b.Menu.submenuXOffset}}p.top=g+"px";p.left=a+"px"}m.style.visibility="inherit"}else{return}}window.activeMenus[window.activeMenus.length]=m}}function hideActiveMenus(){if(!window.activeMenus){return}for(var a=0;a<window.activeMenus.length;a++){if(!activeMenus[a]){continue}if(activeMenus[a].visibility&&activeMenus[a].Menu&&!window.mmIsOpera){activeMenus[a].visibility="hidden";activeMenus[a].Menu.container.visibility="hidden";activeMenus[a].Menu.container.clip.left=0}else{if(activeMenus[a].style){var b=activeMenus[a].style;b.visibility="hidden";b.left="-200px";b.top="-200px"}}}if(window.ActiveMenuItem){hideMenu(false,false)}window.activeMenus.length=0}function moveXbySlicePos(a,b){if(!document.layers){var e=navigator.platform?navigator.platform=="Win32":false;var f=document.all&&!e&&getExplorerVersion()==4.5;var d=b;var c=0;while(d){if(d.leftMargin&&!e){a+=parseInt(d.leftMargin)}if((d.offsetLeft!=c)&&d.offsetLeft){a+=parseInt(d.offsetLeft)}if(d.offsetLeft!=0){c=d.offsetLeft}d=f?d.parentElement:d.offsetParent}}else{if(b.x){a+=b.x}}return a}function moveYbySlicePos(f,a){if(!document.layers){var d=navigator.platform?navigator.platform=="Win32":false;var e=document.all&&!d&&getExplorerVersion()==4.5;var c=a;var b=0;while(c){if(c.topMargin&&!d){f+=parseInt(c.topMargin)}if((c.offsetTop!=b)&&c.offsetTop){f+=parseInt(c.offsetTop)}if(c.offsetTop!=0){b=c.offsetTop}c=e?c.parentElement:c.offsetParent}}else{if(a.y>=0){f+=a.y}}return f};