var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4088521&docid=71261123&x=5741',
		'title': '',
		'imageId': '71261123',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088521&docid=71261122&x=5741',
		'title': '',
		'imageId': '71261122',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088521&docid=71261135&x=5741',
		'title': '',
		'imageId': '71261135',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088521&docid=71261125&x=5741',
		'title': '',
		'imageId': '71261125',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088521&docid=71261127&x=5741',
		'title': '',
		'imageId': '71261127',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088521&docid=71261124&x=5741',
		'title': '',
		'imageId': '71261124',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088521&docid=71261126&x=5741',
		'title': '',
		'imageId': '71261126',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088521&docid=71261131&x=5741',
		'title': '',
		'imageId': '71261131',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088521&docid=71261139&x=5741',
		'title': '',
		'imageId': '71261139',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088521&docid=71261138&x=5741',
		'title': '',
		'imageId': '71261138',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088521&docid=71261133&x=5741',
		'title': '',
		'imageId': '71261133',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088521&docid=71261130&x=5741',
		'title': '',
		'imageId': '71261130',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088521&docid=71261134&x=5741',
		'title': '',
		'imageId': '71261134',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088521&docid=71261129&x=5741',
		'title': '',
		'imageId': '71261129',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088521&docid=71261132&x=5741',
		'title': '',
		'imageId': '71261132',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088521&docid=71261136&x=5741',
		'title': '',
		'imageId': '71261136',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088521&docid=71261137&x=5741',
		'title': '',
		'imageId': '71261137',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088521&docid=71261128&x=5741',
		'title': '',
		'imageId': '71261128',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4088521';

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