var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010622&docid=69974305&x=2127',
		'title': '',
		'imageId': '69974305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010622&docid=69974310&x=2127',
		'title': '',
		'imageId': '69974310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010622&docid=69974306&x=2127',
		'title': '',
		'imageId': '69974306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010622&docid=69974308&x=2127',
		'title': '',
		'imageId': '69974308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010622&docid=69974309&x=2127',
		'title': '',
		'imageId': '69974309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010622&docid=69974313&x=2127',
		'title': '',
		'imageId': '69974313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010622&docid=69974320&x=2127',
		'title': '',
		'imageId': '69974320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010622&docid=69974321&x=2127',
		'title': '',
		'imageId': '69974321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010622&docid=69974323&x=2127',
		'title': '',
		'imageId': '69974323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010622&docid=69974307&x=2127',
		'title': '',
		'imageId': '69974307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010622';

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