var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4079497&docid=71389131&x=1345',
		'title': '',
		'imageId': '71389131',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079497&docid=71389134&x=1345',
		'title': '',
		'imageId': '71389134',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079497&docid=71389132&x=1345',
		'title': '',
		'imageId': '71389132',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079497&docid=71389141&x=1345',
		'title': '',
		'imageId': '71389141',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079497&docid=71389138&x=1345',
		'title': '',
		'imageId': '71389138',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079497&docid=71389136&x=1345',
		'title': '',
		'imageId': '71389136',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079497&docid=71389135&x=1345',
		'title': '',
		'imageId': '71389135',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079497&docid=71389139&x=1345',
		'title': '',
		'imageId': '71389139',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079497&docid=71389137&x=1345',
		'title': '',
		'imageId': '71389137',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079497&docid=71389140&x=1345',
		'title': '',
		'imageId': '71389140',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079497&docid=71389133&x=1345',
		'title': '',
		'imageId': '71389133',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4079497';

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