var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999097&docid=69686019&x=1250',
		'title': '',
		'imageId': '69686019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999097&docid=69686028&x=1250',
		'title': '',
		'imageId': '69686028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999097&docid=69686031&x=1250',
		'title': '',
		'imageId': '69686031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999097&docid=69686035&x=1250',
		'title': '',
		'imageId': '69686035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999097&docid=69686040&x=1250',
		'title': '',
		'imageId': '69686040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999097&docid=69686054&x=1250',
		'title': '',
		'imageId': '69686054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999097&docid=69686057&x=1250',
		'title': '',
		'imageId': '69686057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999097&docid=69686072&x=1250',
		'title': '',
		'imageId': '69686072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999097&docid=69686077&x=1250',
		'title': '',
		'imageId': '69686077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999097&docid=69686081&x=1250',
		'title': '',
		'imageId': '69686081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999097&docid=69896566&x=1250',
		'title': '',
		'imageId': '69896566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999097';

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