var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4054315&docid=71110005&x=406',
		'title': '',
		'imageId': '71110005',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054315&docid=71110004&x=406',
		'title': '',
		'imageId': '71110004',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054315&docid=71110001&x=406',
		'title': '',
		'imageId': '71110001',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054315&docid=71213380&x=406',
		'title': '',
		'imageId': '71213380',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054315&docid=71109998&x=406',
		'title': '',
		'imageId': '71109998',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054315&docid=71109999&x=406',
		'title': '',
		'imageId': '71109999',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054315&docid=71213427&x=406',
		'title': '',
		'imageId': '71213427',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054315&docid=71110003&x=406',
		'title': '',
		'imageId': '71110003',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054315&docid=71110002&x=406',
		'title': '',
		'imageId': '71110002',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054315&docid=71110000&x=406',
		'title': '',
		'imageId': '71110000',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054315&docid=71213331&x=406',
		'title': '',
		'imageId': '71213331',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054315&docid=71213374&x=406',
		'title': '',
		'imageId': '71213374',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054315&docid=71213504&x=406',
		'title': '',
		'imageId': '71213504',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054315&docid=71213393&x=406',
		'title': '',
		'imageId': '71213393',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054315&docid=71213526&x=406',
		'title': '',
		'imageId': '71213526',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054315&docid=71213437&x=406',
		'title': '',
		'imageId': '71213437',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054315&docid=71213560&x=406',
		'title': '',
		'imageId': '71213560',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054315&docid=71213458&x=406',
		'title': '',
		'imageId': '71213458',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054315&docid=71213465&x=406',
		'title': '',
		'imageId': '71213465',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054315&docid=71213490&x=406',
		'title': '',
		'imageId': '71213490',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4054315';

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