var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3912889&docid=67703973&x=4346',
		'title': '',
		'imageId': '67703973',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912889&docid=67703975&x=4346',
		'title': '',
		'imageId': '67703975',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912889&docid=67703977&x=4346',
		'title': '',
		'imageId': '67703977',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912889&docid=67703978&x=4346',
		'title': '',
		'imageId': '67703978',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912889&docid=67703979&x=4346',
		'title': '',
		'imageId': '67703979',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912889&docid=67703982&x=4346',
		'title': '',
		'imageId': '67703982',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912889&docid=67703983&x=4346',
		'title': '',
		'imageId': '67703983',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912889&docid=67703984&x=4346',
		'title': '',
		'imageId': '67703984',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912889&docid=67703985&x=4346',
		'title': '',
		'imageId': '67703985',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912889&docid=67703986&x=4346',
		'title': '',
		'imageId': '67703986',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912889&docid=67703987&x=4346',
		'title': '',
		'imageId': '67703987',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912889&docid=67703988&x=4346',
		'title': '',
		'imageId': '67703988',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912889&docid=67703989&x=4346',
		'title': '',
		'imageId': '67703989',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912889&docid=67703990&x=4346',
		'title': '',
		'imageId': '67703990',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912889&docid=67703991&x=4346',
		'title': '',
		'imageId': '67703991',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912889&docid=67703992&x=4346',
		'title': '',
		'imageId': '67703992',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912889&docid=67703993&x=4346',
		'title': '',
		'imageId': '67703993',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912889&docid=67703994&x=4346',
		'title': '',
		'imageId': '67703994',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912889&docid=67703976&x=4346',
		'title': '',
		'imageId': '67703976',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912889&docid=67703995&x=4346',
		'title': '',
		'imageId': '67703995',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3912889';

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