var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3917788&docid=67849415&x=3918',
		'title': '',
		'imageId': '67849415',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917788&docid=67849420&x=3918',
		'title': '',
		'imageId': '67849420',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917788&docid=67849421&x=3918',
		'title': '',
		'imageId': '67849421',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917788&docid=67849422&x=3918',
		'title': '',
		'imageId': '67849422',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917788&docid=67849413&x=3918',
		'title': '',
		'imageId': '67849413',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917788&docid=67849428&x=3918',
		'title': '',
		'imageId': '67849428',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917788&docid=67849427&x=3918',
		'title': '',
		'imageId': '67849427',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917788&docid=67849425&x=3918',
		'title': '',
		'imageId': '67849425',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917788&docid=67849426&x=3918',
		'title': '',
		'imageId': '67849426',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917788&docid=67849424&x=3918',
		'title': '',
		'imageId': '67849424',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917788&docid=67849416&x=3918',
		'title': '',
		'imageId': '67849416',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917788&docid=67849423&x=3918',
		'title': '',
		'imageId': '67849423',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917788&docid=67849419&x=3918',
		'title': '',
		'imageId': '67849419',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917788&docid=67849418&x=3918',
		'title': '',
		'imageId': '67849418',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917788&docid=67849417&x=3918',
		'title': '',
		'imageId': '67849417',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917788&docid=67849414&x=3918',
		'title': '',
		'imageId': '67849414',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917788&docid=67849461&x=3918',
		'title': '',
		'imageId': '67849461',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917788&docid=67849462&x=3918',
		'title': '',
		'imageId': '67849462',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917788&docid=67849464&x=3918',
		'title': '',
		'imageId': '67849464',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917788&docid=67849463&x=3918',
		'title': '',
		'imageId': '67849463',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3917788';

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