function goSearch(){ o = document.fmSearch; if(o.criteria.value!=''){ o.submit(); } } function goFrameBuster(){ thisURL = window.location; if(parent.location != thisURL){ parent.location = thisURL; } } function centerWindow(width,height) { features = ""; if(window.screen) { availHt = screen.availHeight; availWd = screen.availWidth; xCoord = (availWd - width)/2; yCoord = (availHt - height)/2; features += 'left=' + xCoord + ","; features += 'top=' + yCoord + ","; } return features; } function popOpen(URL, pTitle, pHeight, pWidth, pScroll){ features = centerWindow(pWidth,pHeight); features +="toolbar=no,location=no,directories=no,status=no,menubar=no"; features += ",height=" + pHeight; features += ",width=" + pWidth; features += ",scrollbars=" + pScroll; features += ",resizable=" + pScroll; window.open(URL,"",features); } function popBlank(URL){ if(window.screen){ pHeight = screen.availHeight - 100; pWidth = screen.availWidth - 100; } else{ pWidth = 700; pHeight = 500; } features = centerWindow(pWidth,pHeight); features +="toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,resizable=yes"; features += ",height=" + pHeight; features += ",width=" + pWidth; features += ",scrollbars=yes"; window.open(URL,"",features); } function MM_findObj(n, d) { //v3.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&id.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&ia.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} }