var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930651&docid=68141018&x=3816',
		'title': '',
		'imageId': '68141018',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930651&docid=68141024&x=3816',
		'title': '',
		'imageId': '68141024',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930651&docid=68141017&x=3816',
		'title': '',
		'imageId': '68141017',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930651&docid=68141021&x=3816',
		'title': '',
		'imageId': '68141021',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930651&docid=68141016&x=3816',
		'title': '',
		'imageId': '68141016',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930651&docid=68141025&x=3816',
		'title': '',
		'imageId': '68141025',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930651&docid=68141026&x=3816',
		'title': '',
		'imageId': '68141026',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930651&docid=68141012&x=3816',
		'title': '',
		'imageId': '68141012',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930651&docid=68141015&x=3816',
		'title': '',
		'imageId': '68141015',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930651&docid=68141023&x=3816',
		'title': '',
		'imageId': '68141023',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930651&docid=68141020&x=3816',
		'title': '',
		'imageId': '68141020',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930651&docid=68141013&x=3816',
		'title': '',
		'imageId': '68141013',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930651&docid=68141014&x=3816',
		'title': '',
		'imageId': '68141014',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930651&docid=68141022&x=3816',
		'title': '',
		'imageId': '68141022',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930651&docid=68141010&x=3816',
		'title': '',
		'imageId': '68141010',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930651&docid=68141009&x=3816',
		'title': '',
		'imageId': '68141009',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930651&docid=68141011&x=3816',
		'title': '',
		'imageId': '68141011',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930651&docid=68141027&x=3816',
		'title': '',
		'imageId': '68141027',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930651&docid=68141019&x=3816',
		'title': '',
		'imageId': '68141019',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930651';

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