var 
LOOK = {
	// scroller box size: [width, height]
	'size' : [200, 195],
	// for on-demand mode: path to image for scrolling items backward 
	// if relative than to Tscroll_path_to_files
	'up' : 'alf.gif', 
	// for on-demand mode: path to image for scrolling items forward 
	// if relative than to Tscroll_path_to_files
	'dn' : 'art.gif'
},

LOOK2 = {
	// scroller box size: [width, height]
	//'size' : [200, 195],
	'size' : [305, 400],
	// for on-demand mode: path to image for scrolling items backward
	// if relative than to Tscroll_path_to_files
	'up' : 'alf.gif', 
	// for on-demand mode: path to image for scrolling items forward 
	// if relative than to Tscroll_path_to_files
	'dn' : 'art.gif'
},

BEHAVE = {
	// if scrolling mode is auto (true / false); 
	'auto'  : true, 
	// if scrolling direction is vertical (true / false, false means horisontal)
	'vertical' : true, 
	// scrolling speed, pixels per 40 miliseconds;
	// for auto mode use negative value to reverse scrolling direction
	'speed' : 7
},
// a data to build scroll window content
ITEMS = [

	{
		'file': '',
		'content': '<div class="partnerItem"><a href="/AHC/CAR/ALAMO/CarRentalOverview.aspx" target="_parent" title="Alamo Rent A Car"><img src="/AHC/CAR/ALAMO/ALMOLGO.gif" width="166" height="75" border="0" /><br /><br /><br /><br /><span style="color: blue;">Book Alamo Rent A Car<br />In Over 100 U.S. Cities!</span></a></div>',
		'pause_b': 5,
		'pause_a': 0
	}
]

//	{	// file to get content for item from; if is set 'content' property doesn't matter
//		// only body of HTML document is taken to become scroller item content
//		// note: external files require time for loading 
//		// it is RECOMMENDED to use content property to speed loading up
//		// please, DON'T forget to set ALL IMAGE SIZES 
//		// in either external file or in 'content' string for scroller script 
//		// to be able to estimate item sizes
//		'file' : '',
//		// string to be displayed as item content, 
//		// is RECOMMENDED to be used as an alternative to 'file' property
//		'content' : '<div class="partnerItem"><a href="/AHC/AIR/ALOHA/AirlineOverview.aspx" target="_parent" title="Aloha Airlines"><img src="/AHC/AIR/ALOHA/AQLOGOC.jpg" width="186" height="69" border="0" /><br /><br />Ask About our <br /> LOW PROMOTIONAL <br /> Inter-island fares!</a></div>',
//		// pause duration when item top gets top of the scroller box, seconds
//		'pause_b' : 5,
//		// pause duration when item bottom gets bottom of the scroller box, seconds
//		'pause_a' : 0
//	},

// a data to build scroll window content
ITEMS2 =
[	
	{	// file to get content for item from; if is set 'content' property doesn't matter
		// only body of HTML document is taken to become scroller item content
		// note: external files require time for loading 
		// it is RECOMMENDED to use content property to speed loading up
		// please, DON'T forget to set ALL IMAGE SIZES 
		// in either external file or in 'content' string for scroller script 
		// to be able to estimate item sizes
		'file' : '',
		// string to be displayed as item content, 
		// is RECOMMENDED to be used as an alternative to 'file' property
		'content' : '<div class="hotelItem"><br /><br /><a href="/AHC/CAR/ALAMO/CarRentalOverview.aspx" target="_parent" title="Alamo Rent A Car"><img src="/featuredHotels/ALMOLGO.gif" width="225" alt="Alamo Rent A Car" border="0" /><br /><br /><img src="/featuredHotels/T_SCAR_US.jpg" border="0" width="150"/><br /><br /></a></div><span style="color: #606060; font-size: 16px; font-weight: bold;">Book a car rental in Hawaii or in over 100 cities in the U.S. and Canada!</span>',
		// pause duration when item top gets top of the scroller box, seconds
		'pause_b' : 5,
		// pause duration when item bottom gets bottom of the scroller box, seconds
		'pause_a' : 0
	}
]
function fisherYates ( myArray ) {
  var i = myArray.length;
  if ( i == 0 ) return false;
  while ( --i ) {
     var j = Math.floor( Math.random() * ( i + 1 ) );
     var tempi = myArray[i];
     var tempj = myArray[j];
     myArray[i] = tempj;
     myArray[j] = tempi;
   }
}


