function openRFSWindow(lovFieldName, listingTypeVal, methodForDefault) { document.forms[0].lovName.value = lovFieldName; document.forms[0].listingType.value = listingTypeVal; document.forms[0].curDir.value = document.getElementById(lovFieldName).value; document.forms[0].defaultMethod.value = methodForDefault; openWindow(window,'/em/console/page/rfs/postBackWithEvent', 'lovWindow', {width:750, height:550}, true, 'dialog', ''); }