var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3547526&docid=59004256&x=2211',
		'title': '',
		'imageId': '59004256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3547526&docid=59004257&x=2211',
		'title': '',
		'imageId': '59004257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3547526&docid=59004254&x=2211',
		'title': '',
		'imageId': '59004254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3547526&docid=59004253&x=2211',
		'title': '',
		'imageId': '59004253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3547526&docid=59004261&x=2211',
		'title': '',
		'imageId': '59004261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3547526&docid=59004260&x=2211',
		'title': '',
		'imageId': '59004260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3547526&docid=59004247&x=2211',
		'title': '',
		'imageId': '59004247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3547526&docid=59004249&x=2211',
		'title': '',
		'imageId': '59004249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3547526&docid=59004246&x=2211',
		'title': '',
		'imageId': '59004246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3547526&docid=59004248&x=2211',
		'title': '',
		'imageId': '59004248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3547526&docid=59004252&x=2211',
		'title': '',
		'imageId': '59004252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3547526&docid=67948127&x=2211',
		'title': '',
		'imageId': '67948127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3547526';

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