var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932367&docid=68184943&x=2341',
		'title': '',
		'imageId': '68184943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932367&docid=68184957&x=2341',
		'title': '',
		'imageId': '68184957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932367&docid=68184956&x=2341',
		'title': '',
		'imageId': '68184956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932367&docid=68184937&x=2341',
		'title': '',
		'imageId': '68184937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932367&docid=68184938&x=2341',
		'title': '',
		'imageId': '68184938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932367&docid=68184939&x=2341',
		'title': '',
		'imageId': '68184939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932367&docid=68184942&x=2341',
		'title': '',
		'imageId': '68184942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932367&docid=68184940&x=2341',
		'title': '',
		'imageId': '68184940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932367&docid=68184945&x=2341',
		'title': '',
		'imageId': '68184945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932367&docid=68184941&x=2341',
		'title': '',
		'imageId': '68184941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932367&docid=68184949&x=2341',
		'title': '',
		'imageId': '68184949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932367&docid=68184944&x=2341',
		'title': '',
		'imageId': '68184944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932367&docid=68184946&x=2341',
		'title': '',
		'imageId': '68184946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932367&docid=68184952&x=2341',
		'title': '',
		'imageId': '68184952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932367&docid=68184951&x=2341',
		'title': '',
		'imageId': '68184951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932367&docid=68184948&x=2341',
		'title': '',
		'imageId': '68184948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932367&docid=68184950&x=2341',
		'title': '',
		'imageId': '68184950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932367&docid=68184947&x=2341',
		'title': '',
		'imageId': '68184947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932367&docid=68184936&x=2341',
		'title': '',
		'imageId': '68184936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932367&docid=68184954&x=2341',
		'title': '',
		'imageId': '68184954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932367&docid=68184955&x=2341',
		'title': '',
		'imageId': '68184955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932367&docid=68184953&x=2341',
		'title': '',
		'imageId': '68184953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932367';

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