var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3910911&docid=67663860&x=5423',
		'title': '',
		'imageId': '67663860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910911&docid=67663862&x=5423',
		'title': '',
		'imageId': '67663862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910911&docid=67663867&x=5423',
		'title': '',
		'imageId': '67663867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910911&docid=67663876&x=5423',
		'title': '',
		'imageId': '67663876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910911&docid=67663877&x=5423',
		'title': '',
		'imageId': '67663877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910911&docid=67663878&x=5423',
		'title': '',
		'imageId': '67663878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910911&docid=67663879&x=5423',
		'title': '',
		'imageId': '67663879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910911&docid=67663880&x=5423',
		'title': '',
		'imageId': '67663880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910911&docid=67663881&x=5423',
		'title': '',
		'imageId': '67663881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910911&docid=67663882&x=5423',
		'title': '',
		'imageId': '67663882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3910911';

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