function openFile(file_id, auth_type, auth_user_id, posting_id, studyguide_id, auth_string, sgr_id){
	openWin('/resources/openfile.php?file_id='+file_id+'&auth_type='+auth_type+'&auth_user_id='+auth_user_id+'&posting_id='+posting_id+'&studyguide_id='+studyguide_id+'&auth_string='+auth_string+'&sgr_id='+(sgr_id!=null?sgr_id:0),'openfile',450,270,'yes');
}

function delFile(file_id, auth_type, auth_user_id, posting_id, auth_string){
	openWin('/resources/delfile.php?file_id='+file_id+'&auth_type='+auth_type+'&auth_user_id='+auth_user_id+'&posting_id='+posting_id+'&auth_string='+auth_string,'delfile',400,150,'yes');
}