var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947241&docid=68515537&x=5349',
		'title': '',
		'imageId': '68515537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947241&docid=68515541&x=5349',
		'title': '',
		'imageId': '68515541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947241&docid=68515539&x=5349',
		'title': '',
		'imageId': '68515539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947241&docid=68515536&x=5349',
		'title': '',
		'imageId': '68515536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947241&docid=68515542&x=5349',
		'title': '',
		'imageId': '68515542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947241&docid=68515545&x=5349',
		'title': '',
		'imageId': '68515545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947241&docid=68515543&x=5349',
		'title': '',
		'imageId': '68515543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947241&docid=68515546&x=5349',
		'title': '',
		'imageId': '68515546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947241&docid=68515548&x=5349',
		'title': '',
		'imageId': '68515548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947241&docid=68515547&x=5349',
		'title': '',
		'imageId': '68515547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947241&docid=68515551&x=5349',
		'title': '',
		'imageId': '68515551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947241&docid=68515549&x=5349',
		'title': '',
		'imageId': '68515549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947241';

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