// JavaScript Document

function disp_text(file_choice) {


//        var a = document.list1.Duplexing.selectedIndex;
        var b = document.list2.Bandwidth.selectedIndex;
        var c = document.list3.Tx_Antenna_Ports.selectedIndex;
        var d = document.list4.Control_Region_CFI.selectedIndex;
        var e = document.list5.Cell_ID.selectedIndex;
        var f = document.list6.Cyclic_Prefix_Mode.selectedIndex;

//        var Choice1 = document.list1.Duplexing.options[a].text;
        var Choice2 = document.list2.Bandwidth.options[b].value;
        var Choice3 = document.list3.Tx_Antenna_Ports.options[c].text;
        var Choice4 = document.list4.Control_Region_CFI.options[d].text;
        var Choice5 = document.list5.Cell_ID.options[e].text;
        var Choice6 = document.list6.Cyclic_Prefix_Mode.options[f].text;

        if (file_choice == "png") {
            var png1 = ("http://download.ltesuite.com/pics/LteGrid_PNG_Small/FDD_" + Choice2 + "RB_" + Choice3 + "ant_" + Choice4 + "CFI_" + Choice5 + "cID_" + Choice6 + ".png");
            return png1;
        }

        else if (file_choice == "pdf") {
        var pdf1 = ("http://download.ltesuite.com/pics/LteGrid_PDF/FDD_" + Choice2 + "RB_" + Choice3 + "ant_" + Choice4 + "CFI_" + Choice5 + "cID_" + Choice6 + ".pdf&xls=http://download.ltesuite.com/pics/LteGrid_XLS/FDD_" + Choice2 + "RB_" + Choice3 + "ant_" + Choice4 + "CFI_" + Choice5 + "cID_" + Choice6 + ".xls");
            return pdf1;
        }
        else if (file_choice == "xls") {
        var xls1 = ("http://download.ltesuite.com/pics/LteGrid_XLS/FDD_" + Choice2 + "RB_" + Choice3 + "ant_" + Choice4 + "CFI_" + Choice5 + "cID_" + Choice6 + ".xls");
            return xls1;
        }


    }
	
 function loadIframe(iframeName, url) {
        if (window.frames[iframeName]) {
            window.frames[iframeName].location = url;
            return false;
        }
        return true;
    }		
