var zxcBlankImg="images/space.gif";var zxcOOPCnt=0;function zxcZoomText(zxcobj,zxcssz,zxcfsz,zxcspd){if(typeof(zxcobj)=="string"){zxcobj=document.getElementById(obj);}if(!zxcobj.oopct){zxcspd=zxcspd||100;if(zxcBlankImg){zxcobj.style.backgroundImage="url("+zxcBlankImg+")";}zxcobj.oopct=new zxcOOPTxtZoom(zxcobj,zxcssz,zxcfsz,zxcspd);}clearTimeout(zxcobj.oopct.to);zxcobj.oopct.minmax[4]*=-1;zxcobj.oopct.cngtxt();}function zxcOOPTxtZoom(zxcobj,zxcssz,zxcfsz,zxcspd){this.obj=zxcobj;if(zxcobj.style.position){if(zxcobj.style.position="absolute"){this.abs=[zxcobj.offsetLeft,zxcobj.offsetWidth];}}this.ref="zxcoopct"+zxcOOPCnt++;window[this.ref]=this;this.minmax=[zxcssz,Math.min(zxcssz,zxcfsz),Math.max(zxcssz,zxcfsz),zxcspd,(zxcssz<zxcfsz)?-1:1];this.to=null;}zxcOOPTxtZoom.prototype.cngtxt=function(){if((this.minmax[4]>0&&this.minmax[0]<this.minmax[2])||(this.minmax[4]<0&&this.minmax[0]>this.minmax[1])){this.obj.style.fontSize=(this.minmax[0]+=this.minmax[4])+"px";if(this.abs){this.obj.parentNode.style.width=(this.obj.offsetWidth+parseInt(this.obj.style.fontSize))+"px";this.obj.parentNode.style.left=(parseInt(this.obj.style.fontSize)/2)+"px";}this.to=this.setTimeOut("cngtxt();",this.minmax[3]);}};zxcOOPTxtZoom.prototype.setTimeOut=function(zxcf,zxcd){this.to=setTimeout("window."+this.ref+"."+zxcf,zxcd);};function open_this(){window.open("http://www.emedoutlet.com/abt_gen.php","","width=620,height=650,scrollbars=yes,top=100,left=200,statusbar=0,toolbars=0,resizable=yes");}function open_chart(){window.open("weight-chart.php","popup","width=620 height=550 scrollbars=yes statusbar=0 toolbars=0 resizable=yes");}function Open_FlashVideo(){var strWidth=screen.width;var strHeight=screen.height;window.open("http://www.emedoutlet.com/emedvideo.html","MyWindow","menubar=0,resizable=1,scrollbars=1,location=0,width=1000,height=700px");}function clearDefault(el){if(el.defaultValue==el.value){el.value="";}}function fillDefault(el){if(el.value==""){el.value=el.defaultValue;}}function x_validate_form(){d=document.form1;if((d.username.value=="")||(d.username.value=="Username")){alert("Please Enter Username");d.username.focus();return false;}if((d.password.value=="")||(d.password.value=="Password")){alert("Please Enter Password");d.password.focus();return false;}}
