var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010988&docid=69983684&x=5555',
		'title': '',
		'imageId': '69983684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010988&docid=69983685&x=5555',
		'title': '',
		'imageId': '69983685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010988&docid=69983686&x=5555',
		'title': '',
		'imageId': '69983686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010988&docid=69983687&x=5555',
		'title': '',
		'imageId': '69983687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010988&docid=69983688&x=5555',
		'title': '',
		'imageId': '69983688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010988&docid=69983689&x=5555',
		'title': '',
		'imageId': '69983689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010988&docid=69983690&x=5555',
		'title': '',
		'imageId': '69983690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010988&docid=69983691&x=5555',
		'title': '',
		'imageId': '69983691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010988&docid=69983692&x=5555',
		'title': '',
		'imageId': '69983692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010988&docid=69983693&x=5555',
		'title': '',
		'imageId': '69983693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010988';

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