var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4057204&docid=71181522&x=1143',
		'title': '',
		'imageId': '71181522',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057204&docid=71181540&x=1143',
		'title': '',
		'imageId': '71181540',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057204&docid=71181555&x=1143',
		'title': '',
		'imageId': '71181555',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057204&docid=71181518&x=1143',
		'title': '',
		'imageId': '71181518',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057204&docid=71181504&x=1143',
		'title': '',
		'imageId': '71181504',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057204&docid=71181505&x=1143',
		'title': '',
		'imageId': '71181505',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057204&docid=71181501&x=1143',
		'title': '',
		'imageId': '71181501',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057204&docid=71181503&x=1143',
		'title': '',
		'imageId': '71181503',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057204&docid=71181517&x=1143',
		'title': '',
		'imageId': '71181517',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057204&docid=71181519&x=1143',
		'title': '',
		'imageId': '71181519',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057204&docid=71181520&x=1143',
		'title': '',
		'imageId': '71181520',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057204&docid=71181524&x=1143',
		'title': '',
		'imageId': '71181524',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057204&docid=71181536&x=1143',
		'title': '',
		'imageId': '71181536',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057204&docid=71181537&x=1143',
		'title': '',
		'imageId': '71181537',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057204&docid=71181538&x=1143',
		'title': '',
		'imageId': '71181538',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057204&docid=71181541&x=1143',
		'title': '',
		'imageId': '71181541',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057204&docid=71181554&x=1143',
		'title': '',
		'imageId': '71181554',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057204&docid=71181539&x=1143',
		'title': '',
		'imageId': '71181539',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057204&docid=71181502&x=1143',
		'title': '',
		'imageId': '71181502',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057204&docid=71181500&x=1143',
		'title': '',
		'imageId': '71181500',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4057204';

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