var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4005274&docid=69845565&x=2821',
		'title': '',
		'imageId': '69845565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005274&docid=69845590&x=2821',
		'title': '',
		'imageId': '69845590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005274&docid=69845593&x=2821',
		'title': '',
		'imageId': '69845593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005274&docid=69846098&x=2821',
		'title': '',
		'imageId': '69846098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005274&docid=69845777&x=2821',
		'title': '',
		'imageId': '69845777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005274&docid=69845580&x=2821',
		'title': '',
		'imageId': '69845580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005274&docid=69845598&x=2821',
		'title': '',
		'imageId': '69845598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005274&docid=69845583&x=2821',
		'title': '',
		'imageId': '69845583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005274&docid=69845578&x=2821',
		'title': '',
		'imageId': '69845578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005274&docid=69845579&x=2821',
		'title': '',
		'imageId': '69845579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005274&docid=69845597&x=2821',
		'title': '',
		'imageId': '69845597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005274&docid=69846489&x=2821',
		'title': '',
		'imageId': '69846489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005274&docid=69845601&x=2821',
		'title': '',
		'imageId': '69845601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005274&docid=69845561&x=2821',
		'title': '',
		'imageId': '69845561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005274&docid=69845562&x=2821',
		'title': '',
		'imageId': '69845562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005274&docid=69845557&x=2821',
		'title': '',
		'imageId': '69845557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005274&docid=69845559&x=2821',
		'title': '',
		'imageId': '69845559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005274&docid=69845558&x=2821',
		'title': '',
		'imageId': '69845558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005274&docid=69845560&x=2821',
		'title': '',
		'imageId': '69845560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4005274';

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