var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999120&docid=69686551&x=4443',
		'title': '',
		'imageId': '69686551',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999120&docid=69686549&x=4443',
		'title': '',
		'imageId': '69686549',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999120&docid=69686556&x=4443',
		'title': '',
		'imageId': '69686556',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999120&docid=69686552&x=4443',
		'title': '',
		'imageId': '69686552',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999120&docid=69686547&x=4443',
		'title': '',
		'imageId': '69686547',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999120&docid=69686553&x=4443',
		'title': '',
		'imageId': '69686553',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999120&docid=69686555&x=4443',
		'title': '',
		'imageId': '69686555',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999120&docid=69686554&x=4443',
		'title': '',
		'imageId': '69686554',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999120&docid=69686546&x=4443',
		'title': '',
		'imageId': '69686546',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999120&docid=69686548&x=4443',
		'title': '',
		'imageId': '69686548',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999120&docid=69686550&x=4443',
		'title': '',
		'imageId': '69686550',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999120';

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