var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4075816&docid=71616739&x=030',
		'title': '',
		'imageId': '71616739',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075816&docid=71616742&x=030',
		'title': '',
		'imageId': '71616742',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075816&docid=71616748&x=030',
		'title': '',
		'imageId': '71616748',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075816&docid=71616741&x=030',
		'title': '',
		'imageId': '71616741',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075816&docid=71616750&x=030',
		'title': '',
		'imageId': '71616750',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075816&docid=71616754&x=030',
		'title': '',
		'imageId': '71616754',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075816&docid=71616745&x=030',
		'title': '',
		'imageId': '71616745',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075816&docid=71616752&x=030',
		'title': '',
		'imageId': '71616752',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075816&docid=71616737&x=030',
		'title': '',
		'imageId': '71616737',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075816&docid=71616747&x=030',
		'title': '',
		'imageId': '71616747',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075816&docid=71616735&x=030',
		'title': '',
		'imageId': '71616735',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075816&docid=71616736&x=030',
		'title': '',
		'imageId': '71616736',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075816&docid=71616746&x=030',
		'title': '',
		'imageId': '71616746',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075816&docid=71616749&x=030',
		'title': '',
		'imageId': '71616749',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075816&docid=71616738&x=030',
		'title': '',
		'imageId': '71616738',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075816&docid=71616743&x=030',
		'title': '',
		'imageId': '71616743',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075816&docid=71616753&x=030',
		'title': '',
		'imageId': '71616753',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075816&docid=71616744&x=030',
		'title': '',
		'imageId': '71616744',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075816&docid=71616740&x=030',
		'title': '',
		'imageId': '71616740',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075816&docid=71616751&x=030',
		'title': '',
		'imageId': '71616751',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4075816';

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