var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4002493&docid=69772781&x=237',
		'title': '',
		'imageId': '69772781',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002493&docid=69772794&x=237',
		'title': '',
		'imageId': '69772794',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002493&docid=69772791&x=237',
		'title': '',
		'imageId': '69772791',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002493&docid=69772793&x=237',
		'title': '',
		'imageId': '69772793',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002493&docid=69772792&x=237',
		'title': '',
		'imageId': '69772792',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002493&docid=69772807&x=237',
		'title': '',
		'imageId': '69772807',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002493&docid=69772799&x=237',
		'title': '',
		'imageId': '69772799',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002493&docid=69772795&x=237',
		'title': '',
		'imageId': '69772795',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002493&docid=69772801&x=237',
		'title': '',
		'imageId': '69772801',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002493&docid=69772797&x=237',
		'title': '',
		'imageId': '69772797',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002493&docid=69772796&x=237',
		'title': '',
		'imageId': '69772796',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002493&docid=69772798&x=237',
		'title': '',
		'imageId': '69772798',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002493&docid=69772800&x=237',
		'title': '',
		'imageId': '69772800',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002493&docid=69772805&x=237',
		'title': '',
		'imageId': '69772805',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002493&docid=69772806&x=237',
		'title': '',
		'imageId': '69772806',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002493&docid=69772808&x=237',
		'title': '',
		'imageId': '69772808',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002493&docid=69772803&x=237',
		'title': '',
		'imageId': '69772803',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002493&docid=69772802&x=237',
		'title': '',
		'imageId': '69772802',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002493&docid=69772804&x=237',
		'title': '',
		'imageId': '69772804',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002493&docid=69772809&x=237',
		'title': '',
		'imageId': '69772809',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4002493';

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