function replaceAll(str,from,to){var idx=str.indexOf(from);while(idx>-1){str=str.replace(from,to);idx=str.indexOf(from);}return str}function openWin(windowURL,windowName,winW,winH,windowFeatures,winT){var newWindow=null;w=screen.width;h=screen.height;if(winT==-1)newWindow=open(windowURL,windowName,'width='+winW+',height='+winH+','+windowFeatures+',left='+(w-winW)/2+',top='+(h-winH-40)/2);else newWindow=open(windowURL,windowName,'width='+winW+',height='+winH+','+windowFeatures+',left='+(w-winW)/2+',top='+winT);}function popWindow2(theLink){var initialX=150;var initialY=50;if(navigator.appName=="Netscape"){theWindow=open(theLink,"Lookup","width=656,height=373,"+"screenX="+initialX+",screenY="+initialY+",scrollbars=yes,resizable=no;toolbar=yes;menubar=yes");theLink.focus();}else{theWindow=open(theLink,"Lookup","width=656,height=373"+",left="+initialX+",top="+initialY+",scrollbars=yes,resizable=no,toolbar=yes,menubar=yes");}theWindow.opener=self}function enlargeImg(theLink){var initialX=250;var initialY=100;if(navigator.appName=="Netscape"){theWindow=open(theLink,"Lookup","width=400,height=585,"+"screenX="+initialX+",screenY="+initialY+",scrollbars=yes,resizable=no;toolbar=yes;menubar=yes");theLink.focus();}else{theWindow=open(theLink,"Lookup","width=440,height=600"+",left="+initialX+",top="+initialY+",scrollbars=yes,resizable=no,toolbar=yes,menubar=yes");}theWindow.opener=self}function openRegistration(windowURL,windowName,winW,winH,windowFeatures,winT){var tourWindow=null;var l=parseInt((screen.availWidth/2)-(winW/2));var t=parseInt((screen.availHeight/2)-(winH/2));if(winT==-1)tourWindow=open(windowURL,windowName,'width='+winW+',height='+winH+','+windowFeatures+',left='+l+',top='+t);else tourWindow=open(windowURL,windowName,'width='+w+',height='+w+','+windowFeatures+',left=0'+',top=0');}