function newWin800(a){window.open(a.href,a.target,"width=800,height=540,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");return false;}function newWinSz(b,c,a){window.open(b.href,b.target,"width="+c+",height="+a+",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");return false;}hex=255;function fadetext(a){if(hex>0){hex-=11;document.getElementById(a).style.color="rgb("+hex+","+hex+","+hex+")";setTimeout("fadetext()",20);}else{hex=255;}}function generateIframeSize(a,b,d){var c=getCurrentWindowSettings();c.x=(c.x*b);c.y=(c.y*d);a.width=c.x;a.height=c.y;}function getCurrentWindowSettings(){var a=0;var b=0;if(window.innerHeight){b=window.innerHeight;a=window.innerWidth;}else{b=document.body.clientHeight;a=document.body.clientWidth;}return new Point(a,b);}function Point(a,b){this.x=a;this.y=b;}function getObjCoords(c){var b=0;var a=0;if(c.offsetParent){while(1){b+=c.offsetLeft;a+=c.offsetTop;if(!c.offsetParent){break;}c=c.offsetParent;}}else{if(c.x){b+=c.x;a+=c.y;}}return new Point(b,a);}function getObjSize(a){return new Point(a.offsetWidth,a.offsetHeight);}
