var x1 ; var x2 ; var x3 ; var x4 = 0 ; var x5 = 0 ; var x6 = 0 ; var x7 = new Array(); var x8 = new Array("dynamic html","cascading style sheet","website generation system");
function f0(x9) {  var x9 = (x9) ? x9 : ((window.event) ? event : null);  x1 = x9.clientY ;  x2 = x9.clientX ;  return;  } function f1() {  if (window.innerWidth)  return window.innerWidth;  if (document.body.clientWidth)  return document.body.clientWidth;  return (null);  } function findLivePageHeight() {  var x10 = 0, x11 = 0;  if( typeof( window.innerWidth ) == 'number' ) {   x10 = window.innerWidth;  x11 = window.innerHeight;  }  else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {   x10 = document.documentElement.clientWidth;  x11 = document.documentElement.clientHeight;  }  else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {   x10 = document.body.clientWidth;  x11 = document.body.clientHeight;  }  return x11 ;  } function f3(x12) {  var obj = document.getElementById(x12);  var h = obj.offsetHeight ;  x13 = 0;  if (obj.offsetParent) {  x13 = obj.offsetTop ;  while (obj = obj.offsetParent) {  x13 += obj.offsetTop ;  }  }  return (x13 + h) ;  } function f4(x12) {  var obj = document.getElementById(x12);  var h = obj.offsetHeight ;  return (h) ;  } function f5(x12) {  var obj = document.getElementById(x12);  x13 = 0;  if (obj.offsetParent) {  x13 = obj.offsetTop ;  while (obj = obj.offsetParent) {  x13 += obj.offsetTop ;  }  }  return (x13 ) ;  } function writeName(x9,x14) {  x6=1;  if ( !x4 ) {   f0(x9);   var x15 = f1();  var x16 = findLivePageHeight() ;   var x12 = (x9.target) ? x9.target.id : ((x9.srcElement) ? x9.srcElement.id : null);  var object = document.getElementById(x12);  if (x12) {  x17 = f3(x12);  x18 = f5(x12) ;  }   var x19 = 100 * x2 / x15 ;  var x20 = 100 * x1 / x16 ;   if ( x19 < 34 ) {  x23 = x2 - Math.min(18, x2) ;  if ( x20 < 50 ) {  x3 = "dialog-top-left.gif" ;  x22 = "dialog-bottom.gif" ;  }  else {  x3 = "dialog-top.gif" ;  x22 = "dialog-bottom-left.gif" ;  }  }  else if ( x19 < 67 ) {  x23 = x2 - Math.floor(295/2) ;  if ( x20 < 50 ) {  x3 = "dialog-top-center.gif" ;  x22 = "dialog-bottom.gif" ;  }  else {  x3 = "dialog-top.gif" ;  x22 = "dialog-bottom-center.gif" ;  }  }  else {  x23 = x2 - 295 + Math.min(15, x15-x2) ;  if ( x20 < 50 ) {  x3 = "dialog-top-right.gif" ;  x22 = "dialog-bottom.gif" ;  }  else {  x3 = "dialog-top.gif" ;  x22 = "dialog-bottom-right.gif" ;  }  }  
x7[0] = '<a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2FDHTML-Fourth-Visual-QuickStart-Guide%2Fdp%2F032144325X%2Fsr%3D8-3%2Fqid%3D1172000388%3Fie%3DUTF8%26s%3Dbooks&tag=netdetectiveo-20&linkCode=ur2&camp=1789&creative=9325" target="_blank" class=wgsada><div id="background"><img src="' + x3 + '" class=wgsadimage><div id=wgstextblock><div class=wgsadheading>CSS, DHTML, and Ajax, Fourth Edition<br />by Jason Cranford Teague</div><hr><div class=wgsaddescription>If you want to learn DHTM, this is the book I use and highly recommend. <p>Step-by-step instructions for using CSS, DHTML, and Ajax to add visually sophisticated, interactive elements to their Web sites. Using loads of tips and screen shots, veteran author Jason Cranford Teague covers a lot of ground--from basic and advanced dynamic techniques,</p></div></div><img src="' + x22 + '" class=wgsadimage></div></a>'
x7[1] = '<a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2FCSS-Definitive-Guide-Eric-Meyer%2Fdp%2F0596527330%2Fsr%3D1-2%2Fqid%3D1172001404%3Fie%3DUTF8%26s%3Dbooks&tag=netdetectiveo-20&linkCode=ur2&camp=1789&creative=9325" target="_blank" class=wgsada><div id="background"><img src="' + x3 + '" class=wgsadimage><div id=wgstextblock><div class=wgsadheading>CSS: The Definitive Guide<br />by Eric A Meyer</div><hr><div class=wgsaddescription>If you want to learn CSS, this is the book I use and highly recommend.<p>Comprehensive guide to CSS implementation, along with a thorough review of all aspects of CSS 2.1. Updated to cover Internet Explorer 7, Microsoft&#39s vastly improved browser, this new edition includes content on positioning, lists and generated content, table layout, user interface, paged media, and more.</div></div><img src="' + x22 + '" class=wgsadimage></div></a>'
x7[2] = '<a href="http://www.gobob.biz/" target="_blank" class=wgsada><div id="background"><img src="' + x3 + '" class=wgsadimage><div id=wgstextblock><div class=wgsadheading>Website Generation System<br />Your Website Development Tool</div><hr><div class=wgsaddescription>This powerful website development tool provides: <ul> <li>Menu oriented management of content</li> <li>Integration with existing websites</li> <li>Selects content based on page name</li> <li>Displays RSS feeds as regular HTML</li> <li>Displays Clickbank products in various formats</li> <li>Provides DHTML popup ads</li> <li>Generates sitemaps</li> </ul></div></div><img src="' + x22 + '" class=wgsadimage></div></a>'
   x25 = -1 ;  for ( thisIndex = 0; thisIndex < x8.length; thisIndex++ ) {  if ( x14.toLowerCase() == x8[thisIndex].toLowerCase() ) { x25 = thisIndex ;}  }  if ( x25 > -1 ) {  object = document.getElementById('ad');  object.innerHTML = x7[x25];  var h = f4('ad') ;  if ( x20 < 50 ) {  x24 = x17 + 5;  }  else {  x24 = x18 - h - 5 ;  }  object.style.left = x23 + 'px';  object.style.top = x24 + 'px';  object.style.visibility = 'visible';  x4=1;  }  }  } function delayLook() {  x6=0;  setTimeout('f8()',2000);  }  function f8() {  if (!x5 && !x6 ) {  var object = document.getElementById('ad');  object.style.visibility = 'hidden';  x4=0;  }  } function inAd(x12) {  x5=1;  } function outAd() {  delayLook();  x5=0;  }
// Copyright (c) 2007 Robert Sherman