var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=908274&docid=7215828&x=1312',
		'title': '',
		'imageId': '7215828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=908274&docid=7215831&x=1312',
		'title': '',
		'imageId': '7215831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=908274&docid=7215835&x=1312',
		'title': '',
		'imageId': '7215835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=908274&docid=7215840&x=1312',
		'title': '',
		'imageId': '7215840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=908274&docid=7215844&x=1312',
		'title': '',
		'imageId': '7215844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=908274&docid=7215851&x=1312',
		'title': '',
		'imageId': '7215851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=908274&docid=7215848&x=1312',
		'title': '',
		'imageId': '7215848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=908274&docid=7215859&x=1312',
		'title': '',
		'imageId': '7215859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=908274&docid=7215865&x=1312',
		'title': '',
		'imageId': '7215865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=908274&docid=7215871&x=1312',
		'title': '',
		'imageId': '7215871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=908274&docid=7215874&x=1312',
		'title': '',
		'imageId': '7215874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=908274&docid=7215877&x=1312',
		'title': '',
		'imageId': '7215877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #908274';

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";
	})
}
