var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3925062&docid=68020733&x=657',
		'title': '',
		'imageId': '68020733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925062&docid=68020739&x=657',
		'title': '',
		'imageId': '68020739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925062&docid=68020736&x=657',
		'title': '',
		'imageId': '68020736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925062&docid=68020731&x=657',
		'title': '',
		'imageId': '68020731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925062&docid=68020734&x=657',
		'title': '',
		'imageId': '68020734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925062&docid=68020729&x=657',
		'title': '',
		'imageId': '68020729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925062&docid=68020735&x=657',
		'title': '',
		'imageId': '68020735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925062&docid=68020730&x=657',
		'title': '',
		'imageId': '68020730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925062&docid=68020732&x=657',
		'title': '',
		'imageId': '68020732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925062&docid=68020737&x=657',
		'title': '',
		'imageId': '68020737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3925062';

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