//RPCI Banner	
	RPCI.banner = {
		
	on : 0, 
	
	startUp :function(args){
	
	for(var i in args){
		this[i] = args[i];
	}
	  
	this.home = args.home || RPCI.siteBase; 
	this.div = s$('#banner');  	
	this.play = args.play || recall('bannerPlay');
	
		//dispaly swf
		if( (this.play != 1) && (this.on == 1) ){
			this.swf = new sc.swf({
				src: this.swfBase + '/banner.swf?url=' + this.home,
				width: 800, 
				height: 128,
				bgColor:  '#0936C2',
				version: 7,	id : 'rpci_banner',		
				alt: ''});	
				
			//KLUDGE: this line is kinda overblown
			var temp = this.swf.embed(this.div);
			
			//KLUDGE: this fixes what the last line forgets to do
			if((temp) && (this.div.innerHTML == '') ){
				this.div.innerHTML = temp.dat;
			}
			remember('bannerPlay', 1);	  
		}else{		
			//style banner div
			this.div.css('cursor', 'pointer');
			this.div.title = "Roswell Park Cancer Insititue: Connecting For Life";
			var go = this.home;
			events.add(this.div, 'click', function(){window.location.href = go;});
		}
    
	}, 
	  
	init : function(){
		RPCI.banner.startUp({swfBase: '/js/RPCI', home: 'http://www.roswellpark.org', play : 0});
       RPCI.autobay['banner'] = RPCI.banner;
    }
 }