document.write("<script type="text/javascript"
src="http://forms.aweber.com/form/74/1378551674.js"><\/script>");
Должно быть
document.write('<script type="text/javascript" src="http://forms.aweber.com/form/74/1378551674.js"><\/script>');
Во-первых, нельзя заключать в двойные кавычки двойные кавычки:
// see how the syntax highlighting gets screwy here? that's clue #1
var str = "he said "hello""; // bad
var str = 'he said 'hello''; // bad
// Encapsulate with different quotes
var str = 'he said "hello"'; // good
var str = "he said 'hello'"; // good
// Or escape the quotes
var str = "he said \"hello\""; // good
var str = 'he said \'hello\''; // good
Во-вторых, строки JS не могут иметь разрывы строкв них.Вы должны вручную вставить их, чтобы избежать синтаксических ошибок:
// bad
var str = "a
b";
// good
var str = "a"+
"b";
// good, if you really need a newline character
var str = "a\nb";
var str = "a\n"+
"b";