var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=476690&docid=2606096&x=4125',
		'title': '',
		'imageId': '2606096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476690&docid=2606103&x=4125',
		'title': '',
		'imageId': '2606103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476690&docid=2606111&x=4125',
		'title': '',
		'imageId': '2606111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476690&docid=2606114&x=4125',
		'title': '',
		'imageId': '2606114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476690&docid=2606117&x=4125',
		'title': '',
		'imageId': '2606117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476690&docid=2606120&x=4125',
		'title': '',
		'imageId': '2606120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476690&docid=2606123&x=4125',
		'title': '',
		'imageId': '2606123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476690&docid=2606126&x=4125',
		'title': '',
		'imageId': '2606126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476690&docid=2606129&x=4125',
		'title': '',
		'imageId': '2606129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476690&docid=2606132&x=4125',
		'title': '',
		'imageId': '2606132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476690&docid=2606135&x=4125',
		'title': '',
		'imageId': '2606135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476690&docid=2606138&x=4125',
		'title': '',
		'imageId': '2606138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476690&docid=2606141&x=4125',
		'title': '',
		'imageId': '2606141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476690&docid=2606144&x=4125',
		'title': '',
		'imageId': '2606144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476690&docid=2606150&x=4125',
		'title': '',
		'imageId': '2606150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476690&docid=2606153&x=4125',
		'title': '',
		'imageId': '2606153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476690&docid=2606093&x=4125',
		'title': '',
		'imageId': '2606093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #476690';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
