var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954425&docid=68682418&x=159',
		'title': '',
		'imageId': '68682418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954425&docid=68682389&x=159',
		'title': '',
		'imageId': '68682389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954425&docid=68682395&x=159',
		'title': '',
		'imageId': '68682395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954425&docid=68682401&x=159',
		'title': '',
		'imageId': '68682401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954425&docid=68682400&x=159',
		'title': '',
		'imageId': '68682400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954425&docid=68682385&x=159',
		'title': '',
		'imageId': '68682385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954425&docid=68682384&x=159',
		'title': '',
		'imageId': '68682384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954425&docid=68682386&x=159',
		'title': '',
		'imageId': '68682386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954425&docid=68682387&x=159',
		'title': '',
		'imageId': '68682387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954425&docid=68682388&x=159',
		'title': '',
		'imageId': '68682388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954425&docid=68682966&x=159',
		'title': '',
		'imageId': '68682966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954425&docid=68684000&x=159',
		'title': '',
		'imageId': '68684000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954425&docid=68684001&x=159',
		'title': '',
		'imageId': '68684001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954425&docid=68684002&x=159',
		'title': '',
		'imageId': '68684002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954425&docid=68684003&x=159',
		'title': '',
		'imageId': '68684003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954425&docid=68684005&x=159',
		'title': '',
		'imageId': '68684005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954425&docid=68684004&x=159',
		'title': '',
		'imageId': '68684004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954425&docid=68684015&x=159',
		'title': '',
		'imageId': '68684015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954425&docid=68684019&x=159',
		'title': '',
		'imageId': '68684019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954425&docid=68684021&x=159',
		'title': '',
		'imageId': '68684021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954425&docid=68684026&x=159',
		'title': '',
		'imageId': '68684026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954425&docid=68684024&x=159',
		'title': '',
		'imageId': '68684024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954425';

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