';
code += "\n";
//code += '\n';
code += 'Made with the Youtube Embed Generator.';
code += "\n";
var string = '\'block\':\'ytThumbs\',';
string += '\'key\':\'AIzaSyBKuGnuh_5WguW4EJop_MtZxbByuisVJiE\',';
var codeQ = document.getElementById('codeQ').value;
string += '\'q\':\''+codeQ+'\',';
var codeType = document.getElementById('codeType').options[document.getElementById('codeType').selectedIndex].value;
string += '\'type\':\''+codeType+'\',';
var codeResults = document.getElementById('codeResults').options[document.getElementById('codeResults').selectedIndex].value;
string += '\'results\':'+codeResults+',';
//var codeOrder = document.getElementById('codeOrder').options[document.getElementById('codeOrder').selectedIndex].value;
//string += '\'order\':\''+codeOrder+'\',';
var codeMeta = document.getElementById('codeMeta').options[document.getElementById('codeMeta').selectedIndex].value;
string += '\'meta\':'+codeMeta+',';
var codePlayer = document.getElementById('codePlayer').options[document.getElementById('codePlayer').selectedIndex].value;
string += '\'player\':\''+codePlayer+'\',';
var codeLayout = document.getElementById('codeLayout').options[document.getElementById('codeLayout').selectedIndex].value;
string += '\'layout\':\''+codeLayout+'\'';
code += "\n";
code += '';
code += "\n";
code += ' ytEmbed'+nada +'.init({'+string+'});';
code += "\n";
code += '';
document.getElementById('codeResult').value = code;
var execute = {'q': codeQ, 'type': codeType, 'results': codeResults, 'block': 'youtubeDivResults', 'meta': codeMeta, 'player': codePlayer, 'layout': codeLayout};
ytEmbed.init(execute);
}
-->