var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4002563&docid=69483031&x=1514',
		'title': '',
		'imageId': '69483031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002563&docid=69483030&x=1514',
		'title': '',
		'imageId': '69483030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002563&docid=69483032&x=1514',
		'title': '',
		'imageId': '69483032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002563&docid=69483035&x=1514',
		'title': '',
		'imageId': '69483035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002563&docid=69483027&x=1514',
		'title': '',
		'imageId': '69483027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002563&docid=69483033&x=1514',
		'title': '',
		'imageId': '69483033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002563&docid=69483034&x=1514',
		'title': '',
		'imageId': '69483034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002563&docid=69483028&x=1514',
		'title': '',
		'imageId': '69483028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002563&docid=69483037&x=1514',
		'title': '',
		'imageId': '69483037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002563&docid=69483036&x=1514',
		'title': '',
		'imageId': '69483036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002563&docid=69483038&x=1514',
		'title': '',
		'imageId': '69483038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002563&docid=69483029&x=1514',
		'title': '',
		'imageId': '69483029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4002563';

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