var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3985042&docid=69380778&x=2031',
		'title': '',
		'imageId': '69380778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985042&docid=69380779&x=2031',
		'title': '',
		'imageId': '69380779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985042&docid=69380780&x=2031',
		'title': '',
		'imageId': '69380780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985042&docid=69380781&x=2031',
		'title': '',
		'imageId': '69380781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985042&docid=69380782&x=2031',
		'title': '',
		'imageId': '69380782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985042&docid=69380783&x=2031',
		'title': '',
		'imageId': '69380783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985042&docid=69380784&x=2031',
		'title': '',
		'imageId': '69380784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985042&docid=69380785&x=2031',
		'title': '',
		'imageId': '69380785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985042&docid=69380786&x=2031',
		'title': '',
		'imageId': '69380786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985042&docid=69380787&x=2031',
		'title': '',
		'imageId': '69380787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985042&docid=69380788&x=2031',
		'title': '',
		'imageId': '69380788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985042&docid=69380789&x=2031',
		'title': '',
		'imageId': '69380789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3985042';

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