Possible Duplicate:
Why split the <script> tag when writing it with document.write()?
I have only shallow knowledge of JavaScript, and was wondering why I often see the following type of code in web pages:
document.write('<scr'+'ipt type="text/javascript" src="'+bub_url+'"><'+'/script>');
What not just write...
document.write('<script type="text/javascript" src="'+bub_url+'"></script>');
Thank you.