var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4093367&docid=72030659&x=5453',
		'title': '',
		'imageId': '72030659',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093367&docid=72030662&x=5453',
		'title': '',
		'imageId': '72030662',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093367&docid=72030665&x=5453',
		'title': '',
		'imageId': '72030665',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093367&docid=72030668&x=5453',
		'title': '',
		'imageId': '72030668',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093367&docid=72030671&x=5453',
		'title': '',
		'imageId': '72030671',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093367&docid=72030674&x=5453',
		'title': '',
		'imageId': '72030674',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093367&docid=72030677&x=5453',
		'title': '',
		'imageId': '72030677',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093367&docid=72030680&x=5453',
		'title': '',
		'imageId': '72030680',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093367&docid=72030683&x=5453',
		'title': '',
		'imageId': '72030683',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093367&docid=72030686&x=5453',
		'title': '',
		'imageId': '72030686',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093367&docid=72030689&x=5453',
		'title': '',
		'imageId': '72030689',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093367&docid=72030692&x=5453',
		'title': '',
		'imageId': '72030692',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093367&docid=72030695&x=5453',
		'title': '',
		'imageId': '72030695',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093367&docid=72030698&x=5453',
		'title': '',
		'imageId': '72030698',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093367&docid=72030702&x=5453',
		'title': '',
		'imageId': '72030702',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093367&docid=72030705&x=5453',
		'title': '',
		'imageId': '72030705',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093367&docid=72030709&x=5453',
		'title': '',
		'imageId': '72030709',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093367&docid=72030713&x=5453',
		'title': '',
		'imageId': '72030713',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4093367';

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