var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949229&docid=68567519&x=4240',
		'title': '',
		'imageId': '68567519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949229&docid=68567521&x=4240',
		'title': '',
		'imageId': '68567521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949229&docid=68567522&x=4240',
		'title': '',
		'imageId': '68567522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949229&docid=68567523&x=4240',
		'title': '',
		'imageId': '68567523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949229&docid=68567524&x=4240',
		'title': '',
		'imageId': '68567524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949229&docid=68567525&x=4240',
		'title': '',
		'imageId': '68567525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949229&docid=68567526&x=4240',
		'title': '',
		'imageId': '68567526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949229&docid=68567527&x=4240',
		'title': '',
		'imageId': '68567527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949229&docid=68567518&x=4240',
		'title': '',
		'imageId': '68567518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949229&docid=68567528&x=4240',
		'title': '',
		'imageId': '68567528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949229';

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