var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011884&docid=69771766&x=5353',
		'title': '',
		'imageId': '69771766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011884&docid=69771763&x=5353',
		'title': '',
		'imageId': '69771763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011884&docid=69771760&x=5353',
		'title': '',
		'imageId': '69771760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011884&docid=69771765&x=5353',
		'title': '',
		'imageId': '69771765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011884&docid=69771761&x=5353',
		'title': '',
		'imageId': '69771761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011884&docid=69771764&x=5353',
		'title': '',
		'imageId': '69771764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011884&docid=69771767&x=5353',
		'title': '',
		'imageId': '69771767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011884&docid=69771758&x=5353',
		'title': '',
		'imageId': '69771758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011884&docid=69771759&x=5353',
		'title': '',
		'imageId': '69771759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011884&docid=69771762&x=5353',
		'title': '',
		'imageId': '69771762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011884';

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