var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3908057&docid=67633342&x=316',
		'title': '',
		'imageId': '67633342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908057&docid=67633341&x=316',
		'title': '',
		'imageId': '67633341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908057&docid=67633346&x=316',
		'title': '',
		'imageId': '67633346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908057&docid=67633348&x=316',
		'title': '',
		'imageId': '67633348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908057&docid=67633349&x=316',
		'title': '',
		'imageId': '67633349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908057&docid=67633340&x=316',
		'title': '',
		'imageId': '67633340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908057&docid=67633343&x=316',
		'title': '',
		'imageId': '67633343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908057&docid=67633344&x=316',
		'title': '',
		'imageId': '67633344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908057&docid=67633345&x=316',
		'title': '',
		'imageId': '67633345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908057&docid=67633347&x=316',
		'title': '',
		'imageId': '67633347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908057&docid=67633351&x=316',
		'title': '',
		'imageId': '67633351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908057&docid=67633350&x=316',
		'title': '',
		'imageId': '67633350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3908057';

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