if (document.images)
{
	mail_button = new Image();
  	mail_button.src = "http://cdn.aim.com/i/redesign/btn_mail-rollover4.gif";

  	aim_express = new Image();
  	aim_express.src = "http://cdn.aim.com/i/redesign/btn_express-rollover3.gif";

  	mobile_button = new Image();
  	mobile_button.src = "http://cdn.aim.com/i/redesign/btn_mobile-rollover3.gif";
}
	
function img_act(imgName,img_url)
{
	 if (document.images)
	 {
			imgOn = img_url;
			document[imgName].src = imgOn;
	}
}
function img_inact(imgName,img_url)
	{
		if (document.images)
		{
			imgOff = img_url;
			document[imgName].src = imgOff;
		}
	}
	

function popwin(url,w,h,win_name)
{
// puccini window is  736x395
		var params = "width=" + w +", height=" + h + ", location=no, menubar=no, status=no, toolbar=no, scrollbars=no, resizable=no"
		window.open(url, win_name, params);
}

/* ***	GLOBAL NAV JS BELOW **** 
startList = function() {
  if (document.all && document.getElementById) {
    navRoot = document.getElementById("nav");
    navSelected = document.getElementById("on");
    for (i=0; i<navRoot.childNodes.length; i++) {
      node = navRoot.childNodes[i];
      if (node.nodeName=="LI") {
        node.onmouseover=function() {
          this.className+=" over";
        }
        node.onmouseout=function() {
          this.className=this.className.replace (" over", "");
        }
      }
    }
  }
}
window.onload=startList;

*/
function timer()
{
		window.setTimeout ("location.href='http://www.aim.com/get_aim/thankyou_offers.adp'", 2000);
}

/* ********HOME PAGE FLASH ********** */
	function showHomePageFlash () {
	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width='300' height='100' id='aim_demo' align='middle'>");
	document.write("<param name='allowScriptAccess' value='sameDomain' />");
	document.write("<param name='movie' value='http://cdn.aim.com/i/aim_home_dl_040406.swf' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='wmode' value='transparent'>");
	document.write("<param name='bgcolor' value='#ffffff' />");
	document.write("<embed src='http://cdn.aim.com/i/aim_home_dl_040406.swf' quality='high' bgcolor='#ffffff' width='300' height='100' name='aim_demo' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'  wmode='transparent' />");
	document.write("</object>");
}