var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3923251&docid=67975521&x=3727',
		'title': '',
		'imageId': '67975521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923251&docid=67975528&x=3727',
		'title': '',
		'imageId': '67975528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923251&docid=67975523&x=3727',
		'title': '',
		'imageId': '67975523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923251&docid=67975525&x=3727',
		'title': '',
		'imageId': '67975525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923251&docid=67975524&x=3727',
		'title': '',
		'imageId': '67975524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923251&docid=67975527&x=3727',
		'title': '',
		'imageId': '67975527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923251&docid=67975526&x=3727',
		'title': '',
		'imageId': '67975526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923251&docid=67975522&x=3727',
		'title': '',
		'imageId': '67975522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923251&docid=67975530&x=3727',
		'title': '',
		'imageId': '67975530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923251&docid=67975531&x=3727',
		'title': '',
		'imageId': '67975531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923251&docid=67975532&x=3727',
		'title': '',
		'imageId': '67975532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923251&docid=67975533&x=3727',
		'title': '',
		'imageId': '67975533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923251&docid=67975534&x=3727',
		'title': '',
		'imageId': '67975534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923251&docid=67975536&x=3727',
		'title': '',
		'imageId': '67975536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923251&docid=67975540&x=3727',
		'title': '',
		'imageId': '67975540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923251&docid=67975537&x=3727',
		'title': '',
		'imageId': '67975537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923251&docid=67975535&x=3727',
		'title': '',
		'imageId': '67975535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923251&docid=67975539&x=3727',
		'title': '',
		'imageId': '67975539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923251&docid=67975538&x=3727',
		'title': '',
		'imageId': '67975538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923251&docid=67975529&x=3727',
		'title': '',
		'imageId': '67975529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3923251';

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