var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4089527&docid=71923727&x=4126',
		'title': '',
		'imageId': '71923727',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089527&docid=71923721&x=4126',
		'title': '',
		'imageId': '71923721',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089527&docid=71923711&x=4126',
		'title': '',
		'imageId': '71923711',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089527&docid=71923710&x=4126',
		'title': '',
		'imageId': '71923710',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089527&docid=71923714&x=4126',
		'title': '',
		'imageId': '71923714',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089527&docid=71923713&x=4126',
		'title': '',
		'imageId': '71923713',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089527&docid=71923712&x=4126',
		'title': '',
		'imageId': '71923712',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089527&docid=71923718&x=4126',
		'title': '',
		'imageId': '71923718',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089527&docid=71923726&x=4126',
		'title': '',
		'imageId': '71923726',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089527&docid=71923720&x=4126',
		'title': '',
		'imageId': '71923720',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089527&docid=71923719&x=4126',
		'title': '',
		'imageId': '71923719',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089527&docid=71923716&x=4126',
		'title': '',
		'imageId': '71923716',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089527&docid=71923717&x=4126',
		'title': '',
		'imageId': '71923717',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089527&docid=71923715&x=4126',
		'title': '',
		'imageId': '71923715',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089527&docid=71923724&x=4126',
		'title': '',
		'imageId': '71923724',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089527&docid=71923723&x=4126',
		'title': '',
		'imageId': '71923723',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089527&docid=71923725&x=4126',
		'title': '',
		'imageId': '71923725',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089527&docid=71923905&x=4126',
		'title': '',
		'imageId': '71923905',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4089527';

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