var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010575&docid=69973073&x=3452',
		'title': '',
		'imageId': '69973073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010575&docid=69973071&x=3452',
		'title': '',
		'imageId': '69973071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010575&docid=69973080&x=3452',
		'title': '',
		'imageId': '69973080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010575&docid=69973070&x=3452',
		'title': '',
		'imageId': '69973070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010575&docid=69973072&x=3452',
		'title': '',
		'imageId': '69973072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010575&docid=69973075&x=3452',
		'title': '',
		'imageId': '69973075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010575&docid=69973076&x=3452',
		'title': '',
		'imageId': '69973076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010575&docid=69973077&x=3452',
		'title': '',
		'imageId': '69973077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010575&docid=69973087&x=3452',
		'title': '',
		'imageId': '69973087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010575&docid=69973088&x=3452',
		'title': '',
		'imageId': '69973088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010575&docid=69973083&x=3452',
		'title': '',
		'imageId': '69973083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010575&docid=69973078&x=3452',
		'title': '',
		'imageId': '69973078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010575&docid=69973074&x=3452',
		'title': '',
		'imageId': '69973074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010575&docid=69973084&x=3452',
		'title': '',
		'imageId': '69973084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010575&docid=69973085&x=3452',
		'title': '',
		'imageId': '69973085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010575&docid=69973079&x=3452',
		'title': '',
		'imageId': '69973079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010575&docid=69973081&x=3452',
		'title': '',
		'imageId': '69973081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010575&docid=69973086&x=3452',
		'title': '',
		'imageId': '69973086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010575&docid=69973082&x=3452',
		'title': '',
		'imageId': '69973082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010575&docid=69973148&x=3452',
		'title': '',
		'imageId': '69973148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010575';

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