function getInternetExplorerVersion()
// Returns the version of Internet Explorer or a -1
// (indicating the use of another browser).
{
  var rv = -1; // Return value assumes failure.
  if (navigator.appName == 'Microsoft Internet Explorer')
  {
    var ua = navigator.userAgent;
    var re  = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
    if (re.exec(ua) != null)
      rv = parseFloat( RegExp.$1 );
  }
  return rv;
}

if(typeof(SliderArray)!='object'){
	
/* SLIDER
*******************************/
var Slider = function(id, option) {
  this.create(id, option);
}
var SliderArray = new Array();

$.extend(Slider.prototype, {
	_id : '',
	_self : 0,
	_elem : '',
	/* Editable Options */
	_autoSlide : 2000,
	_moveCount : 1,
	_showArrows : true,
	_showNumbers : true,
	_leftDirection : true,
	_continuous : false,
	_effect : 'none', /*none,fade,slide,wipe*/
	_wipeImage : '',
	/* End Editable Options */
	_leftArrow : '',
	_rightArrow : '',
	_numbers : '',
	_numberList : '',
	_slides :'',
	_slidewidth : '',
	_slidecontainer : '',
	_current : 0,
	_timer : 0,
	
	create: function(id, option){
		this._id = id;
		this._self = SliderArray.length;
		this._elem = $(id)[0];
		this._slides = $('ul.slides>li',this._elem);
		this._slidecontainer = $('ul.slides',this._elem).first();
		this._slidewidth = $(this._slides).css('width').replace('px','');
		if(typeof(option)!="undefined"){
			if(typeof(option.moveCount)!="undefined"){this._moveCount = option.moveCount;}
			if(typeof(option.showArrows)!="undefined"){this._showArrows = option.showArrows;}
			if(typeof(option.showNumbers)!="undefined"){this._showNumbers = option.showNumbers;}
			if(typeof(option.autoSlide)!="undefined"){this._autoSlide = option.autoSlide;}
			if(typeof(option.effect)!="undefined"){this._effect = option.effect;}
			if(typeof(option.leftDirection)!="undefined"){this._leftDirection = option.leftDirection;}
			if(typeof(option.wipeImage)!="undefined"){this._wipeImage = option.wipeImage;}
			if(typeof(option.continuous)!="undefined"){this._continuous = option.continuous;}
		}
		if(this._showArrows){
			this._leftArrow = $('<div class="arrow-left">&lt;</div>').bind('click', {direction:(this._leftDirection?1:-1), obj:this}, this.moveSlides);
			this._rightArrow = $('<div class="arrow-right">&gt;</div>').bind('click', {direction:(!this._leftDirection?1:-1), obj:this}, this.moveSlides);
			$(this._elem).append(this._leftArrow);
			$(this._elem).append(this._rightArrow);
		}
		if(this._autoSlide != 0){
			this._timer = setTimeout('SliderArray['+this._self+'].autoMoveSlide('+this._self+');',this._autoSlide);
		}
		if(this._showNumbers){
			this._numbers = new Array();
			this._numberList = $(document.createElement('ul')).addClass('numbers');
			for(x=0;x<Math.ceil(this._slides.length / this._moveCount);x++){
				this._numbers[x] = $(document.createElement('li')).html(x+1).bind('click', {slide:x, obj:this}, this.selectSlide);
				this._numberList.append(this._numbers[x]);
			}
			$(this._elem).append(this._numberList);
		}
		
		if($('.grow', this._elem).length > 0){
			for(x=0;x<this._slides.length;x++){
				test1 = $('.grow', $(this._slides[x]))
				if(test1.length > 0){
					this._slides[x].grow = test1;
					for(y=0;y<this._slides[x].grow.length;y++){
						this._slides[x].grow[y].baseheight = $(this._slides[x].grow[y]).height();
						this._slides[x].grow[y].basewidth = $(this._slides[x].grow[y]).width();
						$(this._slides[x].grow[y]).height(this._slides[x].grow[y].baseheight * 0.8 + 'px');
						$(this._slides[x].grow[y]).width(this._slides[x].grow[y].basewidth * 0.8 + 'px');
						if(x==0){
							$(this._slides[x].grow[y]).animate({'width':this._slides[x].grow[y].basewidth,'height':this._slides[x].grow[y].baseheight},{'duration':1000,'easing':'linear','queue':false});
						}
					}
				}
			}
		}
		
		if($('.zoom', this._elem).length > 0){
			basesize = 0.85;
			for(x=0;x<this._slides.length;x++){
				test1 = $('.zoom img', $(this._slides[x]))
				if(test1.length > 0){
					this._slides[x].zoom = test1;
					$(this._slides[x]).css('position','absolute');
					for(y=0;y<this._slides[x].zoom.length;y++){
						this._slides[x].zoom[y].baseheight = $(this._slides[x].zoom[y]).height();
						this._slides[x].zoom[y].basewidth = $(this._slides[x].zoom[y]).width();
						$(this._slides[x].zoom[y]).height((this._slides[x].zoom[y].baseheight * basesize) + 'px');
						$(this._slides[x].zoom[y]).width((this._slides[x].zoom[y].basewidth * basesize) + 'px');
						off = $(this._slides[x].zoom[y]).position();
						if (navigator.appName == 'Microsoft Internet Explorer')
						{
							$(this._slides[x].zoom[y]).parent().parent().append($('<img style="visibility:hidden; width:'+this._slides[x].zoom[y].basewidth+'px; height:'+this._slides[x].zoom[y].baseheight+'px;" />'));
						}else{
							$(this._slides[x].zoom[y]).parent().parent().append($('<div style="display:inline-block; vertical-align:middle; width:'+this._slides[x].zoom[y].basewidth+'px; height:'+this._slides[x].zoom[y].baseheight+'px;" />'));							
						}
						
						this._slides[x].zoom[y].basesize = basesize;
						$(this._slides[x].zoom[y]).css(
							{
								'padding-top':(this._slides[x].zoom[y].baseheight * (1-basesize)/2) + 'px',
								'padding-bottom':(this._slides[x].zoom[y].baseheight * (1-basesize)/2) + 'px',
								'padding-left':(this._slides[x].zoom[y].basewidth * (1-basesize)/2) + 'px',
								'padding-right':(this._slides[x].zoom[y].basewidth * (1-basesize)/2) + 'px',
								'top':off.top,
								'left':off.left,
								'position':'absolute'
							});
						$(this._slides[x].zoom[y]).bind('mouseover', function(){
							$(this).animate(
								{
									'width':this.basewidth + 'px',
									'height':this.baseheight + 'px',
									'padding-top':0,
									'padding-bottom':0,
									'padding-left':0,
									'padding-right':0
								},
								{
									'duration':200,
									'easing':'linear'
								}
							);
						});
						$(this._slides[x].zoom[y]).bind('mouseout', function(){
							$(this).animate(
								{
									'width':this.basewidth*this.basesize + 'px',
									'height':this.baseheight*this.basesize + 'px',
									'padding-top':this.baseheight*(1-basesize)/2 + 'px',
									'padding-bottom':this.baseheight*(1-basesize)/2 + 'px',
									'padding-left':this.basewidth*(1-basesize)/2 + 'px',
									'padding-right':this.basewidth*(1-basesize)/2 + 'px'
								},
								{
									'duration':200,
									'easing':'linear'
								}
							);
						});
					}
				}
			}
		}
		if(this._effect == 'wipe'){
			co = this._moveCount;
			$(this._slides).css({'position':'absolute','top':0,
				'display':function(index){
					return(Math.floor(index / co) == 0? 'block':'none');
				},
				'left':0});
			this._wiperWidth = $(this._elem).css('width').replace('px','')*2;
			this._wiper = $(
			'<div style="'+
				'position:absolute; top:0; left:'+$(this._elem).css('width').replace('px','')*-2+'px;'+
				'width:'+this._wiperWidth+'px; '+
				'height:'+$(this._elem).css('height')+';'+
				'background:url('+this._wipeImage+');'+
				'">'+
			'</div>');
			$(this._elem).append(this._wiper);
		}else if(this._effect != 'fade'){
			$(this._slides).css({'position':'absolute','top':0,'left':function(index){jQuery.data(this,'left', $(this).css('width').replace('px','')*1); return index * $(this).css('width').replace('px',''); }});
		}else{
			co = this._moveCount;
			$(this._slides).css({'position':'absolute','top':0,
				'opacity':function(index){
					return(Math.floor(index / co) == 0? 1:0);
				},
				'display':function(index){
					return(Math.floor(index / co) == 0? 'block':'none');
				},
				'left':0});
		}
		if($('.navbar', this._elem).length > 0){
			nav = $('.navbar a', this._elem);
			for(x=0;x<nav.length;x++){
				$(nav[x]).bind('mouseover', {slide:x, obj:this}, this.pause).bind('mouseout', {slide:x, obj:this}, this.unpause);
			}
		}
		
		if($('.pause', this._elem).length > 0){
			$('.pause', this._elem).bind('mouseover', {slide:-1, obj:this}, this.pause).bind('mouseout', {slide:-1, obj:this}, this.unpause);
		}
		
	},
	moveSlides: function(eve){
		if(eve.data.obj._autoSlide != 0){clearTimeout(eve.data.obj._timer);}
		if($(':animated',eve.data.obj._elem).length == 0){
			if(eve.data.direction != 0){
				if(eve.data.obj._effect == 'none'){
					$(eve.data.obj._slides).css('left', 
						function(index){
							left = $(this).css('left').replace('px','')*1;
							movespace = eve.data.direction*eve.data.obj._slidewidth*eve.data.obj._moveCount;
							if(left + movespace < 0){
								move = left + movespace + ((eve.data.obj._slides.length % eve.data.obj._moveCount) + eve.data.obj._slides.length) * eve.data.obj._slidewidth;
							}else if(left + movespace >= ((eve.data.obj._slides.length % eve.data.obj._moveCount) + eve.data.obj._slides.length) * eve.data.obj._slidewidth){
								move = left + movespace - ((eve.data.obj._slides.length % eve.data.obj._moveCount) + eve.data.obj._slides.length) * eve.data.obj._slidewidth;
							}else{
								move = left + movespace;
							}
							return move;
						}
					);
				}else if(eve.data.obj._effect == 'slide'){
					
					for(x = 0; x<eve.data.obj._slides.length; x++){
						$(eve.data.obj._slides).css('left',
							function(index, value){
								left = $(this).css('left').replace('px','')*1;
								newleft = left;
								if(!(left >=0 && left < eve.data.obj._moveCount*eve.data.obj._slidewidth)){
									if(eve.data.direction > 0){
										if((left>=0)){
											newleft = (left - ((eve.data.obj._slides.length % eve.data.obj._moveCount != 0 && !eve.data.obj._continuous?(eve.data.obj._moveCount - (eve.data.obj._slides.length % eve.data.obj._moveCount)):0) + eve.data.obj._slides.length) * eve.data.obj._slidewidth);
									
									
										}
									}else if(eve.data.direction < 0){
										if((left<0)){
											newleft = (left + ((eve.data.obj._slides.length % eve.data.obj._moveCount != 0 && !eve.data.obj._continuous?(eve.data.obj._moveCount - (eve.data.obj._slides.length % eve.data.obj._moveCount)):0) + eve.data.obj._slides.length) * eve.data.obj._slidewidth);
										}
									}
								}
								return newleft;
							}					
						);
						movespace = eve.data.direction*eve.data.obj._slidewidth*eve.data.obj._moveCount;
						$(eve.data.obj._slides[x]).animate({'left':'+='+movespace},{'duration':'slow','queue':false});
					}
				}else if(eve.data.obj._effect == 'fade'){
					for(x=0;x<eve.data.obj._slides.length;x++){
						nextslide = eve.data.obj._current - eve.data.direction;
						if(nextslide < 0){
							nextslide += Math.ceil(eve.data.obj._slides.length / eve.data.obj._moveCount);
						}else if(nextslide >= Math.ceil(eve.data.obj._slides.length / eve.data.obj._moveCount)){
							nextslide -= Math.ceil(eve.data.obj._slides.length / eve.data.obj._moveCount);
						}
						if(Math.floor(x / eve.data.obj._moveCount) == nextslide){
							$(eve.data.obj._slides[x]).css('display','block');
							$(eve.data.obj._slides[x]).animate({'opacity':'1'},{'duration':'slow','queue':false});
						}else if(Math.floor(x / eve.data.obj._moveCount) == eve.data.obj._current){
							$(eve.data.obj._slides[x]).animate({'opacity':'0'},{'duration':'slow','queue':false,'complete':function(){$(this).css('display','none');}});
						}
					}
				}else if(eve.data.obj._effect == 'wipe'){
					eve.data.obj._wiper.eve = eve; 
					nextslide = eve.data.obj._current - eve.data.direction;
					if(nextslide < 0){
						nextslide += Math.ceil(eve.data.obj._slides.length / eve.data.obj._moveCount);
					}else if(nextslide >= Math.ceil(eve.data.obj._slides.length / eve.data.obj._moveCount)){
						nextslide -= Math.ceil(eve.data.obj._slides.length / eve.data.obj._moveCount);
					}
					
					ttimeout = "$(SliderArray['"+eve.data.obj._self+"']._slides["+eve.data.obj._current+"]).css('display','none'); "+
					"$(SliderArray['"+eve.data.obj._self+"']._slides["+nextslide+"]).css('display','block'); "
					
					
					if(eve.data.obj._slides[nextslide].grow){
						for(y=0; y < eve.data.obj._slides[nextslide].grow.length;y++){
							$(eve.data.obj._slides[nextslide].grow[y]).animate({'width': eve.data.obj._slides[nextslide].grow[y].basewidth,'height': eve.data.obj._slides[nextslide].grow[y].baseheight},3000, 'linear');
							
						}
					}
					
					if(eve.data.obj._slides[eve.data.obj._current].grow){
						for(y=0; y<eve.data.obj._slides[eve.data.obj._current].grow.length; y++){
							ttimeout +=	"$(SliderArray['"+eve.data.obj._self+"']._slides["+eve.data.obj._current+"].grow["+y+"]).height('" + eve.data.obj._slides[eve.data.obj._current].grow[y].baseheight * 0.8 + "px');";
							ttimeout +=	"$(SliderArray['"+eve.data.obj._self+"']._slides["+eve.data.obj._current+"].grow["+y+"]).width('" + eve.data.obj._slides[eve.data.obj._current].grow[y].basewidth * 0.8 + "px');";
						}
						
						//ttimeout +=	"$(SliderArray['"+eve.data.obj._self+"']._slides["+eve.data.obj._current+"].grow[y]).height(SliderArray['"+eve.data.obj._self+"']._slides["+eve.data.obj._current+"].grow[y].baseheight * 0.8 + 'px');$(SliderArray['"+eve.data.obj._self+"']._slides["+eve.data.obj._current+"].grow[y]).height(SliderArray['"+eve.data.obj._self+"']._slides["+eve.data.obj._current+"].grow[y].basewidth * 0.8 + 'px'); "	
					}
					
					setTimeout(ttimeout,2000);
					
					$(eve.data.obj._wiper).animate({'left':(eve.data.obj._wiperWidth)+'px'},{'duration':5000,'easing':'linear','queue':false,'complete':function(){$(eve.data.obj._wiper).css('left',eve.data.obj._wiperWidth*-1);}});
				}
				eve.data.obj._current -= eve.data.direction;
				if(eve.data.obj._current < 0){
					eve.data.obj._current += Math.ceil(eve.data.obj._slides.length / eve.data.obj._moveCount);
				}else if(eve.data.obj._current >= Math.ceil(eve.data.obj._slides.length / eve.data.obj._moveCount)){
					eve.data.obj._current -= Math.ceil(eve.data.obj._slides.length / eve.data.obj._moveCount);
				}
				
			}
		}
		if(eve.data.obj._autoSlide != 0){eve.data.obj._timer = setTimeout('SliderArray['+eve.data.obj._self+'].autoMoveSlide('+eve.data.obj._self+');',eve.data.obj._autoSlide);}
	},
	selectSlide: function(eve){
		if(eve.data.slide != eve.data.obj._current){
			eve.data.direction = (eve.data.slide - eve.data.obj._current) *-1;
			eve.data.obj.moveSlides(eve);
		}
	},
	autoMoveSlide: function(id){
		eve = {data:{}};
		eve.data.obj = SliderArray[id];
		eve.data.direction = (!this._leftDirection?1:-1);
		SliderArray[id].moveSlides(eve);
	},
	pause: function(eve){
		clearTimeout(eve.data.obj._timer);
		tmp = eve.data.obj._autoSlide;
		eve.data.obj._autoSlide = 0;
		if(eve.data.slide!=-1){
			eve.data.obj.selectSlide(eve);
		}
		eve.data.obj._autoSlide = tmp;
	},
	unpause: function(eve){
		tmp = eve.data.obj._autoSlide;
		eve.data.obj._autoSlide = 0;
		if(eve.data.slide!=-1){
			eve.data.obj.selectSlide(eve);
		}
		eve.data.obj._autoSlide = tmp;		
		eve.data.obj._timer = setTimeout('SliderArray['+eve.data.obj._self+'].autoMoveSlide('+eve.data.obj._self+');',eve.data.obj._autoSlide);
	}
});



	
	
	
}


function loadFancyFooter(){

	document.write('<div class="footer-logo-slider" id="footerlogoslider"></div>');

	$(document).ready(writeFancyFooter);
}

function writeFancyFooter(){

wrapper = document.getElementById('footerlogoslider');

/* LOGO LINE ONE (Slide 2)
***********************/
logoline1 = new Array();
	logoline1[0] = new Array('http://www.wyndham.com/main.wnt?cid=WYWYNWW','http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/footer-slider/wyndham-hotels-resorts.gif', 109, 26);
	logoline1[1] = new Array('','http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/footer-slider/wyndham-grand-collection.gif', 145, 24);
	logoline1[2] = new Array("http://wynres.wyndham.com/Wyndham/control/wyndhamgarden?variant=","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/footer-slider/wyndham-garden-96.gif",96,24);
	logoline1[3] = new Array("http://www.tryphotels.com/en/index.html","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/footer-slider/tryp.gif",42,43);
	logoline1[4] = new Array("http://www.wingatehotels.com/Wingate/control/home?cid=WIWYNWW","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/footer-slider/wingate-by-wyndham.gif",76,35);
	logoline1[5] = new Array("http://www.hawthorn.com/Hawthorn/control/home?cid=BHWYNWW","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/footer-slider/hawthorn.gif",93,35);
	logoline1[6] = new Array("","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/footer-slider/ph.gif",70,24);
	logoline1[7] = new Array("","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/footer-slider/dream.gif",93,25);
	logoline1[8] = new Array("","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/footer-slider/night.gif",40,61);

/* LOGO LINE TWO (Slide 2)
***********************/
logoline2 = new Array();
	logoline2[0] = new Array("http://www.ramada.com/Ramada/control/home?cid=RAWYNWW","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/footer-slider/ramada.gif",90,28);
	logoline2[1] = new Array("http://www.daysinn.com/DaysInn/control/home?cid=DIWYNWW","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/footer-slider/days-inn.gif",75,40);
	logoline2[2] = new Array("http://www.super8.com/Super8/control/home?cid=SEWYNWW","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/footer-slider/super-8.gif",35,51);
	logoline2[3] = new Array("http://www.baymontinns.com/Baymont/control/home?cid=BUWYNWW","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/footer-slider/baymont.gif",90,35);
	logoline2[4] = new Array("http://www.microtelinn.com/MicrotelInn/control/home?cid=MTWYNWW","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/footer-slider/microtel.gif",77,31);
	logoline2[5] = new Array("http://www.hojo.com/HowardJohnson/control/home?cid=HJWYNWW","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/footer-slider/howard-johnson.gif",104,34);
	logoline2[6] = new Array("http://www.travelodge.com/Travelodge/control/home?cid=TLWYNWW","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/footer-slider/travelodge.gif",89,30);
	logoline2[7] = new Array("http://www.knightsinn.com/KnightsInn/control/home?cid=KIWYNWW","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/footer-slider/knights-inn.gif",39,38);
	
/* LOGO LINE THREE (Slide 6)
***********************/
logoline3 = new Array();
	logoline3[0] = new Array("https://www.rci.com/RCI/","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/rci-64.gif",64,28);
	logoline3[1] = new Array("http://www.theregistrycollection.com/","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/the-registry-collection-80.gif",80,37);
	logoline3[2] = new Array("http://www.endless-vacation-rentals.com/","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/endless-vacation-rentals-79.gif",79,30);

/* LOGO LINE FOUR (Slide 6)
***********************/
logoline4 = new Array();
	logoline4[0] = new Array("http://www.landal.com/","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/landal-greenparks-43.gif",43,43);
	logoline4[1] = new Array("http://www.novasol.com/","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/novasol-44.gif",44,44);
	logoline4[2] = new Array("http://www.english-country-cottages.co.uk/","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/english-country-cottages-58.gif",58,48);
	logoline4[3] = new Array("http://www.hoseasons.co.uk/","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/hoseasons-96.gif",96,32);
	logoline4[4] = new Array("http://www.jamesvillas.co.uk/","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/james-villa-holidays-77.gif",77,33);
	logoline4[5] = new Array("http://www.canvasholidays.co.uk/","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/canvas-holidays-78.gif",78,38);
	logoline4[6] = new Array("http://www.resortquest.com/","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/resort-quest-101.gif",101,33);
	logoline4[7] = new Array("http://www.theresortcompany.com/","http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/the-resort-company.gif",101,19);



flashlogopanel  = '<style type="text/css">';
flashlogopanel += 'html body img {border:none;}';
flashlogopanel += 'html body #footerlogoslider {position:relative; margin-top:40px; height:130px; width:944px; overflow:hidden;}';
flashlogopanel += 'html body #footerlogoslider .slides {height:130px; width:944px; display:block; list-style:none;}';
flashlogopanel += 'html body #footerlogoslider .slides li {background:none; list-style:none; background:#fff;}';
flashlogopanel += 'html body #footerlogoslider h2 {text-align:center; width:944px; display:block; color:#0764a9; font-size:2.6em; line-height:1.2em; margin-top:10px;}';
flashlogopanel += 'html body #footerlogoslider h2 img {position:relative; margin:0 auto;}';
flashlogopanel += 'html body #footerlogoslider .logo-centerer {text-align:center; display:block; width:944px; list-style:none; margin:0;}';
flashlogopanel += 'html body #footerlogoslider .logo-centerer li {background:none; display:inline; padding:0 6px; vertical-align:middle; list-style:none; margin:0; background:none;}';
flashlogopanel += 'html body #footerlogoslider .logo-centerer li a {vertical-align:middle;}';
flashlogopanel += 'html body #footerlogoslider .logo-centerer li img {vertical-align:middle; display:inline!important}';
flashlogopanel += '</style>';


flashlogopanel += '<ul class="slides">';
flashlogopanel += '<li><h2><img class="grow" src="http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/number-hotels-2012-02-08.gif" width="442" height="32" /></h2></li>';
flashlogopanel += '<li>';
flashlogopanel += '<ul class="logo-centerer">';
for(x in logoline1){
	if(logoline1[x][0] != ''){
		flashlogopanel += '<li class="pause zoom"><a href="'+logoline1[x][0]+'" target="_blank"><img src="'+logoline1[x][1]+'" width="'+logoline1[x][2]+'" height="'+logoline1[x][3]+'" /></a></li>';
	}else{
		flashlogopanel += '<li class="pause zoom"><span><img src="'+logoline1[x][1]+'" width="'+logoline1[x][2]+'" height="'+logoline1[x][3]+'" /></span></li>';
	}
}

flashlogopanel += '</ul>';
flashlogopanel += '<div class="clear-div"></div>';
flashlogopanel += '<ul class="logo-centerer">';

for(x in logoline2){
	if(logoline2[x][0] != ''){
		flashlogopanel += '<li class="pause zoom"><a href="'+logoline2[x][0]+'" target="_blank"><img src="'+logoline2[x][1]+'" width="'+logoline2[x][2]+'" height="'+logoline2[x][3]+'" /></a></li>';
	}else{
		flashlogopanel += '<li class="pause zoom"><span><img src="'+logoline2[x][1]+'" width="'+logoline2[x][2]+'" height="'+logoline2[x][3]+'" /></span></li>';
	}
}

flashlogopanel += '</ul>';
flashlogopanel += '<div class="clear-div"></div>';
flashlogopanel += '</li>';
flashlogopanel += '<li><h2><img class="grow" src="http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/number-vo-resorts.gif" width="641" height="31" /></h2></li>';

flashlogopanel += '<li>';
flashlogopanel += '<ul class="logo-centerer">';
flashlogopanel += '<li class="pause zoom"><a href="https://www.wyndhamvacationresorts.com/ffr/index.do" target="_blank"><img src="http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/club-wyndham-165.gif" width="165" height="28" /></a></li>';
flashlogopanel += '<li class="pause zoom"><a href="http://www.worldmarkbywyndham.com/" target="_blank"><img src="http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/worldmark-by-wyndham-155.gif" width="155" height="47" /></a></li>';
flashlogopanel += '<li class="pause zoom"><a href="http://www.wyndhamvrap.com/" target="_blank"><img src="http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/logos/wyndham-vacation-resorts-asia-166.gif" width="166" height="37" /></a></li>';
flashlogopanel += '</ul>';
flashlogopanel += '<div class="clear-div"></div>';
flashlogopanel += '</li>';
flashlogopanel += '<li><h2><img class="grow" src="http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/rental-units-2012-02-08.gif" width="583" height="31" /></h2></li>';
flashlogopanel += '<li><h2><img class="grow" src="http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/exchange-avail-2012-02-08.gif" width="628" height="31" /></h2></li>';
flashlogopanel += '<li>';
flashlogopanel += '<ul class="logo-centerer">';
for(x in logoline3){
	if(logoline3[x][0] != ''){
		flashlogopanel += '<li class="pause zoom"><a href="'+logoline3[x][0]+'" target="_blank"><img src="'+logoline3[x][1]+'" width="'+logoline3[x][2]+'" height="'+logoline3[x][3]+'" /></a></li>';
	}else{
		flashlogopanel += '<li class="pause zoom"><span><img src="'+logoline3[x][1]+'" width="'+logoline3[x][2]+'" height="'+logoline3[x][3]+'" /></span></li>';
	}
}
flashlogopanel += '</ul>';
flashlogopanel += '<div class="clear-div"></div>';
flashlogopanel += '<ul class="logo-centerer">';
for(x in logoline4){
	if(logoline4[x][0] != ''){
		flashlogopanel += '<li class="pause zoom"><a href="'+logoline4[x][0]+'" target="_blank"><img src="'+logoline4[x][1]+'" width="'+logoline4[x][2]+'" height="'+logoline4[x][3]+'" /></a></li>';
	}else{
		flashlogopanel += '<li class="pause zoom"><span><img src="'+logoline4[x][1]+'" width="'+logoline4[x][2]+'" height="'+logoline4[x][3]+'" /></span></li>';
	}
}
flashlogopanel += '</ul>';
flashlogopanel += '<div class="clear-div"></div>';
flashlogopanel += '</li>';
flashlogopanel += '</ul>';

wrapper.innerHTML = flashlogopanel;


if(getInternetExplorerVersion() < 7 && getInternetExplorerVersion() != -1){
	SliderArray[SliderArray.length] = new Slider('.footer-logo-slider', {showNumbers:false, showArrows:false, autoSlide:4000, effect:'wipe', wipeImage:'http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/bg/footer-wipe.gif'});
}else{
	SliderArray[SliderArray.length] = new Slider('.footer-logo-slider', {showNumbers:false, showArrows:false, autoSlide:4000, effect:'wipe', wipeImage:'http://www.wyndhamworldwide.com/Portals/_default/Skins/Wyndham/images/bg/footer-wipe.png'});
}
$('body').addClass('footer-slider-loaded');


}
