var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3961081&docid=67459347&x=1042',
		'title': '',
		'imageId': '67459347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961081&docid=67459348&x=1042',
		'title': '',
		'imageId': '67459348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961081&docid=67459351&x=1042',
		'title': '',
		'imageId': '67459351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961081&docid=67459350&x=1042',
		'title': '',
		'imageId': '67459350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961081&docid=67459352&x=1042',
		'title': '',
		'imageId': '67459352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961081&docid=67459354&x=1042',
		'title': '',
		'imageId': '67459354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961081&docid=67459355&x=1042',
		'title': '',
		'imageId': '67459355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961081&docid=67459356&x=1042',
		'title': '',
		'imageId': '67459356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961081&docid=67459357&x=1042',
		'title': '',
		'imageId': '67459357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961081&docid=67459358&x=1042',
		'title': '',
		'imageId': '67459358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3961081';

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