// JavaScript Document
var mygallery=new fadeSlideShow({
	wrapperid: "leftimages", //ID of blank DIV on page to house Slideshow
	dimensions: [200, 300], //width/height of gallery in pixels. Should reflect dimensions of largest image
	imagearray: [
		["images/sidepic1.jpg"],
		["images/sidepic2.jpg"],
		["images/sidepic3.jpg"] //<--no trailing comma after very last image element!
	],
	displaymode: {type:'auto', pause:5000, cycles:0, wraparound:false},
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 2000, //transition duration (milliseconds)
	descreveal: "ondemand",
	togglerid: ""
})

var mygallery=new fadeSlideShow({
	wrapperid: "rightimages", //ID of blank DIV on page to house Slideshow
	dimensions: [200, 140], //width/height of gallery in pixels. Should reflect dimensions of largest image
	imagearray: [
		["images/right1.jpg", "http://www.nickycornell.com/", "_blank"],
		["images/right2.jpg", "http://www.pine-oakfurniture.co.uk/", "_blank"],
		["images/right3.jpg", "http://www.vanhage.co.uk/", "_blank"],
		["images/right4.jpg", "http://www.spacelabshealthcare.com/", "_blank"],
		["images/right5.jpg", "http://www.nspirehealth.com/", "_blank"],
		["images/right6.jpg", "http://www.fix8.co.uk/", "_blank"] //<--no trailing comma after very last image element!
	],
	displaymode: {type:'auto', pause:5000, cycles:0, wraparound:false},
	persist: true, //remember last viewed slide and recall within same session?
	fadeduration: 2000, //transition duration (milliseconds)
	descreveal: "ondemand",
	togglerid: ""
})

var mygallery=new fadeSlideShow({
	wrapperid: "strapline", //ID of blank DIV on page to house Slideshow
	dimensions: [970, 50], //width/height of gallery in pixels. Should reflect dimensions of largest image
	imagearray: [
		["images/strapline.gif"],
		["images/strapline2.gif"] //<--no trailing comma after very last image element!
	],
	displaymode: {type:'auto', pause:5000, cycles:0, wraparound:false},
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 2000, //transition duration (milliseconds)
	descreveal: "ondemand",
	togglerid: ""
})

/*$(function(){
				// Dialog			
				$("#dialog").dialog({
							bgiframe: true,
							height: 140,
							modal: true,
							title: "Special Offer!",
							resizable: false,
							height: 510,
							width: 380,
							buttons: {
											"Close": function() {
												$(this).dialog('close');
											},
											"Terms": function() {
												window.location = "/samsungterms.php";
											}
										}
						});

				
				$('#dialog').dialog('open');
			
			});*/


