var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953777&docid=68666732&x=72',
		'title': '',
		'imageId': '68666732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953777&docid=68666733&x=72',
		'title': '',
		'imageId': '68666733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953777&docid=68666734&x=72',
		'title': '',
		'imageId': '68666734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953777&docid=68666735&x=72',
		'title': '',
		'imageId': '68666735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953777&docid=68666736&x=72',
		'title': '',
		'imageId': '68666736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953777&docid=68666737&x=72',
		'title': '',
		'imageId': '68666737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953777&docid=68666738&x=72',
		'title': '',
		'imageId': '68666738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953777&docid=68666739&x=72',
		'title': '',
		'imageId': '68666739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953777&docid=68666740&x=72',
		'title': '',
		'imageId': '68666740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953777&docid=68666741&x=72',
		'title': '',
		'imageId': '68666741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953777&docid=68666742&x=72',
		'title': '',
		'imageId': '68666742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953777&docid=68754670&x=72',
		'title': '',
		'imageId': '68754670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953777';

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