/*
* Copyright (C) 2012 Doubango Telecom <http://www.doubango.org>
* License: BSD
* This file is part of Open Source sipML5 solution <http://www.sipml5.org>
*/
function tmedia_api_add_js_scripts(s_elt) {
    var tag_hdr = document.getElementsByTagName(s_elt)[0];
    for (var i = 1; i < arguments.length; ++i) {
        var tag_script = document.createElement('script');
        tag_script.setAttribute('type', 'text/javascript');
        tag_script.setAttribute('src', arguments[i] + "?svn=20");
        tag_hdr.appendChild(tag_script);
    }
};

tmedia_api_add_js_scripts('head',
'src/tinyMEDIA/src/tmedia_common.js',
//'src/tinyMEDIA/src/tmedia_defaults.js', #include_in<tmedia_common.js>
'src/tinyMEDIA/src/tmedia_param.js',
'src/tinyMEDIA/src/tmedia_qos.js'
//'src/tinyMEDIA/src/tmedia_session.js', #include_in<tmedia_common.js>
//'src/tinyMEDIA/src/tmedia_session_jsep.js', #include_in<tmedia_session.js>
//'src/tinyMEDIA/src/tmedia_session_roap.js', #include_in<tmedia_session.js>
//'src/tinyMEDIA/src/tmedia_session_ghost.js' #include_in<tmedia_session.js>
// 'src/tinyMEDIA/src/tmedia_webrtc4all.js' // #include_in<tmedia_common.js>
);