var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975438&docid=69157266&x=4529',
		'title': '',
		'imageId': '69157266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975438&docid=69157267&x=4529',
		'title': '',
		'imageId': '69157267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975438&docid=69157268&x=4529',
		'title': '',
		'imageId': '69157268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975438&docid=69157269&x=4529',
		'title': '',
		'imageId': '69157269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975438&docid=69157270&x=4529',
		'title': '',
		'imageId': '69157270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975438&docid=69157271&x=4529',
		'title': '',
		'imageId': '69157271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975438&docid=69157272&x=4529',
		'title': '',
		'imageId': '69157272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975438&docid=69157273&x=4529',
		'title': '',
		'imageId': '69157273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975438&docid=69157274&x=4529',
		'title': '',
		'imageId': '69157274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975438&docid=69157275&x=4529',
		'title': '',
		'imageId': '69157275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975438';

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