var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3915042&docid=67575344&x=5435',
		'title': '',
		'imageId': '67575344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915042&docid=67575339&x=5435',
		'title': '',
		'imageId': '67575339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915042&docid=67575346&x=5435',
		'title': '',
		'imageId': '67575346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915042&docid=67575338&x=5435',
		'title': '',
		'imageId': '67575338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915042&docid=67575342&x=5435',
		'title': '',
		'imageId': '67575342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915042&docid=67575341&x=5435',
		'title': '',
		'imageId': '67575341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915042&docid=67575340&x=5435',
		'title': '',
		'imageId': '67575340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915042&docid=67575343&x=5435',
		'title': '',
		'imageId': '67575343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915042&docid=67575345&x=5435',
		'title': '',
		'imageId': '67575345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915042&docid=67575347&x=5435',
		'title': '',
		'imageId': '67575347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3915042';

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