var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3983578&docid=69341523&x=158',
		'title': '',
		'imageId': '69341523',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983578&docid=69341530&x=158',
		'title': '',
		'imageId': '69341530',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983578&docid=69341522&x=158',
		'title': '',
		'imageId': '69341522',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983578&docid=69341525&x=158',
		'title': '',
		'imageId': '69341525',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983578&docid=69341531&x=158',
		'title': '',
		'imageId': '69341531',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983578&docid=69341524&x=158',
		'title': '',
		'imageId': '69341524',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983578&docid=69341520&x=158',
		'title': '',
		'imageId': '69341520',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983578&docid=69341527&x=158',
		'title': '',
		'imageId': '69341527',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983578&docid=69341532&x=158',
		'title': '',
		'imageId': '69341532',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983578&docid=69341528&x=158',
		'title': '',
		'imageId': '69341528',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983578&docid=69341529&x=158',
		'title': '',
		'imageId': '69341529',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983578&docid=69341534&x=158',
		'title': '',
		'imageId': '69341534',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983578&docid=69341526&x=158',
		'title': '',
		'imageId': '69341526',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983578&docid=69341533&x=158',
		'title': '',
		'imageId': '69341533',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983578&docid=69341521&x=158',
		'title': '',
		'imageId': '69341521',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983578&docid=69341519&x=158',
		'title': '',
		'imageId': '69341519',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983578&docid=63113036&x=158',
		'title': '',
		'imageId': '63113036',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3983578';

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