var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4090416&docid=71955289&x=472',
		'title': '',
		'imageId': '71955289',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090416&docid=71955331&x=472',
		'title': '',
		'imageId': '71955331',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090416&docid=71955349&x=472',
		'title': '',
		'imageId': '71955349',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090416&docid=71955267&x=472',
		'title': '',
		'imageId': '71955267',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090416&docid=71955270&x=472',
		'title': '',
		'imageId': '71955270',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090416&docid=71955268&x=472',
		'title': '',
		'imageId': '71955268',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090416&docid=71955269&x=472',
		'title': '',
		'imageId': '71955269',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090416&docid=71955273&x=472',
		'title': '',
		'imageId': '71955273',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090416&docid=71955287&x=472',
		'title': '',
		'imageId': '71955287',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090416&docid=71955330&x=472',
		'title': '',
		'imageId': '71955330',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090416&docid=71955329&x=472',
		'title': '',
		'imageId': '71955329',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090416&docid=71955334&x=472',
		'title': '',
		'imageId': '71955334',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090416&docid=71955332&x=472',
		'title': '',
		'imageId': '71955332',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090416&docid=71955333&x=472',
		'title': '',
		'imageId': '71955333',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090416&docid=71955340&x=472',
		'title': '',
		'imageId': '71955340',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090416&docid=71955339&x=472',
		'title': '',
		'imageId': '71955339',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090416&docid=71955350&x=472',
		'title': '',
		'imageId': '71955350',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090416&docid=71955266&x=472',
		'title': '',
		'imageId': '71955266',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090416&docid=71955265&x=472',
		'title': '',
		'imageId': '71955265',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4090416';

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