BitBase={newWindow:null,init:function(){var a=BitBase;a.DATE=new Date();var b=-(a.DATE.getTimezoneOffset()*60);a.DATE.setFullYear(a.DATE.getFullYear()+1);a.setCookie("tz_offset",b);a.setCookie("javascript_enabled","y")},deprecatedFunc:function(a){alert("Warning: Use of deprecated global function "+a+" use name space BitBase: BitBase."+a)},addLoadHook:function(a){if(typeof window.addEventListener!="undefined"){window.addEventListener("load",a,false)}else{if(typeof window.attachEvent!="undefined"){window.attachEvent("onload",a)}else{if(window.onload!=null){var b=window.onload;window.onload=function(c){b(c);a(c)}}else{window.onload=a(e)}}}},setCookie:function(b,j,d,o,g,a){var n=BitBase;var o=(o)?o:bitCookiePath;var g=escape((g)?g:bitCookieDomain);var f=((o)?"; path="+o:"");var c=((g)?"; domain="+g:"");var m=((d)?d:((n.DATE)?"; expires="+n.DATE.toGMTString():""));var h=((a)?"; secure":"");var l=b+"="+escape(j)+f+c+m+h;document.cookie=l},setCookieArray:function(b,c,g){var a=BitBase;var f=a.getCookie(b);var d;if(f!=null){d=a.unserialize(f);d[c]=g}else{d=new Array();d[c]=g}a.setCookie(b,BitBase.serialize(d))},getCookie:function(c){var b=document.cookie;var f=c+"=";var d=b.indexOf("; "+f);if(d==-1){d=b.indexOf(f);if(d!=0){return null}}else{d+=2}var a=document.cookie.indexOf(";",d);if(a==-1){a=b.length}return unescape(b.substring(d+f.length,a))},getCookieArray:function(c,d){var b=BitBase;var f=b.getCookie(c);var g;if(f!=null){var a=b.unserialize(f);g=a[d]}return g},deleteCookie:function(b,f,d){var a=(f)?f:bitCookiePath;var c=escape((d)?d:bitCookieDomain);if(getCookie(b)){document.cookie=b+"=; path="+a+"; domain="+c+"; expires=Thu, 01-Jan-70 00:00:01 GMT"}},getElement:function(a){if(typeof(a)=="string"){if(document.layers){return document.layers[a]}else{if(document.all){return document.all[a]}else{if(document.getElementById){return document.getElementById(a)}}}}return a},setElementDisplay:function(f,c,d){var a=BitBase;var b=a.getElement(f);if(b!=null){b.style.display=c}if(d&&b.id){a.setCookieArray("showhide",b.id,(c=="none"?"c":"o"))}},toggleElementDisplay:function(g,d,f){var a=BitBase;var c=a.getElement(g);if(typeof(d)=="undefined"){d="block"}var b=c.style.display=="none"?d:"none";a.setElementDisplay(c,b,f)},showById:function(b,a){BitBase.setElementDisplay(b,"block",a)},hideById:function(b,a){BitBase.setElementDisplay(b,"none",a)},setupShowHide:function(){var a=BitBase;var c=a.getCookie("showhide");if(c!=null){var b=a.unserialize(c);for(id in b){if(b[id]=="o"){a.showById(id)}else{a.hideById(id)}}}},toggleDynamicVar:function(b){var a=BitBase;var d=a.getElement("dyn_"+b+"_display");var c=a.getElement("dyn_"+b+"_edit");if(d.style.display=="none"){c.style.display="none";d.style.display="inline"}else{d.style.display="none";c.style.display="inline"}},showSpinner:function(){BitBase.setElementDisplay("spinner","block")},hideSpinner:function(){BitBase.setElementDisplay("spinner","none")},setSelectionRange:function(a,c,d){if(a.setSelectionRange){a.focus();a.setSelectionRange(c,d)}else{if(a.createTextRange){var b=a.createTextRange();a.collapse(true);a.moveEnd("character",d);a.moveStart("character",c);a.select()}}},setCaretToPos:function(a,b){BitBase.setSelectionRange(a,b,b)},insertAt:function(d,g){var n=BitBase;var a=/text|page|textarea_id/;if(document.FCKEditorLoaded){oEditor=FCKeditorAPI.GetInstance(d);if(oEditor){if(document.all){oSel=oEditor.EditorDocument.selection.createRange().text}else{oSel=oEditor.EditorWindow.getSelection()}oSel=""+oSel;if(oSel.length>0){g=g.replace(a,oSel);oEditor.Selection.Delete()}oEditor.InsertHtml(g);return}}var l=document.getElementById(d);if(l.setSelectionRange){var j=l.selectionStart;var m=l.selectionEnd;if(j!=m){var h=g.replace(a,l.value.substring(j,m));l.value=l.value.substring(0,j)+h+l.value.substring(m);n.setSelectionRange(l,j,j+h.length)}else{l.value=l.value.substring(0,j)+g+l.value.substring(m);n.setCaretToPos(l,j+g.length)}}else{if(document.selection){l.focus();var f=document.selection.createRange();if(f.parentElement()==l){var c=f.text=="";if(!c){f.text=g.replace(a,f.text);f.moveStart("character",-f.text.length);f.select()}else{f.text=g}}}else{var b=n.getElement(d);b.getElement(d).value=b.value+g}}},flipArr:[0,0,0],flipMulti:function(d,a,f,g){var b=BitBase;if(d&&a){if(arguments.length<1){a=1}a=(a*10)/10;if(arguments.length<2){f=1}f=(f*10)/10;if(f<1||f>9){f=1}if(arguments.length<3){g=1}g=(g*10)/10;if(!g||g<1||g>3){g=1}var c=0;do{if(b.flipArr[g-1]!=0){b.hideById(b.flipArr[g-1]+(a+c))}b.showById(d+(a+c))}while(++c<=f-1);b.flipArr[g-1]=d}},flipIcon:function(b){var a=BitBase;var c=new Image();if(b&&document.getElementById(b).style&&document.getElementById(b).style.display&&document.getElementById(b).style.display=="none"){c.src=bitIconDir+"/expanded.gif";a.showById(b,1)}else{c.src=bitIconDir+"/collapsed.gif";a.hideById(b,1)}document.getElementById(b+"img").src=c.src},setFlipIcon:function(b){var a=BitBase;var c=new Image();if(a.getCookie(b)=="o"){c.src=bitIconDir+"/expanded.gif";a.showById(b)}else{c.src=bitIconDir+"/collapsed.gif";a.hideById(b)}document.getElementById(b+"img").src=c.src},flipWithSign:function(b,c){var a=BitBase;if(flipperEle=document.getElementById("flipper"+b)){if(document.getElementById(b).style.display=="none"){a.showById(b,c);flipperEle.firstChild.nodeValue="[-]"}else{a.hideById(b,c);flipperEle.firstChild.nodeValue="[+]"}}},setFlipWithSign:function(b){var a=BitBase;if(flipperEle=document.getElementById("flipper"+b)){if(a.getCookie(b)=="o"){a.showById(b);flipperEle.firstChild.nodeValue="[-]"}else{a.hideById(b);flipperEle.firstChild.nodeValue="[+]"}}},fade:function(b,a,d){var c=document.getElementById(b);if(c){if(a==null){a=500}if(c.FadeState==null){if(c.style.opacity==null||c.style.opacity==""||c.style.opacity=="1"){c.FadeState=2}else{c.FadeState=-2}}if(c.FadeState==1||c.FadeState==-1){c.FadeState=c.FadeState==1?-1:1;c.FadeTimeLeft=a-c.FadeTimeLeft}else{c.FadeState=c.FadeState==2?-1:1;c.FadeTimeLeft=a;setTimeout("BitBase.animateFade("+new Date().getTime()+",'"+b+"',"+a+")",33)}}},animateFade:function(f,b,a){var c=new Date().getTime();var h=c-f;var d=document.getElementById(b);if(d){if(d.FadeTimeLeft<=h){if(d.FadeState==1){d.style.opacity="1";d.style.filter="alpha(opacity = 100)";d.FadeState=2}else{d.style.opacity="0";d.style.filter="alpha(opacity = 0)";d.FadeState=-2;d.style.display="none"}return}d.FadeTimeLeft-=h;var g=d.FadeTimeLeft/a;if(d.FadeState==1){d.style.display="";g=1-g}d.height=Math.round(g*d.offsetHeight)+"px";d.style.opacity=g;d.style.filter="alpha(opacity = "+(g*100)+")";setTimeout("BitBase.animateFade("+c+",'"+b+"',"+a+")",33)}},getElementValue:function(d){if(formElement=BitBase.getElement(d)){if(formElement.length!=null){var b=formElement[0].type}if((typeof(b)=="undefined")||(b==0)){var b=formElement.type}switch(b){case"undefined":return;case"radio":for(var a=0;a<formElement.length;a++){if(formElement[a].checked==true){return formElement[a].value}}break;case"select-multiple":var c=new Array();for(var a=0;a<formElement.length;a++){if(formElement[a].selected==true){c[c.length]=formElement[a].value}}return c;case"checkbox":return formElement.checked;default:return formElement.value}}},setElementValue:function(c,b){if(formElement=BitBase.getElement(c)){switch(formElement.type){case"undefined":return;case"radio":formElement.checked=b;break;case"checkbox":formElement.checked=b;break;case"select-one":formElement.selectedIndex=b;break;case"select-multiple":for(var a=0;a<formElement.length;a++){formElement[a].selected=b[a]}break;default:formElement.value=b;break}}},switchCheckboxes:function(a,c,d){var f=document.getElementById(a).elements[c];var g=(typeof(f.length)!="undefined")?f.length:0;if(g){for(var b=0;b<g;b++){f[b].checked=document.forms[a].elements[d].checked}}else{f.checked=document.forms[a].elements[d].checked}return true},disableSubmit:function(a){if(document.getElementById){document.getElementById(a).disabled=true;document.getElementById(a).value="Please Wait..."}else{if(document.all){document.all[a].disabled=true}else{if(document.layers){document.layers[a].disabled=true}}}},go:function(a){if(a.options[a.selectedIndex].value!=""){location=a.options[a.selectedIndex].value}return false},closeWin:function(){var a=BitBase;if(a.newWindow!=null){if(!a.newWindow.closed){a.newWindow.close()}}},popUpWin:function(c,d,f,a){var b=BitBase;b.closeWin();if(d=="fullScreen"){f=screen.availWidth-10;a=screen.availHeight-160}var g="";if(d=="standard"||d=="fullScreen"){g="resizable,toolbar=no,location=no,scrollbars=yes,menubar=no,width="+f+",height="+a+",top=0,left=0"}if(d=="console"){g="resizable,toolbar=no,location=no,scrollbars=yes,width="+f+",height="+a+",left=0,top=0"}b.newWindow=window.open(c,"newWin",g);b.newWindow.focus()},utf16to8:function(f){var b,d,a,g;b="";a=f.length;for(d=0;d<a;d++){g=f.charCodeAt(d);if((g>=1)&&(g<=127)){b+=f.charAt(d)}else{if(g>2047){b+=String.fromCharCode(224|((g>>12)&15));b+=String.fromCharCode(128|((g>>6)&63));b+=String.fromCharCode(128|((g>>0)&63))}else{b+=String.fromCharCode(192|((g>>6)&31));b+=String.fromCharCode(128|((g>>0)&63))}}}return b},utf8to16:function(h){var b,f,a,j;var g,d;b="";a=h.length;f=0;while(f<a){j=h.charCodeAt(f++);switch(j>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:b+=h.charAt(f-1);break;case 12:case 13:g=h.charCodeAt(f++);b+=String.fromCharCode(((j&31)<<6)|(g&63));break;case 14:g=h.charCodeAt(f++);d=h.charCodeAt(f++);b+=String.fromCharCode(((j&15)<<12)|((g&63)<<6)|((d&63)<<0));break}}return b},serialize:function(q){var m=BitBase;var n=0,c=[],x=[],u=1;var v=function(p){if(typeof(p)=="undefined"||typeof(p.constructor)=="undefined"){return""}var z=p.constructor.toString();z=m.utf16to8(z.substr(0,z.indexOf("(")).replace(/(^\s*function\s*)|(\s*$)/ig,""));return((z=="")?"Object":z)};var a=function(A){var z=A.toString(),o=z.length;if(o>11){return false}for(var p=(z.charAt(0)=="-")?1:0;p<o;p++){switch(z.charAt(p)){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":break;default:return false}}return !(A<-2147483648||A>2147483647)};var s=function(p){for(k in x){if(x[k]===p){return k}}return false};var d=function(){c[n++]="N;"};var b=function(o){c[n++]=(o?"b:1;":"b:0;")};var j=function(o){c[n++]="i:"+o+";"};var t=function(o){if(isNaN(o)){o="NAN"}else{if(o==Number.POSITIVE_INFINITY){o="INF"}else{if(o==Number.NEGATIVE_INFINITY){o="-INF"}}}c[n++]="d:"+o+";"};var y=function(p){var o=m.utf16to8(p);c[n++]="s:"+o.length+':"';c[n++]=o;c[n++]='";'};var g=function(o){c[n++]="a:";var z=n;c[n++]=0;c[n++]=":{";for(var p in o){if(typeof(o[p])!="function"){a(p)?j(p):y(p);h(o[p]);c[z]++}}c[n++]="}"};var w=function(D){var E=v(D);if(E==""){d()}else{if(typeof(D.serialize)!="function"){c[n++]="O:"+E.length+':"';c[n++]=E;c[n++]='":';var A=n;c[n++]=0;c[n++]=":{";if(typeof(D.__sleep)=="function"){var p=D.__sleep();for(var C in p){y(p[C]);h(D[p[C]]);c[A]++}}else{for(var z in D){if(typeof(D[z])!="function"){y(z);h(D[z]);c[A]++}}}c[n++]="}"}else{var B=D.serialize();c[n++]="C:"+E.length+':"';c[n++]=E;c[n++]='":'+B.length+":{";c[n++]=B;c[n++]="}"}}};var l=function(o){c[n++]="R:"+o+";"};var f=function(o){c[n++]="r:"+o+";"};var h=function(z){if(z==null||z.constructor==Function){u++;d()}else{switch(z.constructor){case Boolean:u++;b(z);break;case Number:u++;a(z)?j(z):t(z);break;case String:u++;y(z);break;case Array:var p=s(z);if(p){l(p)}else{x[u++]=z;g(z)}break;default:var p=s(z);if(p){u++;f(p)}else{x[u++]=z;w(z)}break}}};h(q);return c.join("")},unserialize:function(ss){var self=BitBase;var p=0,ht=[],hv=1;r=null;var unser_null=function(){p++;return null};var unser_boolean=function(){p++;var b=(ss.charAt(p++)=="1");p++;return b};var unser_integer=function(){p++;var i=parseInt(ss.substring(p,p=ss.indexOf(";",p)));p++;return i};var unser_double=function(){p++;var d=ss.substring(p,p=ss.indexOf(";",p));switch(d){case"NAN":d=NaN;break;case"INF":d=Number.POSITIVE_INFINITY;break;case"-INF":d=Number.NEGATIVE_INFINITY;break;default:d=parseFloat(d)}p++;return d};var unser_string=function(){p++;var l=parseInt(ss.substring(p,p=ss.indexOf(":",p)));p+=2;var s=self.utf8to16(ss.substring(p,p+=l));p+=2;return s};var unser_array=function(){p++;var n=parseInt(ss.substring(p,p=ss.indexOf(":",p)));p+=2;var a=[];ht[hv++]=a;for(var i=0;i<n;i++){var k;switch(ss.charAt(p++)){case"i":k=unser_integer();break;case"s":k=unser_string();break;case"U":k=unser_unicode_string();break;default:return false}a[k]=__unserialize()}p++;return a};var unser_object=function(){p++;var l=parseInt(ss.substring(p,p=ss.indexOf(":",p)));p+=2;var cn=self.utf8to16(ss.substring(p,p+=l));p+=2;var n=parseInt(ss.substring(p,p=ss.indexOf(":",p)));p+=2;if(eval(["typeof(",cn,') == "undefined"'].join(""))){eval(["function ",cn,"(){}"].join(""))}var o=eval(["new ",cn,"()"].join(""));ht[hv++]=o;for(var i=0;i<n;i++){var k;switch(ss.charAt(p++)){case"s":k=unser_string();break;case"U":k=unser_unicode_string();break;default:return false}o[k]=__unserialize()}p++;if(typeof(o.__wakeup)=="function"){o.__wakeup()}return o};var unser_custom_object=function(){p++;var l=parseInt(ss.substring(p,p=ss.indexOf(":",p)));p+=2;var cn=self.utf8to16(ss.substring(p,p+=l));p+=2;var n=parseInt(ss.substring(p,p=ss.indexOf(":",p)));p+=2;if(eval(["typeof(",cn,') == "undefined"'].join(""))){eval(["function ",cn,"(){}"].join(""))}var o=eval(["new ",cn,"()"].join(""));ht[hv++]=o;if(typeof(o.unserialize)!="function"){p+=n}else{o.unserialize(ss.substring(p,p+=n))}p++;return o};var unser_unicode_string=function(){p++;var l=parseInt(ss.substring(p,p=ss.indexOf(":",p)));p+=2;var sb=[];for(var i=0;i<l;i++){if((sb[i]=ss.charAt(p++))=="\\"){sb[i]=String.fromCharCode(parseInt(ss.substring(p,p+=4),16))}}p+=2;return sb.join("")};var unser_ref=function(){p++;var r=parseInt(ss.substring(p,p=ss.indexOf(";",p)));p++;return ht[r]};var __unserialize=function(){switch(ss.charAt(p++)){case"N":return ht[hv++]=unser_null();case"b":return ht[hv++]=unser_boolean();case"i":return ht[hv++]=unser_integer();case"d":return ht[hv++]=unser_double();case"s":return ht[hv++]=unser_string();case"U":return ht[hv++]=unser_unicode_string();case"r":return ht[hv++]=unser_ref();case"a":return unser_array();case"O":return unser_object();case"C":return unser_custom_object();case"R":return unser_ref();default:return false}};return __unserialize()},genPass:function(g,f,d){var b="aeiouAEU";var h="bcdfgjklmnprstvwxzBCDFGHJKMNPQRSTVWXYZ0123456789_$%#";var m=Math.round(Math.random());var c=8;var a="";var j=false;for(i=0;i<c;i++){if(m){letter=b.charAt(Math.round(Math.random()*(b.length-1)));m=0}else{letter=h.charAt(Math.round(Math.random()*(h.length-1)));m=1}if(!isNaN(letter)){j=true}a=a+letter}if(!j){a=a.replace(a.charAt(Math.round(Math.random()*a.length-1)),Math.round(Math.random()*9))}document.getElementById(g).value=a;document.getElementById(f).value=a;document.getElementById(d).value=a},SimpleAjax:function(){var b,a=false;try{b=new ActiveXObject("Msxml2.XMLHTTP")}catch(c){try{b=new ActiveXObject("Microsoft.XMLHTTP")}catch(c){try{b=new XMLHttpRequest()}catch(c){b=false}}}if(!b){return null}this.connect=function(g,d,h,f){if(!b){return false}a=false;f=f||"POST";f=f.toUpperCase();try{if(f=="GET"){b.open(f,g+"?"+d,true);d=""}else{b.open(f,g,true);b.setRequestHeader("Method","POST "+g+" HTTP/1.1");b.setRequestHeader("Content-Type","application/x-www-form-urlencoded")}b.onreadystatechange=function(){if(b.readyState==4&&!a){a=true;h(b)}};b.setRequestHeader("X_REQUESTED_WITH","XMLHttpRequest");b.send(d)}catch(j){return false}return true};this.update=function(h,g,d,f){this.connect(g,d,function(j){document.getElementById(h).innerHTML=j.responseText},f)};return this},evalJSON:function(j){return eval("("+j+")")},fixIEDropMenu:function(c){if(document.getElementById(c)){var b=document.getElementById(c).getElementsByTagName("LI");for(var a=0;a<b.length;a++){b[a].onmouseover=function(){this.className+=" iemenuhover"};b[a].onmouseout=function(){this.className=this.className.replace(new RegExp(" iemenuhover\\b"),"")};BitBase.bgIframe(b[a])}}},bgIframe:function(c,b){if(document.all&&(navigator.userAgent.toLowerCase().indexOf("msie 6.")!=-1)){b={top:"auto",left:"auto",width:"auto",height:"auto",opacity:true,src:"javascript:void(0);"};var d=function(f){return f&&f.constructor==Number?f+"px":f},a='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+b.src+'"style="display:block;position:absolute;z-index:-1;'+(b.opacity!==false?"filter:Alpha(Opacity='0');":"")+"top:"+(b.top=="auto"?((parseInt(c.parentNode.style.borderTopWidth)||0)*-1)+"px":d(b.top))+";left:"+(b.left=="auto"?((parseInt(c.parentNode.style.borderLeftWidth)||0)*-1)+"px":d(b.left))+";width:"+(b.width=="auto"?c.parentNode.offsetWidth+"px":d(b.width))+";height:"+(b.height=="auto"?c.parentNode.offsetHeight+"px":d(b.height))+';"/></iframe>';c.innerHTML=a+c.innerHTML}},"$":function(){var c=new Array();for(var b=0;b<arguments.length;b++){var a=arguments[b];if(typeof a=="string"){a=document.getElementById(a)}if(arguments.length==1){return a}c.push(a)}return c}};BitBase.init();function textareasize(b,a){textarea=document.getElementById(b);if(textarea&&a!=0&&textarea.rows+a>5){textarea.rows+=a;setCookie("rows",textarea.rows)}}function getRadioValue(a){var c=document.getElementsByName(a);var d=c.length;for(var b=0;b<d;b++){if(c[b].checked==true){return c[b].value}}}function setUserModuleFromCombo(a){document.getElementById("usermoduledata").value=document.getElementById("usermoduledata").value+document.getElementById(a).options[document.getElementById(a).selectedIndex].value}function setSomeElement(b,a){document.getElementById(b).value=document.getElementById(b).value+a}function addLoadHook(a){BitBase.deprecatedFunc("addLoadHook");BitBase.addLoadHook(a)}function setCookieArray(b,a,c){BitBase.deprecatedFunc("setCookieArray");BitBase.setCookieArray(b,a,c)}function getCookieArray(b,a){BitBase.deprecatedFunc("getCookieArray");BitBase.getCookieArray(b,a)}function setCookie(b,d,a,g,c,f){BitBase.deprecatedFunc("setCookie");BitBase.setCookie(b,d,a,g,c,f)}function getCookie(a){BitBase.deprecatedFunc("getCookie");BitBase.getCookie(a)}function deleteCookie(a,c,b){BitBase.deprecatedFunc("deleteCookie");BitBase.deleteCookie(a,c,b)}function flip(a){BitBase.deprecatedFunc("flip");BitBase.toggleElementDisplay(a,"block")}function toggle(a){BitBase.deprecatedFunc("toggle");BitBase.toggleElementDisplay(a,"block",1)}function setupShowHide(){BitBase.deprecatedFunc("setupShowHide");BitBase.setupShowHide()}function utf16to8(a){BitBase.deprecatedFunc("utf16to8");BitBase.utf16to8(a)}function utf8to16(a){BitBase.deprecatedFunc("utf8to16");BitBase.utf8to16(a)}function serialize(a){BitBase.deprecatedFunc("serialize");BitBase.serialize(a)}function unserialize(a){BitBase.deprecatedFunc("unserialize");BitBase.unserialize(a)}function genPass(b,a,c){BitBase.deprecatedFunc("genPass");BitBase.genPass(b,a,c)}function toggle_dynamic_var(a){BitBase.deprecatedFunc("toggle_dynamic_var");BitBase.toggleDynamicVar(a)}function setSelectionRange(a,b,c){BitBase.deprecatedFunc("setSelectionRange");BitBase.setSelectionRange(a,b,c)}function setCaretToPos(a,b){BitBase.deprecatedFunc("setCaretToPos");BitBase.setCaretToPos(a,b)}function insertAt(b,a){BitBase.deprecatedFunc("insertAt");BitBase.insertAt(b,a)}function showById(a,b){BitBase.deprecatedFunc("showById");BitBase.showById(a,b)}function hideById(a,b){BitBase.deprecatedFunc("hideById");BitBase.hideById(a,b)}function flipMulti(b,a,c,d){BitBase.deprecatedFunc("flipMulti");BitBase.flipMulti(b,a,c,d)}function flipIcon(a){BitBase.deprecatedFunc("flipIcon");BitBase.flipIcon(a)}function setFlipIcon(a){BitBase.deprecatedFunc("setFlipIcon");BitBase.setFlipIcon(a)}function flipWithSign(a,b){BitBase.deprecatedFunc("flipWithSign");BitBase.flipWithSign(a,b)}function setFlipWithSign(a){BitBase.deprecatedFunc("setFlipWithSign");BitBase.setFlipWithSign(a)}function getElementValue(a){BitBase.deprecatedFunc("getElementValue");BitBase.getElementValue(a)}function setElementValue(b,a){BitBase.deprecatedFunc("setElementValue");BitBase.setElementValue(b,a)}function switchCheckboxes(a,b,c){BitBase.deprecatedFunc("switchCheckboxes");BitBase.switchCheckboxes(a,b,c)}function disableSubmit(a){BitBase.deprecatedFunc("disableSubmit");BitBase.disableSubmit(a)}function go(a){BitBase.deprecatedFunc("go");BitBase.go(a)}function popUpWin(b,c,d,a){BitBase.deprecatedFunc("popUpWin");BitBase.popUpWin(b,c,d,a)}function closeWin(){BitBase.deprecatedFunc("closeWin");BitBase.closeWin()};
function switchEditors(b){var a=0;if(document.FCKEditorLoaded){for(a=0;a<b.childNodes.length;a++){childNode=b.childNodes.item(a);editor=FCKeditorAPI.GetInstance(childNode.name);if(editor&&editor.EditorDocument&&editor.EditMode==FCK_EDITMODE_WYSIWYG){editor.SwitchEditMode();editor.SwitchEditMode()}switchEditors(childNode)}}}function hasSupport(){if(typeof hasSupport.support!="undefined"){return hasSupport.support}var a=/msie 5\.[56789]/i.test(navigator.userAgent);hasSupport.support=(typeof document.implementation!="undefined"&&document.implementation.hasFeature("html","1.0")||a);if(a){document._getElementsByTagName=document.getElementsByTagName;document.getElementsByTagName=function(b){if(b=="*"){return document.all}else{return document._getElementsByTagName(b)}}}return hasSupport.support}function WebFXTabPane(e,b){if(!hasSupport()||e==null){return}this.element=e;this.element.tabPane=this;this.pages=[];this.selectedIndex=null;this.useCookie=b!=null?b:true;var f=document.referrer.split(/[#\?]/);var g=document.location.href.split(/[#\?]/);if(g[0]!=f[0]){this.useCookie=false}this.element.className=this.classNameTag+" "+this.element.className;this.tabRow=document.createElement("div");this.tabRow.className="tabcontainer";e.insertBefore(this.tabRow,e.firstChild);var d=e.childNodes;var h;for(var c=0;c<d.length;c++){if(d[c].nodeType==1&&(d[c].className=="tabpage"||d[c].className.substr(0,8)=="tabpage ")){this.addTabPage(d[c])}}var a=0;if(this.useCookie){a=Number(WebFXTabPane.getCookie("webfxtab_"+this.element.id));if(isNaN(a)||!this.pages[a]){a=0}}this.setSelectedIndex(a)}WebFXTabPane.prototype.classNameTag="tabsystem";WebFXTabPane.prototype.setSelectedIndex=function(a){if(this.selectedIndex!=a){if(this.selectedIndex!=null&&this.pages[this.selectedIndex]!=null){this.pages[this.selectedIndex].hide()}this.selectedIndex=a;if(this.pages[this.selectedIndex]!=undefined){this.pages[this.selectedIndex].show()}if(this.useCookie){WebFXTabPane.setCookie("webfxtab_"+this.element.id,a,1)}}};WebFXTabPane.prototype.getSelectedIndex=function(){return this.selectedIndex};WebFXTabPane.prototype.addTabPage=function(a){if(!hasSupport()){return}if(a.tabPage==this){return a.tabPage}var c=this.pages.length;var b=this.pages[c]=new WebFXTabPage(a,this,c);b.tabPane=this;this.tabRow.appendChild(b.tab);if(c==this.selectedIndex){b.show()}else{b.hide()}return b};WebFXTabPane.prototype.dispose=function(){this.element.tabPane=null;this.element=null;this.tabRow=null;for(var a=0;a<this.pages.length;a++){this.pages[a].dispose();this.pages[a]=null}this.pages=null};WebFXTabPane.setCookie=function(c,f,b){var a="";if(b){var e=new Date();e.setTime(e.getTime()+b*24*60*60*1000);a="; expires="+e.toGMTString()}document.cookie=c+"="+f+a+"; path="+bitCookiePath};WebFXTabPane.getCookie=function(c){var b=new RegExp("(;|^)[^;]*("+c+")=([^;]*)(;|$)");var a=b.exec(document.cookie);return a!=null?a[3]:null};WebFXTabPane.removeCookie=function(a){setCookie(a,"",-1)};function WebFXTabPage(j,e,b){if(!hasSupport()||j==null){return}this.element=j;this.element.tabPage=this;this.index=b;var h=j.childNodes;for(var g=0;g<h.length;g++){if(h[g].nodeType==1&&(h[g].className=="tab"||h[g].className.substr(0,4)=="tab ")){this.tab=h[g];break}}var c=document.createElement("A");this.aElement=c;c.href="#";c.onclick=function(){return false};while(this.tab.hasChildNodes()){c.appendChild(this.tab.firstChild)}this.tab.appendChild(c);var f=this;var d=this.tab.onclick!=null?this.tab.onclick:function(){};this.tab.onclick=function(){f.select();d()};this.tab.onmouseover=function(){WebFXTabPage.tabOver(f)};this.tab.onmouseout=function(){WebFXTabPage.tabOut(f)}}WebFXTabPage.prototype.show=function(){var b=this.tab;var a=b.className+" tab-active";a=a.replace(/ +/g," ");b.className=a;switchEditors(this.element);this.element.style.display="block"};WebFXTabPage.prototype.hide=function(){var b=this.tab;var a=b.className;a=a.replace(/ tab.active/g,"");b.className=a;this.element.style.display="none"};WebFXTabPage.prototype.select=function(){this.tabPane.setSelectedIndex(this.index)};WebFXTabPage.prototype.dispose=function(){var a=/^Apple/;if(this.element.style.display=="none"&&typeof(navigator.vendor)!="unknown"&&navigator.vendor==a){this.element.style.position="absolute";this.element.style.left="-10000px";this.element.style.display="block"}this.aElement.onclick=null;this.aElement=null;this.element.tabPage=null;this.tab.onclick=null;this.tab.onmouseover=null;this.tab.onmouseout=null;this.tab=null;this.tabPane=null;this.element=null};WebFXTabPage.tabOver=function(a){var c=a.tab;var b=c.className+" tab-hover";b=b.replace(/ +/g," ");c.className=b};WebFXTabPage.tabOut=function(a){var c=a.tab;var b=c.className;b=b.replace(/ tab.hover/g,"");c.className=b};function setupAllTabs(){if(!hasSupport()){return}var g=document.getElementsByTagName("*");var b=g.length;var d=/tabpane/;var c=/tabpage/;var h,f;var a;for(var e=0;e<b;e++){f=g[e];h=f.className;if(h==""){continue}if(d.test(h)&&!f.tabPane){new WebFXTabPane(f)}else{if(c.test(h)&&!f.tabPage&&d.test(f.parentNode.className)){f.parentNode.tabPane.addTabPage(f)}}}}function disposeAllTabs(){if(!hasSupport()){return}var f=document.getElementsByTagName("*");var a=f.length;var c=/tabpane/;var g,e;var b=[];for(var d=0;d<a;d++){e=f[d];g=e.className;if(g==""){continue}if(c.test(g)&&e.tabPane){b[b.length]=e.tabPane}}for(var d=b.length-1;d>=0;d--){b[d].dispose();b[d]=null}}if(typeof window.addEventListener!="undefined"){window.addEventListener("load",setupAllTabs,false)}else{if(typeof window.attachEvent!="undefined"){window.attachEvent("onload",setupAllTabs);window.attachEvent("onunload",disposeAllTabs)}else{if(window.onload!=null){var oldOnload=window.onload;window.onload=function(a){oldOnload(a);setupAllTabs()}}else{window.onload=setupAllTabs}}};
var includeCaption=true;var zoomTime=3;var zoomSteps=10;var includeFade=1;var minBorder=50;var shadowSettings="0px 5px 25px rgba(0, 0, 0)";var zoomImagesURI=bitRootUrl+"util/javascript/fancyzoom/images-global/zoom/";var myWidth=0,myHeight=0,myScroll=0;myScrollWidth=0;myScrollHeight=0;var zoomOpen=false,preloadFrame=1,preloadActive=false,preloadTime=0,imgPreload=new Image();var preloadAnimTimer=0;var zoomActive=new Array();var zoomTimer=new Array();var zoomOrigW=new Array();var zoomOrigH=new Array();var zoomOrigX=new Array();var zoomOrigY=new Array();var zoomID="ZoomBox";var theID="ZoomImage";var zoomCaption="ZoomCaption";var zoomCaptionDiv="ZoomCapDiv";if(navigator.userAgent.indexOf("MSIE")!=-1){var browserIsIE=true}function setupZoom(){prepZooms();insertZoomHTML();zoomdiv=document.getElementById(zoomID);zoomimg=document.getElementById(theID)}function prepZooms(){if(!document.getElementsByTagName){return}var a=document.getElementsByTagName("a");for(i=0;i<a.length;i++){if(a[i].getAttribute("href")){if(a[i].getAttribute("href").search(/(.*)\.(jpg|jpeg|gif|png|bmp|tif|tiff)/gi)!=-1){if(a[i].getAttribute("rel")!="nozoom"){a[i].onclick=function(b){return zoomClick(this,b)};a[i].onmouseover=function(){zoomPreload(this)}}}}}}function zoomPreload(b){var a=b.getAttribute("href");if(imgPreload.src.indexOf(b.getAttribute("href").substr(b.getAttribute("href").lastIndexOf("/")))==-1){preloadActive=true;imgPreload=new Image();imgPreload.onload=function(){preloadActive=false};imgPreload.src=a}}function preloadAnimStart(){preloadTime=new Date();document.getElementById("ZoomSpin").style.left=(myWidth/2)+"px";document.getElementById("ZoomSpin").style.top=((myHeight/2)+myScroll)+"px";document.getElementById("ZoomSpin").style.visibility="visible";preloadFrame=1;document.getElementById("SpinImage").src=zoomImagesURI+"zoom-spin-"+preloadFrame+".png";preloadAnimTimer=setInterval("preloadAnim()",100)}function preloadAnim(a){if(preloadActive!=false){document.getElementById("SpinImage").src=zoomImagesURI+"zoom-spin-"+preloadFrame+".png";preloadFrame++;if(preloadFrame>12){preloadFrame=1}}else{document.getElementById("ZoomSpin").style.visibility="hidden";clearInterval(preloadAnimTimer);preloadAnimTimer=0;zoomIn(preloadFrom)}}function zoomClick(c,b){var a=getShift(b);if(!b&&window.event&&(window.event.metaKey||window.event.altKey)){return true}else{if(b&&(b.metaKey||b.altKey)){return true}}getSize();if(preloadActive==true){if(preloadAnimTimer==0){preloadFrom=c;preloadAnimStart()}}else{zoomIn(c,a)}return false}function zoomIn(b,a){zoomimg.src=b.getAttribute("href");if(b.childNodes[0].width){startW=b.childNodes[0].width;startH=b.childNodes[0].height;startPos=findElementPos(b.childNodes[0])}else{startW=50;startH=12;startPos=findElementPos(b)}hostX=startPos[0];hostY=startPos[1];if(document.getElementById("scroller")){hostX=hostX-document.getElementById("scroller").scrollLeft}endW=imgPreload.width;endH=imgPreload.height;if(zoomActive[theID]!=true){if(document.getElementById("ShadowBox")){document.getElementById("ShadowBox").style.visibility="hidden"}else{if(!browserIsIE){if(fadeActive.ZoomImage){clearInterval(fadeTimer.ZoomImage);fadeActive.ZoomImage=false;fadeTimer.ZoomImage=false}document.getElementById("ZoomImage").style.webkitBoxShadow=shadowSettings+"0.0)"}}document.getElementById("ZoomClose").style.visibility="hidden";if(includeCaption){document.getElementById(zoomCaptionDiv).style.visibility="hidden";if(b.getAttribute("title")&&includeCaption){document.getElementById(zoomCaption).innerHTML=b.getAttribute("title")}else{document.getElementById(zoomCaption).innerHTML=""}}zoomOrigW[theID]=startW;zoomOrigH[theID]=startH;zoomOrigX[theID]=hostX;zoomOrigY[theID]=hostY;zoomimg.style.width=startW+"px";zoomimg.style.height=startH+"px";zoomdiv.style.left=hostX+"px";zoomdiv.style.top=hostY+"px";if(includeFade==1){_setOpacity(0,zoomID)}zoomdiv.style.visibility="visible";sizeRatio=endW/endH;if(endW>myWidth-minBorder){endW=myWidth-minBorder;endH=endW/sizeRatio}if(endH>myHeight-minBorder){endH=myHeight-minBorder;endW=endH*sizeRatio}zoomChangeX=((myWidth/2)-(endW/2)-hostX);zoomChangeY=(((myHeight/2)-(endH/2)-hostY)+myScroll);zoomChangeW=(endW-startW);zoomChangeH=(endH-startH);if(a){tempSteps=zoomSteps*7}else{tempSteps=zoomSteps}zoomCurrent=0;if(includeFade==1){fadeCurrent=0;fadeAmount=(0-100)/tempSteps}else{fadeAmount=0}zoomTimer[theID]=setInterval("zoomElement('"+zoomID+"', '"+theID+"', "+zoomCurrent+", "+startW+", "+zoomChangeW+", "+startH+", "+zoomChangeH+", "+hostX+", "+zoomChangeX+", "+hostY+", "+zoomChangeY+", "+tempSteps+", "+includeFade+", "+fadeAmount+", 'zoomDoneIn(zoomID)')",zoomTime);zoomActive[theID]=true}}function zoomOut(b,a){if(getShift(a)){tempSteps=zoomSteps*7}else{tempSteps=zoomSteps}if(zoomActive[theID]!=true){if(document.getElementById("ShadowBox")){document.getElementById("ShadowBox").style.visibility="hidden"}else{if(!browserIsIE){if(fadeActive.ZoomImage){clearInterval(fadeTimer.ZoomImage);fadeActive.ZoomImage=false;fadeTimer.ZoomImage=false}document.getElementById("ZoomImage").style.webkitBoxShadow=shadowSettings+"0.0)"}}document.getElementById("ZoomClose").style.visibility="hidden";if(includeCaption&&document.getElementById(zoomCaption).innerHTML!=""){document.getElementById(zoomCaptionDiv).style.visibility="hidden"}startX=parseInt(zoomdiv.style.left);startY=parseInt(zoomdiv.style.top);startW=zoomimg.width;startH=zoomimg.height;zoomChangeX=zoomOrigX[theID]-startX;zoomChangeY=zoomOrigY[theID]-startY;zoomChangeW=zoomOrigW[theID]-startW;zoomChangeH=zoomOrigH[theID]-startH;zoomCurrent=0;if(includeFade==1){fadeCurrent=0;fadeAmount=(100-0)/tempSteps}else{fadeAmount=0}zoomTimer[theID]=setInterval("zoomElement('"+zoomID+"', '"+theID+"', "+zoomCurrent+", "+startW+", "+zoomChangeW+", "+startH+", "+zoomChangeH+", "+startX+", "+zoomChangeX+", "+startY+", "+zoomChangeY+", "+tempSteps+", "+includeFade+", "+fadeAmount+", 'zoomDone(zoomID, theID)')",zoomTime);zoomActive[theID]=true}}function zoomDoneIn(a,b){zoomOpen=true;a=document.getElementById(a);if(document.getElementById("ShadowBox")){_setOpacity(0,"ShadowBox");shadowdiv=document.getElementById("ShadowBox");shadowLeft=parseInt(a.style.left)-13;shadowTop=parseInt(a.style.top)-8;shadowWidth=a.offsetWidth+26;shadowHeight=a.offsetHeight+26;shadowdiv.style.width=shadowWidth+"px";shadowdiv.style.height=shadowHeight+"px";shadowdiv.style.left=shadowLeft+"px";shadowdiv.style.top=shadowTop+"px";document.getElementById("ShadowBox").style.visibility="visible";fadeElementSetup("ShadowBox",0,100,5)}else{if(!browserIsIE){fadeElementSetup("ZoomImage",0,0.8,5,0,"shadow")}}if(includeCaption&&document.getElementById(zoomCaption).innerHTML!=""){zoomcapd=document.getElementById(zoomCaptionDiv);zoomcapd.style.top=parseInt(a.style.top)+(a.offsetHeight+15)+"px";zoomcapd.style.left=(myWidth/2)-(zoomcapd.offsetWidth/2)+"px";zoomcapd.style.visibility="visible"}if(!browserIsIE){_setOpacity(0,"ZoomClose")}document.getElementById("ZoomClose").style.visibility="visible";if(!browserIsIE){fadeElementSetup("ZoomClose",0,100,5)}document.onkeypress=getKey}function zoomDone(a,b){zoomOpen=false;zoomOrigH[b]="";zoomOrigW[b]="";document.getElementById(a).style.visibility="hidden";zoomActive[b]==false;document.onkeypress=null}function zoomElement(zoomdiv,theID,zoomCurrent,zoomStartW,zoomChangeW,zoomStartH,zoomChangeH,zoomStartX,zoomChangeX,zoomStartY,zoomChangeY,zoomSteps,includeFade,fadeAmount,execWhenDone){if(zoomCurrent==(zoomSteps+1)){zoomActive[theID]=false;clearInterval(zoomTimer[theID]);if(execWhenDone!=""){eval(execWhenDone)}}else{if(includeFade==1){if(fadeAmount<0){_setOpacity(Math.abs(zoomCurrent*fadeAmount),zoomdiv)}else{_setOpacity(100-(zoomCurrent*fadeAmount),zoomdiv)}}moveW=cubicInOut(zoomCurrent,zoomStartW,zoomChangeW,zoomSteps);moveH=cubicInOut(zoomCurrent,zoomStartH,zoomChangeH,zoomSteps);moveX=cubicInOut(zoomCurrent,zoomStartX,zoomChangeX,zoomSteps);moveY=cubicInOut(zoomCurrent,zoomStartY,zoomChangeY,zoomSteps);document.getElementById(zoomdiv).style.left=moveX+"px";document.getElementById(zoomdiv).style.top=moveY+"px";zoomimg.style.width=moveW+"px";zoomimg.style.height=moveH+"px";zoomCurrent++;clearInterval(zoomTimer[theID]);zoomTimer[theID]=setInterval("zoomElement('"+zoomdiv+"', '"+theID+"', "+zoomCurrent+", "+zoomStartW+", "+zoomChangeW+", "+zoomStartH+", "+zoomChangeH+", "+zoomStartX+", "+zoomChangeX+", "+zoomStartY+", "+zoomChangeY+", "+zoomSteps+", "+includeFade+", "+fadeAmount+", '"+execWhenDone+"')",zoomTime)}}function getKey(a){if(!a){theKey=event.keyCode}else{theKey=a.keyCode}if(theKey==27){zoomOut(this,a)}}function fadeOut(a){if(a.id){fadeElementSetup(a.id,100,0,10)}}function fadeIn(a){if(a.id){fadeElementSetup(a.id,0,100,10)}}var fadeActive=new Array();var fadeQueue=new Array();var fadeTimer=new Array();var fadeClose=new Array();var fadeMode=new Array();function fadeElementSetup(d,f,c,b,e,a){if(fadeActive[d]==true){fadeQueue[d]=new Array(d,f,c,b)}else{fadeSteps=b;fadeCurrent=0;fadeAmount=(f-c)/fadeSteps;fadeTimer[d]=setInterval("fadeElement('"+d+"', '"+fadeCurrent+"', '"+fadeAmount+"', '"+fadeSteps+"')",15);fadeActive[d]=true;fadeMode[d]=a;if(e==1){fadeClose[d]=true}else{fadeClose[d]=false}}}function fadeElement(b,d,a,c){if(d==c){clearInterval(fadeTimer[b]);fadeActive[b]=false;fadeTimer[b]=false;if(fadeClose[b]==true){document.getElementById(b).style.visibility="hidden"}if(fadeQueue[b]&&fadeQueue[b]!=false){fadeElementSetup(fadeQueue[b][0],fadeQueue[b][1],fadeQueue[b][2],fadeQueue[b][3]);fadeQueue[b]=false}}else{d++;if(fadeMode[b]=="shadow"){if(a<0){document.getElementById(b).style.webkitBoxShadow=shadowSettings+(Math.abs(d*a))+")"}else{document.getElementById(b).style.webkitBoxShadow=shadowSettings+(100-(d*a))+")"}}else{if(a<0){_setOpacity(Math.abs(d*a),b)}else{_setOpacity(100-(d*a),b)}}clearInterval(fadeTimer[b]);fadeTimer[b]=setInterval("fadeElement('"+b+"', '"+d+"', '"+a+"', '"+c+"')",15)}}function _setOpacity(c,a){var b=document.getElementById(a).style;if(navigator.userAgent.indexOf("Firefox")!=-1){if(c==100){c=99.9999}}b.filter="alpha(opacity="+c+")";b.opacity=(c/100)}function linear(e,a,g,f){return g*e/f+a}function sineInOut(e,a,g,f){return -g/2*(Math.cos(Math.PI*e/f)-1)+a}function cubicIn(e,a,g,f){return g*(e/=f)*e*e+a}function cubicOut(e,a,g,f){return g*((e=e/f-1)*e*e+1)+a}function cubicInOut(e,a,g,f){if((e/=f/2)<1){return g/2*e*e*e+a}return g/2*((e-=2)*e*e+2)+a}function bounceOut(e,a,g,f){if((e/=f)<(1/2.75)){return g*(7.5625*e*e)+a}else{if(e<(2/2.75)){return g*(7.5625*(e-=(1.5/2.75))*e+0.75)+a}else{if(e<(2.5/2.75)){return g*(7.5625*(e-=(2.25/2.75))*e+0.9375)+a}else{return g*(7.5625*(e-=(2.625/2.75))*e+0.984375)+a}}}}function getSize(){if(self.innerHeight){myWidth=window.innerWidth;myHeight=window.innerHeight;myScroll=window.pageYOffset}else{if(document.documentElement&&document.documentElement.clientHeight){myWidth=document.documentElement.clientWidth;myHeight=document.documentElement.clientHeight;myScroll=document.documentElement.scrollTop}else{if(document.body){myWidth=document.body.clientWidth;myHeight=document.body.clientHeight;myScroll=document.body.scrollTop}}}if(window.innerHeight&&window.scrollMaxY){myScrollWidth=document.body.scrollWidth;myScrollHeight=window.innerHeight+window.scrollMaxY}else{if(document.body.scrollHeight>document.body.offsetHeight){myScrollWidth=document.body.scrollWidth;myScrollHeight=document.body.scrollHeight}else{myScrollWidth=document.body.offsetWidth;myScrollHeight=document.body.offsetHeight}}}function getShift(b){var a=false;if(!b&&window.event){a=window.event.shiftKey}else{if(b){a=b.shiftKey;if(a){b.stopPropagation()}}}return a}function findElementPos(a){var c=0;var b=0;do{c+=a.offsetLeft;b+=a.offsetTop}while(a=a.offsetParent);return Array(c,b)};
function insertZoomHTML(){var k=document.getElementsByTagName("body").item(0);var G=document.createElement("div");G.setAttribute("id","ZoomSpin");G.style.position="absolute";G.style.left="10px";G.style.top="10px";G.style.visibility="hidden";G.style.zIndex="525";k.insertBefore(G,k.firstChild);var s=document.createElement("img");s.setAttribute("id","SpinImage");s.setAttribute("src",zoomImagesURI+"zoom-spin-1.png");G.appendChild(s);var j=document.createElement("div");j.setAttribute("id","ZoomBox");j.style.position="absolute";j.style.left="10px";j.style.top="10px";j.style.visibility="hidden";j.style.zIndex="499";k.insertBefore(j,G.nextSibling);var t=document.createElement("img");t.onclick=function(N){zoomOut(this,N);return false};t.setAttribute("src",zoomImagesURI+"spacer.gif");t.setAttribute("id","ZoomImage");t.setAttribute("border","0");t.setAttribute("style","-webkit-box-shadow: "+shadowSettings+"0.0)");t.style.display="block";t.style.width="10px";t.style.height="10px";t.style.cursor="pointer";j.appendChild(t);var p=document.createElement("div");p.setAttribute("id","ZoomClose");p.style.position="absolute";if(browserIsIE){p.style.left="-1px";p.style.top="0px"}else{p.style.left="-15px";p.style.top="-15px"}p.style.visibility="hidden";j.appendChild(p);var q=document.createElement("img");q.onclick=function(N){zoomOut(this,N);return false};q.setAttribute("src",zoomImagesURI+"closebox.png");q.setAttribute("width","30");q.setAttribute("height","30");q.setAttribute("border","0");q.style.cursor="pointer";p.appendChild(q);if(!document.getElementById("ZoomImage").style.webkitBoxShadow&&!browserIsIE){var o=document.createElement("div");o.setAttribute("id","ShadowBox");o.style.position="absolute";o.style.left="50px";o.style.top="50px";o.style.width="100px";o.style.height="100px";o.style.visibility="hidden";o.style.zIndex="498";k.insertBefore(o,j.nextSibling);var r=document.createElement("table");r.setAttribute("border","0");r.setAttribute("width","100%");r.setAttribute("height","100%");r.setAttribute("cellpadding","0");r.setAttribute("cellspacing","0");o.appendChild(r);var d=document.createElement("tbody");r.appendChild(d);var n=document.createElement("tr");n.style.height="25px";d.appendChild(n);var K=document.createElement("td");K.style.width="27px";n.appendChild(K);var D=document.createElement("img");D.setAttribute("src",zoomImagesURI+"zoom-shadow1.png");D.setAttribute("width","27");D.setAttribute("height","25");D.style.display="block";K.appendChild(D);var J=document.createElement("td");J.setAttribute("background",zoomImagesURI+"zoom-shadow2.png");n.appendChild(J);var c=document.createElement("img");c.setAttribute("src",zoomImagesURI+"spacer.gif");c.setAttribute("height","1");c.setAttribute("width","1");c.style.display="block";J.appendChild(c);var I=document.createElement("td");I.style.width="27px";n.appendChild(I);var A=document.createElement("img");A.setAttribute("src",zoomImagesURI+"zoom-shadow3.png");A.setAttribute("width","27");A.setAttribute("height","25");A.style.display="block";I.appendChild(A);inRow2=document.createElement("tr");d.appendChild(inRow2);var H=document.createElement("td");H.setAttribute("background",zoomImagesURI+"zoom-shadow4.png");inRow2.appendChild(H);var b=document.createElement("img");b.setAttribute("src",zoomImagesURI+"spacer.gif");b.setAttribute("height","1");b.setAttribute("width","1");b.style.display="block";H.appendChild(b);var F=document.createElement("td");F.setAttribute("bgcolor","#ffffff");inRow2.appendChild(F);var a=document.createElement("img");a.setAttribute("src",zoomImagesURI+"spacer.gif");a.setAttribute("height","1");a.setAttribute("width","1");a.style.display="block";F.appendChild(a);var E=document.createElement("td");E.setAttribute("background",zoomImagesURI+"zoom-shadow5.png");inRow2.appendChild(E);var M=document.createElement("img");M.setAttribute("src",zoomImagesURI+"spacer.gif");M.setAttribute("height","1");M.setAttribute("width","1");M.style.display="block";E.appendChild(M);var m=document.createElement("tr");m.style.height="26px";d.appendChild(m);var C=document.createElement("td");C.style.width="27px";m.appendChild(C);var y=document.createElement("img");y.setAttribute("src",zoomImagesURI+"zoom-shadow6.png");y.setAttribute("width","27");y.setAttribute("height","26");y.style.display="block";C.appendChild(y);var B=document.createElement("td");B.setAttribute("background",zoomImagesURI+"zoom-shadow7.png");m.appendChild(B);var L=document.createElement("img");L.setAttribute("src",zoomImagesURI+"spacer.gif");L.setAttribute("height","1");L.setAttribute("width","1");L.style.display="block";B.appendChild(L);var z=document.createElement("td");z.style.width="27px";m.appendChild(z);var x=document.createElement("img");x.setAttribute("src",zoomImagesURI+"zoom-shadow8.png");x.setAttribute("width","27");x.setAttribute("height","26");x.style.display="block";z.appendChild(x)}if(includeCaption){var f=document.createElement("div");f.setAttribute("id","ZoomCapDiv");f.style.position="absolute";f.style.visibility="hidden";f.style.marginLeft="auto";f.style.marginRight="auto";f.style.zIndex="501";k.insertBefore(f,j.nextSibling);var h=document.createElement("table");h.setAttribute("border","0");h.setAttribute("cellPadding","0");h.setAttribute("cellSpacing","0");f.appendChild(h);var l=document.createElement("tbody");h.appendChild(l);var i=document.createElement("tr");l.appendChild(i);var w=document.createElement("td");w.setAttribute("align","right");i.appendChild(w);var g=document.createElement("img");g.setAttribute("src",zoomImagesURI+"zoom-caption-l.png");g.setAttribute("width","13");g.setAttribute("height","26");g.style.display="block";w.appendChild(g);var v=document.createElement("td");v.setAttribute("background",zoomImagesURI+"zoom-caption-fill.png");v.setAttribute("id","ZoomCaption");v.setAttribute("valign","middle");v.style.fontSize="14px";v.style.fontFamily="Helvetica";v.style.fontWeight="bold";v.style.color="#ffffff";v.style.textShadow="0px 2px 4px #000000";v.style.whiteSpace="nowrap";i.appendChild(v);var u=document.createElement("td");i.appendChild(u);var e=document.createElement("img");e.setAttribute("src",zoomImagesURI+"zoom-caption-r.png");e.setAttribute("width","13");e.setAttribute("height","26");e.style.display="block";u.appendChild(e)}};

