var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4059983&docid=71255934&x=5936',
		'title': '',
		'imageId': '71255934',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059983&docid=71255938&x=5936',
		'title': '',
		'imageId': '71255938',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059983&docid=71255939&x=5936',
		'title': '',
		'imageId': '71255939',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059983&docid=71255949&x=5936',
		'title': '',
		'imageId': '71255949',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059983&docid=71255952&x=5936',
		'title': '',
		'imageId': '71255952',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059983&docid=71255960&x=5936',
		'title': '',
		'imageId': '71255960',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059983&docid=71255959&x=5936',
		'title': '',
		'imageId': '71255959',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059983&docid=71255957&x=5936',
		'title': '',
		'imageId': '71255957',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059983&docid=71255962&x=5936',
		'title': '',
		'imageId': '71255962',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059983&docid=71255977&x=5936',
		'title': '',
		'imageId': '71255977',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059983&docid=71255982&x=5936',
		'title': '',
		'imageId': '71255982',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059983&docid=71255993&x=5936',
		'title': '',
		'imageId': '71255993',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059983&docid=71255994&x=5936',
		'title': '',
		'imageId': '71255994',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059983&docid=71255995&x=5936',
		'title': '',
		'imageId': '71255995',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059983&docid=71256010&x=5936',
		'title': '',
		'imageId': '71256010',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059983&docid=71255997&x=5936',
		'title': '',
		'imageId': '71255997',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059983&docid=71255925&x=5936',
		'title': '',
		'imageId': '71255925',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059983&docid=71255936&x=5936',
		'title': '',
		'imageId': '71255936',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4059983';

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