var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3927009&docid=67370238&x=71',
		'title': '',
		'imageId': '67370238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927009&docid=67370241&x=71',
		'title': '',
		'imageId': '67370241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927009&docid=67370244&x=71',
		'title': '',
		'imageId': '67370244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927009&docid=67370257&x=71',
		'title': '',
		'imageId': '67370257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927009&docid=67370274&x=71',
		'title': '',
		'imageId': '67370274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927009&docid=67370277&x=71',
		'title': '',
		'imageId': '67370277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927009&docid=67370280&x=71',
		'title': '',
		'imageId': '67370280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927009&docid=67370283&x=71',
		'title': '',
		'imageId': '67370283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927009&docid=67370308&x=71',
		'title': '',
		'imageId': '67370308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927009&docid=67370321&x=71',
		'title': '',
		'imageId': '67370321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927009&docid=67370344&x=71',
		'title': '',
		'imageId': '67370344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3927009';

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