var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011640&docid=69995387&x=4048',
		'title': '',
		'imageId': '69995387',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011640&docid=69995390&x=4048',
		'title': '',
		'imageId': '69995390',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011640&docid=69995391&x=4048',
		'title': '',
		'imageId': '69995391',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011640&docid=69995393&x=4048',
		'title': '',
		'imageId': '69995393',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011640&docid=69995392&x=4048',
		'title': '',
		'imageId': '69995392',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011640&docid=69995388&x=4048',
		'title': '',
		'imageId': '69995388',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011640&docid=69995389&x=4048',
		'title': '',
		'imageId': '69995389',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011640&docid=69995386&x=4048',
		'title': '',
		'imageId': '69995386',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011640&docid=69995394&x=4048',
		'title': '',
		'imageId': '69995394',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011640&docid=69995395&x=4048',
		'title': '',
		'imageId': '69995395',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011640&docid=69995396&x=4048',
		'title': '',
		'imageId': '69995396',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011640';

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