var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3957695&docid=68766637&x=3949',
		'title': '',
		'imageId': '68766637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957695&docid=68766640&x=3949',
		'title': '',
		'imageId': '68766640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957695&docid=68766644&x=3949',
		'title': '',
		'imageId': '68766644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957695&docid=68766648&x=3949',
		'title': '',
		'imageId': '68766648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957695&docid=68766645&x=3949',
		'title': '',
		'imageId': '68766645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957695&docid=68766641&x=3949',
		'title': '',
		'imageId': '68766641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957695&docid=68766639&x=3949',
		'title': '',
		'imageId': '68766639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957695&docid=68766647&x=3949',
		'title': '',
		'imageId': '68766647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957695&docid=68766643&x=3949',
		'title': '',
		'imageId': '68766643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957695&docid=68766642&x=3949',
		'title': '',
		'imageId': '68766642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957695&docid=68766646&x=3949',
		'title': '',
		'imageId': '68766646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957695&docid=68766638&x=3949',
		'title': '',
		'imageId': '68766638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3957695';

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