var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4036618&docid=70643273&x=59',
		'title': '',
		'imageId': '70643273',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036618&docid=70643271&x=59',
		'title': '',
		'imageId': '70643271',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036618&docid=70643269&x=59',
		'title': '',
		'imageId': '70643269',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036618&docid=70643268&x=59',
		'title': '',
		'imageId': '70643268',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036618&docid=70643275&x=59',
		'title': '',
		'imageId': '70643275',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036618&docid=70643274&x=59',
		'title': '',
		'imageId': '70643274',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036618&docid=70643270&x=59',
		'title': '',
		'imageId': '70643270',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036618&docid=70643272&x=59',
		'title': '',
		'imageId': '70643272',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036618&docid=70643276&x=59',
		'title': '',
		'imageId': '70643276',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036618&docid=70643277&x=59',
		'title': '',
		'imageId': '70643277',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036618&docid=70793097&x=59',
		'title': '',
		'imageId': '70793097',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036618&docid=71049955&x=59',
		'title': '',
		'imageId': '71049955',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036618&docid=71049962&x=59',
		'title': '',
		'imageId': '71049962',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036618&docid=71049968&x=59',
		'title': '',
		'imageId': '71049968',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036618&docid=71049974&x=59',
		'title': '',
		'imageId': '71049974',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036618&docid=71049977&x=59',
		'title': '',
		'imageId': '71049977',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036618&docid=71049980&x=59',
		'title': '',
		'imageId': '71049980',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036618&docid=71050015&x=59',
		'title': '',
		'imageId': '71050015',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036618&docid=71050273&x=59',
		'title': '',
		'imageId': '71050273',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036618&docid=71050276&x=59',
		'title': '',
		'imageId': '71050276',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4036618';

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