var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992360&docid=69541336&x=2235',
		'title': '',
		'imageId': '69541336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992360&docid=69541330&x=2235',
		'title': '',
		'imageId': '69541330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992360&docid=69541331&x=2235',
		'title': '',
		'imageId': '69541331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992360&docid=69541334&x=2235',
		'title': '',
		'imageId': '69541334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992360&docid=69541335&x=2235',
		'title': '',
		'imageId': '69541335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992360&docid=69541338&x=2235',
		'title': '',
		'imageId': '69541338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992360&docid=69541337&x=2235',
		'title': '',
		'imageId': '69541337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992360&docid=69548971&x=2235',
		'title': '',
		'imageId': '69548971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992360&docid=69548970&x=2235',
		'title': '',
		'imageId': '69548970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992360&docid=69548969&x=2235',
		'title': '',
		'imageId': '69548969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992360&docid=69548968&x=2235',
		'title': '',
		'imageId': '69548968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992360';

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