var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4051515&docid=71123257&x=558',
		'title': '',
		'imageId': '71123257',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051515&docid=71123273&x=558',
		'title': '',
		'imageId': '71123273',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051515&docid=71123270&x=558',
		'title': '',
		'imageId': '71123270',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051515&docid=71123258&x=558',
		'title': '',
		'imageId': '71123258',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051515&docid=71123264&x=558',
		'title': '',
		'imageId': '71123264',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051515&docid=71123266&x=558',
		'title': '',
		'imageId': '71123266',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051515&docid=71123271&x=558',
		'title': '',
		'imageId': '71123271',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051515&docid=71123263&x=558',
		'title': '',
		'imageId': '71123263',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051515&docid=71123272&x=558',
		'title': '',
		'imageId': '71123272',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051515&docid=71123269&x=558',
		'title': '',
		'imageId': '71123269',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051515&docid=71123267&x=558',
		'title': '',
		'imageId': '71123267',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051515&docid=71123261&x=558',
		'title': '',
		'imageId': '71123261',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051515&docid=71123268&x=558',
		'title': '',
		'imageId': '71123268',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051515&docid=71123256&x=558',
		'title': '',
		'imageId': '71123256',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051515&docid=71123265&x=558',
		'title': '',
		'imageId': '71123265',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051515&docid=71123259&x=558',
		'title': '',
		'imageId': '71123259',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051515&docid=71123262&x=558',
		'title': '',
		'imageId': '71123262',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051515&docid=71123260&x=558',
		'title': '',
		'imageId': '71123260',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051515&docid=71123274&x=558',
		'title': '',
		'imageId': '71123274',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4051515';

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