var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972487&docid=69086038&x=2919',
		'title': '',
		'imageId': '69086038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972487&docid=69086042&x=2919',
		'title': '',
		'imageId': '69086042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972487&docid=69086047&x=2919',
		'title': '',
		'imageId': '69086047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972487&docid=69086040&x=2919',
		'title': '',
		'imageId': '69086040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972487&docid=69086039&x=2919',
		'title': '',
		'imageId': '69086039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972487&docid=69086043&x=2919',
		'title': '',
		'imageId': '69086043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972487&docid=69086041&x=2919',
		'title': '',
		'imageId': '69086041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972487&docid=69086045&x=2919',
		'title': '',
		'imageId': '69086045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972487&docid=69086044&x=2919',
		'title': '',
		'imageId': '69086044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972487&docid=69086046&x=2919',
		'title': '',
		'imageId': '69086046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972487&docid=69086048&x=2919',
		'title': '',
		'imageId': '69086048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972487';

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