var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3911304&docid=67673564&x=1235',
		'title': '',
		'imageId': '67673564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911304&docid=67673498&x=1235',
		'title': '',
		'imageId': '67673498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911304&docid=67673504&x=1235',
		'title': '',
		'imageId': '67673504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911304&docid=67673503&x=1235',
		'title': '',
		'imageId': '67673503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911304&docid=67673506&x=1235',
		'title': '',
		'imageId': '67673506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911304&docid=67673500&x=1235',
		'title': '',
		'imageId': '67673500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911304&docid=67673505&x=1235',
		'title': '',
		'imageId': '67673505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911304&docid=67673499&x=1235',
		'title': '',
		'imageId': '67673499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911304&docid=67673502&x=1235',
		'title': '',
		'imageId': '67673502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911304&docid=67673501&x=1235',
		'title': '',
		'imageId': '67673501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911304&docid=67673497&x=1235',
		'title': '',
		'imageId': '67673497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3911304';

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