var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015245&docid=70137092&x=5421',
		'title': '',
		'imageId': '70137092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015245&docid=70137102&x=5421',
		'title': '',
		'imageId': '70137102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015245&docid=70137103&x=5421',
		'title': '',
		'imageId': '70137103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015245&docid=70137104&x=5421',
		'title': '',
		'imageId': '70137104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015245&docid=70137107&x=5421',
		'title': '',
		'imageId': '70137107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015245&docid=70137098&x=5421',
		'title': '',
		'imageId': '70137098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015245&docid=70137097&x=5421',
		'title': '',
		'imageId': '70137097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015245&docid=70137100&x=5421',
		'title': '',
		'imageId': '70137100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015245&docid=70137093&x=5421',
		'title': '',
		'imageId': '70137093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015245&docid=70137094&x=5421',
		'title': '',
		'imageId': '70137094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015245&docid=70137106&x=5421',
		'title': '',
		'imageId': '70137106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015245&docid=70137105&x=5421',
		'title': '',
		'imageId': '70137105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015245&docid=70137099&x=5421',
		'title': '',
		'imageId': '70137099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015245&docid=70137095&x=5421',
		'title': '',
		'imageId': '70137095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015245&docid=70137108&x=5421',
		'title': '',
		'imageId': '70137108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015245&docid=70137101&x=5421',
		'title': '',
		'imageId': '70137101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015245&docid=70137096&x=5421',
		'title': '',
		'imageId': '70137096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015245&docid=59270415&x=5421',
		'title': '',
		'imageId': '59270415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015245&docid=59270407&x=5421',
		'title': '',
		'imageId': '59270407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015245';

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