var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4088603&docid=71899096&x=555',
		'title': '',
		'imageId': '71899096',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088603&docid=71899099&x=555',
		'title': '',
		'imageId': '71899099',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088603&docid=71899087&x=555',
		'title': '',
		'imageId': '71899087',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088603&docid=71899090&x=555',
		'title': '',
		'imageId': '71899090',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088603&docid=71899100&x=555',
		'title': '',
		'imageId': '71899100',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088603&docid=71899094&x=555',
		'title': '',
		'imageId': '71899094',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088603&docid=71899097&x=555',
		'title': '',
		'imageId': '71899097',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088603&docid=71899091&x=555',
		'title': '',
		'imageId': '71899091',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088603&docid=71899092&x=555',
		'title': '',
		'imageId': '71899092',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088603&docid=71899093&x=555',
		'title': '',
		'imageId': '71899093',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088603&docid=71899086&x=555',
		'title': '',
		'imageId': '71899086',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088603&docid=71899088&x=555',
		'title': '',
		'imageId': '71899088',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088603&docid=71899089&x=555',
		'title': '',
		'imageId': '71899089',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088603&docid=71899098&x=555',
		'title': '',
		'imageId': '71899098',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088603&docid=71899095&x=555',
		'title': '',
		'imageId': '71899095',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088603&docid=71899102&x=555',
		'title': '',
		'imageId': '71899102',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088603&docid=71899101&x=555',
		'title': '',
		'imageId': '71899101',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4088603';

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