var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946082&docid=68300019&x=108',
		'title': '',
		'imageId': '68300019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946082&docid=68300020&x=108',
		'title': '',
		'imageId': '68300020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946082&docid=68300011&x=108',
		'title': '',
		'imageId': '68300011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946082&docid=68300013&x=108',
		'title': '',
		'imageId': '68300013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946082&docid=68300018&x=108',
		'title': '',
		'imageId': '68300018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946082&docid=68300021&x=108',
		'title': '',
		'imageId': '68300021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946082&docid=68300017&x=108',
		'title': '',
		'imageId': '68300017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946082&docid=68300015&x=108',
		'title': '',
		'imageId': '68300015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946082&docid=68300014&x=108',
		'title': '',
		'imageId': '68300014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946082&docid=68300016&x=108',
		'title': '',
		'imageId': '68300016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946082&docid=68300022&x=108',
		'title': '',
		'imageId': '68300022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946082&docid=68300012&x=108',
		'title': '',
		'imageId': '68300012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946082';

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