var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4053642&docid=71089807&x=4558',
		'title': '',
		'imageId': '71089807',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053642&docid=71089809&x=4558',
		'title': '',
		'imageId': '71089809',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053642&docid=71089812&x=4558',
		'title': '',
		'imageId': '71089812',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053642&docid=71089811&x=4558',
		'title': '',
		'imageId': '71089811',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053642&docid=71089813&x=4558',
		'title': '',
		'imageId': '71089813',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053642&docid=71089815&x=4558',
		'title': '',
		'imageId': '71089815',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053642&docid=71089806&x=4558',
		'title': '',
		'imageId': '71089806',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053642&docid=71089799&x=4558',
		'title': '',
		'imageId': '71089799',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053642&docid=71089818&x=4558',
		'title': '',
		'imageId': '71089818',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053642&docid=71089803&x=4558',
		'title': '',
		'imageId': '71089803',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053642&docid=71089808&x=4558',
		'title': '',
		'imageId': '71089808',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053642&docid=71089816&x=4558',
		'title': '',
		'imageId': '71089816',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053642&docid=71089801&x=4558',
		'title': '',
		'imageId': '71089801',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053642&docid=71089800&x=4558',
		'title': '',
		'imageId': '71089800',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053642&docid=71089802&x=4558',
		'title': '',
		'imageId': '71089802',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053642&docid=71089817&x=4558',
		'title': '',
		'imageId': '71089817',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053642&docid=71089814&x=4558',
		'title': '',
		'imageId': '71089814',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053642&docid=71089805&x=4558',
		'title': '',
		'imageId': '71089805',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053642&docid=71089804&x=4558',
		'title': '',
		'imageId': '71089804',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053642&docid=71089810&x=4558',
		'title': '',
		'imageId': '71089810',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4053642';

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