var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3933208&docid=68208755&x=420',
		'title': '',
		'imageId': '68208755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933208&docid=68208754&x=420',
		'title': '',
		'imageId': '68208754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933208&docid=68208758&x=420',
		'title': '',
		'imageId': '68208758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933208&docid=68208759&x=420',
		'title': '',
		'imageId': '68208759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933208&docid=68208760&x=420',
		'title': '',
		'imageId': '68208760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933208&docid=68208757&x=420',
		'title': '',
		'imageId': '68208757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933208&docid=68208761&x=420',
		'title': '',
		'imageId': '68208761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933208&docid=68208756&x=420',
		'title': '',
		'imageId': '68208756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933208&docid=68267028&x=420',
		'title': '',
		'imageId': '68267028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933208&docid=68267027&x=420',
		'title': '',
		'imageId': '68267027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3933208';

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