// JavaScript Document

function LoadAdVert()
{
change = setInterval("grow('specOffer')",1);
}

function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }
}

function hide(targetid){
document.getElementById(targetid).style.visibility = "hidden";
}
function grow(targetid){
theheight=document.getElementById(targetid).offsetHeight;
if(theheight<100){
document.getElementById(targetid).style.height=theheight+1+'px';
}
else if(theheight>=100){
clearInterval(change);
}
}
//change=setInterval("grow('thediv')",1);
function growmore(targetid){
theheight=document.getElementById(targetid).offsetHeight;
document.getElementById(targetid).style.height=theheight+10+'px';
}
function growless(targetid){
theheight=document.getElementById(targetid).offsetHeight;
document.getElementById(targetid).style.height=theheight-10+'px';
}
