var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4088428&docid=70213345&x=4029',
		'title': '',
		'imageId': '70213345',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088428&docid=70213336&x=4029',
		'title': '',
		'imageId': '70213336',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088428&docid=70213342&x=4029',
		'title': '',
		'imageId': '70213342',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088428&docid=70213340&x=4029',
		'title': '',
		'imageId': '70213340',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088428&docid=70213343&x=4029',
		'title': '',
		'imageId': '70213343',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088428&docid=70213338&x=4029',
		'title': '',
		'imageId': '70213338',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088428&docid=70213337&x=4029',
		'title': '',
		'imageId': '70213337',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088428&docid=70213339&x=4029',
		'title': '',
		'imageId': '70213339',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088428&docid=70213368&x=4029',
		'title': '',
		'imageId': '70213368',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088428&docid=70213341&x=4029',
		'title': '',
		'imageId': '70213341',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088428&docid=70213344&x=4029',
		'title': '',
		'imageId': '70213344',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4088428';

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