var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3959466&docid=68808378&x=5858',
		'title': '',
		'imageId': '68808378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959466&docid=68808379&x=5858',
		'title': '',
		'imageId': '68808379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959466&docid=68808380&x=5858',
		'title': '',
		'imageId': '68808380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959466&docid=68808377&x=5858',
		'title': '',
		'imageId': '68808377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959466&docid=68816921&x=5858',
		'title': '',
		'imageId': '68816921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959466&docid=68816919&x=5858',
		'title': '',
		'imageId': '68816919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959466&docid=68816923&x=5858',
		'title': '',
		'imageId': '68816923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959466&docid=68816920&x=5858',
		'title': '',
		'imageId': '68816920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959466&docid=68816922&x=5858',
		'title': '',
		'imageId': '68816922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959466&docid=68816925&x=5858',
		'title': '',
		'imageId': '68816925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959466&docid=68816924&x=5858',
		'title': '',
		'imageId': '68816924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959466&docid=68816918&x=5858',
		'title': '',
		'imageId': '68816918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3959466';

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