var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4053131&docid=71064733&x=1646',
		'title': '',
		'imageId': '71064733',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053131&docid=71064739&x=1646',
		'title': '',
		'imageId': '71064739',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053131&docid=71064740&x=1646',
		'title': '',
		'imageId': '71064740',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053131&docid=71064741&x=1646',
		'title': '',
		'imageId': '71064741',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053131&docid=71064742&x=1646',
		'title': '',
		'imageId': '71064742',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053131&docid=71064743&x=1646',
		'title': '',
		'imageId': '71064743',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053131&docid=71064744&x=1646',
		'title': '',
		'imageId': '71064744',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053131&docid=71064745&x=1646',
		'title': '',
		'imageId': '71064745',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053131&docid=71064746&x=1646',
		'title': '',
		'imageId': '71064746',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053131&docid=71064747&x=1646',
		'title': '',
		'imageId': '71064747',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053131&docid=71064749&x=1646',
		'title': '',
		'imageId': '71064749',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053131&docid=71064750&x=1646',
		'title': '',
		'imageId': '71064750',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053131&docid=71064751&x=1646',
		'title': '',
		'imageId': '71064751',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053131&docid=71064752&x=1646',
		'title': '',
		'imageId': '71064752',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053131&docid=71064753&x=1646',
		'title': '',
		'imageId': '71064753',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053131&docid=71064754&x=1646',
		'title': '',
		'imageId': '71064754',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053131&docid=71064755&x=1646',
		'title': '',
		'imageId': '71064755',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053131&docid=71064756&x=1646',
		'title': '',
		'imageId': '71064756',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4053131';

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