var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4000364&docid=69726268&x=2153',
		'title': '',
		'imageId': '69726268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000364&docid=69726264&x=2153',
		'title': '',
		'imageId': '69726264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000364&docid=69726263&x=2153',
		'title': '',
		'imageId': '69726263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000364&docid=69726261&x=2153',
		'title': '',
		'imageId': '69726261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000364&docid=69726267&x=2153',
		'title': '',
		'imageId': '69726267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000364&docid=69726266&x=2153',
		'title': '',
		'imageId': '69726266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000364&docid=69726265&x=2153',
		'title': '',
		'imageId': '69726265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000364&docid=69726262&x=2153',
		'title': '',
		'imageId': '69726262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000364&docid=69726260&x=2153',
		'title': '',
		'imageId': '69726260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000364&docid=69726269&x=2153',
		'title': '',
		'imageId': '69726269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4000364';

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