var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3891571&docid=67185407&x=4433',
		'title': '',
		'imageId': '67185407',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891571&docid=67185408&x=4433',
		'title': '',
		'imageId': '67185408',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891571&docid=67185409&x=4433',
		'title': '',
		'imageId': '67185409',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891571&docid=67185410&x=4433',
		'title': '',
		'imageId': '67185410',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891571&docid=67185411&x=4433',
		'title': '',
		'imageId': '67185411',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891571&docid=67185412&x=4433',
		'title': '',
		'imageId': '67185412',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891571&docid=67185413&x=4433',
		'title': '',
		'imageId': '67185413',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891571&docid=67185414&x=4433',
		'title': '',
		'imageId': '67185414',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891571&docid=67185415&x=4433',
		'title': '',
		'imageId': '67185415',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891571&docid=67185416&x=4433',
		'title': '',
		'imageId': '67185416',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891571&docid=67185417&x=4433',
		'title': '',
		'imageId': '67185417',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3891571';

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