var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3968012&docid=67520735&x=4814',
		'title': '',
		'imageId': '67520735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968012&docid=67520738&x=4814',
		'title': '',
		'imageId': '67520738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968012&docid=67520736&x=4814',
		'title': '',
		'imageId': '67520736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968012&docid=67520739&x=4814',
		'title': '',
		'imageId': '67520739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968012&docid=67520742&x=4814',
		'title': '',
		'imageId': '67520742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968012&docid=67520740&x=4814',
		'title': '',
		'imageId': '67520740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968012&docid=67520743&x=4814',
		'title': '',
		'imageId': '67520743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968012&docid=67520741&x=4814',
		'title': '',
		'imageId': '67520741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968012&docid=67520747&x=4814',
		'title': '',
		'imageId': '67520747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968012&docid=67520748&x=4814',
		'title': '',
		'imageId': '67520748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968012&docid=67520745&x=4814',
		'title': '',
		'imageId': '67520745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3968012';

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