var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4053162&docid=71065205&x=5647',
		'title': '',
		'imageId': '71065205',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053162&docid=71065206&x=5647',
		'title': '',
		'imageId': '71065206',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053162&docid=71065209&x=5647',
		'title': '',
		'imageId': '71065209',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053162&docid=71065210&x=5647',
		'title': '',
		'imageId': '71065210',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053162&docid=71065211&x=5647',
		'title': '',
		'imageId': '71065211',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053162&docid=71065212&x=5647',
		'title': '',
		'imageId': '71065212',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053162&docid=71065213&x=5647',
		'title': '',
		'imageId': '71065213',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053162&docid=71065214&x=5647',
		'title': '',
		'imageId': '71065214',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053162&docid=71065215&x=5647',
		'title': '',
		'imageId': '71065215',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053162&docid=71065216&x=5647',
		'title': '',
		'imageId': '71065216',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053162&docid=71065218&x=5647',
		'title': '',
		'imageId': '71065218',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053162&docid=71065219&x=5647',
		'title': '',
		'imageId': '71065219',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053162&docid=71065220&x=5647',
		'title': '',
		'imageId': '71065220',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053162&docid=71065222&x=5647',
		'title': '',
		'imageId': '71065222',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053162&docid=71065223&x=5647',
		'title': '',
		'imageId': '71065223',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053162&docid=71065224&x=5647',
		'title': '',
		'imageId': '71065224',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053162&docid=71065225&x=5647',
		'title': '',
		'imageId': '71065225',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053162&docid=71065226&x=5647',
		'title': '',
		'imageId': '71065226',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4053162';

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