var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007721&docid=69902253&x=2858',
		'title': '',
		'imageId': '69902253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007721&docid=69902246&x=2858',
		'title': '',
		'imageId': '69902246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007721&docid=69902249&x=2858',
		'title': '',
		'imageId': '69902249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007721&docid=69902250&x=2858',
		'title': '',
		'imageId': '69902250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007721&docid=69902259&x=2858',
		'title': '',
		'imageId': '69902259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007721&docid=69902251&x=2858',
		'title': '',
		'imageId': '69902251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007721&docid=69902252&x=2858',
		'title': '',
		'imageId': '69902252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007721&docid=69902254&x=2858',
		'title': '',
		'imageId': '69902254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007721&docid=69902255&x=2858',
		'title': '',
		'imageId': '69902255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007721&docid=69902256&x=2858',
		'title': '',
		'imageId': '69902256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007721&docid=69902257&x=2858',
		'title': '',
		'imageId': '69902257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007721&docid=69902258&x=2858',
		'title': '',
		'imageId': '69902258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007721';

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