var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946319&docid=68670015&x=812',
		'title': '',
		'imageId': '68670015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946319&docid=68670011&x=812',
		'title': '',
		'imageId': '68670011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946319&docid=68670009&x=812',
		'title': '',
		'imageId': '68670009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946319&docid=68670013&x=812',
		'title': '',
		'imageId': '68670013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946319&docid=68670014&x=812',
		'title': '',
		'imageId': '68670014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946319&docid=68670004&x=812',
		'title': '',
		'imageId': '68670004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946319&docid=68670012&x=812',
		'title': '',
		'imageId': '68670012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946319&docid=68670007&x=812',
		'title': '',
		'imageId': '68670007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946319&docid=68670003&x=812',
		'title': '',
		'imageId': '68670003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946319&docid=68670005&x=812',
		'title': '',
		'imageId': '68670005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946319&docid=68670006&x=812',
		'title': '',
		'imageId': '68670006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946319&docid=68670010&x=812',
		'title': '',
		'imageId': '68670010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946319&docid=68670017&x=812',
		'title': '',
		'imageId': '68670017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946319&docid=68670016&x=812',
		'title': '',
		'imageId': '68670016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946319&docid=68670008&x=812',
		'title': '',
		'imageId': '68670008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946319&docid=68670002&x=812',
		'title': '',
		'imageId': '68670002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946319';

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