var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3927008&docid=67370634&x=3747',
		'title': '',
		'imageId': '67370634',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927008&docid=67370637&x=3747',
		'title': '',
		'imageId': '67370637',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927008&docid=67370641&x=3747',
		'title': '',
		'imageId': '67370641',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927008&docid=67370645&x=3747',
		'title': '',
		'imageId': '67370645',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927008&docid=67370660&x=3747',
		'title': '',
		'imageId': '67370660',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927008&docid=67370675&x=3747',
		'title': '',
		'imageId': '67370675',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927008&docid=67370680&x=3747',
		'title': '',
		'imageId': '67370680',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927008&docid=67370692&x=3747',
		'title': '',
		'imageId': '67370692',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927008&docid=67370695&x=3747',
		'title': '',
		'imageId': '67370695',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927008&docid=67370701&x=3747',
		'title': '',
		'imageId': '67370701',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927008&docid=67370704&x=3747',
		'title': '',
		'imageId': '67370704',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3927008';

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