function addEvent(obj, evType, fn){ 
 if (obj.addEventListener){ 
   obj.addEventListener(evType, fn, false); 
   return true; 
 } else if (obj.attachEvent){ 
   var aasgif = obj.attachEvent("on"+evType, fn); 
   return aasgif; 
 } else { 
   return false; 
 } 
}
function restartGif(){
	for(var iorderu=0; iorderu<document.images.length; iorderu++){
		var img = document.images[iorderu];
		var imgName = img.src.toUpperCase();
		if (imgName.substring(imgName.length-3, imgName.length) == "GIF"){
			img.src = img.src;
		}
	}
}
var aas032608 = new Object();
aas032608.small_path = aas728;
aas032608.small_params = 'ico=' + aas032608.small_path;
aas032608.small_width = 1000;
aas032608.small_height = 450;
function sizeupAAS728()
{ 
document.getElementById("aas032608container").style.clip="rect(0px,1000px,450px,0px)"; 
document.getElementById("aas032608object").style.clip="rect(0px,1000px,450px,0px)"; 
}
function sizedownAAS728()
{ 
document.getElementById("aas032608container").style.clip="rect(0px,728px,90px,0px)"; 
document.getElementById("aas032608object").style.clip="rect(0px,1000px,90px,0px)"; //for IE
restartGif();
}
	document.write('<div id="aas032608container" style="position:relative;width:728px;height:90px;z-index:999;wmode:transparent;">'); //moves to right
	// object
	document.write('<object id="aas032608object" style="position:absolute; right:0; clip:rect(0px,728px,90px,50px);" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
	document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"');
	document.write(' id="aas032608SmallObject" width="1000" height="450">');
	// object params
	document.write(' <param name="allowScriptAccess" value="always"/> ');
	document.write(' <param name="movie" value="'+ aas032608.small_path +'?'+ aas032608.small_params +'"/>');
	document.write(' <param name="wmode" value="transparent" />');
	document.write(' <param name="z-index" value="999" />');
	document.write(' <param name="quality" value="high" /> ');
	document.write(' <param name="FlashVars" value="'+aas032608.small_params+'"/>');
	// embed
	document.write('<embed src="'+ aas032608.small_path + '?' + aas032608.small_params +'" id="aas032608Embed" name="aas032608Embed" z-index=999 wmode="transparent" quality="high" width="'+ aas032608.small_width +'px" height="'+ aas032608.small_height +'px" flashvars="'+ aas032608.small_params +'" swliveconnect="true" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
	document.write('</object></div>');

addEvent(window, 'load', sizedownAAS728);
