var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010815&docid=69980211&x=449',
		'title': '',
		'imageId': '69980211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010815&docid=69980208&x=449',
		'title': '',
		'imageId': '69980208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010815&docid=69980212&x=449',
		'title': '',
		'imageId': '69980212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010815&docid=69980216&x=449',
		'title': '',
		'imageId': '69980216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010815&docid=69980219&x=449',
		'title': '',
		'imageId': '69980219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010815&docid=69980207&x=449',
		'title': '',
		'imageId': '69980207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010815&docid=69980210&x=449',
		'title': '',
		'imageId': '69980210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010815&docid=69980222&x=449',
		'title': '',
		'imageId': '69980222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010815&docid=69980220&x=449',
		'title': '',
		'imageId': '69980220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010815&docid=69980215&x=449',
		'title': '',
		'imageId': '69980215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010815&docid=69980221&x=449',
		'title': '',
		'imageId': '69980221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010815&docid=69980214&x=449',
		'title': '',
		'imageId': '69980214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010815&docid=69980213&x=449',
		'title': '',
		'imageId': '69980213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010815&docid=69980218&x=449',
		'title': '',
		'imageId': '69980218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010815&docid=69980206&x=449',
		'title': '',
		'imageId': '69980206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010815&docid=69980209&x=449',
		'title': '',
		'imageId': '69980209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010815&docid=69980217&x=449',
		'title': '',
		'imageId': '69980217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010815';

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