function clearDefault(el) {

 if (el.defaultValue==el.value) el.value = ""

// If Dynamic Style is supported, clear the style

}

var Type = 'Z';

function StartFloat()

{ if(document.all)//I.E.

 { //document.all.AdFloater.style.pixelLeft = document.body.clientWidth - document.all.AdFloater.offsetWidth;

  if((screen.width>=1280))

  { document.all.AdFloater.style.pixelLeft = document.body.clientWidth - 390;

   document.all.AdFloater.style.pixelTop = document.body.scrollTop + 150;

  }

  else if((screen.width>=1024) && (screen.width<1280))

  { document.all.AdFloater.style.pixelLeft = document.body.clientWidth - 270;

   document.all.AdFloater.style.pixelTop = document.body.scrollTop + 140;

  }

  else if((screen.width>=800) && (screen.width<1024))

  { document.all.AdFloater.style.pixelLeft = document.body.clientWidth - 390;

   document.all.AdFloater.style.pixelTop = document.body.scrollTop + 150;

  }

  document.all.AdFloater.style.visibility = 'visible';

  Type = 'A';

 }

 else if(document.layers)

 { 

  if((screen.width>=1280))

  { document.AdFloater.left = window.innerWidth - document.AdFloater.clip.width - 160;

  }

  else if((screen.width>=1024) && (screen.width<1280))

  { document.AdFloater.left = window.innerWidth - document.AdFloater.clip.width - 60;

  }

  else if((screen.width>=800) && (screen.width<1024))

  { document.AdFloater.left = window.innerWidth - document.AdFloater.clip.width - 160;

  }

  document.AdFloater.visibility = 'show';

  Type = 'B';

 }

 else if(document.getElementById)

 { 

  if((screen.width>=1280))

  { document.getElementById('AdFloater').style.left = (window.innerWidth - 408) + 'px';

  }

  else if((screen.width>=1024) && (screen.width<1280))

  { document.getElementById('AdFloater').style.left = (window.innerWidth - 280) + 'px';

  }

  else if((screen.width>=800) && (screen.width<1024))

  { document.getElementById('AdFloater').style.left = (window.innerWidth - 408) + 'px';

  }

  document.getElementById('AdFloater').style.visibility = 'visible';

  Type = 'C';

 }

 if (document.all)

 {  window.onscroll = Float; }

 else 

 { setInterval('Float()', 100); }

}

function Float()

{ if (Type == 'A')

 { if((screen.width>=1280))

  { document.all.AdFloater.style.pixelTop = document.body.scrollTop + 150;

  }

  else if((screen.width>=1024) && (screen.width<1280))

  { document.all.AdFloater.style.pixelTop = document.body.scrollTop + 140;

  }

  else if((screen.width>=800) && (screen.width<1024))

  { document.all.AdFloater.style.pixelTop = document.body.scrollTop + 150;

  }

  document.AdFloater.visibility = 'show';

 }

 else if (Type == 'B')

 {  document.AdFloater.top = window.pageYOffset;

 }

 else if (Type == 'C')

 {  if((screen.width>=1280))

  { document.getElementById('AdFloater').style.top = (window.pageYOffset + 150) + 'px';

  }

  else if((screen.width>=1024) && (screen.width<1280))

  { document.getElementById('AdFloater').style.top = (window.pageYOffset + 140) + 'px';

  }

  else if((screen.width>=800) && (screen.width<1024))

  { document.getElementById('AdFloater').style.top = (window.pageYOffset + 150) + 'px';

  }

 }

}

