var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4061753&docid=71293136&x=825',
		'title': '',
		'imageId': '71293136',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061753&docid=71293137&x=825',
		'title': '',
		'imageId': '71293137',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061753&docid=71293139&x=825',
		'title': '',
		'imageId': '71293139',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061753&docid=71293138&x=825',
		'title': '',
		'imageId': '71293138',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061753&docid=71293153&x=825',
		'title': '',
		'imageId': '71293153',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061753&docid=71293154&x=825',
		'title': '',
		'imageId': '71293154',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061753&docid=71293157&x=825',
		'title': '',
		'imageId': '71293157',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061753&docid=71293158&x=825',
		'title': '',
		'imageId': '71293158',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061753&docid=71293159&x=825',
		'title': '',
		'imageId': '71293159',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061753&docid=71293160&x=825',
		'title': '',
		'imageId': '71293160',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061753&docid=71293166&x=825',
		'title': '',
		'imageId': '71293166',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061753&docid=71293170&x=825',
		'title': '',
		'imageId': '71293170',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061753&docid=71293173&x=825',
		'title': '',
		'imageId': '71293173',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061753&docid=71293171&x=825',
		'title': '',
		'imageId': '71293171',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061753&docid=71293179&x=825',
		'title': '',
		'imageId': '71293179',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061753&docid=71293135&x=825',
		'title': '',
		'imageId': '71293135',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061753&docid=71293134&x=825',
		'title': '',
		'imageId': '71293134',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4061753';

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