var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3994378&docid=69618265&x=3519',
		'title': '',
		'imageId': '69618265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994378&docid=69618257&x=3519',
		'title': '',
		'imageId': '69618257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994378&docid=69618260&x=3519',
		'title': '',
		'imageId': '69618260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994378&docid=69618258&x=3519',
		'title': '',
		'imageId': '69618258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994378&docid=69618256&x=3519',
		'title': '',
		'imageId': '69618256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994378&docid=69618267&x=3519',
		'title': '',
		'imageId': '69618267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994378&docid=69618255&x=3519',
		'title': '',
		'imageId': '69618255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994378&docid=69618261&x=3519',
		'title': '',
		'imageId': '69618261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994378&docid=69618259&x=3519',
		'title': '',
		'imageId': '69618259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994378&docid=69618254&x=3519',
		'title': '',
		'imageId': '69618254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994378&docid=69618262&x=3519',
		'title': '',
		'imageId': '69618262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994378&docid=69618264&x=3519',
		'title': '',
		'imageId': '69618264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994378&docid=69618268&x=3519',
		'title': '',
		'imageId': '69618268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994378&docid=69618269&x=3519',
		'title': '',
		'imageId': '69618269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994378&docid=69618263&x=3519',
		'title': '',
		'imageId': '69618263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994378&docid=69618266&x=3519',
		'title': '',
		'imageId': '69618266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3994378';

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