function loadXMLHttpObject(){if(document.all){xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")}if(!xmlhttp&&typeof XMLHttpRequest!="undefined"){try{xmlhttp=new XMLHttpRequest}catch(a){xmlhttp=false}}}function submitXMLHttpObject(a,b,c){xmlhttp.open("GET",a+escape(c),true);xmlhttp.onreadystatechange=b;xmlhttp.send(null)}function DHTMLMenu_mouseOut(a){DHTMLMenu_startTimeout(1e3);window.ActiveMenu.enableTimeout=1}function DHTMLMenu_mouseOver(a,b,c){a.className=b;if(window.active&&window.active!=a){window.active.className=c}window.active=a;window.clearTimeout(dhtml_timeout);window.ActiveMenu.enableTimeout=0}function DHTMLMenu_startTimeout(a,b){dhtml_timeout=setTimeout('DHTMLMenu_closeMenu("'+b+'");',a)}function DHTMLMenu_closeMenu(a){if(window.ActiveMenu&&(a||window.ActiveMenu.enableTimeout)){var b=document.getElementById(window.ActiveMenu.id);b.style.display="none";window.ActiveMenu.enableTimeout=0}}function DHTMLMenu_showMenu(a,b){if(window.ActiveMenu){DHTMLMenu_closeMenu(1)}var c=document.getElementById(this.id);if(c){c.style.left=a+"px";c.style.top=b+"px";c.style.display="block";window.ActiveMenu=this;window.ActiveMenu.enableTimeout=1;window.clearTimeout(dhtml_timeout)}}function DHTMLMenu_writeMenu(){html='<div id="'+this.id+'" class="'+this.classWrapper+'" style="display: none; position: absolute;">';for(i=0;i<this.items.length;i++){itm=this.items[i];tgt=itm[4]=="new"?' target="'+itm[4]+'"':"";html+='<a id="'+this.id+"_item"+itm[0]+'" class="'+this.classItem+'" style="display: block" '+"onmouseover=\"DHTMLMenu_mouseOver(this, '"+this.classHover+"', '"+this.classItem+"');\" "+'onmouseout="DHTMLMenu_mouseOut(this);" '+'href="'+itm[3]+'"'+tgt+">"+itm[2]+"</a>"}html+="</div>\n";document.write(html)}function DHTMLMenu_addItem(a,b,c,d,e){this.items.push(new Array(a,b,c,d,e))}function DHTMLMenu(a,b,c,d){this.addItem=DHTMLMenu_addItem;this.writeMenu=DHTMLMenu_writeMenu;this.showMenu=DHTMLMenu_showMenu;this.closeMenu=DHTMLMenu_closeMenu;this.startTimeout=DHTMLMenu_startTimeout;this.id=a;this.menuType=a.substr(0,4);this.classWrapper=b!==undefined?b:this.menuType+"_wrapper";this.classItem=c!==undefined?c:this.menuType+"_item";this.classHover=d!==undefined?d:this.menuType+"_item_hover";this.items=new Array;this.active="";this.enableTimeout=0;this.activeTimeout=""}function _getX(a){return a.offsetParent==null?a.offsetLeft:a.offsetLeft+_getX(a.offsetParent)}function _getY(a){return a.offsetParent==null?a.offsetTop:a.offsetTop+_getY(a.offsetParent)}function getX(a){return _getX(a)}function getY(a){return _getY(a)}function disable_rightclick_global(){window.oncontextmenu=function(){return false}}function disable_rightclick(a){a.oncontextmenu=function(){return false}}function ecomm1_item_formcheckandpost(a){overallinvalid=0;required=0;for(i=0;i<a.form.elements.length;i++){a=a.form.elements[i];if(a.name=="required"){required++;isvalid=0;for(k=0;k<a.form.elements.length;k++){valid=a.form.elements[k];if(valid.name==a.value||valid.name==a.value+"[]"){if((valid.type=="checkbox"||valid.type=="radio")&&valid.checked==true){isvalid=1}if((valid.type=="text"||valid.type=="textarea")&&valid.value){isvalid=1}if(valid.type=="select-multiple"||valid.type=="select-one"){isvalid=1}}}if(!isvalid){overallinvalid=1}}}if(overallinvalid){alert("Please fill out all required fields")}else{a.form.submit()}}function mouseFollow(a,b,c,d,e,f){if(document.getElementById){var g=document.getElementById(b).style;g.visibility="visible";mx=parseInt(mouseX(a))+10;if(IEModel&&e){mx-=e}else if(c){mx-=c}my=parseInt(mouseY(a))+10;if(IEModel&&f){my-=f}else if(d){my-=d}g.top=my+"px";g.left=mx+"px";if(document.getElementById("debugmx")){document.getElementById("debugmx").innerHTML=mx+" - "+mouseX(a)+" - "+g.offsetLeft}if(document.getElementById("debugmy")){document.getElementById("debugmy").innerHTML=my+" - "+mouseY(a)+" - "+g.offsetTop}}}function mouseY(a){return document.all?event.clientY+(document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop):a.pageY}function mouseX(a){return document.all?event.clientX+(document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft):a.pageX}function toggleall(a){for(i=0;i<a.form.elements.length;i++){elem=a.form.elements[i];if(elem.type=="checkbox"){if(elem.checked==true){elem.checked=false}else{elem.checked=true}}}}function deselectall(a){for(i=0;i<a.form.elements.length;i++){elem=a.form.elements[i];if(elem.type=="checkbox"){elem.checked=false}}}function selectall(a){for(i=0;i<a.form.elements.length;i++){elem=a.form.elements[i];if(elem.type=="checkbox"){elem.checked=true}}}function jsconfirm(a,b){if(confirm(a)){document.location=b}}function hideelement(a){if(a){a.style.display="none"}}function e(a){return document.getElementById(a)}var W3CModel=NN4Model=IEModel=false;if(document.all){IEModel=true}else if(document.layers){NN4Model=true}else if(document.getElementById){W3CModel=true}var dhtml_timeout="";var xmlhttp;if(typeof deconcept=="undefined")var deconcept=new Object;if(typeof deconcept.util=="undefined")deconcept.util=new Object;if(typeof deconcept.SWFObjectUtil=="undefined")deconcept.SWFObjectUtil=new Object;deconcept.SWFObject=function(a,b,c,d,e,f,g,h,i,j,k){if(!document.getElementById){return}this.DETECT_KEY=k?k:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object;this.variables=new Object;this.attributes=new Array;if(a){this.setAttribute("swf",a)}if(b){this.setAttribute("id",b)}if(c){this.setAttribute("width",c)}if(d){this.setAttribute("height",d)}if(e){this.setAttribute("version",new deconcept.PlayerVersion(e.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(f){this.addParam("bgcolor",f)}var l=h?h:"high";this.addParam("quality",l);this.setAttribute("useExpressInstall",g);this.setAttribute("doExpressInstall",false);var m=i?i:window.location;this.setAttribute("xiRedirectUrl",m);this.setAttribute("redirectUrl","");if(j){this.setAttribute("redirectUrl",j)}this.unsupportedText=function(a){elem=document.getElementById(a);elem.innerHTML='Please install the current version of <a href="http://www.adobe.com/go/getflash/">Adobe Flash Player</a> to view this content.'}};deconcept.SWFObject.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},getVariablePairs:function(){var a=new Array;var b;var c=this.getVariables();for(b in c){a.push(b+"="+c[b])}return a},getSWFHTML: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 b=this.getParams();for(var c in b){a+=[c]+'="'+b[c]+'" '}var d=this.getVariablePairs().join("&");if(d.length>0){a+='flashvars="'+d+'"'}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 b=this.getParams();for(var c in b){a+='<param name="'+c+'" value="'+b[c]+'" />'}var d=this.getVariablePairs().join("&");if(d.length>0){a+='<param name="flashvars" value="'+d+'" />'}a+="</object>"}return a},write:function(a){if(this.getAttribute("useExpressInstall")){var b=new 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.unsupportedText(a)}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var c=typeof a=="string"?document.getElementById(a):a;c.innerHTML=this.getSWFHTML();return true}else{this.unsupportedText(a);if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var a=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var b=navigator.plugins["Shockwave Flash"];if(b&&b.description){a=new deconcept.PlayerVersion(b.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{try{var c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(d){try{var c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");a=new deconcept.PlayerVersion([6,0,21]);c.AllowScriptAccess="always"}catch(d){if(a.major==6){return a}}try{c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(d){}}if(c!=null){a=new deconcept.PlayerVersion(c.GetVariable("$version").split(" ")[1].split(","))}}return a};deconcept.PlayerVersion=function(a){this.major=a[0]!=null?parseInt(a[0]):0;this.minor=a[1]!=null?parseInt(a[1]):0;this.rev=a[2]!=null?parseInt(a[2]):0};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};deconcept.util={getRequestParameter:function(a){var b=document.location.search||document.location.hash;if(b){var c=b.substring(1).split("&");for(var d=0;d<c.length;d++){if(c[d].substring(0,c[d].indexOf("="))==a){return c[d].substring(c[d].indexOf("=")+1)}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var a=document.getElementsByTagName("OBJECT");for(var b=0;b<a.length;b++){a[b].style.display="none";for(var c in a[b]){if(typeof a[b][c]=="function"){a[b][c]=null}}}};if(typeof window.onunload=="function"){var oldunload=window.onunload;window.onunload=function(){deconcept.SWFObjectUtil.cleanupSWFs();oldunload()}}else{window.onunload=deconcept.SWFObjectUtil.cleanupSWFs}var getQueryParamValue=deconcept.util.getRequestParameter;var SWFObject=deconcept.SWFObject;var FlashObject=deconcept.SWFObject
