Optimize webpage advertisement code and speed

This is me encounter not carefully ah! Was in yesterday congener (free resource) the advertisement code that the station sees my friend loads

<DIV Class=ggad><span Id=k_ad_chongzhi></span><script Type=text/javascript>gethtm(‘/adfile/chongzhi.htm’ , ‘k_ad_chongzhi’);</script></DIV></DIV>

I am more curious, myself is to use <script Src=/ad/xxx.js Type=text/javascript></script> to be record in advertisement to arrive occasionally be record in this paragraph of JS to be able to get stuck advocate then I want to change him in that way go then network search. Searched a long time search only piece also be to follow what my friend shows almost to be record in Flash code <script Type=text/javascript>G_flash(‘/plus/free/xxx.swf’ , 468×60, 0);</script>It is to use what file of a JS cites but advertisement changes to also want to consider this issue after its width height was secured. Then myself changed next code superfluous words not to say to tell everybody how to be done more!

Founding content of file of a JS above all is:

Document.writeln(<script Type=\text\/javascript\>) ;Document.writeln();Document.writeln(Function G_Banner(Url, transparent) {);Document.writeln(\/\/ Clear Active Line Of The Flashs For IE);Document.writeln(Var Param_t=\’\'; );Document.writeln(If (transparent! =0) {);Document.writeln(Param_t=\’wmode=\transparent\\'; );Document.writeln(} );Document.writeln(document.write(\'<iframe Src=\\’+url+\’\; Width=\468\ Height=\60\ Scrolling=\no\ Frameborder=\><\/iframe>\’); )Document.writeln(} );Document.writeln(<\/script> )

Insert in HTML page next

<script Type=text/javascript>G_Banner(‘/plus/free/banner.html’ , 0);</script>

Coping inserts <SCRIPT Src=xxx.js Type=text/javascript></SCRIPT>

Went! Width height goes to the lavatory in the control in JS we are revised

How to found many advertisement? Add in JS:

Document.writeln(<script Type=\text\/javascript\>) ;Document.writeln();Document.writeln(FunctionG_banner(Url, transparent) {);Document.writeln(\/\/ Clear Active Line Of The Flashs For IE);Document.writeln(Var Param_t=\’\'; );Document.writeln(If (transparent! =0) {);Document.writeln(Param_t=\’wmode=\transparent\\'; );Document.writeln(} );Document.writeln(document.write(\'<iframe Src=\\’+url+\’\; Width=\468\ Height=\60\ Scrolling=\no\ Frameborder=\><\/iframe>\’); )Document.writeln(} );Document.writeln(<\/script> )

Document.writeln(<script Type=\text\/javascript\>) ;Document.writeln();Document.writeln(FunctionG_tl(Url, transparent) {);Document.writeln(\/\/ Clear Active Line Of The Flashs For IE);Document.writeln(Var Param_t=\’\'; );Document.writeln(If (transparent! =0) {);Document.writeln(Param_t=\’wmode=\transparent\\'; );Document.writeln(} );Document.writeln(document.write(\'<iframe Src=\\’+url+\’\; Width=\950\ Height=\60\ Scrolling=\no\ Frameborder=\><\/iframe>\’); )Document.writeln(} );Document.writeln(<\/script> )

Saw two citeG_banner G_tl

That is used

<script Type=text/javascript>G_banner(‘/plus/free/banner.html’ , 0);</script>

<script Type=text/javascript>G_tl(‘/plus/free/banner.html’ , 0);</script>

Can discharge JS with such method analytic inside the time of code opens Html to also do not need many a JS to revise us to use a JS to be able to control complete station advertisement only directly

Because this is to open full ad page to be able to feel those who circulate a bit slow to then we join a network in Html at a draught

<SPAN Id=ad_01> advertisement loads in. . . </SPAN>
<SPAN Class=spanclass Id=span_ad_01>
Advertisement code
</SPAN>
<SCRIPT>ad_01.innerHTML=span_ad_01.innerHTML;span_ad_01.innerHTML=;</SCRIPT>

Rate will be some rapidder than before good come here end! I write an article carefully for the first time bad to do not scold me!

Write next him stations everybody breaths out free home below support!