var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955287&docid=68705340&x=4344',
		'title': '',
		'imageId': '68705340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955287&docid=68705338&x=4344',
		'title': '',
		'imageId': '68705338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955287&docid=68705339&x=4344',
		'title': '',
		'imageId': '68705339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955287&docid=68705336&x=4344',
		'title': '',
		'imageId': '68705336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955287&docid=68705341&x=4344',
		'title': '',
		'imageId': '68705341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955287&docid=68705334&x=4344',
		'title': '',
		'imageId': '68705334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955287&docid=68705342&x=4344',
		'title': '',
		'imageId': '68705342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955287&docid=68705343&x=4344',
		'title': '',
		'imageId': '68705343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955287&docid=68705335&x=4344',
		'title': '',
		'imageId': '68705335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955287&docid=68705344&x=4344',
		'title': '',
		'imageId': '68705344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955287&docid=68705337&x=4344',
		'title': '',
		'imageId': '68705337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955287';

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