//dojo.require("dojox.fx");
/*  
 *  START slide javascript 
 */ 
dojo.addOnLoad(function() {
	SS.init();
	myTimer = setInterval('SS.showNext();',1000); // cause iteration every second.
});

var imgA = [];

/*****************************
This file contains the details of each slide and by editing this file, you can
edit, change, add and remove slides from the slideshow.

Each slide has a number of variables - 
'img' = type of container (normally img)
'menu/her/hero.jpg' = url to the image
'http://...' = link for the image
'center' = text align
'10' = top padding of text (used for vertical alignment
'14' = font size
'#ffffff' = color
'this is text' = the text to display over the image
*****************************/


imgA.push(['img',
           '/images/home_main_img.jpg',
           'http://rubyliving.com/catalog/Collections/Mitchell-Gold-Bob-Williams/',
           'right',
           '60',
           '20',
           '#97A0A7',
           '']);

imgA.push(['img',
           '/images/hero/aidennew.jpg',
           'http://rubyliving.com/catalog/Collections/Mitchell-Gold-Bob-Williams/',
           'right',
           '60',
           '20',
           '#97A0A7',
           '']);

imgA.push(['img',
          	'/images/hero/home_hero4new.jpg',
          	'http://rubyliving.com/catalog/Collections/Hickory-Chair/',
          	'right',
          	'27',
          	'30',
          	'#000000',
          	'']);



imgA.push(['img',
          	'/images/hero/charlotte09new.jpg',
          	'http://rubyliving.com/catalog/search/?q=charlotte',
          	'right',
          	'60',
          	'20',
          	'#ffffff',
          	'']);

imgA.push(['img',
          	'/images/hero/home_hero6new.jpg',
          	'http://rubyliving.com/catalog/Collections/Hickory-Chair/',
          	'right',
          	'32',
          	'20',
          	'#000000',
          	'']);

/*
 * edit / remove
 */
imgA.push(['img',
          	'/images/hero/home_hero5new.jpg',
          	'http://rubyliving.com/catalog/Collections/Hickory-Chair/',
          	'right',
          	'67',
          	'35',
          	'',
          	'']);

imgA.push(['img',
         	'/images/hero/environment_tablenew.jpg',
         	'http://rubyliving.com/catalog/Collections/Environment/',
         	'left',
         	'20',
         	'30',
         	'#e5b560',
         	'living reclaimed<br>with the Environment Collection']);

imgA.push(['img',
       	'/images/hero/new-home-image-resize.jpg',
       	'http://rubyliving.com/catalog/Collections/Environment/',
       	'right',
       	'20',
       	'14',
       	'#ffffff',
      	'']);

imgA.push(['img',
       	'/images/hero/new-home-image-2-resize.jpg',
       	'http://rubyliving.com/catalog/Collections/Mitchell-Gold-Bob-Williams/',
       	'right',
       	'20',
       	'14',
       	'#000000',
      	'']);

imgA.push(['img',
           '/images/hero/lennon_media_console.jpg',
           'http://rubyliving.com/catalog/Furniture/Tables/Console/Lennon-Media-Console/',
           'right',
           '20',
           '14',
           '#000000',
           '']);

imgA.push(['img',
           '/images/hero/Hallings.jpg',
           'http://rubyliving.com/catalog/Browse-By-Room/Home-Office/Desks/Hallings-Secretary/',
           'right',
           '20',
           '14',
           '#000000',
           '']);

imgA.push(['img',
           '/images/hero/lotus-bed.jpg',
           'http://rubyliving.com/catalog/Browse-By-Room/Bedroom/Beds/Lotus-Bed/',
           'right',
           '20',
           '14',
           '#000000',
           '']);

imgA.push(['img',
           '/images/hero/marison-dt_360-stools.jpg',
           'http://rubyliving.com/catalog/Furniture/Tables/Dining/',
           'right',
           '20',
           '14',
           '#000000',
           '']);

imgA.push(['img',
           '/images/hero/dumont-console.jpg',
           'http://rubyliving.com/catalog/Furniture/Tables/Console/Dumont-Console/',
           'right',
           '20',
           '14',
           '#000000',
           '']);

