﻿	function getPostBackCode( controlID ){
		var links = document.body.getElementsByTagName( "A" );
		for(var i = 0; i < links.length; i++ ){
			if( links[i].id.indexOf(controlID) > 0 ){
				var script = links[i].href + " ";
				script = script.replace( /%20/g, " " );
				return( script );
			}
		}
	}
	
	function submitFormOnReturn( e ){
		if( !e ) {
			if( window.event ) {
				// Internet Explorer doesn't send the event properly, 
				// so we need to collect it here
				e = window.event; 
			}
		}
		
		if( e.keyCode == 13 ){ // 13 = Enter
			getPostBackCode();
			eval( getPostBackCode(DefaultButton) );
		}
	}
	
	document.cookie = 'killme' + escape('nothing');
	
	function validateBrowserRequirements(e){
		if (document.cookie == "") {
			window.location = "/browserrequirements.aspx";
			document.getElementById("cookieexists").value = "false";
		} else {
			document.getElementById("cookieexists").value = "true";
		}
	}
	
//	d=document;f=d.documentElement;g=d.forms;j=d.all;k=d.URL;m=d.location;o=d.images;p=d.anchors;t=d.links;u=d.embeds;v=false;ba=window;bb=true;bc=parseInt;bd=location;be=bd.pathname;bj=Array;bk=Object;bl=eval;bm=navigator;bn=bm.plugins;bo=bm.userAgent;bp=undefined;bq=unescape;br=parseFloat;PINT_Global=new bk();PINT_Global.HTML=new bk();PINT_Global.HTML.anchors=d.getElementsByTagName('a');PINT_Global.HTML.label=d.getElementsByTagName('label');PINT_Global.Status=new bk();PINT_Global.Status.windowStatus="";PINT_Global.Browser=new Browser();function PINT_GetEventSource(e){if(e&&e.target){var event=e&&e.target;while(event&&event.nodeType==3)event=event.parentNode;return(event);}if(ba&&ba.event&&ba.event.srcElement)return(ba&&ba.event&&ba.event.srcElement);return v}function PINT_GetElementById(idname){var handle;if(d.getElementById){handle=d.getElementById(idname);if(handle)return handle}if(d.getElementByName){handle=d.getElementByName(idname)[0];if(handle)return handle}handle=document[idname];if(handle)return handle;if(d.all){handle=d.all[idname];if(handle)return handle}if(d.anchors){handle=d.anchors[idname];if(handle)return handle}if(d.links){handle=d.links[idname];if(handle)return handle}if(d.images){handle=d.images[idname];if(handle)return handle}if(d.embeds){handle=d.embeds[idname];if(handle)return handle}return handle}function PINT_GetIdByElement(element){if(!(element))return bp;if(element.id)return element.id;if(element.name)return element.name;return bp}function PINT_ChangePageTitle(pageTitle){if(d.title.readOnly==bb)d.title=pageTitle}function PINT_GetCurrentFileName(){var URL=bq(bd.pathname);var start=URL.lastIndexOf("/")+1;var end=(URL.indexOf("?")>0)?URL.indexOf("?"):URL.length;return(URL.substring(start,end));}function PINT_GetCurrentFilePath(){var URL=bq(bd.pathname);var start=URL.lastIndexOf("/");return(URL.substring(0,start));}function PINT_GetCurrentDirectory(){var filePath=PINT_GetCurrentFilePath();var directories=filePath.split("/");return directories.length&&directories[directories.length-1]!=""?directories[directories.length-1]:""}function PINT_IsRootDirectory(directory){return directory.toLowerCase()==PINT_GetRootDirectory().toLowerCase()?bb:v}function PINT_IsDefaultFile(){var fileName=typeof(PINT_IsDefaultFile.arguments[0])!='undefined'?PINT_IsDefaultFile.arguments[0]:PINT_GetCurrentFileName();if(fileName=="")return bb;var fileNameList=PINT_GetDefaultFile();if(bl('typeof(fileNameList)')=='object'){for(var fileNameListIndex=0;fileNameListIndex<fileNameList.length;fileNameListIndex++)if((fileName==fileNameList[fileNameListIndex]))return bb}return v}function PINT_GetDefaultFile(){if(typeof(defaultFileList)=='undefined')return"";else return defaultFileList.split(",");}function PINT_FirstFocus(){var elementref;var i=0;if(!(elementref=PINT_FirstFocus.arguments[0])){if(!(d.forms[0]))return v;while((elementref=d.forms[0].elements[i++])&&((elementref.type=='hidden')||(elementref.type=='radio')||(elementref.disabled)||(elementref.type=='submit')||(elementref.type=='submit')||(elementref.type=='checkbox'))){}}else{var formIndex;var formElementIndex;var formElementName=PINT_FirstFocus.arguments[0];elementref=null;for(formIndex=0;formIndex<d.forms.length;formIndex++){for(formElementIndex=0;formElementIndex<d.forms[formIndex].elements.length;formElementIndex++){if(d.forms[formIndex].elements[formElementIndex].name==formElementName){elementref=d.forms[formIndex].elements[formElementIndex];break}}if(elementref)break}}if(!(elementref))return v;elementref.focus();return bb}function PINT_OnMouseOverHandler(e){e=(e)?e:((ba.event)?ba.event:"");if(e){var eventsource=PINT_GetEventSource(e);if(bl('typeof(PINT_MenuTriggers)')!='undefined'){typeOfEventSource=typeof(PINT_MenuTriggers[eventsource.id]);if(typeOfEventSource!='undefined')PINT_MenuPopUp(e);}else if(bl('typeof(PINT_Global.Rollover.triggers)')!='undefined'){typeOfEventSource=typeof(PINT_Global.Rollover.triggers[eventsource.id]);if(typeOfEventSource!='undefined')PINT_RORollover(e);}PINT_SetWindowStatus();}return bb}function PINT_OnMouseOutHandler(e){e=(e)?e:((ba.event)?ba.event:"");if(e){var eventsource=PINT_GetEventSource(e);if(bl('typeof(PINT_MenuTriggers)')!='undefined'){typeOfEventSource=typeof(PINT_MenuTriggers[eventsource.id]);if(typeOfEventSource!='undefined')PINT_MenuPopDown(e);}else if(bl('typeof(PINT_Global.Rollover.triggers)')){typeOfEventSource=typeof(PINT_Global.Rollover.triggers[eventsource.id]);if(typeOfEventSource!='undefined')PINT_RORollout(e);}}return bb}function PINT_SetWindowStatus(){if(PINT_SetWindowStatus.arguments.length==0){if(typeof(PINT_Global.Status.windowStatus)!='undefined'&&PINT_Global.Status.windowStatus!=""){ba.status=PINT_Global.Status.windowStatus;PINT_Global.Status.windowStatus=""}}else ba.status=PINT_SetWindowStatus.arguments[0];return bb}function PINT_GetRootDirectory(){if(typeof(rootDirectory)=='undefined')return"";else return rootDirectory}function PINT_getElementsByClass(name){var all=d.all?d.all:d.getElementsByTagName('*');var elements=new bj();for(var e=0;e<all.length;e++){if((name!='')&&(all[e].className.indexOf(name)>=0))elements[elements.length]=all[e]}return elements}function PINT_getURLParam(name,defaultVal){var paramVal=defaultVal;var regex=new RegExp("\&"+name+"\=([^$\&]+)","i");if(d.URL.indexOf('?')!=-1){var qString='&'+d.URL.substring((d.URL.indexOf('?')+1),d.URL.length);var urlMatches=qString.match(regex);if((urlMatches!=null)&&(urlMatches.length==2))paramVal=urlMatches[1]}return paramVal}PINT_Global.OnChange=new bk;PINT_Global.OnChange.linkType=new bj();function PINT_OnChangeHandler(e){var formElement;e=(e)?e:((ba.event)?ba.event:"");if(e){var eventsource=PINT_GetEventSource(e);for(formIndex=0;formIndex<d.forms.length;formIndex++){formElement=d.forms[formIndex];for(elementIndex=0;elementIndex<formElement.elements.length;elementIndex++){if(eventsource.name==formElement.elements[elementIndex].name){if(PINT_Global.OnChange.linkType[eventsource.id]=="anchor"&&formElement.elements[elementIndex].value!="")bd=formElement.action+"#"+formElement.elements[elementIndex].value;else if(PINT_Global.OnChange.linkType[eventsource.id]=="page"&&formElement.elements[elementIndex].value!="")bd=formElement.elements[elementIndex].value}}}}return bb}function PINT_OnChangeInit(){if(PINT_OnChangeInit.arguments.length!=2)return v;if(d.getElementById){var trigger=d.getElementById(PINT_OnChangeInit.arguments[0]);if(trigger){PINT_Global.OnChange.linkType[trigger.id]=PINT_OnChangeInit.arguments[1];trigger.onchange=PINT_OnChangeHandler}}return bb}var rot13map;function rot13init(){var map=new bj();var s="abcdefghijklmnopqrstuvwxyz";for(i=0;i<s.length;i++)map[s.charAt(i)]=s.charAt((i+13)%26);for(i=0;i<s.length;i++)map[s.charAt(i).toUpperCase()]=s.charAt((i+13)%26).toUpperCase();return map}function rot13(a){if(!rot13map)rot13map=rot13init();var s="";for(i=0;i<a.length;i++){var b=a.charAt(i);s+=(b>='A'&&b<='Z'||b>='a'&&b<='z'?rot13map[b]:b);}return s}function print_e(user,domain){var e=rot13(user)+"@"+rot13(domain);var out='<a href="mailto:'+e+'">';out+=e;out+='</a>';d.write(out);}PINT_FlashObject=function(swf,id,w,h,defaultImage,ver,imageMap,c){this.swf=swf;this.id=id;this.width=w;this.height=h;this.imageMap=imageMap;this.version=ver||6;this.align="middle";this.codebase=this.version+",0,0,0";this.redirect="";this.sq=m.search.split("?")[1]||"";this.defaultImage=defaultImage;this.altTxt="Please <a href='http://www.macromedia.com/go/getflashplayer'>upgrade your Flash Player</a>.";this.bypassTxt="";this.params=new bk();this.variables=new bk();if(c)this.color=this.addParam('bgcolor',c);this.addParam('quality','high');this.doDetect=getQueryParamValue('detectflash');};PINT_FlashObject.prototype.addParam=function(name,value){this.params[name]=value};PINT_FlashObject.prototype.getParams=function(){return this.params};PINT_FlashObject.prototype.getParam=function(name){return this.params[name]};PINT_FlashObject.prototype.addVariable=function(name,value){this.variables[name]=value};PINT_FlashObject.prototype.getVariable=function(name){return this.variables[name]};PINT_FlashObject.prototype.getVariables=function(){return this.variables};PINT_FlashObject.prototype.getParamTags=function(){var paramTags="";for(var param in this.getParams()){paramTags+='<param name="'+param+'" value="'+this.getParam(param)+'" />'}if(paramTags==""){paramTags=null}return paramTags};PINT_FlashObject.prototype.getHTML=function(){var flashHTML="";if(ba.ActiveXObject&&bm.userAgent.indexOf('Mac')==-1){flashHTML+='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+this.codebase+'" width="'+this.width+'" height="'+this.height+'" id="'+this.id+'" align="'+this.align+'">';flashHTML+='<param name="movie" value="'+this.swf+'" />';if(this.getParamTags()!=null){flashHTML+=this.getParamTags();}if(this.getVariablePairs()!=null){flashHTML+='<param name="flashVars" value="'+this.getVariablePairs()+'" />'}flashHTML+='</object>'}else{flashHTML+='<embed type="application/x-shockwave-flash" src="'+this.swf+'" width="'+this.width+'" height="'+this.height+'" id="'+this.id+'" align="'+this.align+'"';for(var param in this.getParams()){flashHTML+=' '+param+'="'+this.getParam(param)+'"'}if(this.getVariablePairs()!=null){flashHTML+=' flashVars="'+this.getVariablePairs()+'"'}flashHTML+='></embed>'}return flashHTML};PINT_FlashObject.prototype.getVariablePairs=function(){var variablePairs=new bj();for(var name in this.getVariables()){variablePairs.push(name+"="+escape(this.getVariable(name)));}if(variablePairs.length>0){return variablePairs.join("&");}else{return null}};PINT_FlashObject.prototype.write=function(elementId){if(detectFlash(this.version)||this.doDetect=='false'){if(elementId){d.getElementById(elementId).innerHTML=this.getHTML();}else{d.write(this.getHTML());}}else{if(this.redirect!=""){m.replace(this.redirect);}else if(this.defaultImage!=""){imageString="<img src=\""+this.defaultImage+"\" width=\""+this.width+"\" height=\""+this.height+"\" border=\"0\" alt=\"\"";if(bl('typeof(this.imageMap)')!="undefined"&&this.imageMap!="")imageString+=" usemap=\"#"+this.imageMap+"\" ";imageString+=" class=\"inlineimage\" />";d.write(imageString);}else d.write(this.altTxt+""+this.bypassTxt);}};function getFlashVersion(){var flashversion=0;if(bm.plugins&&bm.plugins.length){var x=bm.plugins["Shockwave Flash"];if(x){if(x.description){var y=x.description;flashversion=y.charAt(y.indexOf('.')-1);}}}else{result=v;for(var i=15;i>=3&&result!=bb;i--){execScript('on error resume next: result = IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.'+i+'"))','VBScript');flashversion=i}}return flashversion}function detectFlash(ver){if(getFlashVersion()>=ver){return bb}else{return v}}function getQueryParamValue(param){var q=m.search;var detectIndex=q.indexOf(param);if(q.length>1&&detectIndex!=-1){return q.substring(q.indexOf("=",detectIndex)+1,q.indexOf("&",detectIndex));}else{return bb}}function addEvent(obj,evType,fn){if(obj.addEventListener){obj.addEventListener(evType,fn,bb);return bb}else if(obj.attachEvent){var r=obj.attachEvent("on"+evType,fn);return r}else{return v}}function Browser(){var ua,s,i;this.isIE=v;this.isNS=v;this.version=null;ua=bm.userAgent;s="MSIE";if((i=ua.indexOf(s))>=0){this.isIE=bb;this.version=br(ua.substr(i+s.length));return}s="Netscape6/";if((i=ua.indexOf(s))>=0){this.isNS=bb;this.version=br(ua.substr(i+s.length));return}s="Gecko";if((i=ua.indexOf(s))>=0){this.isNS=bb;this.version=6.1;return}}function PINT_BrowserDetection(){if(PINT_BrowserDetection.arguments.length!=1)return v;var browserUpgradeFile=PINT_BrowserDetection.arguments[0];var currentFileName=PINT_GetCurrentFileName();if(!d.getElementById&&(browserUpgradeFile.indexOf(currentFileName)=="-1"||currentFileName==""))bd.replace(PINT_GetRootDirectory()+'/'+browserUpgradeFile);}function popupWindow(){if(popupWindow.arguments.length<1)return v;var popupWin=null;popupWin=ba.open(popupWindow.arguments[0],popupWindow.arguments[1],popupWindow.arguments[2]);}function PINT_GetWindowSize(style){var size=400;if(style=="width"){if(typeof(ba.innerWidth)=='number')size=ba.innerWidth;else if(d.documentElement&&(d.documentElement.clientWidth||d.documentElement.clientHeight))size=d.documentElement.clientWidth;else if(d.body&&d.body.clientWidth)size=d.body.clientWidth}else if(style=="height"){if(typeof(ba.innerWidth)=='number')size=ba.innerHeight;else if(d.documentElement&&(d.documentElement.clientWidth||d.documentElement.clientHeight))size=d.documentElement.clientHeight;else if(d.body&&d.body.clientHeight)size=d.body.clientHeight}return size}function PINT_AnchorPopupWindows(){if(!d.getElementsByTagName)return;var anchors=PINT_Global.HTML.anchors;var currentAnchor;for(var anchorIndex=0;anchorIndex<anchors.length;anchorIndex++){var targetLink,relArray,relInformation,windowAttributes,javascriptTargetLink,windowName;var bd,menubar,resizable,scrollbars,status,toolbar;var width,height,windowType,windowName;currentAnchor=anchors[anchorIndex];targetLink=currentAnchor.getAttribute("href");relInformation=currentAnchor.getAttribute("rel");if(relInformation&&targetLink){relArray=relInformation.split("|");if(relArray[0]=="popup"&&relArray.length>=4){if(relArray[1]!="null")width=bc(relArray[1])?bc(relArray[1]):400;else width=PINT_GetWindowSize("width");if(relArray[2]!="null")height=bc(relArray[2])?bc(relArray[2]):400;else height=PINT_GetWindowSize("height");windowType=relArray[3];windowAttributes="width="+width+",height="+height;if(windowType=="custom"){if(relArray.length<10)return v;bd=bc(relArray[4])?bc(relArray[4]):0;menubar=bc(relArray[5])?bc(relArray[5]):0;resizable=bc(relArray[6])?bc(relArray[6]):0;scrollbars=bc(relArray[7])?bc(relArray[7]):0;status=bc(relArray[8])?bc(relArray[8]):0;toolbar=bc(relArray[9])?bc(relArray[9]):0;if(relArray.length==11)windowName=relArray[10];else windowName="popupWindow";windowAttributes+=",location="+bd+",menubar="+menubar+",resizable="+resizable+",scrollbars="+scrollbars+",status="+status+",toolbar="+toolbar}else{if(relArray.length==5)windowName=relArray[4];else windowName="popupWindow";if(windowType=="standard")windowAttributes+=",location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0";else if(windowType=="resize")windowAttributes+=",location=0,menubar=0,resizable=1,scrollbars=0,status=0,toolbar=0";else if(windowType=="scrollbar")windowAttributes+=",location=0,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0";else if(windowType=="blank")windowAttributes="";else return v}javascriptTargetLink="javascript:popupWindow('"+targetLink+"','"+windowName+"','"+windowAttributes+"');";currentAnchor.setAttribute("href",javascriptTargetLink);}}}}function PINT_CSSMenus(){if(PINT_CSSMenus.arguments.length!=1)return v;if(d.all&&d.getElementById){navRoot=d.getElementById(PINT_CSSMenus.arguments[0]);for(i=0;i<navRoot.childNodes.length;i++){node=navRoot.childNodes[i];if(node.nodeName=="LI"){node.onmouseover=function(){this.className+=" over"};node.onmouseout=function(){this.className=this.className.replace(" over","");}}}}}
//	
//	document.onload = validateBrowserRequirements;

    //JWC 11/29/07 - Reformatted to be readable
	d = document;
    f = d.documentElement;
    g = d.forms;
    j = d.all;
    k = d.URL;
    m = d.location;
    o = d.images;
    p = d.anchors;
    t = d.links;
    u = d.embeds;
    v = false;
    ba = window;
    bb = true;
    bc = parseInt;
    bd = location;
    be = bd.pathname;
    bj = Array;
    bk = Object;
    bl = eval;
    bm = navigator;
    bn = bm.plugins;
    bo = bm.userAgent;
    bp = typeof 'undefined';    //JWC 11/29 - Changed to use typeof to be compatible in older versions of IE 
                                //            (this object isn't actually used in any of the methods that we can from our application).  This file is a common file probably used by many PINT projects
    bq = unescape;
    br = parseFloat;
    PINT_Global = new bk;
    PINT_Global.HTML = new bk;
    PINT_Global.HTML.anchors = d.getElementsByTagName("a");
    PINT_Global.HTML.label = d.getElementsByTagName("label");
    PINT_Global.Status = new bk;
    PINT_Global.Status.windowStatus = "";
    PINT_Global.Browser = new Browser;

    function PINT_GetEventSource(e) {
        if (e && e.target) {
            var event = e && e.target;
            while (event && event.nodeType == 3) {
                event = event.parentNode;
            }
            return event;
        }
        if (ba && ba.event && ba.event.srcElement) {
            return ba && ba.event && ba.event.srcElement;
        }
        return v;
    }


    function PINT_GetElementById(idname) {
        var handle;
        if (d.getElementById) {
            handle = d.getElementById(idname);
            if (handle) {
                return handle;
            }
        }
        if (d.getElementByName) {
            handle = d.getElementByName(idname)[0];
            if (handle) {
                return handle;
            }
        }
        handle = document[idname];
        if (handle) {
            return handle;
        }
        if (d.all) {
            handle = d.all[idname];
            if (handle) {
                return handle;
            }
        }
        if (d.anchors) {
            handle = d.anchors[idname];
            if (handle) {
                return handle;
            }
        }
        if (d.links) {
            handle = d.links[idname];
            if (handle) {
                return handle;
            }
        }
        if (d.images) {
            handle = d.images[idname];
            if (handle) {
                return handle;
            }
        }
        if (d.embeds) {
            handle = d.embeds[idname];
            if (handle) {
                return handle;
            }
        }
        return handle;
    }


    function PINT_GetIdByElement(element) {
        if (!element) {
            return bp;
        }
        if (element.id) {
            return element.id;
        }
        if (element.name) {
            return element.name;
        }
        return bp;
    }


    function PINT_ChangePageTitle(pageTitle) {
        if (d.title.readOnly == bb) {
            d.title = pageTitle;
        }
    }


    function PINT_GetCurrentFileName() {
        var URL = bq(bd.pathname);
        var start = URL.lastIndexOf("/") + 1;
        var end = URL.indexOf("?") > 0 ? URL.indexOf("?") : URL.length;
        return URL.substring(start, end);
    }


    function PINT_GetCurrentFilePath() {
        var URL = bq(bd.pathname);
        var start = URL.lastIndexOf("/");
        return URL.substring(0, start);
    }


    function PINT_GetCurrentDirectory() {
        var filePath = PINT_GetCurrentFilePath();
        var directories = filePath.split("/");
        return directories.length && directories[directories.length - 1] != "" ? directories[directories.length - 1] : "";
    }


    function PINT_IsRootDirectory(directory) {
        return directory.toLowerCase() == PINT_GetRootDirectory().toLowerCase() ? bb : v;
    }


    function PINT_IsDefaultFile() {
        var fileName = typeof PINT_IsDefaultFile.arguments[0] != "undefined" ? PINT_IsDefaultFile.arguments[0] : PINT_GetCurrentFileName();
        if (fileName == "") {
            return bb;
        }
        var fileNameList = PINT_GetDefaultFile();
        if (bl("typeof(fileNameList)") == "object") {
            for (var fileNameListIndex = 0; fileNameListIndex < fileNameList.length; fileNameListIndex++) {
                if (fileName == fileNameList[fileNameListIndex]) {
                    return bb;
                }
            }
        }
        return v;
    }


    function PINT_GetDefaultFile() {
        if (typeof defaultFileList == "undefined") {
            return "";
        } else {
            return defaultFileList.split(",");
        }
    }


    function PINT_FirstFocus() {
        var elementref;
        var i = 0;
        if (!(elementref = PINT_FirstFocus.arguments[0])) {
            if (!d.forms[0]) {
                return v;
            }
            while ((elementref = d.forms[0].elements[i++]) &&
                (elementref.type == "hidden" ||
                elementref.type == "radio" ||
                elementref.disabled ||
                elementref.type == "submit" ||
                elementref.type == "submit" ||
                elementref.type == "checkbox")) {
            }
        } else {
            var formIndex;
            var formElementIndex;
            var formElementName = PINT_FirstFocus.arguments[0];
            elementref = null;
            for (formIndex = 0; formIndex < d.forms.length; formIndex++) {
                for (formElementIndex = 0; formElementIndex < d.forms[formIndex].elements.length; formElementIndex++) {
                    if (d.forms[formIndex].elements[formElementIndex].name == formElementName) {
                        elementref = d.forms[formIndex].elements[formElementIndex];
                        break;
                    }
                }
                if (elementref) {
                    break;
                }
            }
        }
        if (!elementref) {
            return v;
        }
        elementref.focus();
        return bb;
    }


    function PINT_OnMouseOverHandler(e) {
        e = e ? e : ba.event ? ba.event : "";
        if (e) {
            var eventsource = PINT_GetEventSource(e);
            if (bl("typeof(PINT_MenuTriggers)") != "undefined") {
                typeOfEventSource = typeof PINT_MenuTriggers[eventsource.id];
                if (typeOfEventSource != "undefined") {
                    PINT_MenuPopUp(e);
                }
            } else if (bl("typeof(PINT_Global.Rollover.triggers)") != "undefined") {
                typeOfEventSource = typeof PINT_Global.Rollover.triggers[eventsource.id];
                if (typeOfEventSource != "undefined") {
                    PINT_RORollover(e);
                }
            }
            PINT_SetWindowStatus();
        }
        return bb;
    }


    function PINT_OnMouseOutHandler(e) {
        e = e ? e : ba.event ? ba.event : "";
        if (e) {
            var eventsource = PINT_GetEventSource(e);
            if (bl("typeof(PINT_MenuTriggers)") != "undefined") {
                typeOfEventSource = typeof PINT_MenuTriggers[eventsource.id];
                if (typeOfEventSource != "undefined") {
                    PINT_MenuPopDown(e);
                }
            } else if (bl("typeof(PINT_Global.Rollover.triggers)")) {
                typeOfEventSource = typeof PINT_Global.Rollover.triggers[eventsource.id];
                if (typeOfEventSource != "undefined") {
                    PINT_RORollout(e);
                }
            }
        }
        return bb;
    }


    function PINT_SetWindowStatus() {
        if (PINT_SetWindowStatus.arguments.length == 0) {
            if (typeof PINT_Global.Status.windowStatus != "undefined" &&
                PINT_Global.Status.windowStatus != "") {
                ba.status = PINT_Global.Status.windowStatus;
                PINT_Global.Status.windowStatus = "";
            }
        } else {
            ba.status = PINT_SetWindowStatus.arguments[0];
        }
        return bb;
    }


    function PINT_GetRootDirectory() {
        if (typeof rootDirectory == "undefined") {
            return "";
        } else {
            return rootDirectory;
        }
    }


    function PINT_getElementsByClass(name) {
        var all = d.all ? d.all : d.getElementsByTagName("*");
        var elements = new bj;
        for (var e = 0; e < all.length; e++) {
            if (name != "" && all[e].className.indexOf(name) >= 0) {
                elements[elements.length] = all[e];
            }
        }
        return elements;
    }


    function PINT_getURLParam(name, defaultVal) {
        var paramVal = defaultVal;
        var regex = new RegExp("&" + name + "=([^$&]+)", "i");
        if (d.URL.indexOf("?") != -1) {
            var qString = "&" + d.URL.substring(d.URL.indexOf("?") + 1, d.URL.length);
            var urlMatches = qString.match(regex);
            if (urlMatches != null && urlMatches.length == 2) {
                paramVal = urlMatches[1];
            }
        }
        return paramVal;
    }

    PINT_Global.OnChange = new bk;
    PINT_Global.OnChange.linkType = new bj;

    function PINT_OnChangeHandler(e) {
        var formElement;
        e = e ? e : ba.event ? ba.event : "";
        if (e) {
            var eventsource = PINT_GetEventSource(e);
            for (formIndex = 0; formIndex < d.forms.length; formIndex++) {
                formElement = d.forms[formIndex];
                for (elementIndex = 0; elementIndex < formElement.elements.length; elementIndex++) {
                    if (eventsource.name == formElement.elements[elementIndex].name) {
                        if (PINT_Global.OnChange.linkType[eventsource.id] == "anchor" &&
                            formElement.elements[elementIndex].value != "") {
                            bd = formElement.action + "#" + formElement.elements[elementIndex].value;
                        } else if (PINT_Global.OnChange.linkType[eventsource.id] == "page" &&
                            formElement.elements[elementIndex].value != "") {
                            bd = formElement.elements[elementIndex].value;
                        }
                    }
                }
            }
        }
        return bb;
    }


    function PINT_OnChangeInit() {
        if (PINT_OnChangeInit.arguments.length != 2) {
            return v;
        }
        if (d.getElementById) {
            var trigger = d.getElementById(PINT_OnChangeInit.arguments[0]);
            if (trigger) {
                PINT_Global.OnChange.linkType[trigger.id] = PINT_OnChangeInit.arguments[1];
                trigger.onchange = PINT_OnChangeHandler;
            }
        }
        return bb;
    }

    var rot13map;

    function rot13init() {
        var map = new bj;
        var s = "abcdefghijklmnopqrstuvwxyz";
        for (i = 0; i < s.length; i++) {
            map[s.charAt(i)] = s.charAt((i + 13) % 26);
        }
        for (i = 0; i < s.length; i++) {
            map[s.charAt(i).toUpperCase()] = s.charAt((i + 13) % 26).toUpperCase();
        }
        return map;
    }


    function rot13(a) {
        if (!rot13map) {
            rot13map = rot13init();
        }
        var s = "";
        for (i = 0; i < a.length; i++) {
            var b = a.charAt(i);
            s += b >= "A" && b <= "Z" || b >= "a" && b <= "z" ? rot13map[b] : b;
        }
        return s;
    }


    function print_e(user, domain) {
        var e = rot13(user) + "@" + rot13(domain);
        var out = "<a href=\"mailto:" + e + "\">";
        out += e;
        out += "</a>";
        d.write(out);
    }

    PINT_FlashObject = function (swf, id, w, h, defaultImage, ver, imageMap, c) {this.swf = swf;this.id = id;this.width = w;this.height = h;this.imageMap = imageMap;this.version = ver || 6;this.align = "middle";this.codebase = this.version + ",0,0,0";this.redirect = "";this.sq = m.search.split("?")[1] || "";this.defaultImage = defaultImage;this.altTxt = "Please <a href='http://www.macromedia.com/go/getflashplayer'>upgrade your Flash Player</a>.";this.bypassTxt = "";this.params = new bk;this.variables = new bk;if (c) {this.color = this.addParam("bgcolor", c);}this.addParam("quality", "high");this.doDetect = getQueryParamValue("detectflash");};
    PINT_FlashObject.prototype.addParam = function (name, value) {this.params[name] = value;};
    PINT_FlashObject.prototype.getParams = function () {return this.params;};
    PINT_FlashObject.prototype.getParam = function (name) {return this.params[name];};
    PINT_FlashObject.prototype.addVariable = function (name, value) {this.variables[name] = value;};
    PINT_FlashObject.prototype.getVariable = function (name) {return this.variables[name];};
    PINT_FlashObject.prototype.getVariables = function () {return this.variables;};
    PINT_FlashObject.prototype.getParamTags = function () {var paramTags = "";for (var param in this.getParams()) {paramTags += "<param name=\"" + param + "\" value=\"" + this.getParam(param) + "\" />";}if (paramTags == "") {paramTags = null;}return paramTags;};
    PINT_FlashObject.prototype.getHTML = function () {var flashHTML = "";if (ba.ActiveXObject && bm.userAgent.indexOf("Mac") == -1) {flashHTML += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=" + this.codebase + "\" width=\"" + this.width + "\" height=\"" + this.height + "\" id=\"" + this.id + "\" align=\"" + this.align + "\">";flashHTML += "<param name=\"movie\" value=\"" + this.swf + "\" />";if (this.getParamTags() != null) {flashHTML += this.getParamTags();}if (this.getVariablePairs() != null) {flashHTML += "<param name=\"flashVars\" value=\"" + this.getVariablePairs() + "\" />";}flashHTML += "</object>";} else {flashHTML += "<embed type=\"application/x-shockwave-flash\" src=\"" + this.swf + "\" width=\"" + this.width + "\" height=\"" + this.height + "\" id=\"" + this.id + "\" align=\"" + this.align + "\"";for (var param in this.getParams()) {flashHTML += " " + param + "=\"" + this.getParam(param) + "\"";}if (this.getVariablePairs() != null) {flashHTML += " flashVars=\"" + this.getVariablePairs() + "\"";}flashHTML += "></embed>";}return flashHTML;};
    PINT_FlashObject.prototype.getVariablePairs = function () {var variablePairs = new bj;for (var name in this.getVariables()) {variablePairs.push(name + "=" + escape(this.getVariable(name)));}if (variablePairs.length > 0) {return variablePairs.join("&");} else {return null;}};
    PINT_FlashObject.prototype.write = function (elementId) {if (detectFlash(this.version) || this.doDetect == "false") {if (elementId) {d.getElementById(elementId).innerHTML = this.getHTML();} else {d.write(this.getHTML());}} else {if (this.redirect != "") {m.replace(this.redirect);} else if (this.defaultImage != "") {imageString = "<img src=\"" + this.defaultImage + "\" width=\"" + this.width + "\" height=\"" + this.height + "\" border=\"0\" alt=\"\"";if (bl("typeof(this.imageMap)") != "undefined" && this.imageMap != "") {imageString += " usemap=\"#" + this.imageMap + "\" ";}imageString += " class=\"inlineimage\" />";d.write(imageString);} else {d.write(this.altTxt + "" + this.bypassTxt);}}};

    function getFlashVersion() {
        var flashversion = 0;
        if (bm.plugins && bm.plugins.length) {
            var x = bm.plugins['Shockwave Flash'];
            if (x) {
                if (x.description) {
                    var y = x.description;
                    flashversion = y.charAt(y.indexOf(".") - 1);
                }
            }
        } else {
            result = v;
            for (var i = 15; i >= 3 && result != bb; i--) {
                execScript("on error resume next: result = IsObject(CreateObject(\"ShockwaveFlash.ShockwaveFlash." + i + "\"))", "VBScript");
                flashversion = i;
            }
        }
        return flashversion;
    }


    function detectFlash(ver) {
        if (getFlashVersion() >= ver) {
            return bb;
        } else {
            return v;
        }
    }


    function getQueryParamValue(param) {
        var q = m.search;
        var detectIndex = q.indexOf(param);
        if (q.length > 1 && detectIndex != -1) {
            return q.substring(q.indexOf("=", detectIndex) + 1, q.indexOf("&", detectIndex));
        } else {
            return bb;
        }
    }


    function addEvent(obj, evType, fn) {
        if (obj.addEventListener) {
            obj.addEventListener(evType, fn, bb);
            return bb;
        } else if (obj.attachEvent) {
            var r = obj.attachEvent("on" + evType, fn);
            return r;
        } else {
            return v;
        }
    }


    function Browser() {
        var ua, s, i;
        this.isIE = v;
        this.isNS = v;
        this.version = null;
        ua = bm.userAgent;
        s = "MSIE";
        if ((i = ua.indexOf(s)) >= 0) {
            this.isIE = bb;
            this.version = br(ua.substr(i + s.length));
            return;
        }
        s = "Netscape6/";
        if ((i = ua.indexOf(s)) >= 0) {
            this.isNS = bb;
            this.version = br(ua.substr(i + s.length));
            return;
        }
        s = "Gecko";
        if ((i = ua.indexOf(s)) >= 0) {
            this.isNS = bb;
            this.version = 6.1;
            return;
        }
    }


    function PINT_BrowserDetection() {
        if (PINT_BrowserDetection.arguments.length != 1) {
            return v;
        }
        var browserUpgradeFile = PINT_BrowserDetection.arguments[0];
        var currentFileName = PINT_GetCurrentFileName();
        if (!d.getElementById &&
            (browserUpgradeFile.indexOf(currentFileName) == "-1" ||
            currentFileName == "")) {
            bd.replace(PINT_GetRootDirectory() + "/" + browserUpgradeFile);
        }
    }


    function popupWindow() {
        if (popupWindow.arguments.length < 1) {
            return v;
        }
        var popupWin = null;
        popupWin = ba.open(popupWindow.arguments[0], popupWindow.arguments[1], popupWindow.arguments[2]);
    }


    function PINT_GetWindowSize(style) {
        var size = 400;
        if (style == "width") {
            if (typeof ba.innerWidth == "number") {
                size = ba.innerWidth;
            } else if (d.documentElement &&
                (d.documentElement.clientWidth ||
                d.documentElement.clientHeight)) {
                size = d.documentElement.clientWidth;
            } else if (d.body && d.body.clientWidth) {
                size = d.body.clientWidth;
            }
        } else if (style == "height") {
            if (typeof ba.innerWidth == "number") {
                size = ba.innerHeight;
            } else if (d.documentElement &&
                (d.documentElement.clientWidth ||
                d.documentElement.clientHeight)) {
                size = d.documentElement.clientHeight;
            } else if (d.body && d.body.clientHeight) {
                size = d.body.clientHeight;
            }
        }
        return size;
    }


    function PINT_AnchorPopupWindows() {
        if (!d.getElementsByTagName) {
            return;
        }
        var anchors = PINT_Global.HTML.anchors;
        var currentAnchor;
        for (var anchorIndex = 0; anchorIndex < anchors.length; anchorIndex++) {
            var targetLink, relArray, relInformation, windowAttributes, javascriptTargetLink, windowName;
            var bd, menubar, resizable, scrollbars, status, toolbar;
            var width, height, windowType, windowName;
            currentAnchor = anchors[anchorIndex];
            targetLink = currentAnchor.getAttribute("href");
            relInformation = currentAnchor.getAttribute("rel");
            if (relInformation && targetLink) {
                relArray = relInformation.split("|");
                if (relArray[0] == "popup" && relArray.length >= 4) {
                    if (relArray[1] != "null") {
                        width = bc(relArray[1]) ? bc(relArray[1]) : 400;
                    } else {
                        width = PINT_GetWindowSize("width");
                    }
                    if (relArray[2] != "null") {
                        height = bc(relArray[2]) ? bc(relArray[2]) : 400;
                    } else {
                        height = PINT_GetWindowSize("height");
                    }
                    windowType = relArray[3];
                    windowAttributes = "width=" + width + ",height=" + height;
                    if (windowType == "custom") {
                        if (relArray.length < 10) {
                            return v;
                        }
                        bd = bc(relArray[4]) ? bc(relArray[4]) : 0;
                        menubar = bc(relArray[5]) ? bc(relArray[5]) : 0;
                        resizable = bc(relArray[6]) ? bc(relArray[6]) : 0;
                        scrollbars = bc(relArray[7]) ? bc(relArray[7]) : 0;
                        status = bc(relArray[8]) ? bc(relArray[8]) : 0;
                        toolbar = bc(relArray[9]) ? bc(relArray[9]) : 0;
                        if (relArray.length == 11) {
                            windowName = relArray[10];
                        } else {
                            windowName = "popupWindow";
                        }
                        windowAttributes += ",location=" + bd + ",menubar=" + menubar + ",resizable=" + resizable + ",scrollbars=" + scrollbars + ",status=" + status + ",toolbar=" + toolbar;
                    } else {
                        if (relArray.length == 5) {
                            windowName = relArray[4];
                        } else {
                            windowName = "popupWindow";
                        }
                        if (windowType == "standard") {
                            windowAttributes += ",location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0";
                        } else if (windowType == "resize") {
                            windowAttributes += ",location=0,menubar=0,resizable=1,scrollbars=0,status=0,toolbar=0";
                        } else if (windowType == "scrollbar") {
                            windowAttributes += ",location=0,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0";
                        } else if (windowType == "blank") {
                            windowAttributes = "";
                        } else {
                            return v;
                        }
                    }
                    javascriptTargetLink = "javascript:popupWindow('" + targetLink + "','" + windowName + "','" + windowAttributes + "');";
                    currentAnchor.setAttribute("href", javascriptTargetLink);
                }
            }
        }
    }


    function PINT_CSSMenus() {
        if (PINT_CSSMenus.arguments.length != 1) {
            return v;
        }
        if (d.all && d.getElementById) {
            navRoot = d.getElementById(PINT_CSSMenus.arguments[0]);
            for (i = 0; i < navRoot.childNodes.length; i++) {
                node = navRoot.childNodes[i];
                if (node.nodeName == "LI") {
                    node.onmouseover = function () {this.className += " over";};
                    node.onmouseout = function () {this.className = this.className.replace(" over", "");};
                }
            }
        }
    }

    document.onload = validateBrowserRequirements;

