Hello i have static huge site and need to implement/put in <head> some code as i have overlib.js in head, i decide to integrate this code in that js script ? code which i must include is <!------ BEGIN OAS SETUP ------> <SCRIPT LANGUAGE=JavaScript><!--//configuration OAS_url = 'http://ads.com/RealMedia/ads/'; OAS_sitepage = window.location.hostname + window.location.pathname; if(OAS_sitepage.substring(0,7) == "http://"){ OAS_sitepage = OAS_sitepage.substring(7); } if(OAS_sitepage.substring(0,4) != "www."){ OAS_sitepage = "www." + OAS_sitepage; } OAS_listpos = 'Right_combo,'; OAS_query = ''; OAS_target = '_top'; //end of configuration OAS_version = 10; OAS_rn = '001234567890'; OAS_rns = '1234567890'; OAS_rn = new String (Math.random()); OAS_rns = OAS_rn.substring (2, 11); function OAS_NORMAL(pos) { document.write('<A HREF="' + OAS_url + 'click_nx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + '?' + OAS_query + '" TARGET=' + OAS_target + '>'); document.write('<IMG SRC="' + OAS_url + 'adstream_nx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + '?' + OAS_query + '" BORDER=0></A>'); } //--> </SCRIPT> <SCRIPT LANGUAGE=JavaScript1.1> <!-- OAS_version = 11; if ((navigator.userAgent.indexOf('Mozilla/3') != -1) || (navigator.userAgent.indexOf('Mozilla/4.0 WebTV') != -1)) OAS_version = 10; if (OAS_version >= 11) document.write('<SCR' + 'IPT LANGUAGE=JavaScript1.1 SRC="' + OAS_url + 'adstream_mjx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '?' + OAS_query + '"><\/SCRIPT>'); //--> </SCRIPT> <SCRIPT LANGUAGE=JavaScript> <!-- document.write(''); function OAS_AD(pos) { if (OAS_version >= 11) OAS_RICH(pos); else OAS_NORMAL(pos); } //--> </SCRIPT> <!------ END OAS SETUP ------> Code (markup): Need advice how can i include this code? i try to delete </SCRIPT> <SCRIPT LANGUAGE=JavaScript> <!-- //--> //--> </SCRIPT> <SCRIPT LANGUAGE=JavaScript1.1> <!-- and include, but script don't work. can u correct me, what i'm doing wrong, and is there any solution how can i do it properly ? I would like to see if I can get some help here. T
remove all tags starting this < and ending with > and put under code in 1 js file (overlib.js) result 1. overlib work 2. the 2-nd script don't work