Index: template/common.html =================================================================== RCS file: /usr/local/cvsroot/pgweb/portal/template/common.html,v retrieving revision 1.26 diff -c -r1.26 common.html *** template/common.html 29 Mar 2005 14:40:46 -0000 1.26 --- template/common.html 22 Nov 2005 20:43:41 -0000 *************** *** 14,21 **** !
Skip site navigation (1) --- 14,22 ---- + !
Skip site navigation (1) Index: template/navigation/common.html =================================================================== RCS file: /usr/local/cvsroot/pgweb/portal/template/navigation/common.html,v retrieving revision 1.4 diff -c -r1.4 common.html *** template/navigation/common.html 20 Oct 2005 08:02:05 -0000 1.4 --- template/navigation/common.html 22 Nov 2005 20:43:42 -0000 *************** *** 6,27 ****
  • Sponsor
  • !
  • ! ! !
--- 6,14 ----
  • Sponsor
  • !
  • ! !
Index: layout/js/pgads.js =================================================================== RCS file: layout/js/pgads.js diff -N layout/js/pgads.js *** /dev/null 1 Jan 1970 00:00:00 -0000 --- layout/js/pgads.js 22 Nov 2005 20:43:43 -0000 *************** *** 0 **** --- 1,36 ---- + /* Called by ad code to set the contents of the ad wrapper */ + function pgSetAdHtml(html) + { + try + { + var x = document.getElementById('pgSponsorContents'); + if (x) + { + x.innerHTML = html; + } + } + catch (e) + { + /* Ignore any errors so we don't create a popup */ + } + } + + /* Try to load the ads code async, so we don't hang if the ads server is down */ + function pgAdsLoad() + { + try + { + var x = document.getElementById('pgSponsorContents'); + if (x) + { + var scr = document.createElement('script'); + scr.src = 'http://200.46.208.156/adjs2.php'; + scr.type = 'text/javascript'; + document.getElementsByTagName('head')[0].appendChild(scr); + } + } + catch (e) + { + /* Ignore any errors, so we don't popup anything */ + } + }