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(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!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 n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.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 axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=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(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;

var yd=document;var yw=window;var yPI=parseInt;yw.zCM=[];var cc_bi="0i/n.gif";function bzw(){var is_major=yPI(navigator.appVersion);this.nver=is_major;this.ver=navigator.appVersion;this.agent=navigator.userAgent;this.dom=yd.getElementById?1:0;this.opera=yw.opera?1:0;this.ie5=(this.ver.indexOf("MSIE 5")>-1&&this.dom&&!this.opera)?1:0;this.ie6=(this.ver.indexOf("MSIE 6")>-1&&this.dom&&!this.opera)?1:0;this.ie4=(yd.all&&!this.dom&&!this.opera)?1:0;this.ie=this.ie4||this.ie5||this.ie6;this.mac=this.agent.indexOf("Mac")>-1;this.ns6=(this.dom&&yPI(this.ver)>=5)?1:0;this.ie3=(this.ver.indexOf("MSIE")&&(is_major<4));this.hotjava=(this.agent.toLowerCase().indexOf('hotjava')!=-1)?1:0;this.ns4=(yd.layers&&!this.dom&&!this.hotjava)?1:0;this.bw=(this.ie6||this.ie5||this.ie4||this.ns4||this.ns6||this.opera);this.ver3=(this.hotjava||this.ie3);this.opera7=((this.agent.toLowerCase().indexOf('opera 7')>-1) || (this.agent.toLowerCase().indexOf('opera/7')>-1));this.operaOld=this.opera&&!this.opera7;return this};function none(){};function nn(val){return val != null};function und(val){return typeof(val)=='undefined'};function CCRollMenu(name, items){this.bw=new bzw(); this.bi=new Image(); this.bi.src=cc_bi;if (this.bw.ns4) yw.onresize=zRH; yw.zCM[name]=this; yw.cc_ht[name]=null;this.name=name; this.rel=items[0].pos=="relative"; this.root=[]; this.root.par=null;this.root.cd=[];this.root.fmt=items[0]; this.root.pos=this.rel?[0,0]:items[0].pos; this.root.fmt.pos=this.root.pos;this.root.frameoff=items[0].pos?items[0].pos:[0,0];this.items=[]; this.root.lvl=new cc_ml(this, this.root);for (var i=1;i<items.length;i++) if (!und(items[i])) new cc_mi(this, this.root, items[i], und(items[i].format)?items[0]:items[i].format);this.drawTop=function(){var s="";for (var i=0;i<this.items.length;i++) if (this.items[i].par==this.root) s+=this.items[i].draw();if (this.rel){var w=0; var h=0;for (var i=0;i<this.root.cd.length;i++) {var n=this.root.cd[i];if (n.pos[1]+n.size[0]>h) h=n.pos[1]+n.size[0];if (n.pos[0]+n.size[1]>w) w=n.pos[0]+n.size[1];}s=this.bw.ns4?'<ilayer id="cm'+this.name+'_" >' + s + '</ilayer>':'<div id="cm'+this.name+'_" style="position:relative;left:0px;top:0px;width:'+w+'px;height:'+h+'px;">' + s +'</div>';}return s;};this.drawOther=function(){var s="";for (var i=0;i<this.items.length;i++) if (this.items[i].par!=this.root) s+=this.items[i].draw();return s;};this.cct=function(){yd.write(this.drawTop())};this.cci=function(){yd.write(this.drawOther())};this.hide=function(){if (this.root.fmt.popup) this.root.lvl.vis(0);else {for (var i=0;i<this.root.cd.length;i++) if (this.root.cd[i].lvl) this.root.cd[i].lvl.vis(0);this.root.lvl.a=null;this.root.lvl.draw();if (this.root.fmt.hidden_top) this.root.lvl.vis(0);}};this.mpopup=function(ev,offX,offY){var x=ev.pageX?ev.pageX:(this.bw.opera?ev.clientX:this.bw.ie4?ev.clientX+yd.body.scrollLeft:ev.x+yd.body.scrollLeft);var y=ev.pageY?ev.pageY:(this.bw.opera?ev.clientY:this.bw.ie4?ev.clientY+yd.body.scrollTop:ev.y+yd.body.scrollTop);var po=this.root.fmt.popupoff;y += offY?offY:po?po[0]:0;x += offX?offX:po?po[1]:0;this.popup(x, y);};this.popup=function(x,y){this.moveXY(x,y);this.root.lvl.a=null;this.root.lvl.vis(1);zME(this.name,0,'t');zME(this.name,0,'0');};this.moveXY=function(x,y){if (!this.root.pos || this.root.pos[0] != x || this.root.pos[1] != y) {this.root.pos=[x,y]; this.root.loff=[0,0]; this.root.ioff=[0,0];for (var i=0;i<this.items.length;i++){this.items[i].vPFP();this.items[i].move(this.items[i].pos[0],this.items[i].pos[1]);}}};this.show=function(){if (this.rel) this.move();this.root.lvl.vis(1)};this.move=function(){if (!this.rel) return;this.rel_div=this.rel_div||this.get_div('cm'+this.name+'_');var x=this.bw.ns4?this.rel_div.pageX:zDX(this.rel_div); var y=this.bw.ns4?this.rel_div.pageY:zDY(this.rel_div);if (this.root.pos[0]==x && this.root.pos[1]==y) return;this.root.pos=[x,y];for (var i=0;i<this.items.length;i++){this.items[i].vPFP();if (this.items[i].par !== this.root) this.items[i].move(this.items[i].pos[0],this.items[i].pos[1]);}};this.get_div=function (name){return this.bw.ns4?yd.layers[name]:yd.getElementById?yd.getElementById(name):yd.all[name]}}function cc_ml(menu, par){this.menu=menu;this.par=par;this.v=0;this.vis=function(s){if (s&&this.menu.root.lvl!=this&&this.menu.rel) {this.menu.move()};var ss=this.v;this.v=s; var l=this.par.cd.length;if (this.menu.ccOLS) this.menu.ccOLS(this);for (var i=0;i<l;i++){var n=this.par.cd[i];if ( n.hc() && n.lvl.v && !s ) n.lvl.vis(s);n.vis(s);}if (!s) this.a=null;if (this.v!=ss&&this.menu.ccOLS) this.menu.ccOLS(this);};this.setA=function(idx,s){var n=this.menu.items[idx];if (nn(this.a)&&n.par.lvl!=this.a.par.lvl) return;if(s&&n.hc())n.lvl.vis(1);if( s && n!= this.a && nn(this.a) && this.a.hc() && this.a.lvl.v ) this.a.lvl.vis(0);this.a=n;this.draw()};this.draw=function(){if (this.menu.root.lvl==this&&this.menu.root.fmt.hidden_top) return;for (var i=0;i<this.par.cd.length;i++) if (this.par.cd[i]==this.a) this.par.cd[i].setVis('o'); else this.par.cd[i].setVis('n')}};function cc_mi(menu, par, item, format){if (und(item)) return;this.lvl=null;this.par=par;this.code=item.code; this.ocode=item.ocode || item.code;this.targ=und(item.target)?"":'target="'+item.target+'" ';this.url=und(item.url)?"javascript:none()":item.url;this.fmt=format;this.menu=menu;this.bw=menu.bw;this.cd=[];this.divs=[];this.index=menu.items.length;menu.items=menu.items.concat([this]);this.pindex=par.cd.length;par.cd=par.cd.concat([this]);this.id="cmi"+this.menu.name+"_"+this.index;this.v=0;this.state='n';this.diva=["b","s","o","n","e"];this.hc=function(){return this.cd.length > 0}; this.hac=function(){return this.hc()&&this.cd[0].vis}; this.div=function(n){return und(this.divs[n])?this.divs[n]=this.get_div(this.id+n):this.divs[n]};this.gen_code=function(state, off){var res='';var table=(nn(this.arrow) && this.hc()) || nn(this.image);var image=nn(this.image);var arrow=nn(this.arrow)&& this.hc();if (table) res += '<table cellpadding=0 cellspacing=0 width="100%" height="'+(yPI(this.size[0])-yPI(off))+'" border=0><tr>';if (image) res += '<td bgcolor="'+(state=='n'?this.style.color.imagebg:this.style.color.oimagebg)+'" width='+this.imgsize[1]+'><img src="'+(state=='n'?this.image:this.oimage)+'" width='+this.imgsize[1]+' height='+this.imgsize[0]+'></td>';if (table) res += '<td width="100%">';res += '<div class="'+(state=='n'?this.style.css.ON:this.style.css.OVER)+'">'+(state=='n'?this.code:this.ocode)+'</div>';if (table) res += '</td>';if (arrow) res += '<td width='+this.arrsize[1]+'><img src="'+(state=='n'?this.arrow:this.oarrow)+'" width='+this.arrsize[1]+' height='+this.arrsize[0]+'></td>';if (table) res += '</tr></table>';return res;};this.draw=function(){var bl=bt=this.style.border;var br=bb=this.style.border*2;if (this.style.border && !und(this.style.borders)) {bl=this.style.borders[0];bt=this.style.borders[1];br=this.style.borders[2]+bl;bb=this.style.borders[3]+bt;}var s=this.style.shadow;var z=(!this.style.shadow?"":vv(this.menu.bw, this.id+"s", this.z, this.pos[0]+s, this.pos[1]+s, this.size[1], this.size[0], this.style.color.shadow, "", ""))+(!this.style.border?"":vv(this.menu.bw, this.id+"b", this.z, this.pos[0], this.pos[1], this.size[1], this.size[0], this.style.color.border, "", ""))+vv(this.menu.bw, this.id+"n", this.z, this.pos[0]+bl, this.pos[1]+bt, this.size[1]-br, this.size[0]-bb, this.style.color.bgON, this.gen_code('n', yPI(bt)+yPI(bb)))+vv(this.menu.bw, this.id+"o", this.z, this.pos[0]+bl, this.pos[1]+bt, this.size[1]-br, this.size[0]-bb, this.style.color.bgOVER,this.gen_code('o', bt+bb))+vv(this.menu.bw, this.id+"e", this.z, this.pos[0]+bl, this.pos[1]+bt, this.size[1]-br, this.size[0]-bb, "", '<a href="'+this.url+'" '+this.targ+'onclick="zME(\''+this.menu.name+'\','+this.index+',\'c\');">'+'<img src="'+this.menu.bi.src+'" width="'+this.size[1]+'" height="'+this.size[0]+'" border="0"></a>','','onmouseover="zME(\''+this.menu.name+'\','+this.index+',\'o\');" onmouseout="zME(\''+this.menu.name+'\','+this.index+',\'t\');"');return z;};this.vis=function(s){if (this.style.shadow) this.xV("s",s);if (this.style.border) this.xV("b",s);if (!s) {this.xV("o",0);this.xV("n",0);this.state="n";}else if (this.state=="n")this.xV("n",1);else this.xV("o",1);this.xV("e",s)};this.setVis = function (n){if (this.state!=n)switch (n){case "n":this.xV("n",1);this.xV("o",0);break;case "o":this.xV("n",0);this.xV("o",1);break;}this.state=n;};this.xV=this.bw.ns4? vxn:vxd;this.getf=function(obj, name){if (!und(obj) && nn(obj) && !und(obj.fmt)) {if (!und(obj.fmt[name])) return obj.fmt[name];if (obj.par!=this.menu.root && obj.par && obj.par.sub && obj.par.sub[0][name]) return obj.par.sub[0][name];return this.getf(obj.par, name);}return;};this.ioff=this.getf(this, "itemoff");this.loff=this.getf(this, "leveloff");this.imgsize=this.getf(this, "imgsize");this.arrsize=this.getf(this, "arrsize");this.image=this.getf(this, "image");this.oimage=this.getf(this, "oimage") || this.image;this.arrow=this.getf(this, "arrow");this.oarrow=this.getf(this, "oarrow") || this.arrow;this.style=this.getf(this, "style");this.size=this.getf(this, "size");if (this.par==this.menu.root) this.fmt.pos=this.getf(this, "pos");this.prev=this.pindex==0? null : this.par.cd[this.pindex-1];this.setPos=function(){if (this.prev==null){this.z=this.par==this.menu.root? 0: this.par.z+10;this.pos=und(this.fmt.pos)?(this.par==this.menu.root? this.fmt.pos : this.pos=[this.par.pos[0]+this.loff[1], this.par.pos[1]+this.loff[0]]):this.fmt.pos;}else{this.prev.next=this;this.z=this.prev.z;this.pos=[this.prev.pos[0]+this.ioff[1], this.prev.pos[1]+this.ioff[0]];}};this.vPFP=function(){if (this.index==0&&!this.menu.rel) {this.pos=[this.menu.root.pos[0], this.menu.root.pos[1]]} else if (this.prev==null){this.pos=[this.par.pos[0]+this.loff[1], this.par.pos[1]+this.loff[0]];}else{this.pos=[this.prev.pos[0]+this.ioff[1], this.prev.pos[1]+this.ioff[0]];}};this.setPos();this.sub=item.sub;if (!und(this.sub) && !und(this.sub.length)&& this.sub.length>0){this.lvl=new cc_ml(menu, this);for (var i=1;i<this.sub.length;i++)if (!und(this.sub[i])) new cc_mi(this.menu, this, this.sub[i], und(this.sub[i].format)?this.sub[0]: this.sub[i].format);};this.get_div=function (name){if (this.bw.ns4 && this.menu.rel && this.par==this.menu.root) return yd.layers["cm"+this.menu.name+"_"].layers[name];else return this.bw.ns4?yd.layers[name]:yd.getElementById?yd.getElementById(name):yd.all[name];};this.move=function( x, y ){var bl=bt=this.style.border;if (this.style.border && !und(this.style.borders)) {bl=this.style.borders[0];bt=this.style.borders[1];}if (this.style.shadow) this.moveTo(x+yPI(this.style.shadow),y+yPI(this.style.shadow),"s");if (this.style.border) this.moveTo(x,y,"b");this.moveTo(x+bl,y+bt,"o");this.moveTo(x+bl,y+bt,"n");this.moveTo(x+bl,y+bt,"e");};this.moveTo=function( x, y, b ){if (this.bw.ns4)this.div(b).moveTo(x,y);else{this.div(b).style.left=x;this.div(b).style.top=y;}};return this;}function vv(bw,name,z,left,top,width,height,bgc,code,otherCSS, otherDIV){return bw.ns4?'<layer id="'+name+'" z-index="'+z+'" left="'+left+'" top='+top+'" width="'+width+'" height="'+height+'"'+(bgc!=""?' bgcolor="'+bgc+'"':'')+(otherCSS?' style="'+otherCSS:'')+'" visibility="hidden" '+(otherDIV?otherDIV:'')+'>'+code+'</layer>\n':'<div id="'+name+'" style="position:absolute;clip:rect(0px '+width+'px '+height+'px 0px);z-index:'+z+';left:'+left+'px;top:'+top+'px;width:'+width+'px;height:'+height+'px;visibility:hidden'+(bgc!=""?';background-color:'+bgc+'':'')+';'+(otherCSS?otherCSS:'')+'" '+(otherDIV?otherDIV:'')+'>'+code+'</div>';};function vxn(d,s){this.div(d).visibility=s?'show':'hide'};function vxd(d,s){this.div(d).style.visibility=s?'visible': 'hidden'};function zME(m,node_index,e) {if (nn(yw.cc_ht[m])) {yw.clearTimeout(yw.cc_ht[m]);yw.cc_ht[m]=null;}switch (e){case "o": yw.zCM[m].items[node_index].par.lvl.setA(node_index,1);if (yw.zCM[m].onmouseover) yw.zCM[m].onmouseover(yw.zCM[m].items[node_index]);break;case "c":if (yw.zCM[m].items[node_index].hc()) yw.zCM[m].items[node_index].lvl.vis(!yw.zCM[m].items[node_index].lvl.v);else for (var i=0;i<yw.zCM[m].root.cd.length;i++)if (nn(yw.zCM[m].root.cd[i].lvl)) yw.zCM[m].root.cd[i].lvl.vis(0);if (yw.zCM[m].onclick) yw.zCM[m].onclick(yw.zCM[m].items[node_index]);break;case "t": yw.cc_ht[m]=setTimeout('yw.zCM["'+m+'"].hide()', und(yw.zCM[m].root.fmt.delay)?600:yw.zCM[m].root.fmt.delay);if (yw.zCM[m].onmouseout) yw.zCM[m].onmouseout(yw.zCM[m].items[node_index]);break;}return true;};function zDX(el) {var x=el.offsetLeft;var xp=el.o_xp;while(xp && xp!=yd.body) {x += xp.offsetLeft;xp=xp.o_xp;}return x;};function zDY(el) {var x=el.offsetTop;var xp=el.o_xp;while(xp && xp!=yd.body) {x += xp.offsetTop;xp=xp.o_xp;}return x;}if (und(yw.cc_ht)) yw.cc_ht=[];yw.oldzMOL=yw.onload;function zMOL(){var bw=new bzw();if (bw.operaOld)yw.operaResizeTimer=setTimeout('zRH()',1000);if (typeof(yw.oldzMOL)=='function') yw.oldzMOL();if (bw.ns4) yw.onresize=zRH;}yw.onload=new zMOL();function zRH() {if (yw.reloading) return;if (!yw.origWidth){yw.origWidth=yw.innerWidth;yw.origHeight=yw.innerHeight;}var reload=yw.innerWidth != yw.origWidth || yw.innerHeight != yw.origHeight;yw.origWidth=yw.innerWidth;yw.origHeight=yw.innerHeight;if (yw.operaResizeTimer)clearTimeout(yw.operaResizeTimer);if (reload) {yw.reloading=1;yd.location.reload();return};if (new bzw().operaOld){yw.operaResizeTimer=setTimeout('zRH()',500)};}

var code  = "code";var url="url";var sub="sub";
var color = {"border":"","shadow":"","bgON":"","bgOVER":"","imagebg":"","oimagebg":""};
var css       = {"ON":"cccRAON","OVER":"cccRAOV"};
var cssSubT    = {"ON":"cccRBON_T","OVER":"cccRBOV_T"};
var cssSubB    = {"ON":"cccRBON_B","OVER":"cccRBOV_B"};
var cssSubM    = {"ON":"cccRBON_M","OVER":"cccRBOV_M"};
var cssSubCT    = {"ON":"cccRCON_T","OVER":"cccRCOV_T"};
var cssSubCB    = {"ON":"cccRCON_B","OVER":"cccRCOV_B"};
var cssSubCM    = {"ON":"cccRCON_M","OVER":"cccRCOV_M"};
var STYLE       = {"border":0,"shadow":0,"color":color,"css":css};
var STYLESubT   = {"border":0,"shadow":0,"color":color,"css":cssSubT};
var STYLESubB   = {"border":0,"shadow":0,"color":color,"css":cssSubB};
var STYLESubM   = {"border":0,"shadow":0,"color":color,"css":cssSubM};
var STYLESubCT   = {"border":0,"shadow":0,"color":color,"css":cssSubCT};
var STYLESubCB   = {"border":0,"shadow":0,"color":color,"css":cssSubCB};
var STYLESubCM   = {"border":0,"shadow":0,"color":color,"css":cssSubCM};

var ccROvMis = [
	{"pos":"relative", "leveloff":[0,0], "itemoff":[32,0], "style":STYLE, "size":[32,302]},
	
	{code:"Home", url:"index.asp"},
	{code:"About Us", url:"about_us.asp",
		sub:[
			{"leveloff":[-7,230], "itemoff":[26,0]},
			{code:"Physician Susan G. Schneider MD, MSPH", format:{"style":STYLESubCT, "size":[26,355]}, "url":"about_bio_susan.asp"},
			{code:"Chief Executive Officer Michael Pitcher", format:{"style":STYLESubCB, "size":[26,355]}, "url":"about_bio_michael.asp"}
			//{code:"&nbsp;", format:{"style":STYLESubCB, "size":[26,355]}, "url":"about_us.asp"}
		]
	},
	{code:"Services", url:"services.asp",
		sub:[
			{"leveloff":[-38,230], "itemoff":[26,0]},
			{code:"Geriatric Medicine", format:{"style":STYLESubT, "size":[26,225]}, "url":"geriatric_medicine.asp"},
			{code:"Palliative Care", format:{"style":STYLESubM, "size":[26,225]}, "url":"palliative_care.asp"},
			{code:"Patient Care", format:{"style":STYLESubM, "size":[26,225]}, "url":"patient_care.asp"},
			{code:"Preventive Medicine", format:{"style":STYLESubM, "size":[26,225]}, "url":"preventive_medicine.asp"},
			{code:"Primary Care", format:{"style":STYLESubB, "size":[26,225]}, "url":"primary_care.asp"}
		]
	},
	{code:"News", url:"news.asp",
		sub:[
			{"leveloff":[-27,230], "itemoff":[26,0]},
			{code:"Press Releases", format:{"style":STYLESubT, "size":[26,225]}, "url":"news.asp?cgid=2"},
			{code:"Upcoming Events", format:{"style":STYLESubM, "size":[26,225]}, "url":"news.asp?cgid=3"},
			{code:"Medical Alerts", format:{"style":STYLESubM, "size":[26,225]}, "url":"news.asp?cgid=4"},
			{code:"Our Charities", format:{"style":STYLESubB, "size":[26,225]}, "url":"news.asp?cgid=5"}
		]
	},
	{code:"Links", url:"links.asp"},
	{code:"Contact Us", url:"contact_us.asp",
		sub:[
			{"leveloff":[-7,230], "itemoff":[26,0]},
			//{code:"Our Location", format:{"style":STYLESubT, "size":[26,225]}, "url":"our_location.asp"},
			//{code:"Call Me Now", format:{"style":STYLESubB, "size":[26,225]}, "url":"call_me_now.asp"}
			{code:"Contact Us", format:{"style":STYLESubT, "size":[26,225]}, "url":"contact_us.asp"},
			{code:"Our Location", format:{"style":STYLESubB, "size":[26,225]}, "url":"our_location.asp"}
		]
	}
];

function jjContact(){
	var jjAddress = "info@sitename.com";
	location.href = "mailto:" + jjAddress;
}

function ccLoadPage(){
var jjH = ((document.getElementById('MT').offsetHeight)-88);
document.images['ccRSzA'].height=jjH;
document.images['ccRSzB'].height=jjH;
ts(0,1);
m1.show();
}
function ccResized(){
var jjCH = (Math.round(document.getElementById('MT').offsetHeight)-88);
document.images['ccRSzA'].height=jjCH;
document.images['ccRSzB'].height=jjCH;
}

//Specify affected tags. Add or remove from list:
var tgs = new Array( 'h1');
var tgsBB = new Array( 'h2','h6','ol');
var tgsCC = new Array( 'h4');

//Specify spectrum of different font sizes:
var szs = new Array( '25px','32px','41px');
var lhgt = new Array( '25px','32px','41px');

var szsBB = new Array( '13px','14px','17px');
var lhgtBB = new Array( '18px','20px','25px');

var szsCC = new Array( '14px','16px','19px');
var lhgtCC = new Array( '17px','19px','25px');

var maxOpts = 2;
var startSz = 1;
var permSz = startSz;

function ts(inc,ck) {
	if (!document.getElementById) return
	var d=document,ccTSElement=null,sz=startSz;
	
	if (ck==1){
		sz=parseInt(readCookie('jjTextSize'));
		if (isNaN(sz)){
			sz=permSz;
			}
	} else {
		sizeJAR = parseInt(sz)
		incJAR = parseInt(inc)
		sz=sizeJAR+incJAR;
	}
	if(sz<0)sz=0;
	if(sz>6)sz=maxOpts;
	if(inc==99)sz=permSz;
	startSz=sz;
			 	 
	 for(jTS=0;jTS<tgs.length;jTS++){
	 	if (!(ccTSElementARR=d.getElementById(tgs[jTS]))) ccTSElementARR=d.getElementsByTagName(tgs[jTS]);
	 	for(iTS=0;iTS<ccTSElementARR.length;iTS++){
	 		ccTSElementARR[iTS].style.fontSize=szs[sz];
	 		ccTSElementARR[iTS].style.lineHeight=lhgt[sz];
	 		ccTSElementARR[iTS].style.visibility='visible';
	 		}
	 		createCookie('jjTextSize',(sz),7);
	 	}
	 	
	 for(jTS=0;jTS<tgsBB.length;jTS++){
	 	if (!(ccTSElementARR=d.getElementById(tgsBB[jTS]))) ccTSElementARR=d.getElementsByTagName(tgsBB[jTS]);
	 	for(iTS=0;iTS<ccTSElementARR.length;iTS++){
	 		ccTSElementARR[iTS].style.fontSize=szsBB[sz];
	 		ccTSElementARR[iTS].style.lineHeight=lhgtBB[sz];
	 		ccTSElementARR[iTS].style.visibility='visible';
	 	}}
	 	
	 for(jTS=0;jTS<tgsCC.length;jTS++){
	 	if (!(ccTSElementARR=d.getElementById(tgsCC[jTS]))) ccTSElementARR=d.getElementsByTagName(tgsCC[jTS]);
	 	for(iTS=0;iTS<ccTSElementARR.length;iTS++){
	 		ccTSElementARR[iTS].style.fontSize=szsCC[sz];
	 		ccTSElementARR[iTS].style.lineHeight=lhgtCC[sz];
	 		ccTSElementARR[iTS].style.visibility='visible';
	 	}}
	 }

function createCookie(name,value,days) {
	if (days) {
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}
function readCookie(name) {
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}
function eraseCookie(name) {
	createCookie(name,"",-1);
}

function ccCallMeNow911CheckA(){
	CCpopWinPlus("call_me_now_step_b.html","800","580");
}

function ccPatientFusion(ccpA,ccpB){
	createCookie('ccPF_JARA',ccpA,1);
	createCookie('ccPF_JARB',ccpB,1);
	CCpopWinPF();
}

function CCpopWinPlus(url,ccw,cch) {
var jjw = 800, jjh = 600
jjw = screen.width;
jjh = screen.height;
var leftPos = (jjw-ccw)/2, topPos = (jjh-cch)/3;
link = window.open(url,"Link","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,width=" + ccw + ",height=" + cch + ",left=" + leftPos + ",top=" + topPos + "");
}

function CCpopWinPF(){
	ppw = screen.width;
	pph = screen.height;
	var totW = (ppw*0.75), totH = (pph-170);
	link = window.open("patient_PatFusion_step_a.html","Link","toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,width=" + totW + ",height=" + totH + ",left=10,top=10");
}


function ccOPENDV(prefix,action_id,last_id){
	ccCLOSEALLDV(prefix,last_id)
	stateaa = 'block';
	j = prefix+action_id
	if(document.all){
		eval("document.all." +j+ ".style.display = stateaa");
	}
	if (document.layers) {
		document.layers[j].display = stateaa;
	}
	if (document.getElementById &&!document.all) {
		hza = document.getElementById(j);
		hza.style.display = stateaa;
	}}

function ccCLOSEALLDV(prefix,last_id){
	statebb = 'none';
	for (i = 0; i < (last_id+1); i++) {
		j = prefix+i
		if (document.all) {
			eval("document.all." +j+ ".style.display = statebb");
		}
		if (document.layers) {
			document.layers[j].display = statebb;
		}
		if (document.getElementById&&!document.all) {
			hza = document.getElementById(j);
			hza.style.display = statebb;
	}}}

window.onresize=ccResized;
window.onload=ccLoadPage;
