/* * Name: * tran_frame.js * * Description: * Javascript functions needed to use the tran frame * * Pre-conditions: * None * * Post-conditions: * The following functions are created: * * Log: * Shaunak Kashyap 11/13/2005 * - Creation * * * * * Name: * callTran * * Description: * Executes a script in the tran frame * * Pre-conditions: * scriptUrl REQUIRED Url of script * scriptQueryString OPTIONAL Query string to pass to script * * Post-conditions: * The script is loaded * * Log: * Shaunak Kashyap 11/13/2005 * - Creation * Atif Malik 12/23/2006 * - Changed by Atif Malik to allow click with iframes */ function callTran(scriptUrl, scriptQueryString) { // // Load url in tran frame // //window.top.tranFrame.location = "/tran_frame/" + scriptUrl + "?" + scriptQueryString; document.getElementById("tranFrame").src = "/tran_frame/" + scriptUrl + "?" + scriptQueryString; } // END function - callTran