var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932112&docid=67845552&x=5759',
		'title': '',
		'imageId': '67845552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932112&docid=67845550&x=5759',
		'title': '',
		'imageId': '67845550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932112&docid=67845551&x=5759',
		'title': '',
		'imageId': '67845551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932112&docid=67845548&x=5759',
		'title': '',
		'imageId': '67845548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932112&docid=67845549&x=5759',
		'title': '',
		'imageId': '67845549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932112&docid=67845547&x=5759',
		'title': '',
		'imageId': '67845547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932112&docid=67845546&x=5759',
		'title': '',
		'imageId': '67845546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932112&docid=67845536&x=5759',
		'title': '',
		'imageId': '67845536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932112&docid=67845535&x=5759',
		'title': '',
		'imageId': '67845535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932112&docid=67845534&x=5759',
		'title': '',
		'imageId': '67845534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932112&docid=67845537&x=5759',
		'title': '',
		'imageId': '67845537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932112';

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