var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949223&docid=68567452&x=4410',
		'title': '',
		'imageId': '68567452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949223&docid=68567455&x=4410',
		'title': '',
		'imageId': '68567455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949223&docid=68567456&x=4410',
		'title': '',
		'imageId': '68567456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949223&docid=68567457&x=4410',
		'title': '',
		'imageId': '68567457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949223&docid=68567458&x=4410',
		'title': '',
		'imageId': '68567458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949223&docid=68567459&x=4410',
		'title': '',
		'imageId': '68567459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949223&docid=68567460&x=4410',
		'title': '',
		'imageId': '68567460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949223&docid=68567461&x=4410',
		'title': '',
		'imageId': '68567461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949223&docid=68567454&x=4410',
		'title': '',
		'imageId': '68567454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949223&docid=68567462&x=4410',
		'title': '',
		'imageId': '68567462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949223';

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