var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4051366&docid=71025607&x=837',
		'title': '',
		'imageId': '71025607',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051366&docid=71025600&x=837',
		'title': '',
		'imageId': '71025600',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051366&docid=71025608&x=837',
		'title': '',
		'imageId': '71025608',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051366&docid=71025609&x=837',
		'title': '',
		'imageId': '71025609',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051366&docid=71025613&x=837',
		'title': '',
		'imageId': '71025613',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051366&docid=71025626&x=837',
		'title': '',
		'imageId': '71025626',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051366&docid=71025627&x=837',
		'title': '',
		'imageId': '71025627',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051366&docid=71025628&x=837',
		'title': '',
		'imageId': '71025628',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051366&docid=71025629&x=837',
		'title': '',
		'imageId': '71025629',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051366&docid=71025639&x=837',
		'title': '',
		'imageId': '71025639',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051366&docid=71025636&x=837',
		'title': '',
		'imageId': '71025636',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051366&docid=71025647&x=837',
		'title': '',
		'imageId': '71025647',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051366&docid=71025654&x=837',
		'title': '',
		'imageId': '71025654',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051366&docid=71025657&x=837',
		'title': '',
		'imageId': '71025657',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051366&docid=71025655&x=837',
		'title': '',
		'imageId': '71025655',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051366&docid=71025658&x=837',
		'title': '',
		'imageId': '71025658',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051366&docid=71025670&x=837',
		'title': '',
		'imageId': '71025670',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051366&docid=71025672&x=837',
		'title': '',
		'imageId': '71025672',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051366&docid=71025677&x=837',
		'title': '',
		'imageId': '71025677',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051366&docid=71025598&x=837',
		'title': '',
		'imageId': '71025598',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4051366';

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