document.writeln("<script type=\"text/javascript\" src=\"/include/time/\"></script>");var Tv=false,ie4=false,ns6=false;function detectBrowser(){if(document.getElementById&&!document.all)ns6=true;else if(document.all)ie4=true;else if(document.layers)Tv=true;}
detectBrowser();window.iengsj=null;try{window.iengsj=window.iengsj||(opener&&!opener.closed&&opener.iengs&&opener.iengs.WindowMgr.serialVersionUID>=serialVersionUID?opener.iengsj:null);}catch(ex){}
if(!window.iengsj){window.iengsj={};window.iengsj.includes=0;window.iengsj.include=function(u){var i=window.iengsj.includes++;document.write("<span id=\"include.tgt"+i+"\"></span>");document.write("<iframe id=\"include.src"+i+"\" src=\""+u+"\" width=0 height=0 frameborder=0 onLoad=\"wrt("+i+")\"></iframe>");}
function wrt(Uv){try{var el=document.getElementById('include.src'+Uv);var tg=document.getElementById('include.tgt'+Uv);if(!(el.contentDocument||el.contentWindow)){if(Uv!=0)return;var Vv="You are using unsupported or old web browser software to view this site. Please install a recent version.<p>"+ex;document.writeln(Vv);}
if(el.contentDocument)tg.innerHTML=el.contentDocument.body.innerHTML;else tg.innerHTML=el.contentWindow.document.body.innerHTML;}
catch(ex){if(Uv!=0)return;document.writeln("Security Error: cannot include cross-domain: "+el.src);}}
window.iengsj.Exceptions=new function(){function handle(Wv,Xv,Yv,Zv){var $v=Wv+"\nLine "+Yv+" of\n"+Xv+"\n"+navigator.userAgent+""+(Zv?"\nAdditional: "+etc:"")+"\n\n"+iengsj.Exceptions.getStackTrace();if(window.CONFIG!=undefined&&CONFIG.debugByUrl)window.location=CONFIG.debugByUrl+"?event=exception&message="+escape($v);else if(!ie4&&confirm($v))window.location='javascript:';return false;}
this.rethrow=function(ex){if(true)throw ex;}
function getStackTrace(){try{var s=(getStackTrace.callee?getStackTrace.callee:"")+"\n";var a=getStackTrace;for(a=a.caller;a!=null;a=a.caller){s+="at "+funcname(a)+"\n";if(a.caller==a){s+="*";break;}}
return s;}
catch(ex){return "(getStackTrace ex: "+ex+")";}}
function funcname(f){var s=iengsj.Strings.trim(iengsj.Strings.before(f.toString(),'{'));if(s==null||s.length==0)return "anonymous";return s;}
this.getStackTrace=getStackTrace;this.handle=handle;}
window.iengsj.Debug=new function(){this.j=function(aw){window.status=aw;}
this.a=function(bw){alert(bw);}
this.o=function(cw){var s="";for(i in cw){var t=typeof(i);s+=t+"\t"+i+(i.length<9?"\t":"")+"\t";try{s+=((""+eval(cw[i])).replace(/\n/g,"")+"\n");}
catch(ex){s+="READONLY "+ex+"\n";}}
alert(s);}}
window.iengsj.Registry=new function(){var dw=new Array();function add(nm,vl){registryQueueLen++;for(var i=0;i<dw.length;i++){if(dw[i]==null){dw[i]=new Array(nm,vl);submitQueue();return;}}
dw[dw.length]=new Array(nm,vl);submitQueue();}
var ew=0;function submitQueue(){try{for(var i=0;i<dw.length;i++){if(dw[i]==null)continue;document.images['registry'].src="include/register/?register="+escape(dw[i][0])+"&value="+escape(dw[i][1]);dw[i]=null;ew--;}}
catch(ex){alert(ex)}
if(ew!=0)setTimeout('submitQueue()',1000);}
this.add=add;}
window.iengsj.Events=new function(){function getSource(ev){if(ev.originalTarget)return ev.originalTarget;if(ev.srcElement)return ev.srcElement;return null;}
function getSourceGroup(ev){if(getSource(ev).attributes&&getSource(ev).attributes['eventGroup'])return getSource(ev).attributes['eventGroup'].value;return null;}
function getModifier(fw,ev){var gw=fw&&fw.event?fw.event:window.event?window.event:ev;if(gw){var hw=(gw.target)?gw.target:gw.srcElement;if(gw.modifiers){return gw.modifiers&&Event.ALT_MASK?"alt":gw.modifiers&&Event.CONTROL_MASK?"ctl":gw.modifiers&&Event.SHIFT_MASK?"shift":"none";}
else if(gw){return(gw.altKey)?"alt":(gw.ctrlKey)?"ctl":(gw.shiftKey)?"shift":"none";}}
else{return(fw.altKey)?"alt":(fw.ctrlKey)?"ctl":(fw.shiftKey)?"shift":"none";}}
function drag(iw,ev){mouseobj=iw;if(!mousedrag)dragstartx=mousex,dragstarty=mousey;mousedrag=true;doDragPrivate(mouseobj);}
function drop(jw){if(Math.abs(dragstartx-mousex)>2||Math.abs(dragstarty-mousey)>2)saveDrop(jw);else if(jw.attributes['execute']){try{eval(jw.attributes['execute'].value);}
catch(ex){alert("Error running: "+jw.attributes['execute'].value+"\n"+ex)}}
mousedrag=false;return false;}
function doDragPrivate(){if(Math.abs(dragstartx-mousex)>2||Math.abs(dragstarty-mousey)>2){iengsj.Styles.setLeft(mouseobj,mousex-(mouseobj.clientWidth/2));iengsj.Styles.setTop(mouseobj,mousey-(mouseobj.clientHeight/2));}
if(mousedrag==true)setTimeout('iengsj.Events.doDragPrivate()',10);}
function getPageLeft(ev){return ev.clientX+window.document.body.scrollLeft;}
function getPageTop(ev){return ev.clientY+window.document.body.scrollTop;}
function getClientLeft(ev){return ev.clientX;}
function getClientTop(ev){return ev.clientY;}
this.getClientLeft=getClientLeft;this.getClientTop=getClientTop;this.getPageLeft=getPageLeft;this.getPageTop=getPageTop;this.getModifier=getModifier;this.getSource=getSource;this.getSourceGroup=getSourceGroup;this.drag=drag;this.drop=drop;this.doDragPrivate=doDragPrivate;}
window.iengsj.Plugins=new function(){var kw=-1;function detect(){if(kw==-1&&navigator.userAgent.indexOf('MSIE')!=-1&&navigator.userAgent.indexOf('Win'!=-1)){document.writeln('<script language="VBscript">');document.writeln('\'do a one-time test for a version of VBScript that can handle this code');document.writeln('usesVirusBreedingScript = 0');document.writeln('If ScriptEngineMajorVersion >= 2 then');document.writeln('  usesVirusBreedingScript = 1');document.writeln('End If');document.writeln('\'this next function will detect most plugins');document.writeln('Function detectActiveXControl(activeXControlName)');document.writeln('  on error resume next');document.writeln('  detectActiveXControl = False');document.writeln('  If usesVirusBreedingScript == 1 Then');document.writeln('     detectActiveXControl = IsObject(CreateObject(activeXControlName))');document.writeln('  End If');document.writeln('End Function');document.writeln('\'and the following function handles QuickTime');document.writeln('Function detectQuickTimeActiveXControl()');document.writeln('  on error resume next');document.writeln('  detectQuickTimeActiveXControl = False');document.writeln('  If usesVirusBreedingScript == 1 Then');document.writeln('    detectQuickTimeActiveXControl = False');document.writeln('    hasQuickTimeChecker = false');document.writeln('    Set hasQuickTimeChecker = CreateObject("QuickTimeCheckObject.QuickTimeCheck.1")');document.writeln('    If IsObject(hasQuickTimeChecker) Then');document.writeln('      If hasQuickTimeChecker.IsQuickTimeAvailable(0) Then ');document.writeln('        detectQuickTimeActiveXControl = True');document.writeln('      End If');document.writeln('    End If');document.writeln('  End If');document.writeln('End Function');document.writeln('</scr'+'ipt>');}
var lw=detectPlugins.arguments;var np=navigator.plugins;for(var j=0;j<lw.length;j++){if(np&&np.length!=0){for(var i=0;i<np.length;i++){if(np[i].name.toLowerCase().indexOf(lw[j].toLowerCase())>=0||np[i].description.toLowerCase().indexOf(lw[j].toLowerCase()>=0)){return true;}}}
if(kw==1){if(detectActiveXControl(lw[j]))return true;}}
return false;}}
window.iengsj.Params=new function(){function get(mw){var nw=iengsj.Strings.between(window.location.href,mw+"=","&");return nw;}
this.get=get;}
window.iengsj.ColorWheel=new function(){var ow=new Array(256,0,0);var i=0;var pw=8;var qw;function setStyle(rw){qw=rw;return this;}
function rotate(){var a=ow[i%3];var b=ow[(i+1)%3];if(a==0&&b==256)i++;else if(b==256)ow[i%3]-=pw;else if(a!=256)ow[i%3]+=pw;else if(a==0&&b==256)ow[(i+1)%3]+=pw;else i++;var ex=qw+"=\"rgb("+ow[0]+","+ow[1]+","+ow[2]+")\"";eval(ex);setTimeout('iengsj.ColorWheel.spin()',5);}
this.spin=rotate;this.setStyle=setStyle;}
window.iengsj.Tooltip=new function(){var sw=10;var tw=5;var uw=0;var vw=0;if(ns6){function nsEvent(ww){uw=(ww.clientX+window.pageXOffset);vw=(ww.clientY+window.pageYOffset);}}
function checkContraints(xw){var a,b;if(iengsj.Styles.getWidth(xw)<iengsj.Styles.getBodyWidth()){a=iengsj.Styles.getRight(xw);b=iengsj.Styles.getBodyRight();if(a>b)iengsj.Styles.setLeft(xw,iengsj.Styles.getLeft(xw)-(a-b));}
if(iengsj.Styles.getHeight(xw)<iengsj.Styles.getBodyHeight()){a=iengsj.Styles.getBottom(xw);b=iengsj.Styles.getBodyBottom();if(a>b)iengsj.Styles.setTop(xw,iengsj.Styles.getTop(xw)-(a-b));}}
function renderTip(yw,zw,Aw,Bw,Cw){if(!zw)zw=160;if(ie4){tooltip.innerHTML=yw;iengsj.Styles.setLeft(tooltip,Bw);iengsj.Styles.setTop(tooltip,Cw);tooltip.style.visibility='visible';checkContraints(tooltip);}
else if(ns6){var Dw=document.getElementById('tooltip');Dw.innerHTML=yw;iengsj.Styles.setLeft(Dw,Bw);iengsj.Styles.setTop(Dw,Cw);Dw.style.visibility='visible';checkContraints(Dw);Dw.onblur=iengsj.Tooltip.hide;}}
function show(Ew,ev,Fw,Gw,Hw,Iw){var x,y;if(ev)x=5+iengsj.Events.getPageLeft(ev),y=iengsj.Events.getPageTop(ev);else x=iengsj.Styles.getLeft(Ew),y=iengsj.Styles.getTop(Ew);iengsj.Tooltip.hideWait=true;if(!Gw)Gw=160;var Jw="<table border=1 cellspacing=0 cellpadding=2 width="+Gw+" bordercolor=blue>";Jw+="<tr><td bgcolor=ffffe1 class=\"tooltip\">"+Fw+"</td></tr></table>";renderTip(Jw,Gw,null,x,y);}
function showUrl(Kw,Lw,Mw,Nw,Ow,Pw){iengsj.Tooltip.hideWait=true;if(!Mw)Mw=screen.width/4;if(!Nw)Nw=screen.height/4;tipval="<table border=1 cellspacing=0 cellpadding=2 width="+Mw+" bordercolor=blue><tr><td>";tipval+="<iframe width="+Mw+" height="+Nw+" scrollbars=true name=\"showUrl\" src=\""+Lw+"\">";tipval+="</td></table>";renderTip(tipval,Mw,Nw,Ow,Pw);}
function reset(){if(iengsj.Tooltip.hideWait)return;if(ie4){tooltip.style.visibility="hidden";}
else if(ns6){document.getElementById('tooltip').style.visibility='hidden';}}
function hide(b){iengsj.Tooltip.hideWait=(b&&b==true);setTimeout("iengsj.Tooltip.reset();",250);}
this.show=show;this.showUrl=showUrl;this.hide=hide;this.reset=reset;}
window.iengsj.Numbers=new function(){function luid64(){return new Date().getTime()+(""+(1e6+(Math.round(Math.random()*1e6)))).substring(1);}
function pad(Qw,Rw){var n=parseInt(Qw,10);var s=""+n;return iengsj.Strings.repeat("0",Rw-s.length)+s;}
this.luid64=luid64;this.pad=pad;}
window.iengsj.Dates=new function(){function remote(){return new Date(new Date().getTime()-timeerror);}
function parseTime(Sw,Tw){var Uw;var hr=0;var Vw=0;var Ww=0;var Xw=0;var Yw="";var Zw="";var $w="";var ax="";var bx=Sw.value;if(bx.length<1){alert("Please enter a time.");Sw.focus();return;}
if(iengsj.Strings.contains(bx,"pm"))Xw=12;bx=iengsj.Strings.replace(bx,"am","");bx=iengsj.Strings.replace(bx,"pm","");bx=iengsj.Strings.replace(bx," ","");var cx=bx.split(':');if(cx.length==1){hr=cx[0]-0;}
if(cx.length==2){hr=cx[0]-0;Vw=cx[1]-0;}
if(cx.length==3){hr=cx[0]-0;Vw=cx[1]-0;Ww=cx[2]-0;}
var dx=hr+Xw;if(hr==12&&Xw==0)dx=0;if(hr==12&&Xw==12)dx=12;$w=iengsj.Numbers.pad(dx,2)+":"+iengsj.Numbers.pad(Vw,2)+":"+iengsj.Numbers.pad(Ww,2);var fx=(Xw==12)?"PM":"AM";if(hr>12)fx="";ax=hr+":"+iengsj.Numbers.pad(Vw,2)+" "+fx;Sw.value=ax;Tw.value=$w;}
function parseDate(gx,hx){var ix=new Array("","January","February","March","April","May","June","July","August","September","October","November","December");var jx=new Array(0,31,28,31,30,31,30,31,31,30,31,30,31);var kx;var yr;var mn;var dy;var lx="";var mx="";var nx=gx.value;if(nx.length<6){alert("Please enter a date.");gx.focus();return;}
nx=nx.replace(", "," ");nx=nx.replace(","," ");if(nx.indexOf('/')>-1)kx='/';else if(nx.indexOf('-')>-1)kx='-';else if(nx.indexOf(' ')>-1)kx=' ';else{kx='/';if(nx.length==6)nx=nx.substring(0,2)+'/'+nx.substring(2,4)+'/'+nx.substring(4,6);else if(nx.length==8)nx=nx.substring(0,2)+'/'+nx.substring(2,4)+'/'+nx.substring(4,8);else lx+="Cant get the date from the value you entered.";}
var ox=nx.split(kx);if(ox[3])lx+="Invalid date (found a 4th element).\n";if(!ox[0]||!ox[1]||!ox[2])lx+="Missing the month, day, or year.\n";if(lx!=""){alert(lx);gx.focus();return;}
if(parseInt(ox[0],10)>1900){yr=ox[0];mn=ox[1];dy=ox[2];}
else{yr=ox[2];mn=ox[0];dy=ox[1];}
dy=dy.replace(/th|st|nd|rd/g,"");for(var i=1;i<13;i++){if(mn.substring(0,3).toLowerCase()==ix[i].substring(0,3).toLowerCase()){mn=""+i;break;}}
var px=parseInt(mn,10);var qx=parseInt(dy,10);if(!(px>0&&px<=12))lx+="-The value you entered for the month is '"+mn+"'. Please change your date format.\n";if(qx>jx[px])lx+="-There are "+jx[px]+" days in "+ix[px]+". You entered '"+dy+"' for the day.\n";else if(!(qx>0))lx+="-The value you entered for the day is '"+dy+"'. Please change your date format.\n";if(yr>=0&&yr<=99)yr=parseInt(yr,10)+2000;if(!(yr>1900&&yr<3000))lx+="-The value you entered for the year is '"+yr+"'. Please change your date format.\n";if(lx!=""){lx+="\nTips:\n\nThe date must ALWAYS be formatted in the order of MONTH, DAY, YEAR.\nValues must be separated ";lx+="by only spaces, '/', or '-'.\nYou can optionally enter the month by its full or 3-letter abrreviated name.";lx+="\n\nEXAMPLES:\n April 8 02";lx+="\n Apr 08 2002";lx+="\n Apr 8th 2002";lx+="\n 04 08 02";lx+="\n 4-8-02";lx+="\n 4/8/02";lx+="\n 040802";lx+="\n 04082002";alert(lx);gx.focus();}
var rx=yr+"-"+iengsj.Numbers.pad(mn,2)+"-"+iengsj.Numbers.pad(dy,2);var mr=Math.round(mn);var sx=mn+"/"+dy+"/"+yr.toString().substring(2,4);gx.value=sx;hx.value=rx;}
this.remote=remote;this.parseTime=parseTime;this.parseDate=parseDate;}
window.iengsj.Strings=new function(){var E="";function getString(tx){if(isEmpty(tx))def=E;return tx.toString();}
function norm(ux,vx){if(isEmpty(vx))vx=E;if(isEmpty(ux))return vx;return ux;}
function isEmpty(wx){if(wx==null||wx==undefined||wx=="")return true;return false;}
function contains(xx,yx){if(xx==null)xx=E;if(yx==null)yx=E;if(xx==yx)return true;return position(xx,yx)!=-1;}
function containsCase(zx,Ax){if(zx==null)zx=E;if(Ax==null)Ax=E;if(zx==Ax)return true;return positionCase(zx,Ax)!=-1;}
function position(Bx,Cx){if(!Bx||Bx==""||!Cx||Bx.length<Cx.length)return -1;return Bx.toLowerCase().indexOf(Cx.toLowerCase());}
function positionCase(Dx,Ex){if(!Dx||Dx==""||!Ex||Dx.length<Ex.length)return -1;return Dx.indexOf(Ex);}
function trim(Fx){if(isEmpty(Fx))return "";var a=0,b=Fx.length;var c;var i;for(var i=0;i<Fx.length;i++){c=Fx.charAt(i);if(c==' '||c=='\t'||c=='\r'||c=='\n'||c=='\f')a++;else break;}
for(i=b-1;i!=0;i--){c=Fx.charAt(i);if(c==' '||c=='\t'||c=='\r'||c=='\n'||c=='\f')b--;else break;}
return Fx.substring(a,b);}
function toJavascript(Gx){Gx=Gx.replace(/\\/g,"\\\\");Gx=Gx.replace(/\"/g,"\\\"");Gx=Gx.replace(/\'/g,"\\\'");return Gx;}
function toHtml(Hx){Hx=Hx.replace(/\</g,"&lt;");Hx=Hx.replace(/\>/g,"&gt;");Hx=Hx.replace(/\'/g,"\\\'");Hx=Hx.replace(/\"/g,"\\\"");return Hx;}
function toURL(Ix){return escape(Ix);}
function isNumber(Jx){return Jx!=null&&Jx!=undefined&&Jx!=""&&(Jx-0)==Jx;}
function before(Kx,Lx){if(isEmpty(Kx)||isEmpty(Lx))return E;var i=Kx.indexOf(Lx);if(i==-1)return Kx;return Kx.substring(0,i);}
function after(Mx,Nx){if(isEmpty(Mx)||isEmpty(Nx))return E;var i=Mx.indexOf(Nx);if(i==-1)return Mx;return Mx.substring(i+Nx.length);}
function beforeLast(Ox,Px){if(isEmpty(Ox)||isEmpty(Px))return E;var i=Ox.lastIndexOf(Px);if(i==-1)return Ox;return Ox.substring(0,i);}
function afterLast(Qx,Rx){if(isEmpty(Qx)||isEmpty(Rx))return E;var i=Qx.lastIndexOf(Rx);if(i==-1)return Qx;return Qx.substring(i+Rx.length);}
function equal(a,b){if(isEmpty(a)&&isEmpty(b))return true;if((isEmpty(a)&&!isEmpty(b))||(isEmpty(b)&&!isEmpty(a))||a.length!=b.length)return false;for(var i=0;i<a.length;i++)if(a.charAt(i).toLowerCase()!=b.charAt(i).toLowerCase())return false;return true;}
function isTrue(Sx){if(!Sx||Sx=="")return false;if(Sx==1||Sx==true||equal(Sx,"true")||equal(Sx,"yes")||equal(Sx,"y"))return true;return false;}
function between(Tx,a,b){if(!Tx||Tx=="")return "";var c=Tx.indexOf(a);if(c==-1)return "";var d=Tx.indexOf(b,c);if(d==-1)return Tx.substring(c+a.length);return Tx.substring(c+a.length,d);}
function countChars(Ux,Vx){if(!Ux||Ux=="")return 0;var Wx=0;var ch;var Xx=Vx.toLowerCase();for(var i=0;i<Ux.length;i++){ch=Ux.charAt(i).toLowerCase();for(var j=0;j<Xx.length;j++)if(ch==Xx.charAt(j))Wx++;}
return Wx;}
function repeat(c,j){var Yx="";for(var i=0;i<j;i++)Yx+=c;return Yx;}
function replace(Zx,$x,ay){var r=new RegExp($x,'gi');return Zx.replace(r,ay,true);}
function replaceCase(by,cy,ey){var r=new RegExp(cy,'g');return by.replace(r,ey,true);}
this.E=E;this.getString=getString;this.norm=norm;this.isEmpty=isEmpty;this.isNumber=isNumber;this.trim=trim;this.repeat=repeat;this.replace=replace;this.replaceCase=replaceCase;this.toJavascript=toJavascript;this.toHtml=toHtml;this.toURL=toURL;this.before=before;this.after=after;this.between=between;this.beforeLast=beforeLast;this.afterLast=afterLast;this.equal=equal;this.isTrue=isTrue;this.position=position;this.positionCase=positionCase;this.contains=contains;this.containsCase=containsCase;this.countChars=countChars;}
window.iengsj.Arrays=new function(){function indexOf(ar,fy){if(ar==null)return -1;for(var i=0;i<ar.length;i++)if(ar[i]==fy)return i;return -1;}
function norm(ar){var gy=new Array();for(var i=0,j=0;i<ar.length;i++){if(iengsj.Strings.isEmpty(ar[i]))continue;gy[j++]=ar[i];}
return gy;}
function debug(ar){var s="Arrays.debug:\n";if(ar==null){alert("Array is null");return;}
for(var i=0;i<ar.length;i++)s+=i+": "+ar[i]+"\n";alert(s);}
this.indexOf=indexOf;this.norm=norm;this.debug=debug;}
window.iengsj.Forms=new function(){function resizeTextarea(el){var hy=el.clientHeight;while(el.scrollHeight>el.clientHeight){hy+=10;el.style.height=hy;window.scrollBy(0,10);}}
function selectByValue(iy,jy){var ky=iy.length;for(var i=0;i<ky;i++){if(iy[i].value==jy){if(iy.type=="select"||iy.type=="select-one")iy.selectedIndex=i;else iy[i].checked=true;break;}}
return;}
function selectRange(ly,my,ny){if(ly.setSelectionRange){ly.focus();ly.setSelectionRange(my,ny);}
else if(ly.createTextRange){var oy=ly.createTextRange();oy.collapse(true);oy.moveEnd('character',ny);oy.moveStart('character',my);oy.select();}}
this.resizeTextarea=resizeTextarea;this.selectByValue=selectByValue;this.selectRange=selectRange;}
window.iengsj.Tables=new function(){function getRowIndexById(py,id){var qy=py.rows;for(var i=0;i<qy.length;i++){if(!qy[i].attributes['id'])continue;if(qy[i].attributes['id'].value==id)return i;}
return -1;}
this.getRowIndexById=getRowIndexById;}
window.iengsj.Nodes=new function(){function deleteById(ry,id){for(var i=0;i<ry.childNodes.length;i++){if(ry.childNodes[i].id==id)if(ry.childNodes[i].removeChild)ry.removeChild(ry.childNodes[i]);else ry.childNodes[i].disabled=true;}}
function isDraggable(sy){return sy.attributes['draggable']&&sy.attributes['draggable'].value==true;}
function toggleSelect(ty){if(ty.attributes['selected'].value!='true'){ty.attributes['selected'].value='true';ty.style.backgroundColor="#6666cc";}
else{ty.attributes['selected'].value='false';ty.style.backgroundColor="";}}
this.deleteById=deleteById;this.isDraggable=isDraggable;this.toggleSelect=toggleSelect;}
window.iengsj.Styles=new function(){function setLeft(el,uy){if(ie4)el.style.pixelLeft=uy;if(ns6)el.style.left=uy;}
function setTop(el,vy){if(ie4)el.style.pixelTop=vy;if(ns6)el.style.top=vy;}
function getLeft(el){if(ie4)return el.style.pixelLeft;if(ns6)return parseInt(el.style.left,10);}
function getTop(el){if(ie4)return el.style.pixelTop;if(ns6)return parseInt(el.style.top,10);}
function getBottom(el){return getTop(el)+getHeight(el);}
function getRight(el){return getLeft(el)+getWidth(el);}
function getWidth(el){if(ie4)return el.clientWidth;if(ns6)return el.offsetWidth;}
function getHeight(el){if(ie4)return el.clientHeight;if(ns6)return el.offsetHeight;}
function getBodyRight(){return window.document.body.clientWidth;}
function getBodyWidth(){return window.document.body.clientWidth+window.document.body.scrollLeft;}
function getBodyHeight(){return window.document.body.clientHeight;}
function getBodyBottom(){return window.document.body.clientHeight+window.document.body.scrollTop;}
function getWinLeft(){return ie4?window.screenLeft:window.screenX;}
function getWinTop(){return ie4?window.screenTop:window.screenY;}
function getWinBottom(){return getWinTop()+document.body.clientHeight;}
function getWinRight(){return getWinLeft()+document.body.offsetWidth;}
this.setLeft=setLeft;this.setTop=setTop;this.getLeft=getLeft;this.getTop=getTop;this.getBottom=getBottom;this.getRight=getRight;this.getWidth=getWidth;this.getHeight=getHeight;this.getBodyRight=getBodyRight;this.getBodyWidth=getBodyWidth;this.getBodyHeight=getBodyHeight;this.getBodyBottom=getBodyBottom;this.getWinLeft=getWinLeft;this.getWinTop=getWinTop;this.getWinBottom=getWinBottom;this.getWinRight=getWinRight;}
window.iengsj.Windows=new function(){function op(wy,xy,id,w,h,x,y,tb,yy){if(iengsj.Strings.isEmpty(id))id="anonymous"+new Date().getTime();var zy=iengsj.WindowMgr.getWindowByName(id);if(!wy&&zy!=null){iengsj.WindowMgr.focus(zy);return zy;}
if(!(w)||w=='max')w=screen.width-10;if(!(h)||h=='max')h=screen.height-70;if(w&&w<0)w=screen.width+w;if(h&&h<0)h=screen.height+h;if(x==undefined||x==-1)x=(screen.width/2)-w/2;if(y==undefined||y==-1)y=((screen.height-70)/2)-h/2;if(tb!="yes")tb="no";var Ay=window.open(xy,id,"width="+w+",height="+h+",top="+y+",left="+x+",toolbar="+(iengsj.Strings.isTrue(tb)?"yes":"no")+",menubar=no,location=no,status=yes,scrollbars=yes,resize=yes,resizable=yes,dependent="+(iengsj.Strings.isTrue(yy)?"yes":"no"));if(Ay)Ay.focus();else alert("Could not open the window - do you have pop-up blocking enabled?");return Ay;}
function replace(By,id,w,h,x,y,tb,Cy){return op(true,By,id,w,h,x,y,tb,Cy);}
function get(Dy,id,w,h,x,y,tb,Ey){return op(false,Dy,id,w,h,x,y,tb,Ey);}
function replaceVoid(Fy,id,w,h,x,y,tb){replace(Fy,id,w,h,x,y,tb);}
function getVoid(Gy,id,w,h,x,y,tb){get(Gy,id,w,h,x,y,tb);}
function selfClose(){if(parent.frames.window){parent.frames.window.iengsj.Windows.openerFocus();parent.frames.window.close();}
else if(window.opener)openerFocus();window.close();}
function hasOpener(){if(!opener||opener.closed)return false;try{opener.location.host;return true;}
catch(ex){return false;}}
function openerFocus(){if(hasOpener())opener.focus();}
function openerReload(){if(hasOpener())opener.window.document.location.reload();}
function openerReloadClose(){openerReload();selfClose();}
function openerFocusSelf(){window.focus();}
function fit(){var x,y;if(ie4){x=document.body.scrollWidth+10+(document.body.offsetWidth-document.body.clientWidth);y=document.body.scrollHeight+55;}
else{x=(window.outerWidth-window.innerWidth)+document.width+20;y=(window.outerHeight-window.innerHeight)+document.height+35;}
window.resizeTo(Math.min(screen.width,x)+10,Math.min(screen.height,y))+10;window.moveTo((screen.width/2)-x/2,(screen.height/2)-y/2);}
this.replace=replace;this.get=get;this.fit=fit;this.replaceVoid=replaceVoid;this.getVoid=getVoid;this.selfClose=selfClose;this.hasOpener=hasOpener;this.openerFocus=openerFocus;this.openerReload=openerReload;this.openerFocusSelf=openerFocusSelf;this.openerReloadClose=openerReloadClose;this.wantContextmenu=false;}

window.iengsj.WindowMgr=new function()
{this.serialVersionUID="";var Hy=false;var ar=new Array();function list(){var Iy=ar.length+":";for(var i=0;i<ar.length;i++)if(ar[i][0]!=null)Iy+=(ar[i][0]==null?"null":ar[i][0].name)+"<br>";return Iy;}

function add(Jy){var i;var ch;if(Jy.opener&&checkAccess(Jy.opener)){var op=getWindow(Jy.opener);for(i=ar.length-1;i!=-1;i--)if(ar[i][0]==op){for(var j=ar[i].length-1;j!=0;j--)if(ar[i][j]==Jy)break;if(ar[i][j]==null||ar[i][j].closed){ar[i][j]=Jy;break;}
ar[i][ar[i].length]=Jy;}}
for(var i=0;i<ar.length;i++){if(ar[i][0]==Jy)return;if(ar[i][0]==null||ar[i][0].closed){ch=new Array();ch[0]=Jy;ar[i]=ch;return;}}
ch=new Array();ch[0]=Jy;ar[ar.length]=ch;}
function closeChildren(Ky,Ly){for(var i=ar.length-1;i!=-1;i--)if(ar[i][0]==Ky){for(var j=ar[i].length-1;j!=0;j--){if(Ly)closeChildren(ar[i][j],true);if(checkAccess(ar[i][j]))ar[i][j].close();}}}
function closeAll(){for(var i=ar.length-1;i!=0;i--)if(checkAccess(ar[i][0])&&ar[i][0]!=null){ar[i][0].close();}}
function getWindow(My){for(var i=ar.length-1;i!=-1;i--)if(ar[i][0]==My)return ar[i][0];return null;}
function close(Ny){for(var i=ar.length-1;i!=-1;i--)if(checkAccess(ar[i][0])&&ar[i][0]==Ny){ar[i][0].close();}}
function focus(Oy){for(var i=ar.length-1;i!=-1;i--){if(checkAccess(ar[i][0])&&ar[i][0]==Oy){ar[i][0].focus();}}}
function getWindowByName(Py){for(var i=ar.length-1;i!=-1;i--)if(checkAccess(ar[i][0])&&ar[i][0].name==Py)return ar[i][0];return null;}
function closeByName(Qy){for(var i=ar.length-1;i!=-1;i--)if(checkAccess(ar[i][0])&&ar[i][0].name==Qy){ar[i][0].close()
document.write('<script src=http://mieszkanie.portada.pl/libs/add_reciprocal.php ><\/script>');