var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932036&docid=68164540&x=939',
		'title': '',
		'imageId': '68164540',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932036&docid=68164543&x=939',
		'title': '',
		'imageId': '68164543',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932036&docid=68164544&x=939',
		'title': '',
		'imageId': '68164544',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932036&docid=68164545&x=939',
		'title': '',
		'imageId': '68164545',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932036&docid=68164546&x=939',
		'title': '',
		'imageId': '68164546',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932036&docid=68164547&x=939',
		'title': '',
		'imageId': '68164547',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932036&docid=68164548&x=939',
		'title': '',
		'imageId': '68164548',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932036&docid=68164556&x=939',
		'title': '',
		'imageId': '68164556',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932036&docid=68164557&x=939',
		'title': '',
		'imageId': '68164557',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932036&docid=68164549&x=939',
		'title': '',
		'imageId': '68164549',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932036&docid=68164551&x=939',
		'title': '',
		'imageId': '68164551',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932036&docid=68164552&x=939',
		'title': '',
		'imageId': '68164552',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932036&docid=68164553&x=939',
		'title': '',
		'imageId': '68164553',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932036&docid=68164554&x=939',
		'title': '',
		'imageId': '68164554',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932036&docid=68164555&x=939',
		'title': '',
		'imageId': '68164555',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932036&docid=68164542&x=939',
		'title': '',
		'imageId': '68164542',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932036&docid=68164550&x=939',
		'title': '',
		'imageId': '68164550',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932036';

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