var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3986628&docid=69419587&x=5513',
		'title': '',
		'imageId': '69419587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986628&docid=69419590&x=5513',
		'title': '',
		'imageId': '69419590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986628&docid=69419591&x=5513',
		'title': '',
		'imageId': '69419591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986628&docid=69419592&x=5513',
		'title': '',
		'imageId': '69419592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986628&docid=69419593&x=5513',
		'title': '',
		'imageId': '69419593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986628&docid=69419594&x=5513',
		'title': '',
		'imageId': '69419594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986628&docid=69419595&x=5513',
		'title': '',
		'imageId': '69419595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986628&docid=69419596&x=5513',
		'title': '',
		'imageId': '69419596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986628&docid=69419597&x=5513',
		'title': '',
		'imageId': '69419597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986628&docid=69419599&x=5513',
		'title': '',
		'imageId': '69419599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986628&docid=69419600&x=5513',
		'title': '',
		'imageId': '69419600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986628&docid=69419604&x=5513',
		'title': '',
		'imageId': '69419604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3986628';

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