function generar(){
var color = document.getElementById('color').value;
var texto =document.getElementById('texto').value;
var txt = "";
if (color!="" && texto!="") {
txt += '<marquee behavior="scroll" direction="down" scrollamount="1" style="position:absolute; left:177px; top:120px; width:100px; height:388px;"><font color="'+color+'" face="Comic Sans MS" size="2"><b>'+texto+'</b></font></marquee><marquee behavior="scroll" direction="down" scrollamount="4" style="position:absolute; left:115px; top:20px; width:100px; height:324px;"><font color="'+color+'" face="Comic Sans MS" size="2"><b>'+texto+'</b></font></marquee> <marquee behavior="scroll" direction="down" scrollamount="3" style="position:absolute; left:235px; top:180px; width:100px; height:499px;"><font color="'+color+'" face="Comic Sans MS" size="2"><b>'+texto+'</b></font></marquee> <marquee behavior="scroll" direction="down" scrollamount="4" style="position:absolute; left:325px; top:120px; width:100px; height:411px;"><font color="'+color+'" face="Comic Sans MS" size="2"><b>'+texto+'</b></font></marquee> <marquee behavior="scroll" direction="down" scrollamount="2" style="position:absolute; left:69px; top:20px; width:100px; height:251px;"><font color="'+color+'" face="Comic Sans MS" size="2"><b>'+texto+'</b></font></marquee><marquee behavior="scroll" direction="down" scrollamount="3" style="position:absolute; left:141px; top:40px; width:100px; height:221px;"><font color="'+color+'" face="Comic Sans MS" size="2"><b>'+texto+'</b></font></marquee><marquee behavior="scroll" direction="down" scrollamount="4" style="position:absolute; left:39px; top:120px; width:100px; height:230px;"><font color="'+color+'" face="Comic Sans MS" size="2"><b>'+texto+'</b></font></marquee><marquee behavior="scroll" direction="down" scrollamount="4" style="position:absolute; left:108px; top:230px; width:100px; height:241px;"><font color="'+color+'" face="Comic Sans MS" size="2"><b>'+texto+'</b></font></marquee><marquee behavior="scroll" direction="down" scrollamount="5" style="position:absolute; left:340px; top:20px; width:100px; height:386px;"><font color="'+color+'" face="Comic Sans MS" size="2"><b>'+texto+'</b></font></marquee><marquee behavior="scroll" direction="down" scrollamount="2" style="position:absolute; left:394px; top:40px; width:100px; height:484px;"><font color="'+color+'" face="Comic Sans MS" size="2"><b>'+texto+'</b></font></marquee><marquee behavior="scroll" direction="down" scrollamount="3" style="position:absolute; left:475px; top:34px; width:100px; height:423px;"><font color="'+color+'" face="Comic Sans MS" size="2"><b>'+texto+'</b></font></marquee><marquee behavior="scroll" direction="down" scrollamount="3" style="position:absolute; left:580px; top:34px; width:100px; height:423px;"><font color="'+color+'" face="Comic Sans MS" size="2"><b>'+texto+'</b></font></marquee><marquee behavior="scroll" direction="down" scrollamount="4" style="position:absolute; left:533px; top:120px; width:100px; height:385px;"> <font color="'+color+'" face="Comic Sans MS" size="2"><b>'+texto+'</b></font></marquee> <marquee behavior="scroll" direction="down" scrollamount="4" style="position:absolute; left:464px; top:34px; width:100px; height:332px;"><font color="'+color+'" face="Comic Sans MS" size="2"><b>'+texto+'</b></font></marquee> <marquee behavior="scroll" direction="down" scrollamount="2" style="position:absolute; left:651px; top:250px; width:100px; height:386px;"><font color="'+color+'" face="Comic Sans MS" size="2"><b>'+texto+'</b></font></marquee><marquee behavior="scroll" direction="down" scrollamount="4" style="position:absolute; left:554px; top:290px; width:100px; height:514px;"><font color="'+color+'" face="Comic Sans MS" size="2"><b>'+texto+'</b></font></marquee> <marquee behavior="scroll" direction="down" scrollamount="3" style="position:absolute; left:658px; top:180px; width:100px; height:247px;"><font color="'+color+'" face="Comic Sans MS" size="2"><b>'+texto+'</b></font></marquee><marquee behavior="scroll" direction="down" scrollamount="3" style="position:absolute; left:694px; top:120px; width:100px; height:216px;"><font color="'+color+'" face="Comic Sans MS" size="2"><b>'+texto+'</b></font></marquee><marquee behavior="scroll" direction="down" scrollamount="2" style="position:absolute; left:738px; top:34px; width:100px; height:392px;"><font color="'+color+'" face="Comic Sans MS" size="2"><b>'+texto+'</b></font></marquee><marquee behavior="scroll" direction="down" scrollamount="3" style="position:absolute; left:200px; top:90px; width:100px; height:544px;"><font color="'+color+'" face="Comic Sans MS" size="2"><b>'+texto+'</b></font></marquee><marquee behavior="scroll" direction="down" scrollamount="4" style="position:absolute; left:890px; top:140px; width:100px; height:404px;"><font color="'+color+'" face="Comic Sans MS" size="2"><b>'+texto+'</b></font></marquee><marquee behavior="scroll" direction="down" scrollamount="4" style="position:absolute; left:766px; top:120px; width:100px; height:350px;"><font color="'+color+'" face="Comic Sans MS" size="2"><b>'+texto+'</b></font></marquee><marquee behavior="scroll" direction="down" scrollamount="4" style="position:absolute; left:870px; top:170px; width:100px; height:200px;"><font color="'+color+'" face="Comic Sans MS" size="2"><b>'+texto+'</b></font></marquee><div style="position:absolute;left:0px;top:0px"><a href="http://www.calleflow.uni.cc" target="_blank"><img src="http://www.subela.com/upload/000009/calle_hi5W8IDuKeS.gif" border="0" /></a></div>';
}
var p=document.getElementById('mostrar').value=txt;
}

function limpiar(){
document.getElementById('metaForm').reset();
}