var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922270&docid=67956564&x=4445',
		'title': '',
		'imageId': '67956564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922270&docid=67956565&x=4445',
		'title': '',
		'imageId': '67956565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922270&docid=67956566&x=4445',
		'title': '',
		'imageId': '67956566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922270&docid=67956567&x=4445',
		'title': '',
		'imageId': '67956567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922270&docid=67956568&x=4445',
		'title': '',
		'imageId': '67956568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922270&docid=67956569&x=4445',
		'title': '',
		'imageId': '67956569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922270&docid=67956570&x=4445',
		'title': '',
		'imageId': '67956570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922270&docid=67956571&x=4445',
		'title': '',
		'imageId': '67956571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922270&docid=67956573&x=4445',
		'title': '',
		'imageId': '67956573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922270&docid=67956574&x=4445',
		'title': '',
		'imageId': '67956574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922270';

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