function printForm(RECID, sREP_ID) {
var selectedList = $('#selectedList').val();
if (selectedList > '') {
var param = {
id: '#SID#',
SCCSTMP: '#SCurrent_SCC_STMP#',
t: (new Date()).getTime(),
SelectRECID: RECID,
SelectREPID: sREP_ID,
PrintAction: 'PrintSelected'
}
window.open("../../dynamicpdf.max?" + $.param(param));
} else {
alert('Please select forms to print.');
}
}