var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973770&docid=69116306&x=2742',
		'title': '',
		'imageId': '69116306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973770&docid=69116307&x=2742',
		'title': '',
		'imageId': '69116307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973770&docid=69116308&x=2742',
		'title': '',
		'imageId': '69116308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973770&docid=69116301&x=2742',
		'title': '',
		'imageId': '69116301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973770&docid=69116303&x=2742',
		'title': '',
		'imageId': '69116303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973770&docid=69116302&x=2742',
		'title': '',
		'imageId': '69116302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973770&docid=69116309&x=2742',
		'title': '',
		'imageId': '69116309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973770&docid=69116305&x=2742',
		'title': '',
		'imageId': '69116305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973770&docid=69116304&x=2742',
		'title': '',
		'imageId': '69116304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973770&docid=69116300&x=2742',
		'title': '',
		'imageId': '69116300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973770&docid=69116299&x=2742',
		'title': '',
		'imageId': '69116299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973770';

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