function removeClass(a,b){if(hasClass(a,b)){var c=new RegExp("(\\s|^)"+b+"(\\s|$)");a.className=a.className.replace(c," ")}}function addClass(a,b){if(!hasClass(a,b))a.className+=" "+b}function hasClass(a,b){return a.className.match(new RegExp("(\\s|^)"+b+"(\\s|$)"))}function getElementsByClassName(a,b){if(!b)b=document.getElementsByTagName("body")[0];var c=[];var d=new RegExp("\\b"+a+"\\b");var e=b.getElementsByTagName("*");for(var f=0,g=e.length;f<g;f++)if(d.test(e[f].className))c.push(e[f]);return c}function PrintPage(){if(blnCanPrint){window.print()}else if(blnIE&&!blnMac){vbPrintPage()}else{alert('Your web browser does not appear to support the automatic\nPrint function. To print this page, please select the "Print"\noption from the "File" menu of your web browser.')}}function LoadVBPrinter(){if(blnIE&&!blnCanPrint&&!blnMac)with(document){writeln('<OBJECT ID="WB" WIDTH="0" HEIGHT="0" CLASSID="clsid:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>');writeln("<"+'SCRIPT LANGUAGE="VBScript">');writeln("Sub window_onunload");writeln("    On Error Resume Next");writeln("    Set WB = nothing");writeln("End Sub");writeln("Sub vbPrintPage");writeln("    OLECMDID_PRINT = 6");writeln("    OLECMDEXECOPT_DONTPROMPTUSER = 2");writeln("    OLECMDEXECOPT_PROMPTUSER = 1");writeln("    On Error Resume Next");writeln("    WB.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER");writeln("End Sub");writeln("<"+"/SCRIPT>")}}function toggleElementOnOff(){if(document.getElementById("footersurvey").style.display=="none"){document.getElementById("footersurvey").style.display="block";document.getElementById("footersurvey").style.position="relative"}else{document.getElementById("footersurvey").style.display="none";document.getElementById("footersurvey").style.position="relative"}return}function toggleElement(a,b){if(!b){b=document.getElementById(a).style.display;switch(b){case"block":b="none";break;case"inline":b="none";break;case"none":b="block";break;case"":break}}document.getElementById(a).style.display=b}function LayerVisibility(a,b){if(blnNS4){if(document.layers[a]){document.layers[a].visibility=b}}else if(blnDOM){if(document.getElementById(a)){document.getElementById(a).style.visibility=b}}else if(blnIE){if(document.all[a]){document.all[a].style.visibility=b}}}function LayerDisplay(a,b){if(blnNS4){if(document.layers[a]){document.layers[a].display=b}}else if(blnDOM){if(document.getElementById(a)){document.getElementById(a).style.display=b}}else if(blnIE){if(document.all[a]){document.all[a].style.display=b}}}function LayerVisibility(a,b){if(blnNS4){if(document.layers[a]){document.layers[a].visibility=b}}else if(blnDOM){if(document.getElementById(a)){document.getElementById(a).style.visibility=b}}else if(blnIE){if(document.all[a]){document.all[a].style.visibility=b}}}function ImageSwapFX(strImageID,strNewImageSrc,blnDisableTrans){if(blnDisableTrans||!document.images[strImageID].filters||blnIE50){if(document.images){document.images[strImageID].src=eval(strNewImageSrc+".src")}}else{document.images[strImageID].filters[0].Apply();if(blnToggleTrans){blnToggleTrans=0;document.images[strImageID].src=eval(strNewImageSrc+".src")}else{blnToggleTrans=1;document.images[strImageID].src=eval(strNewImageSrc+".src")}document.images[strImageID].filters[0].Play()}}function ImageSwap(strImageID,strNewImageSrc){if(document.images){document.images[strImageID].src=eval(strNewImageSrc+".src")}}function CS(){alert("That function is coming soon.")}function RequireKeywords(a,b){if(document.forms[a].elements[b].value.length<=3){alert("Please alter your requested keyword(s) in the search form.\nThe search phrase must be 3 characters or more in length.");return false}}function PopdownLink(a,b){if(!b){top.opener.location.href=a}else{if(b.location){b.location.href=a}else{window.open(a,b)}}top.close()}function Popup(a,b,c,d,e,f,g,h,i){if(!a){a="/"}if(!b){b=500}if(!c){c=320}if(!d){d="PopupWindow"}if(!e){e="yes"}if(!f){f="no"}if(!g){g="no"}if(!h){h="no"}if(!i){i="yes"}idPopup=window.open(a,d,"width="+b+",height="+c+",scrollbars="+e+",location="+f+",toolbar="+g+",status="+h+",resizable="+i);if(window.focus){idPopup.focus()}return false}function SetDefaultFieldValue(a,b,c,d){var e=document.forms[a].elements[b].value;if(d){if(e==c){document.forms[a].elements[b].value=""}}else{if(e==""){document.forms[a].elements[b].value=c}}}function InitNav(a){sfHover=function(){var b=document.getElementById(a);if(b){var c=b.getElementsByTagName("LI");for(var d=0;d<c.length;d++){c[d].onmouseover=function(){this.className+=" sfhover"};c[d].onmouseout=function(){this.className=this.className.replace(new RegExp(" sfhover\\b"),"")}}}};if(window.attachEvent){window.attachEvent("onload",sfHover)}}function NavFormSelect(a,b){intSelected=document[a].elements[b].options.selectedIndex;strURL=document[a].elements[b].options[intSelected].value;document[a].elements[b].options.selectedIndex=0;if(strURL!=""){location.href=strURL}}function getWindowDimension(a){var b=0;switch(a.toLowerCase()){case"width":if(typeof window.innerWidth=="number"){b=window.innerWidth}else if(document.documentElement&&document.documentElement.clientWidth){b=document.documentElement.clientWidth}else if(document.body&&document.body.clientWidth){b=document.body.clientWidth}break;case"height":if(typeof window.innerHeight=="number"){b=window.innerHeight}else if(document.documentElement&&document.documentElement.clientHeight){b=document.documentElement.clientHeight}else if(document.body&&document.body.clientHeight){b=document.body.clientHeight}break}return b}function FloatDiv(a,b,c){var d=navigator.appName.indexOf("Netscape")!=-1;var e=document;var f=e.getElementById?e.getElementById(a):e.all?e.all[a]:e.layers[a];var g=document.layers?"":"px";window[a+"_obj"]=f;if(e.layers)f.style=f;f.cx=f.sx=b;f.cy=f.sy=c;f.sP=function(a,b){this.style.left=a+g;this.style.top=b+g};f.floatIt=function(){var a,b;a=this.sx>=0?0:d?innerWidth:document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:document.body.clientWidth;b=d?pageYOffset:document.documentElement&&document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop;if(this.sy<0)b+=d?innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:document.body.clientHeight;this.cx+=(a+this.sx-this.cx)/8;this.cy+=(b+this.sy-this.cy)/8;this.sP(this.cx,this.cy);setTimeout(this.id+"_obj.floatIt()",40)};return f}function ResetCSSBackgroundImages(){if(garrCSSBackgroundImages&&garrCSSBackgroundImages.length>0){arrAllElements=document.getElementsByTagName("*");for(var a=0;a<arrAllElements.length;a++){arrAllElements[a].style.backgroundImage=garrCSSBackgroundImages[a]}}}function RemoveCSSBackgroundImages(){arrAllElements=document.getElementsByTagName("*");for(var a=0;a<arrAllElements.length;a++){if(garrCSSBackgroundImages){garrCSSBackgroundImages[a]=arrAllElements[a].style.backgroundImage}arrAllElements[a].style.backgroundImage="none"}}function ToggleImages_IgnoreImages(a){if(a){if(a.src.indexOf("secure-au.imrworldwide.com")>-1){return true}if(a.src.indexOf("cgi-bin")>-1){return true}}return false}function ToggleImages(){if(gstrImagesStatus=="off"){arrSpans=document.getElementsByTagName("span");for(i=0;i<arrSpans.length;i++){oSpan=arrSpans[i];if(oSpan.className=="AltText"){oImg=document.createElement("img");oImg.alt=oSpan.innerHTML;oImg.src=oSpan.title;pnode=oSpan.parentNode;pnode.removeChild(oSpan);pnode.appendChild(oImg);i--}}if(ResetCSSBackgroundImages){ResetCSSBackgroundImages()}gstrImagesStatus="on"}else{arrImageTags=document.images;for(i=0;i<arrImageTags.length;i++){if(arrImageTags[i]&&!ToggleImages_IgnoreImages(arrImageTags[i])){strAltText=arrImageTags[i].alt;if(!strAltText){strAltText="Unknown image."}oSpan=document.createElement("span");oSpan.className="AltText";oSpan.title=arrImageTags[i].src;oSpan.appendChild(document.createTextNode(strAltText));pnode=arrImageTags[i].parentNode;pnode.removeChild(arrImageTags[i]);pnode.appendChild(oSpan);i--}}if(RemoveCSSBackgroundImages){RemoveCSSBackgroundImages()}gstrImagesStatus="off"}}function readCookie(a){var b=a+"=";var c=document.cookie.split(";");for(var d=0;d<c.length;d++){var e=c[d];while(e.charAt(0)==" ")e=e.substring(1,e.length);if(e.indexOf(b)==0)return e.substring(b.length,e.length)}return null}function createCookie(a,b,c){if(c){var d=new Date;d.setTime(d.getTime()+c*24*60*60*1e3);var e="; expires="+d.toGMTString()}else var e="";document.cookie=a+"="+b+e+"; path=/"}function setSize(a){if(!a){a="body"}if(!(cEl=document.getElementById(a))){cEl=document.getElementsByTagName(a)[0]}cEl.style.fontSize=sizes[startSz];for(var b=0;b<tgs.length;b++){var c=cEl.getElementsByTagName(tgs[b])}}function textSizer(a,b){if(!document.getElementById)return;var c=null;var d=startSz;d=1*d+1*b;if(d<0)d=0;if(d>6)d=6;startSz=d;createCookie("txtsize",d);setSize(a)}function PositionFooter(){var intContentHeight=GetObjectHeight("page-align");var intWindowHeight=ReturnWindowHeight();var intFooterHeight=GetObjectHeight("footer");objFooter=new getObj("footer");objWrapper=new getObj("page-wrapper-inner");if(intWindowHeight>intContentHeight){objWrapper.height=eval(intWindowHeight-intFooterHeight)+"px";objFooter=new getObj("footer");objFooter.position="absolute";objFooter.left="0px";objFooter.top=eval(intWindowHeight-intFooterHeight)+"px"}objFooter.visibility="visible"}function SetUniformHeight(a){intMaxHeight=0;if(a){arrPageObjects=a.split(",")}if(arrPageObjects){for(i=0;i<arrPageObjects.length;i++){intThisHeight=GetObjectHeight(arrPageObjects[i]);if(intThisHeight>intMaxHeight){intMaxHeight=intThisHeight}}if(intMaxHeight>0){for(i=0;i<arrPageObjects.length;i++){strMaxHeight=intMaxHeight+"px";if(document.getElementById(arrPageObjects[i])){document.getElementById(arrPageObjects[i]).style.height=strMaxHeight}}}}}function GetObjectHeight(objectRef){var intHeight=-1;if(document.getElementById){if(document.getElementById(objectRef)){intHeight=eval(document.getElementById(objectRef).offsetHeight)}}else if(document.all){if(document.all[objectRef]){intHeight=document.all[objectRef].scrollHeight}}else if(document.layers){if(document[objectRef]){intHeight=document[objectRef].clip.bottom}}return intHeight}function ReturnWindowHeight(a){var b=-1;if(!a){a=window}if(typeof a.innerWidth=="number"){b=a.innerHeight}if(a.document.body&&typeof a.document.body.clientWidth=="number"){b=a.document.body.clientHeight}return b}function getObj(a){if(document.getElementById){this.obj=document.getElementById(a);this.style=document.getElementById(a)}else if(document.all){this.obj=document.all[a];this.style=document.all[a].style}else if(document.layers){this.obj=document.layers[a];this.style=document.layers[a]}}function imageCaptionSwap(a,b){var c=document.getElementById(b);var d=c.selectedIndex;var e=document.getElementById(a);e.innerHTML=c.options[d].text}function imageSwap(a,b,c){if(document.getElementById){document.images[b].src=c}else if(document.all){if(a!=""){document.all[a].document.images[b].src=c}}else if(document.layers){if(a!=""){document.layers[a].document.images[b].src=c}}}function MM_showHideLayers(){var i,p,v,obj,args=MM_showHideLayers.arguments;for(i=0;i<args.length-2;i+=3)with(document)if(getElementById&&(obj=getElementById(args[i]))!=null){v=args[i+2];if(obj.style){obj=obj.style;v=v=="show"?"visible":v=="hide"?"hidden":v}obj.visibility=v}}function MM_reloadPage(init){if(init==true)with(navigator){if(appName=="Netscape"&&parseInt(appVersion)==4){document.MM_pgW=innerWidth;document.MM_pgH=innerHeight;onresize=MM_reloadPage}}else if(innerWidth!=document.MM_pgW||innerHeight!=document.MM_pgH)location.reload()}MM_reloadPage(true);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){if(!document.getElementById){return}this.DETECT_KEY=j?j:"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(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true}if(f){this.addParam("bgcolor",f)}var k=g?g:"high";this.addParam("quality",k);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var l=h?h:window.location;this.setAttribute("xiRedirectUrl",l);this.setAttribute("redirectUrl","");if(i){this.setAttribute("redirectUrl",i)}};deconcept.SWFObject.prototype={useExpressInstall:function(a){this.xiSWFPath=!a?"expressinstall.swf":a;this.setAttribute("useExpressInstall",true)},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[a.length]=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");this.setAttribute("swf",this.xiSWFPath)}a='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'"';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");this.setAttribute("swf",this.xiSWFPath)}a='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'">';a+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var e=this.getParams();for(var c in e){a+='<param name="'+c+'" value="'+e[c]+'" />'}var f=this.getVariablePairs().join("&");if(f.length>0){a+='<param name="flashvars" value="'+f+'" />'}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)}}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{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{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var c=1;var d=3;while(c){try{d++;c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+d);a=new deconcept.PlayerVersion([d,0,0])}catch(e){c=null}}}else{try{var c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(e){try{var c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");a=new deconcept.PlayerVersion([6,0,21]);c.AllowScriptAccess="always"}catch(e){if(a.major==6){return a}}try{c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){}}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(a==null){return b}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=a.length-1;b>=0;b--){a[b].style.display="none";for(var c in a[b]){if(typeof a[b][c]=="function"){a[b][c]=function(){}}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs)};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true}}if(!document.getElementById&&document.all){document.getElementById=function(a){return document.all[a]}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;var tgs=new Array("td","tr");var sizes=new Array("xx-small","x-small","small","medium","large","x-large","xx-large");var startSz=readCookie("txtsize")==null?2:readCookie("txtsize");var gstrImagesStatus="";var garrCSSBackgroundImages=new Array
