var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4067284&docid=71425336&x=3951',
		'title': '',
		'imageId': '71425336',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067284&docid=71425334&x=3951',
		'title': '',
		'imageId': '71425334',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067284&docid=71425332&x=3951',
		'title': '',
		'imageId': '71425332',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067284&docid=71425328&x=3951',
		'title': '',
		'imageId': '71425328',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067284&docid=71425330&x=3951',
		'title': '',
		'imageId': '71425330',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067284&docid=71425326&x=3951',
		'title': '',
		'imageId': '71425326',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067284&docid=71425335&x=3951',
		'title': '',
		'imageId': '71425335',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067284&docid=71425333&x=3951',
		'title': '',
		'imageId': '71425333',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067284&docid=71425329&x=3951',
		'title': '',
		'imageId': '71425329',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067284&docid=71425327&x=3951',
		'title': '',
		'imageId': '71425327',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067284&docid=71425331&x=3951',
		'title': '',
		'imageId': '71425331',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4067284';

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