var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3933066&docid=68205335&x=5953',
		'title': '',
		'imageId': '68205335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933066&docid=68205327&x=5953',
		'title': '',
		'imageId': '68205327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933066&docid=68205334&x=5953',
		'title': '',
		'imageId': '68205334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933066&docid=68205331&x=5953',
		'title': '',
		'imageId': '68205331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933066&docid=68205326&x=5953',
		'title': '',
		'imageId': '68205326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933066&docid=68205328&x=5953',
		'title': '',
		'imageId': '68205328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933066&docid=68205329&x=5953',
		'title': '',
		'imageId': '68205329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933066&docid=68205333&x=5953',
		'title': '',
		'imageId': '68205333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933066&docid=68205330&x=5953',
		'title': '',
		'imageId': '68205330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933066&docid=68205336&x=5953',
		'title': '',
		'imageId': '68205336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933066&docid=68205332&x=5953',
		'title': '',
		'imageId': '68205332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933066&docid=68205337&x=5953',
		'title': '',
		'imageId': '68205337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3933066';

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