var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953453&docid=68660922&x=1013',
		'title': '',
		'imageId': '68660922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953453&docid=68660913&x=1013',
		'title': '',
		'imageId': '68660913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953453&docid=68660921&x=1013',
		'title': '',
		'imageId': '68660921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953453&docid=68660924&x=1013',
		'title': '',
		'imageId': '68660924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953453&docid=68660919&x=1013',
		'title': '',
		'imageId': '68660919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953453&docid=68660923&x=1013',
		'title': '',
		'imageId': '68660923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953453&docid=68660912&x=1013',
		'title': '',
		'imageId': '68660912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953453&docid=68660916&x=1013',
		'title': '',
		'imageId': '68660916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953453&docid=68660917&x=1013',
		'title': '',
		'imageId': '68660917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953453&docid=68660915&x=1013',
		'title': '',
		'imageId': '68660915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953453&docid=68660918&x=1013',
		'title': '',
		'imageId': '68660918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953453&docid=68660925&x=1013',
		'title': '',
		'imageId': '68660925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953453&docid=68660920&x=1013',
		'title': '',
		'imageId': '68660920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953453&docid=68660914&x=1013',
		'title': '',
		'imageId': '68660914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953453&docid=68677389&x=1013',
		'title': '',
		'imageId': '68677389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953453&docid=68677388&x=1013',
		'title': '',
		'imageId': '68677388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953453';

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