var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015160&docid=70078748&x=032',
		'title': '',
		'imageId': '70078748',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015160&docid=70078750&x=032',
		'title': '',
		'imageId': '70078750',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015160&docid=70078752&x=032',
		'title': '',
		'imageId': '70078752',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015160&docid=70078753&x=032',
		'title': '',
		'imageId': '70078753',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015160&docid=70078754&x=032',
		'title': '',
		'imageId': '70078754',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015160&docid=70078755&x=032',
		'title': '',
		'imageId': '70078755',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015160&docid=70078756&x=032',
		'title': '',
		'imageId': '70078756',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015160&docid=70078757&x=032',
		'title': '',
		'imageId': '70078757',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015160&docid=70078758&x=032',
		'title': '',
		'imageId': '70078758',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015160&docid=70078759&x=032',
		'title': '',
		'imageId': '70078759',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015160&docid=70078760&x=032',
		'title': '',
		'imageId': '70078760',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015160&docid=70078761&x=032',
		'title': '',
		'imageId': '70078761',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015160&docid=70078762&x=032',
		'title': '',
		'imageId': '70078762',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015160&docid=70078763&x=032',
		'title': '',
		'imageId': '70078763',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015160&docid=70078764&x=032',
		'title': '',
		'imageId': '70078764',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015160&docid=70078765&x=032',
		'title': '',
		'imageId': '70078765',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015160&docid=70078766&x=032',
		'title': '',
		'imageId': '70078766',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015160&docid=70078767&x=032',
		'title': '',
		'imageId': '70078767',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015160&docid=70078768&x=032',
		'title': '',
		'imageId': '70078768',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015160&docid=70078769&x=032',
		'title': '',
		'imageId': '70078769',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015160';

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