var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3885729&docid=67015050&x=1944',
		'title': '',
		'imageId': '67015050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885729&docid=67015052&x=1944',
		'title': '',
		'imageId': '67015052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885729&docid=67015053&x=1944',
		'title': '',
		'imageId': '67015053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885729&docid=67015049&x=1944',
		'title': '',
		'imageId': '67015049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885729&docid=67015045&x=1944',
		'title': '',
		'imageId': '67015045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885729&docid=67015046&x=1944',
		'title': '',
		'imageId': '67015046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885729&docid=67015044&x=1944',
		'title': '',
		'imageId': '67015044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885729&docid=67015047&x=1944',
		'title': '',
		'imageId': '67015047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885729&docid=67015048&x=1944',
		'title': '',
		'imageId': '67015048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885729&docid=67015054&x=1944',
		'title': '',
		'imageId': '67015054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885729&docid=67015043&x=1944',
		'title': '',
		'imageId': '67015043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3885729';

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