var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4054014&docid=71102814&x=645',
		'title': '',
		'imageId': '71102814',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054014&docid=71102808&x=645',
		'title': '',
		'imageId': '71102808',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054014&docid=71102811&x=645',
		'title': '',
		'imageId': '71102811',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054014&docid=71102810&x=645',
		'title': '',
		'imageId': '71102810',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054014&docid=71102805&x=645',
		'title': '',
		'imageId': '71102805',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054014&docid=71102812&x=645',
		'title': '',
		'imageId': '71102812',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054014&docid=71102804&x=645',
		'title': '',
		'imageId': '71102804',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054014&docid=71102809&x=645',
		'title': '',
		'imageId': '71102809',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054014&docid=71102803&x=645',
		'title': '',
		'imageId': '71102803',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054014&docid=71102807&x=645',
		'title': '',
		'imageId': '71102807',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054014&docid=71102802&x=645',
		'title': '',
		'imageId': '71102802',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054014&docid=71102800&x=645',
		'title': '',
		'imageId': '71102800',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054014&docid=71102806&x=645',
		'title': '',
		'imageId': '71102806',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054014&docid=71102813&x=645',
		'title': '',
		'imageId': '71102813',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054014&docid=71102801&x=645',
		'title': '',
		'imageId': '71102801',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054014&docid=59270415&x=645',
		'title': '',
		'imageId': '59270415',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054014&docid=59270407&x=645',
		'title': '',
		'imageId': '59270407',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4054014';

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