var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3997513&docid=69272710&x=1231',
		'title': '',
		'imageId': '69272710',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997513&docid=69272713&x=1231',
		'title': '',
		'imageId': '69272713',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997513&docid=69272711&x=1231',
		'title': '',
		'imageId': '69272711',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997513&docid=69272712&x=1231',
		'title': '',
		'imageId': '69272712',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997513&docid=69272714&x=1231',
		'title': '',
		'imageId': '69272714',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997513&docid=69272718&x=1231',
		'title': '',
		'imageId': '69272718',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997513&docid=69272719&x=1231',
		'title': '',
		'imageId': '69272719',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997513&docid=69272720&x=1231',
		'title': '',
		'imageId': '69272720',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997513&docid=69272721&x=1231',
		'title': '',
		'imageId': '69272721',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3997513';

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