var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3997637&docid=69651937&x=1411',
		'title': '',
		'imageId': '69651937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997637&docid=69651935&x=1411',
		'title': '',
		'imageId': '69651935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997637&docid=69651939&x=1411',
		'title': '',
		'imageId': '69651939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997637&docid=69651940&x=1411',
		'title': '',
		'imageId': '69651940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997637&docid=69651938&x=1411',
		'title': '',
		'imageId': '69651938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997637&docid=69651951&x=1411',
		'title': '',
		'imageId': '69651951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997637&docid=69651945&x=1411',
		'title': '',
		'imageId': '69651945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997637&docid=69651949&x=1411',
		'title': '',
		'imageId': '69651949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997637&docid=69651936&x=1411',
		'title': '',
		'imageId': '69651936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997637&docid=69651952&x=1411',
		'title': '',
		'imageId': '69651952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3997637';

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