var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3934121&docid=68232041&x=651',
		'title': '',
		'imageId': '68232041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934121&docid=68232038&x=651',
		'title': '',
		'imageId': '68232038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934121&docid=68232040&x=651',
		'title': '',
		'imageId': '68232040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934121&docid=68232039&x=651',
		'title': '',
		'imageId': '68232039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934121&docid=68232044&x=651',
		'title': '',
		'imageId': '68232044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934121&docid=68232045&x=651',
		'title': '',
		'imageId': '68232045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934121&docid=68232046&x=651',
		'title': '',
		'imageId': '68232046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934121&docid=68232043&x=651',
		'title': '',
		'imageId': '68232043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934121&docid=68232042&x=651',
		'title': '',
		'imageId': '68232042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934121&docid=68232082&x=651',
		'title': '',
		'imageId': '68232082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3934121';

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