var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010568&docid=69972738&x=314',
		'title': '',
		'imageId': '69972738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010568&docid=69972740&x=314',
		'title': '',
		'imageId': '69972740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010568&docid=69972741&x=314',
		'title': '',
		'imageId': '69972741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010568&docid=69972742&x=314',
		'title': '',
		'imageId': '69972742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010568&docid=69972780&x=314',
		'title': '',
		'imageId': '69972780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010568&docid=69972746&x=314',
		'title': '',
		'imageId': '69972746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010568&docid=69972750&x=314',
		'title': '',
		'imageId': '69972750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010568&docid=69972777&x=314',
		'title': '',
		'imageId': '69972777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010568&docid=69972764&x=314',
		'title': '',
		'imageId': '69972764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010568&docid=69972753&x=314',
		'title': '',
		'imageId': '69972753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010568&docid=69972754&x=314',
		'title': '',
		'imageId': '69972754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010568&docid=69972757&x=314',
		'title': '',
		'imageId': '69972757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010568&docid=69972772&x=314',
		'title': '',
		'imageId': '69972772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010568&docid=69972775&x=314',
		'title': '',
		'imageId': '69972775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010568&docid=69972776&x=314',
		'title': '',
		'imageId': '69972776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010568&docid=69972737&x=314',
		'title': '',
		'imageId': '69972737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010568&docid=69972739&x=314',
		'title': '',
		'imageId': '69972739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010568';

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