var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4005581&docid=69851538&x=5226',
		'title': '',
		'imageId': '69851538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005581&docid=69851742&x=5226',
		'title': '',
		'imageId': '69851742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005581&docid=69851745&x=5226',
		'title': '',
		'imageId': '69851745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005581&docid=69851747&x=5226',
		'title': '',
		'imageId': '69851747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005581&docid=69851744&x=5226',
		'title': '',
		'imageId': '69851744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005581&docid=69851746&x=5226',
		'title': '',
		'imageId': '69851746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005581&docid=69851743&x=5226',
		'title': '',
		'imageId': '69851743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4005581';

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