function isEven(a){return(a%2)?false:true;}function trim(a){return a.replace(/^\s+|\s+$/g,"");}function ltrim(a){return a.replace(/^\s+/,"");}function rtrim(a){return a.replace(/\s+$/,"");}var hTime;function setDimIframeRefresh(){var a=window.parent.document.getElementById("remifm");a.src=a.src+"&random="+Math.random();
}function confirmBox(){var a=window.parent.document.getElementById("formcontents");a.style.visibility="visible";window.clearTimeout(hTime);}function show1(e,d){var c=window.parent.document.getElementById("remifm");c.src=c.src+"&random="+Math.random();c.width=e;c.height=d;var b=window.parent.document.getElementById("remdimpg");
b.style.display="block";var a=window.parent.document.getElementById("formcontents");a.style.visibility="visible";}function hide1(){var c=window.parent.document.getElementById("remifm");c.src="/page/views/billeo/common/default.jsp";var b=window.parent.document.getElementById("remdimpg");b.style.display="none";
var a=window.parent.document.getElementById("formcontents");a.style.visibility="hidden";hideCombo();}function hideCombo(){if(window.navigator.appVersion.indexOf("IE 6.0")!=-1){divID=window.parent.document.getElementById("combohide");if(divID!=null){divID.style.visibility="hidden";}divID2=window.parent.document.getElementById("viewhide");
if(divID2!=null){divID2.style.visibility="hidden";}}}function hideForwardForm(){var c=window.parent.document.getElementById("remifm");c.src="/page/views/default.jsp";var b=window.parent.document.getElementById("remdimpg");b.style.display="none";var a=window.parent.document.getElementById("formcontents");
a.style.visibility="hidden";hideCombo();}function feedbackPop(actionPath,ifmWidth,ifmHeight){var remifm=window.parent.document.getElementById("remifm");remifm.src=actionPath;remifm.width=ifmWidth;remifm.height=ifmHeight;var remdimpg=window.parent.document.getElementById("remdimpg");remdimpg.style.display="block";
if(window.navigator.appVersion.indexOf("IE 6.0")!=-1){var a=eval(screen.availHeight-37)+"px";remdimpg.style.height=a;}var formcontents=window.parent.document.getElementById("formcontents");formcontents.style.visibility="visible";if(window.navigator.appVersion.indexOf("IE 6.0")!=-1){feedbackdivID=window.parent.frames["ifm"].document.getElementById("combohide");
if(feedbackdivID!=null){feedbackdivID.style.visibility="visible";}feedbackdivID1=window.parent.frames["ifm"].document.getElementById("viewhide");if(feedbackdivID1!=null){feedbackdivID1.style.visibility="visible";}}}function showWithURL(actionPath,ifmWidth,ifmHeight){var iebody=(document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body;
var remifm=window.parent.document.getElementById("remifm");remifm.style.position="absolute";var xPosition=(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)-ifmWidth;var yPosition=document.all?iebody.scrollTop:pageYOffset;remifm.style.left=xPosition/2+"px";remifm.style.top=yPosition+20+"px";
remifm.src=actionPath;remifm.width=ifmWidth;remifm.height=ifmHeight;var remdimpg=window.parent.document.getElementById("remdimpg");remdimpg.style.display="block";if(window.navigator.appVersion.indexOf("IE 6.0")!=-1){var a=eval(screen.availHeight-37)+"px";remdimpg.style.height=a;}var formcontents=window.parent.document.getElementById("formcontents");
formcontents.style.visibility="visible";change();}function change(){if(window.navigator.appVersion.indexOf("IE 6.0")!=-1){divID=document.getElementById("combohide");if(divID!=null){divID.style.display="block";}divID1=document.getElementById("viewhide");if(divID1!=null){divID1.style.display="block";}}}function hid(){var g=window.parent.document.getElementById("remifm");
g.src="/page/views/billeo/common/default.jsp";var f=window.parent.document.getElementById("remdimpg");f.style.display="none";var b=window.parent.document.getElementById("formcontents");b.style.visibility="hidden";var c=window.parent.frames[1].document.getElementById("pagenavcombo");try{var a=window.parent.document.getElementById("combohide");
if(a!=null){a.style.display="none";}var d=window.parent.document.getElementById("viewhide");if(d!=null){d.style.display="none";}if(window.navigator.appVersion.indexOf("IE 6.0")!=-1&&c){c.style.display="none";}}catch(h){}}function hide_combo(){if(window.navigator.appVersion.indexOf("IE 6.0")!=-1){var a=document.getElementById("combohide");
if(a!=null){a.style.display="block";}}}function show_combo(){if(window.navigator.appVersion.indexOf("IE 6.0")!=-1){var a=document.getElementById("combohide");if(a!=null){a.style.display="none";}}}function replaceAll(b,d,a){var c=b.indexOf(d);while(c!=-1){b=b.replace(d,a);c=b.indexOf(d);}return(b);}function show_msgbox(){if(document.getElementById("msgbox").style.display=="none"){document.getElementById("msgbox").style.display="inline";
}else{document.getElementById("msgbox").style.display="none";}}function onLoad(a){if(a!=null&&a!="10"){if(a=="20"){this.document.forms[0].paginationFilter.selectedIndex=1;}else{if(a=="50"){this.document.forms[0].paginationFilter.selectedIndex=2;}else{if(a=="100"){this.document.forms[0].paginationFilter.selectedIndex=3;
}}}}}function showRecords(){var a=document.getElementById("tblremindtable");var b=document.body.id;if(a.rows.length<=12){var c=515;}else{var c=515;var c=c+(parseInt(a.rows.length)-12)*24;}window.parent.document.getElementById("tdHeight").height=c;window.parent.document.getElementById("ifm").height=c-5;
}