var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3991721&docid=69527951&x=5256',
		'title': '',
		'imageId': '69527951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991721&docid=69527955&x=5256',
		'title': '',
		'imageId': '69527955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991721&docid=69527953&x=5256',
		'title': '',
		'imageId': '69527953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991721&docid=69527952&x=5256',
		'title': '',
		'imageId': '69527952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991721&docid=69527954&x=5256',
		'title': '',
		'imageId': '69527954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991721&docid=69527948&x=5256',
		'title': '',
		'imageId': '69527948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991721&docid=69527950&x=5256',
		'title': '',
		'imageId': '69527950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991721&docid=69527947&x=5256',
		'title': '',
		'imageId': '69527947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991721&docid=56556453&x=5256',
		'title': '',
		'imageId': '56556453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991721&docid=69527949&x=5256',
		'title': '',
		'imageId': '69527949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3991721';

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