var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016499&docid=68873699&x=5347',
		'title': '',
		'imageId': '68873699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016499&docid=68873702&x=5347',
		'title': '',
		'imageId': '68873702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016499&docid=68873703&x=5347',
		'title': '',
		'imageId': '68873703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016499&docid=68873704&x=5347',
		'title': '',
		'imageId': '68873704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016499&docid=68873690&x=5347',
		'title': '',
		'imageId': '68873690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016499&docid=68873691&x=5347',
		'title': '',
		'imageId': '68873691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016499&docid=68873692&x=5347',
		'title': '',
		'imageId': '68873692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016499&docid=68873693&x=5347',
		'title': '',
		'imageId': '68873693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016499&docid=68873694&x=5347',
		'title': '',
		'imageId': '68873694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016499&docid=68873695&x=5347',
		'title': '',
		'imageId': '68873695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016499&docid=68873696&x=5347',
		'title': '',
		'imageId': '68873696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016499&docid=68873697&x=5347',
		'title': '',
		'imageId': '68873697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016499';

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