var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3981879&docid=69302343&x=2648',
		'title': '',
		'imageId': '69302343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981879&docid=69302348&x=2648',
		'title': '',
		'imageId': '69302348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981879&docid=69302345&x=2648',
		'title': '',
		'imageId': '69302345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981879&docid=69302344&x=2648',
		'title': '',
		'imageId': '69302344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981879&docid=69302346&x=2648',
		'title': '',
		'imageId': '69302346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981879&docid=69302347&x=2648',
		'title': '',
		'imageId': '69302347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981879&docid=69428632&x=2648',
		'title': '',
		'imageId': '69428632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981879&docid=69428633&x=2648',
		'title': '',
		'imageId': '69428633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981879&docid=69428634&x=2648',
		'title': '',
		'imageId': '69428634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981879&docid=69428636&x=2648',
		'title': '',
		'imageId': '69428636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981879&docid=69428635&x=2648',
		'title': '',
		'imageId': '69428635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3981879';

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