var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4090523&docid=71959546&x=292',
		'title': '',
		'imageId': '71959546',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090523&docid=71959543&x=292',
		'title': '',
		'imageId': '71959543',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090523&docid=71959550&x=292',
		'title': '',
		'imageId': '71959550',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090523&docid=71959541&x=292',
		'title': '',
		'imageId': '71959541',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090523&docid=71959542&x=292',
		'title': '',
		'imageId': '71959542',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090523&docid=71959553&x=292',
		'title': '',
		'imageId': '71959553',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090523&docid=71959544&x=292',
		'title': '',
		'imageId': '71959544',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090523&docid=71959539&x=292',
		'title': '',
		'imageId': '71959539',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090523&docid=71959549&x=292',
		'title': '',
		'imageId': '71959549',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090523&docid=71959556&x=292',
		'title': '',
		'imageId': '71959556',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090523&docid=71959555&x=292',
		'title': '',
		'imageId': '71959555',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090523&docid=71959545&x=292',
		'title': '',
		'imageId': '71959545',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090523&docid=71959554&x=292',
		'title': '',
		'imageId': '71959554',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090523&docid=71959557&x=292',
		'title': '',
		'imageId': '71959557',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090523&docid=71959548&x=292',
		'title': '',
		'imageId': '71959548',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090523&docid=71959547&x=292',
		'title': '',
		'imageId': '71959547',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090523&docid=71959551&x=292',
		'title': '',
		'imageId': '71959551',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090523&docid=71959552&x=292',
		'title': '',
		'imageId': '71959552',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090523&docid=71959540&x=292',
		'title': '',
		'imageId': '71959540',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4090523';

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