function checkWallpaper() {
  if (typeof(adtype) != 'undefined') {
    if (adtype == 'wallpaper') {
     	lboard = document.getElementById('Superbanner');
  	//lboard.style.textAlign = 'right';
  	//lboard.style.cssFloat = 'right';
 	//lboard.style.marginRight = '159px';
 	//lboard.style.marginLeft = '2px';

     	lboard = document.getElementById('Skyscraper');
 	lboard.style.top = '-91px';

    }
    if (adtype == 'expwallpaper') {
     	lboard = document.getElementById('Superbanner');
 	lboard.style.left = '160px';

     	//lboard = document.getElementById('Skyscraper');
 	//lboard.style.top = '-1px';
    }
  }
  if (typeof(bgcolor) != 'undefined' && bgcolor != null) {
    document.body.style.backgroundColor = bgcolor;
  }
  if (typeof(bgimage) != 'undefined' && bgimage != null) {
    document.body.style.backgroundImage = "url(" + bgimage + ")";
  }
  if (typeof(adclick) != 'undefined' && adclick != null) {


      test = document.getElementById('Test');	
	xpos = -((screen.width-892)/2);
	hoehe = test.offsetTop + 50;

      wally = document.getElementById('Wally');
      wally.style.top = '-100px';
      wally.style.left = xpos + 'px';
      wally.style.height =  hoehe + 'px';
      wally.style.width = -xpos + 'px';
      wally.style.cursor = "pointer";
      wally.onclick = function() { window.open(adclick); };

      lboard = document.getElementById('Superbanner');
      sky = document.getElementById('Skyscraper');
      sky.style.width = (screen.width-950)/2 + 'px';
      sky.style.height = hoehe + 'px';
      lboard.style.cursor = "pointer";
      sky.style.cursor = "pointer";
      lboard.onclick = function() { window.open(adclick); };
      sky.onclick = function() { window.open(adclick); };




  }

	
}
	