var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4048493&docid=70953015&x=4951',
		'title': '',
		'imageId': '70953015',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048493&docid=70953019&x=4951',
		'title': '',
		'imageId': '70953019',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048493&docid=70953062&x=4951',
		'title': '',
		'imageId': '70953062',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048493&docid=70953065&x=4951',
		'title': '',
		'imageId': '70953065',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048493&docid=70953095&x=4951',
		'title': '',
		'imageId': '70953095',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048493&docid=71135189&x=4951',
		'title': '',
		'imageId': '71135189',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048493&docid=71135213&x=4951',
		'title': '',
		'imageId': '71135213',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048493&docid=71135219&x=4951',
		'title': '',
		'imageId': '71135219',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048493&docid=71135234&x=4951',
		'title': '',
		'imageId': '71135234',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048493&docid=71135275&x=4951',
		'title': '',
		'imageId': '71135275',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048493&docid=71135335&x=4951',
		'title': '',
		'imageId': '71135335',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4048493';

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