грубо говоря имею код
*****************************************************************************************************************
<TABLE cellspacing=" 0" ;="" style="width: 100%;=" "="" border-top-width:="" medium;="" border-left-width:="" medium;="" border-right-width:="" medium;="" border-bottom-width:="" medium;="" border-top-style:="" none;="" border-left-style:="" none;="" border-right-style:="" none;="" border-bottom-style:="" none;="" border-top-color:="" #000000;="" border-left-color:="" #000000;="" border-right-color:="" #000000;="" border-bottom-color:="" #000000"="" width="" align="" cellpadding="0"><TBODY><TR><TD style='letter-spacing: 0px; word-spacing: 0px; background-attachment: scroll; background-position: 0% 0%; background-color: transparent; border-top-color: #000000; border-left-color: #000000; border-right-color: #000000; border-bottom-color: #000000; border-top-width: medium; border-left-width: medium; border-right-width: medium; border-bottom-width: medium; border-top-style: none; border-left-style: none; border-right-style: none; border-bottom-style: none; background-repeat: no-repeat; background-image:
url("http://aniland.3dn.ru/post_oformlenie/lev_ugol.jpg");
height: 42px; width: 200px' rowspan="1" colspan="2"><SPAN style='font-family: "Arial Black"'><SPAN style='font-family: "Courier New"'>
</SPAN></SPAN><SPAN style='font-family: "Arial Black"'><SPAN style='font-family: "Courier New"'><SPAN style="font-size: 14pt"><SPAN style="color: #a9a9a9">
<i>
*****************************************************************************************************************
#0002
*****************************************************************************************************************
</i>
</SPAN></SPAN></SPAN></SPAN><SPAN style='font-family: "Arial Black"'><SPAN style='font-family: "Courier New"'>
</SPAN></SPAN></TD><TD style='background-attachment: scroll; background-color: transparent; background-image: url("http://aniland.3dn.ru/post_oformlenie/backgroung_01.jpg"); letter-spacing: 0px; word-spacing: 0px; border-top-color: #000000; border-left-color: #000000; border-right-color: #000000; border-bottom-color: #000000; border-top-width: medium; border-left-width: medium; border-right-width: medium; border-bottom-width: medium; border-top-style: none; border-left-style: none; border-right-style: none; border-bottom-style: none; height: 42px; background-repeat: repeat-x; background-position: 0% 0%; width: 90%'><SPAN style="font-family: Georgia"><SPAN style="font-size: 8pt"><SPAN style="font-size: 10pt"><SPAN style="color: #dcdcdc"><SPAN style="font-family: Verdana"><SPAN style="font-size: 14pt"><SPAN style="font-family: Symbol">
*****************************************************************************************************************
Название поста
*****************************************************************************************************************
</SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN><BR></TD><TD style='background-attachment: scroll; background-color: transparent; letter-spacing: 0px; word-spacing: 0px; background-position: 100% 0%; border-top-color: #000000; border-left-color: #000000; border-right-color: #000000; border-bottom-color: #000000; border-top-width: medium; border-left-width: medium; border-right-width: medium; border-bottom-width: medium; border-top-style: none; border-left-style: none; border-right-style: none; border-bottom-style: none; background-repeat: no-repeat; background-image: url("http://aniland.3dn.ru/post_oformlenie/prav_ugol.jpg"); width: 15px; height: 42px' rowspan="1"><IMG src="/post_oformlenie/prav_ugol.jpg"></TD></TR><TR><TD style="letter-spacing: 0px; word-spacing: 0px; background-attachment: scroll; background-position: 0% 0%; background-color: transparent; border-top-color: #000000; border-left-color: #000000; border-right-color: #000000; border-bottom-color: #000000; border-top-width: medium; border-left-width: medium; border-right-width: medium; border-bottom-width: medium; border-top-style: none; border-left-style: none; border-right-style: none; border-bottom-style: none; height: 10px; background-repeat: repeat; background-image: none" colspan="2"></TD><TD style="background-attachment: scroll; background-color: transparent; letter-spacing: 0px; word-spacing: 0px; border-top-color: #000000; border-left-color: #000000; border-right-color: #000000; border-bottom-color: #000000; border-top-width: medium; border-left-width: medium; border-right-width: medium; border-bottom-width: medium; border-top-style: none; border-left-style: none; border-right-style: none; border-bottom-style: none; background-position: 0% 0%; height: 10px; background-repeat: repeat; background-image: none" colspan="1"></TD><TD style="background-attachment: scroll; background-color: transparent; letter-spacing: 0px; word-spacing: 0px; border-top-color: #000000; border-left-color: #000000; border-right-color: #000000; border-bottom-color: #000000; border-top-width: medium; border-left-width: medium; border-right-width: medium; border-bottom-width: medium; border-top-style: none; border-left-style: none; border-right-style: none; border-bottom-style: none; height: 10px; background-repeat: repeat; background-position: 0% 0%; background-image: none" colspan="1"></TD></TR><TR><TD style="letter-spacing: 0px; word-spacing: 0px; border-top-color: #000000; border-left-color: #000000; border-right-color: #000000; border-bottom-color: #000000; border-top-width: medium; border-left-width: medium; border-right-width: medium; border-bottom-width: medium; border-top-style: none; border-left-style: none; border-right-style: none; border-bottom-style: none" rowspan="2" colspan="2" align="left">
*****************************************************************************************************************
<IMG src="test.jpg" style="margin-left: 0px; margin-right: 0px; margin-top: 0px; margin-bottom: 0px" alt="null" align="" width="null" height="null" border="0">
*****************************************************************************************************************
</TD><TD style="border-top-color: #000000; border-left-color: #000000; border-right-color: #000000; border-bottom-color: #000000; border-top-width: medium; border-left-width: medium; border-right-width: medium; border-bottom-width: medium; border-top-style: none; border-left-style: none; border-right-style: none; border-bottom-style: none" colspan="2"><P></P><P><SPAN style='font-family: "Trebuchet MS"'><SPAN style="font-size: 12pt"><SPAN style="font-size: 14pt">
*****************************************************************************************************************
Описание о_О
*****************************************************************************************************************
</SPAN></SPAN></SPAN></P></TD></TR><TR><TD style="border-top-color: #000000; border-left-color: #000000; border-right-color: #000000; border-bottom-color: #000000; border-top-width: medium; border-left-width: medium; border-right-width: medium; border-bottom-width: medium; border-top-style: none; border-left-style: none; border-right-style: none; border-bottom-style: none"></TD></TR><TR><TD style="border-top-color: #000000; border-left-color: #000000; border-right-color: #000000; border-bottom-color: #000000; border-top-width: medium; border-left-width: medium; border-right-width: medium; border-bottom-width: medium; border-top-style: none; border-left-style: none; border-right-style: none; border-bottom-style: none; word-spacing: 0px; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; background-image: none; font-style: normal; font-weight: 400; text-decoration: none; color: #000000; background-color: #000000; letter-spacing: 0px; vertical-align: middle; text-align: center" rowspan="1" colspan="2"><SPAN style="font-family: Verdana"><SPAN style="color: #ffffff"><SPAN style="font-size: 14pt"><FONT face="Times New Roman"><FONT color="#a9a9a9">
*****************************************************************************************************************
Размер: 2.2 Mb
*****************************************************************************************************************
</FONT></FONT></SPAN></SPAN></SPAN></TD><TD style="border-top-color: #000000; border-left-color: #000000; border-right-color: #000000; border-bottom-color: #000000; border-top-width: medium; border-left-width: medium; border-right-width: medium; border-bottom-width: medium; border-top-style: none; border-left-style: none; border-right-style: none; border-bottom-style: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; background-image: none; font-style: normal; font-weight: 400; text-decoration: none; color: #000000; word-spacing: 0px; background-color: #000000; letter-spacing: 0px" rowspan="1">
*****************************************************************************************************************
</TD></TR></TBODY></TABLE>
код который находится между
****************************************
код
****************************************
он будет постояно повторяться.
Это код поста в нем ток меняется название, номер поста, описание и картинка описания. Остальное грубо говоря повторяется, а много кода эт плохо во первых на укозе ограничение 6 000 символов а во вторых это же лишний трафик.
Так вот я хотел загнать этот код в функцию в ява скрипте и потом просто вызывать но проблема в том что ява не воспринимает html код