var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3920044&docid=67909687&x=4033',
		'title': '',
		'imageId': '67909687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920044&docid=67909691&x=4033',
		'title': '',
		'imageId': '67909691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920044&docid=67909689&x=4033',
		'title': '',
		'imageId': '67909689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920044&docid=67909695&x=4033',
		'title': '',
		'imageId': '67909695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920044&docid=67909696&x=4033',
		'title': '',
		'imageId': '67909696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920044&docid=67909694&x=4033',
		'title': '',
		'imageId': '67909694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920044&docid=67909690&x=4033',
		'title': '',
		'imageId': '67909690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920044&docid=67909692&x=4033',
		'title': '',
		'imageId': '67909692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920044&docid=67909693&x=4033',
		'title': '',
		'imageId': '67909693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920044&docid=67909688&x=4033',
		'title': '',
		'imageId': '67909688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3920044';

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