var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980665&docid=69279582&x=1226',
		'title': '',
		'imageId': '69279582',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980665&docid=69279583&x=1226',
		'title': '',
		'imageId': '69279583',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980665&docid=69279584&x=1226',
		'title': '',
		'imageId': '69279584',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980665&docid=69279585&x=1226',
		'title': '',
		'imageId': '69279585',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980665&docid=69279587&x=1226',
		'title': '',
		'imageId': '69279587',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980665&docid=69279588&x=1226',
		'title': '',
		'imageId': '69279588',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980665&docid=69279586&x=1226',
		'title': '',
		'imageId': '69279586',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980665&docid=69279576&x=1226',
		'title': '',
		'imageId': '69279576',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980665&docid=69279577&x=1226',
		'title': '',
		'imageId': '69279577',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980665&docid=69279578&x=1226',
		'title': '',
		'imageId': '69279578',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980665&docid=69279579&x=1226',
		'title': '',
		'imageId': '69279579',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980665';

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